Lines Matching refs:regval
65 uint16_t regval; in dacx3608_reg_update() local
68 ret = dacx3608_reg_read(dev, reg, ®val); in dacx3608_reg_update()
74 regval |= mask; in dacx3608_reg_update()
76 regval &= ~mask; in dacx3608_reg_update()
79 ret = dacx3608_reg_write(dev, reg, regval); in dacx3608_reg_update()
135 uint16_t regval; in dacx3608_write_value() local
168 regval = value << 2; in dacx3608_write_value()
169 regval &= 0xFFFF; in dacx3608_write_value()
173 ret = dacx3608_reg_write(dev, reg, regval); in dacx3608_write_value()
184 uint16_t regval = DACX3608_SW_RST; in dacx3608_soft_reset() local
187 ret = dacx3608_reg_write(dev, DACX3608_REG_STATUS_TRIGGER, regval); in dacx3608_soft_reset()