Lines Matching defs:addr
14 * bit 0 is the LSB of addr; bit 32 is the LSB of (addr+1).
19 #define ADDR (*(volatile long *)addr)
24 * @addr: the address to start counting from
32 static inline void sync_set_bit(long nr, volatile unsigned long *addr)
43 * @addr: Address to start counting from
50 static inline void sync_clear_bit(long nr, volatile unsigned long *addr)
61 * @addr: Address to start counting from
67 static inline void sync_change_bit(long nr, volatile unsigned long *addr)
78 * @addr: Address to count from
83 static inline bool sync_test_and_set_bit(long nr, volatile unsigned long *addr)
85 return GEN_BINARY_RMWcc("lock; " __ASM_SIZE(bts), *addr, c, "Ir", nr);
91 * @addr: Address to count from
96 static inline int sync_test_and_clear_bit(long nr, volatile unsigned long *addr)
98 return GEN_BINARY_RMWcc("lock; " __ASM_SIZE(btr), *addr, c, "Ir", nr);
104 * @addr: Address to count from
109 static inline int sync_test_and_change_bit(long nr, volatile unsigned long *addr)
111 return GEN_BINARY_RMWcc("lock; " __ASM_SIZE(btc), *addr, c, "Ir", nr);
114 #define sync_test_bit(nr, addr) test_bit(nr, addr)