Lines Matching refs:addr
23 static ALWAYS_INLINE uint8_t sys_read8(mem_addr_t addr) in sys_read8() argument
28 value = *(volatile uint8_t *)addr; in sys_read8()
34 static ALWAYS_INLINE void sys_write8(uint8_t data, mem_addr_t addr) in sys_write8() argument
37 *(volatile uint8_t *)addr = data; in sys_write8()
41 static ALWAYS_INLINE uint16_t sys_read16(mem_addr_t addr) in sys_read16() argument
46 value = *(volatile uint16_t *)addr; in sys_read16()
52 static ALWAYS_INLINE void sys_write16(uint16_t data, mem_addr_t addr) in sys_write16() argument
55 *(volatile uint16_t *)addr = data; in sys_write16()
59 static ALWAYS_INLINE uint32_t sys_read32(mem_addr_t addr) in sys_read32() argument
64 value = *(volatile uint32_t *)addr; in sys_read32()
70 static ALWAYS_INLINE void sys_write32(uint32_t data, mem_addr_t addr) in sys_write32() argument
73 *(volatile uint32_t *)addr = data; in sys_write32()