Lines Matching refs:nr
32 static inline void op##_bit(unsigned long nr, volatile unsigned long *m)\
36 m += nr >> 5; \
53 nr &= 0x1f; \
62 "ir"(nr) \
78 static inline int test_and_##op##_bit(unsigned long nr, volatile unsigned long *m)\
82 m += nr >> 5; \
84 nr &= 0x1f; \
98 : "r"(m), "ir"(nr) \
103 return (old & (1 << nr)) != 0; \
125 static inline void op##_bit(unsigned long nr, volatile unsigned long *m)\
128 m += nr >> 5; \
136 *m = temp c_op (1UL << (nr & 0x1f)); \
142 static inline int test_and_##op##_bit(unsigned long nr, volatile unsigned long *m)\
145 m += nr >> 5; \
150 *m = old c_op (1UL << (nr & 0x1f)); \
154 return (old & (1UL << (nr & 0x1f))) != 0; \
164 static inline void __##op##_bit(unsigned long nr, volatile unsigned long *m) \
167 m += nr >> 5; \
170 *m = temp c_op (1UL << (nr & 0x1f)); \
174 static inline int __test_and_##op##_bit(unsigned long nr, volatile unsigned long *m)\
177 m += nr >> 5; \
180 *m = old c_op (1UL << (nr & 0x1f)); \
182 return (old & (1UL << (nr & 0x1f))) != 0; \
207 test_bit(unsigned int nr, const volatile unsigned long *addr) in test_bit() argument
211 addr += nr >> 5; in test_bit()
213 mask = 1UL << (nr & 0x1f); in test_bit()