Lines Matching refs:regval
71 uint16_t regval; in dacx3608_reg_update() local
74 ret = dacx3608_reg_read(dev, reg, ®val); in dacx3608_reg_update()
80 regval |= mask; in dacx3608_reg_update()
82 regval &= ~mask; in dacx3608_reg_update()
85 ret = dacx3608_reg_write(dev, reg, regval); in dacx3608_reg_update()
136 uint16_t regval; in dacx3608_write_value() local
163 regval = value << 2; in dacx3608_write_value()
164 regval &= 0xFFFF; in dacx3608_write_value()
166 ret = dacx3608_reg_write(dev, DACX3608_REG_DACA_DATA + channel, regval); in dacx3608_write_value()
177 uint16_t regval = DACX3608_SW_RST; in dacx3608_soft_reset() local
180 ret = dacx3608_reg_write(dev, DACX3608_REG_STATUS_TRIGGER, regval); in dacx3608_soft_reset()