Lines Matching refs:nr
65 static inline void set_bit(int nr, volatile unsigned long *addr) in set_bit() argument
67 unsigned long mask = BIT_MASK(nr); in set_bit()
68 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in set_bit()
86 static inline void clear_bit(int nr, volatile unsigned long *addr) in clear_bit() argument
88 unsigned long mask = BIT_MASK(nr); in clear_bit()
89 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in clear_bit()
107 static inline void change_bit(int nr, volatile unsigned long *addr) in change_bit() argument
109 unsigned long mask = BIT_MASK(nr); in change_bit()
110 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in change_bit()
127 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit() argument
129 unsigned long mask = BIT_MASK(nr); in test_and_set_bit()
130 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_set_bit()
151 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() argument
153 unsigned long mask = BIT_MASK(nr); in test_and_clear_bit()
154 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_clear_bit()
174 static inline int test_and_change_bit(int nr, volatile unsigned long *addr) in test_and_change_bit() argument
176 unsigned long mask = BIT_MASK(nr); in test_and_change_bit()
177 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_change_bit()