Lines Matching refs:value
71 static inline void litex_write8(unsigned char value, unsigned long addr) in litex_write8() argument
74 sys_write8(value, addr); in litex_write8()
80 static inline void litex_write16(unsigned short value, unsigned long addr) in litex_write16() argument
83 sys_write8(value >> 8, addr); in litex_write16()
84 sys_write8(value, addr + 0x4); in litex_write16()
86 sys_write16(value, addr); in litex_write16()
92 static inline void litex_write32(unsigned int value, unsigned long addr) in litex_write32() argument
95 sys_write8(value >> 24, addr); in litex_write32()
96 sys_write8(value >> 16, addr + 0x4); in litex_write32()
97 sys_write8(value >> 8, addr + 0x8); in litex_write32()
98 sys_write8(value, addr + 0xC); in litex_write32()
100 sys_write32(value, addr); in litex_write32()
111 static inline void litex_write(uint32_t addr, uint32_t size, uint32_t value) in litex_write() argument
115 litex_write8(value, addr); in litex_write()
118 litex_write16(value, addr); in litex_write()
121 litex_write32(value, addr); in litex_write()