Home
last modified time | relevance | path

Searched refs:xor_ctrl (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/drivers/ddr/marvell/axp/
H A Dxor.c21 static int mv_xor_ctrl_set(u32 chan, u32 xor_ctrl);
140 static int mv_xor_ctrl_set(u32 chan, u32 xor_ctrl) in mv_xor_ctrl_set() argument
147 xor_ctrl &= ~XEXCR_OPERATION_MODE_MASK; in mv_xor_ctrl_set()
148 xor_ctrl |= val; in mv_xor_ctrl_set()
149 reg_write(XOR_CONFIG_REG(XOR_UNIT(chan), XOR_CHAN(chan)), xor_ctrl); in mv_xor_ctrl_set()
/openbmc/u-boot/drivers/ddr/marvell/a38x/
H A Dxor.c151 int mv_xor_ctrl_set(u32 chan, u32 xor_ctrl) in mv_xor_ctrl_set() argument
158 xor_ctrl &= ~XEXCR_OPERATION_MODE_MASK; in mv_xor_ctrl_set()
159 xor_ctrl |= old_value; in mv_xor_ctrl_set()
160 reg_write(XOR_CONFIG_REG(XOR_UNIT(chan), XOR_CHAN(chan)), xor_ctrl); in mv_xor_ctrl_set()
H A Dxor.h84 int mv_xor_ctrl_set(u32 chan, u32 xor_ctrl);