Lines Matching full:8
18 #if CONFIG_LITEX_CSR_DATA_WIDTH >= 8 in litex_read8()
21 #error CSR data width less than 8 in litex_read8()
27 #if CONFIG_LITEX_CSR_DATA_WIDTH == 8 in litex_read16()
28 return (sys_read8(addr) << 8) in litex_read16()
39 #if CONFIG_LITEX_CSR_DATA_WIDTH == 8 in litex_read32()
42 | (sys_read8(addr + 0x8) << 8) in litex_read32()
53 #if CONFIG_LITEX_CSR_DATA_WIDTH == 8 in litex_read64()
60 | ((uint64_t)sys_read8(addr + 0x18) << 8) in litex_read64()
73 #if CONFIG_LITEX_CSR_DATA_WIDTH >= 8 in litex_write8()
76 #error CSR data width less than 8 in litex_write8()
82 #if CONFIG_LITEX_CSR_DATA_WIDTH == 8 in litex_write16()
83 sys_write8(value >> 8, addr); in litex_write16()
94 #if CONFIG_LITEX_CSR_DATA_WIDTH == 8 in litex_write32()
97 sys_write8(value >> 8, addr + 0x8); in litex_write32()
108 #if CONFIG_LITEX_CSR_DATA_WIDTH == 8 in litex_write64()
115 sys_write8(value >> 8, addr + 0x18); in litex_write64()