Lines Matching full:nr

9  * @nr: the bit to set
17 ___set_bit(unsigned long nr, volatile unsigned long *addr) in ___set_bit() argument
19 unsigned long mask = BIT_MASK(nr); in ___set_bit()
20 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in ___set_bit()
26 ___clear_bit(unsigned long nr, volatile unsigned long *addr) in ___clear_bit() argument
28 unsigned long mask = BIT_MASK(nr); in ___clear_bit()
29 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in ___clear_bit()
36 * @nr: the bit to change
44 ___change_bit(unsigned long nr, volatile unsigned long *addr) in ___change_bit() argument
46 unsigned long mask = BIT_MASK(nr); in ___change_bit()
47 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in ___change_bit()
54 * @nr: Bit to set
62 ___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_set_bit() argument
64 unsigned long mask = BIT_MASK(nr); in ___test_and_set_bit()
65 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in ___test_and_set_bit()
74 * @nr: Bit to clear
82 ___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_clear_bit() argument
84 unsigned long mask = BIT_MASK(nr); in ___test_and_clear_bit()
85 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in ___test_and_clear_bit()
94 ___test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_change_bit() argument
96 unsigned long mask = BIT_MASK(nr); in ___test_and_change_bit()
97 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in ___test_and_change_bit()
106 * @nr: bit number to test
110 _test_bit(unsigned long nr, const volatile unsigned long *addr) in _test_bit() argument
112 return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); in _test_bit()