Lines Matching refs:nr
38 set_bit (int nr, volatile void *addr) in set_bit() argument
44 m = (volatile __u32 *) addr + (nr >> 5); in set_bit()
45 bit = 1 << (nr & 31); in set_bit()
63 __set_bit (int nr, volatile void *addr) in __set_bit() argument
65 *((__u32 *) addr + (nr >> 5)) |= (1 << (nr & 31)); in __set_bit()
85 clear_bit (int nr, volatile void *addr) in clear_bit() argument
91 m = (volatile __u32 *) addr + (nr >> 5); in clear_bit()
92 mask = ~(1 << (nr & 31)); in clear_bit()
109 clear_bit_unlock (int nr, volatile void *addr) in clear_bit_unlock() argument
115 m = (volatile __u32 *) addr + (nr >> 5); in clear_bit_unlock()
116 mask = ~(1 << (nr & 31)); in clear_bit_unlock()
133 __clear_bit_unlock(int nr, void *addr) in __clear_bit_unlock() argument
135 __u32 * const m = (__u32 *) addr + (nr >> 5); in __clear_bit_unlock()
136 __u32 const new = *m & ~(1 << (nr & 31)); in __clear_bit_unlock()
151 __clear_bit (int nr, volatile void *addr) in __clear_bit() argument
153 *((__u32 *) addr + (nr >> 5)) &= ~(1 << (nr & 31)); in __clear_bit()
166 change_bit (int nr, volatile void *addr) in change_bit() argument
172 m = (volatile __u32 *) addr + (nr >> 5); in change_bit()
173 bit = (1 << (nr & 31)); in change_bit()
191 __change_bit (int nr, volatile void *addr) in __change_bit() argument
193 *((__u32 *) addr + (nr >> 5)) ^= (1 << (nr & 31)); in __change_bit()
205 test_and_set_bit (int nr, volatile void *addr) in test_and_set_bit() argument
211 m = (volatile __u32 *) addr + (nr >> 5); in test_and_set_bit()
212 bit = 1 << (nr & 31); in test_and_set_bit()
240 __test_and_set_bit (int nr, volatile void *addr) in __test_and_set_bit() argument
242 __u32 *p = (__u32 *) addr + (nr >> 5); in __test_and_set_bit()
243 __u32 m = 1 << (nr & 31); in __test_and_set_bit()
259 test_and_clear_bit (int nr, volatile void *addr) in test_and_clear_bit() argument
265 m = (volatile __u32 *) addr + (nr >> 5); in test_and_clear_bit()
266 mask = ~(1 << (nr & 31)); in test_and_clear_bit()
285 __test_and_clear_bit(int nr, volatile void * addr) in __test_and_clear_bit() argument
287 __u32 *p = (__u32 *) addr + (nr >> 5); in __test_and_clear_bit()
288 __u32 m = 1 << (nr & 31); in __test_and_clear_bit()
304 test_and_change_bit (int nr, volatile void *addr) in test_and_change_bit() argument
310 m = (volatile __u32 *) addr + (nr >> 5); in test_and_change_bit()
311 bit = (1 << (nr & 31)); in test_and_change_bit()
328 __test_and_change_bit (int nr, void *addr) in __test_and_change_bit() argument
330 __u32 old, bit = (1 << (nr & 31)); in __test_and_change_bit()
331 __u32 *m = (__u32 *) addr + (nr >> 5); in __test_and_change_bit()
339 test_bit (int nr, const volatile void *addr) in test_bit() argument
341 return 1 & (((const volatile __u32 *) addr)[nr >> 5] >> (nr & 31)); in test_bit()