Lines Matching full:addr
22 unsigned long sp32___set_bit(unsigned long *addr, unsigned long mask);
23 unsigned long sp32___clear_bit(unsigned long *addr, unsigned long mask);
24 unsigned long sp32___change_bit(unsigned long *addr, unsigned long mask);
27 * Set bit 'nr' in 32-bit quantity at address 'addr' where bit '0'
32 static inline int test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in test_and_set_bit() argument
34 unsigned long *ADDR, mask; in test_and_set_bit() local
36 ADDR = ((unsigned long *) addr) + (nr >> 5); in test_and_set_bit()
39 return sp32___set_bit(ADDR, mask) != 0; in test_and_set_bit()
42 static inline void set_bit(unsigned long nr, volatile unsigned long *addr) in set_bit() argument
44 unsigned long *ADDR, mask; in set_bit() local
46 ADDR = ((unsigned long *) addr) + (nr >> 5); in set_bit()
49 (void) sp32___set_bit(ADDR, mask); in set_bit()
52 static inline int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in test_and_clear_bit() argument
54 unsigned long *ADDR, mask; in test_and_clear_bit() local
56 ADDR = ((unsigned long *) addr) + (nr >> 5); in test_and_clear_bit()
59 return sp32___clear_bit(ADDR, mask) != 0; in test_and_clear_bit()
62 static inline void clear_bit(unsigned long nr, volatile unsigned long *addr) in clear_bit() argument
64 unsigned long *ADDR, mask; in clear_bit() local
66 ADDR = ((unsigned long *) addr) + (nr >> 5); in clear_bit()
69 (void) sp32___clear_bit(ADDR, mask); in clear_bit()
72 static inline int test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in test_and_change_bit() argument
74 unsigned long *ADDR, mask; in test_and_change_bit() local
76 ADDR = ((unsigned long *) addr) + (nr >> 5); in test_and_change_bit()
79 return sp32___change_bit(ADDR, mask) != 0; in test_and_change_bit()
82 static inline void change_bit(unsigned long nr, volatile unsigned long *addr) in change_bit() argument
84 unsigned long *ADDR, mask; in change_bit() local
86 ADDR = ((unsigned long *) addr) + (nr >> 5); in change_bit()
89 (void) sp32___change_bit(ADDR, mask); in change_bit()