• Home
  • Raw
  • Download

Lines Matching refs:nr

16 static inline void __set_bit(int nr, volatile unsigned long *addr)  in __set_bit()  argument
18 unsigned long mask = BIT_MASK(nr); in __set_bit()
19 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __set_bit()
24 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() argument
26 unsigned long mask = BIT_MASK(nr); in __clear_bit()
27 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __clear_bit()
41 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit() argument
43 unsigned long mask = BIT_MASK(nr); in __change_bit()
44 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __change_bit()
58 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit() argument
60 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit()
61 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_set_bit()
77 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit() argument
79 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit()
80 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_clear_bit()
88 static inline int __test_and_change_bit(int nr, in __test_and_change_bit() argument
91 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit()
92 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_change_bit()
104 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit() argument
106 return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); in test_bit()