Lines Matching refs:nr
31 static inline int test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in test_and_set_bit() argument
35 ADDR = ((unsigned long *) addr) + (nr >> 5); in test_and_set_bit()
36 mask = 1 << (nr & 31); in test_and_set_bit()
41 static inline void set_bit(unsigned long nr, volatile unsigned long *addr) in set_bit() argument
45 ADDR = ((unsigned long *) addr) + (nr >> 5); in set_bit()
46 mask = 1 << (nr & 31); in set_bit()
51 static inline int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in test_and_clear_bit() argument
55 ADDR = ((unsigned long *) addr) + (nr >> 5); in test_and_clear_bit()
56 mask = 1 << (nr & 31); in test_and_clear_bit()
61 static inline void clear_bit(unsigned long nr, volatile unsigned long *addr) in clear_bit() argument
65 ADDR = ((unsigned long *) addr) + (nr >> 5); in clear_bit()
66 mask = 1 << (nr & 31); in clear_bit()
71 static inline int test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in test_and_change_bit() argument
75 ADDR = ((unsigned long *) addr) + (nr >> 5); in test_and_change_bit()
76 mask = 1 << (nr & 31); in test_and_change_bit()
81 static inline void change_bit(unsigned long nr, volatile unsigned long *addr) in change_bit() argument
85 ADDR = ((unsigned long *) addr) + (nr >> 5); in change_bit()
86 mask = 1 << (nr & 31); in change_bit()