Home
last modified time | relevance | path

Searched refs:XOR_CHAN (Results 1 – 5 of 5) sorted by relevance

/openbmc/u-boot/drivers/ddr/marvell/axp/
H A Dxor.c145 val = reg_read(XOR_CONFIG_REG(XOR_UNIT(chan), XOR_CHAN(chan))) in mv_xor_ctrl_set()
171 tmp = reg_read(XOR_CONFIG_REG(XOR_UNIT(chan), XOR_CHAN(chan))); in mv_xor_mem_init()
174 reg_write(XOR_CONFIG_REG(XOR_UNIT(chan), XOR_CHAN(chan)), tmp); in mv_xor_mem_init()
186 reg_write(XOR_BLOCK_SIZE_REG(XOR_UNIT(chan), XOR_CHAN(chan)), in mv_xor_mem_init()
202 reg_bit_set(XOR_ACTIVATION_REG(XOR_UNIT(chan), XOR_CHAN(chan)), in mv_xor_mem_init()
261 tmp = reg_read(XOR_CONFIG_REG(XOR_UNIT(chan), XOR_CHAN(chan))); in mv_xor_transfer()
303 reg_write(XOR_CONFIG_REG(XOR_UNIT(chan), XOR_CHAN(chan)), tmp); in mv_xor_transfer()
309 reg_write(XOR_NEXT_DESC_PTR_REG(XOR_UNIT(chan), XOR_CHAN(chan)), in mv_xor_transfer()
313 reg_bit_set(XOR_ACTIVATION_REG(XOR_UNIT(chan), XOR_CHAN(chan)), in mv_xor_transfer()
404 reg_bit_set(XOR_ACTIVATION_REG(XOR_UNIT(chan), XOR_CHAN(chan)), in mv_xor_cmd_set()
[all …]
H A Dxor_regs.h14 #define XOR_CHAN(chan) ((chan) & 1) macro
H A Dddr3_sdram.c54 XOR_CAUSE_DONE_MASK(XOR_CHAN(chan)))) { in xor_waiton_eng()
71 ~(XOR_CAUSE_DONE_MASK(XOR_CHAN(chan)))); in xor_waiton_eng()
/openbmc/u-boot/drivers/ddr/marvell/a38x/
H A Dxor.c185 temp = reg_read(XOR_CONFIG_REG(XOR_UNIT(chan), XOR_CHAN(chan))); in mv_xor_mem_init()
188 reg_write(XOR_CONFIG_REG(XOR_UNIT(chan), XOR_CHAN(chan)), temp); in mv_xor_mem_init()
200 reg_write(XOR_BLOCK_SIZE_REG(XOR_UNIT(chan), XOR_CHAN(chan)), in mv_xor_mem_init()
216 reg_bit_set(XOR_ACTIVATION_REG(XOR_UNIT(chan), XOR_CHAN(chan)), in mv_xor_mem_init()
306 (XOR_UNIT(chan), XOR_CHAN(chan)), in mv_xor_command_set()
312 (XOR_UNIT(chan), XOR_CHAN(chan)), in mv_xor_command_set()
319 (XOR_UNIT(chan), XOR_CHAN(chan)), in mv_xor_command_set()
325 (XOR_UNIT(chan), XOR_CHAN(chan)), in mv_xor_command_set()
417 temp = reg_read(XOR_CONFIG_REG(XOR_UNIT(chan), XOR_CHAN(chan))); in mv_xor_transfer()
453 reg_write(XOR_CONFIG_REG(XOR_UNIT(chan), XOR_CHAN(chan)), temp); in mv_xor_transfer()
[all …]
H A Dxor_regs.h14 #define XOR_CHAN(chan) ((chan) & 1) macro
222 (0x2a0 + ((XOR_CHAN(chan)) * 4)))