Lines Matching refs:nr
31 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() argument
43 : "r" (addr), "r" (nr) in test_and_clear_bit()
55 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() argument
67 : "r" (addr), "r" (nr) in test_and_set_bit()
81 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit() argument
93 : "r" (addr), "r" (nr) in test_and_change_bit()
106 static inline void clear_bit(int nr, volatile void *addr) in clear_bit() argument
108 test_and_clear_bit(nr, addr); in clear_bit()
111 static inline void set_bit(int nr, volatile void *addr) in set_bit() argument
113 test_and_set_bit(nr, addr); in set_bit()
116 static inline void change_bit(int nr, volatile void *addr) in change_bit() argument
118 test_and_change_bit(nr, addr); in change_bit()
130 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() argument
132 test_and_clear_bit(nr, addr); in __clear_bit()
135 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit() argument
137 test_and_set_bit(nr, addr); in __set_bit()
140 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit() argument
142 test_and_change_bit(nr, addr); in __change_bit()
146 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit() argument
148 return test_and_clear_bit(nr, addr); in __test_and_clear_bit()
151 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit() argument
153 return test_and_set_bit(nr, addr); in __test_and_set_bit()
156 static inline int __test_and_change_bit(int nr, volatile unsigned long *addr) in __test_and_change_bit() argument
158 return test_and_change_bit(nr, addr); in __test_and_change_bit()
161 static inline int __test_bit(int nr, const volatile unsigned long *addr) in __test_bit() argument
168 : "r" (addr[BIT_WORD(nr)]), "r" (nr % BITS_PER_LONG) in __test_bit()
175 #define test_bit(nr, addr) __test_bit(nr, addr) argument