Lines Matching refs:addr
124 static inline uint32_t polling_with_timeout(uintptr_t addr, uint32_t val, in polling_with_timeout() argument
134 data = mmio_read_16(addr) & mask; in polling_with_timeout()
136 data = mmio_read_32(addr) & mask; in polling_with_timeout()
145 static inline void reg_set(uintptr_t addr, uint32_t data, uint32_t mask) in reg_set() argument
148 addr, data, mask); in reg_set()
149 debug("old value = 0x%x ==> ", mmio_read_32(addr)); in reg_set()
150 mmio_clrsetbits_32(addr, mask, data); in reg_set()
152 debug("new val 0x%x\n", mmio_read_32(addr)); in reg_set()
155 static inline void __unused reg_set16(uintptr_t addr, uint16_t data, in reg_set16() argument
160 addr, data, mask); in reg_set16()
161 debug("old value = 0x%x ==> ", mmio_read_16(addr)); in reg_set16()
162 mmio_clrsetbits_16(addr, mask, data); in reg_set16()
164 debug("new val 0x%x\n", mmio_read_16(addr)); in reg_set16()