Lines Matching refs:nr
32 static inline void op##_bit(unsigned long nr, volatile unsigned long *m)\
36 m += nr >> 5; \
38 nr &= 0x1f; \
47 "ir"(nr) \
63 static inline int test_and_##op##_bit(unsigned long nr, volatile unsigned long *m)\
67 m += nr >> 5; \
69 nr &= 0x1f; \
83 : "r"(m), "ir"(nr) \
88 return (old & (1 << nr)) != 0; \
110 static inline void op##_bit(unsigned long nr, volatile unsigned long *m)\
113 m += nr >> 5; \
121 *m = temp c_op (1UL << (nr & 0x1f)); \
127 static inline int test_and_##op##_bit(unsigned long nr, volatile unsigned long *m)\
130 m += nr >> 5; \
135 *m = old c_op (1UL << (nr & 0x1f)); \
139 return (old & (1UL << (nr & 0x1f))) != 0; \
149 static inline void __##op##_bit(unsigned long nr, volatile unsigned long *m) \
152 m += nr >> 5; \
155 *m = temp c_op (1UL << (nr & 0x1f)); \
159 static inline int __test_and_##op##_bit(unsigned long nr, volatile unsigned long *m)\
162 m += nr >> 5; \
165 *m = old c_op (1UL << (nr & 0x1f)); \
167 return (old & (1UL << (nr & 0x1f))) != 0; \
192 test_bit(unsigned int nr, const volatile unsigned long *addr) in test_bit() argument
196 addr += nr >> 5; in test_bit()
198 mask = 1UL << (nr & 0x1f); in test_bit()