Home
last modified time | relevance | path

Searched refs:codec_write_reg (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/drivers/audio/
Dtlv320dac310x.c43 static void codec_write_reg(const struct device *dev, struct reg_addr reg,
114 codec_write_reg(dev, DATA_PATH_SETUP_ADDR, DAC_LR_POWERUP_DEFAULT); in codec_start_output()
117 codec_write_reg(dev, VOL_CTRL_ADDR, VOL_CTRL_UNMUTE_DEFAULT); in codec_start_output()
125 codec_write_reg(dev, VOL_CTRL_ADDR, VOL_CTRL_MUTE_DEFAULT); in codec_stop_output()
128 codec_write_reg(dev, DATA_PATH_SETUP_ADDR, DAC_LR_POWERDN_DEFAULT); in codec_stop_output()
134 codec_write_reg(dev, VOL_CTRL_ADDR, VOL_CTRL_MUTE_DEFAULT); in codec_mute_output()
140 codec_write_reg(dev, VOL_CTRL_ADDR, VOL_CTRL_UNMUTE_DEFAULT); in codec_unmute_output()
180 static void codec_write_reg(const struct device *dev, struct reg_addr reg, in codec_write_reg() function
217 codec_write_reg(dev, SOFT_RESET_ADDR, SOFT_RESET_ASSERT); in codec_soft_reset()
253 codec_write_reg(dev, IF_CTRL1_ADDR, val); in codec_configure_dai()
[all …]
Dtas6422dac.c57 static void codec_write_reg(const struct device *dev, uint8_t reg, uint8_t val);
149 codec_write_reg(dev, CH_STATE_CTRL_ADDR, val); in codec_mute_output()
182 codec_write_reg(dev, CH_STATE_CTRL_ADDR, val); in codec_unmute_output()
220 static void codec_write_reg(const struct device *dev, uint8_t reg, uint8_t val) in codec_write_reg() function
242 codec_write_reg(dev, MODE_CTRL_ADDR, val); in codec_soft_reset()
272 codec_write_reg(dev, SAP_CTRL_ADDR, val); in codec_configure_dai()
284 codec_write_reg(dev, MISC_CTRL_1_ADDR, val); in codec_configure_output()
293 codec_write_reg(dev, MISC_CTRL_2_ADDR, val); in codec_configure_output()
309 codec_write_reg(dev, CH1_VOLUME_CTRL_ADDR, CH_VOLUME_CTRL_VOLUME(vol_val)); in codec_set_output_volume()
312 codec_write_reg(dev, CH2_VOLUME_CTRL_ADDR, CH_VOLUME_CTRL_VOLUME(vol_val)); in codec_set_output_volume()
[all …]