Lines Matching refs:wm8904_update_reg
32 static void wm8904_update_reg(const struct device *dev, uint8_t reg, uint16_t mask, uint16_t val);
63 wm8904_update_reg(dev, WM8904_REG_AUDIO_IF_1, (0x0003U | (1U << 4U)), (uint16_t)proto); in wm8904_protocol_config()
176 wm8904_update_reg(dev, WM8904_REG_AUDIO_IF_1, (0x000CU), ((uint16_t)(word_size) << 2U)); in wm8904_audio_fmt_config()
192 wm8904_update_reg(dev, WM8904_REG_ANALOG_OUT2_LEFT, mask, val); in wm8904_out_update()
196 wm8904_update_reg(dev, WM8904_REG_ANALOG_OUT2_RIGHT, mask, val); in wm8904_out_update()
200 wm8904_update_reg(dev, WM8904_REG_ANALOG_OUT1_LEFT, mask, val); in wm8904_out_update()
204 wm8904_update_reg(dev, WM8904_REG_ANALOG_OUT1_RIGHT, mask, val); in wm8904_out_update()
208 wm8904_update_reg(dev, WM8904_REG_ANALOG_OUT1_LEFT, mask, val); in wm8904_out_update()
209 wm8904_update_reg(dev, WM8904_REG_ANALOG_OUT1_RIGHT, mask, val); in wm8904_out_update()
210 wm8904_update_reg(dev, WM8904_REG_ANALOG_OUT2_LEFT, mask, val); in wm8904_out_update()
211 wm8904_update_reg(dev, WM8904_REG_ANALOG_OUT2_RIGHT, mask, val); in wm8904_out_update()
247 wm8904_update_reg(dev, WM8904_REG_ANALOG_LEFT_IN_0, mask, val); in wm8904_in_update()
251 wm8904_update_reg(dev, WM8904_REG_ANALOG_RIGHT_IN_0, mask, val); in wm8904_in_update()
255 wm8904_update_reg(dev, WM8904_REG_ANALOG_LEFT_IN_0, mask, val); in wm8904_in_update()
256 wm8904_update_reg(dev, WM8904_REG_ANALOG_RIGHT_IN_0, mask, val); in wm8904_in_update()
306 wm8904_update_reg(dev, reg, mask, val); in wm8904_route_input()
406 wm8904_update_reg(dev, WM8904_REG_AUDIO_IF_1, 1U << 6U, 1U << 6U); in wm8904_set_master_clock()
408 wm8904_update_reg(dev, WM8904_REG_GPIO_CONTROL_4, 0x8FU, 1U); in wm8904_set_master_clock()
411 wm8904_update_reg(dev, WM8904_REG_AUDIO_IF_3, 0xFFFU, audioInterface); in wm8904_set_master_clock()
488 wm8904_update_reg(dev, WM8904_REG_CLK_RATES_2, (uint16_t)(1UL << 14U), in wm8904_configure()
511 wm8904_update_reg(dev, WM8904_REG_AUDIO_IF_1, 1U << 6U, 0U); in wm8904_configure()
512 wm8904_update_reg(dev, WM8904_REG_AUDIO_IF_3, (uint16_t)(1UL << 11U), 0U); in wm8904_configure()
570 wm8904_update_reg( in wm8904_apply_properties()
576 wm8904_update_reg(dev, in wm8904_apply_properties()
621 static void wm8904_update_reg(const struct device *dev, uint8_t reg, uint16_t mask, uint16_t val) in wm8904_update_reg() function