Home
last modified time | relevance | path

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

/Zephyr-latest/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);
151 codec_write_reg(dev, CH_STATE_CTRL_ADDR, val); in codec_mute_output()
184 codec_write_reg(dev, CH_STATE_CTRL_ADDR, val); in codec_unmute_output()
222 static void codec_write_reg(const struct device *dev, uint8_t reg, uint8_t val) in codec_write_reg() function
244 codec_write_reg(dev, MODE_CTRL_ADDR, val); in codec_soft_reset()
274 codec_write_reg(dev, SAP_CTRL_ADDR, val); in codec_configure_dai()
286 codec_write_reg(dev, MISC_CTRL_1_ADDR, val); in codec_configure_output()
295 codec_write_reg(dev, MISC_CTRL_2_ADDR, val); in codec_configure_output()
311 codec_write_reg(dev, CH1_VOLUME_CTRL_ADDR, CH_VOLUME_CTRL_VOLUME(vol_val)); in codec_set_output_volume()
314 codec_write_reg(dev, CH2_VOLUME_CTRL_ADDR, CH_VOLUME_CTRL_VOLUME(vol_val)); in codec_set_output_volume()
[all …]