/Linux-v4.19/sound/soc/codecs/ |
D | wm8961.c | 207 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event() 211 snd_soc_component_write(component, WM8961_CHARGE_PUMP_1, cp_reg); in wm8961_hp_event() 216 snd_soc_component_write(component, WM8961_PWR_MGMT_2, pwr_reg); in wm8961_hp_event() 220 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event() 224 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event() 232 snd_soc_component_write(component, WM8961_DC_SERVO_1, dcs_reg); in wm8961_hp_event() 247 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event() 251 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event() 257 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event() 261 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event() [all …]
|
D | wm8510.c | 109 #define wm8510_reset(c) snd_soc_component_write(c, WM8510_RESET, 0) 325 snd_soc_component_write(component, WM8510_CLOCK, reg & 0x0ff); in wm8510_set_dai_pll() 329 snd_soc_component_write(component, WM8510_POWER1, reg & 0x1df); in wm8510_set_dai_pll() 335 snd_soc_component_write(component, WM8510_PLLN, (pll_div.pre_div << 4) | pll_div.n); in wm8510_set_dai_pll() 336 snd_soc_component_write(component, WM8510_PLLK1, pll_div.k >> 18); in wm8510_set_dai_pll() 337 snd_soc_component_write(component, WM8510_PLLK2, (pll_div.k >> 9) & 0x1ff); in wm8510_set_dai_pll() 338 snd_soc_component_write(component, WM8510_PLLK3, pll_div.k & 0x1ff); in wm8510_set_dai_pll() 340 snd_soc_component_write(component, WM8510_POWER1, reg | 0x020); in wm8510_set_dai_pll() 344 snd_soc_component_write(component, WM8510_CLOCK, reg | 0x100); in wm8510_set_dai_pll() 361 snd_soc_component_write(component, WM8510_GPIO, reg | div); in wm8510_set_dai_clkdiv() [all …]
|
D | wm8900.c | 221 snd_soc_component_write(component, WM8900_REG_RESET, 0); in wm8900_reset() 235 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 244 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 251 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 255 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 257 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 263 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 267 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 273 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 278 snd_soc_component_write(component, WM8900_REG_HPCTL1, 0); in wm8900_hp_event() [all …]
|
D | wm8940.c | 337 #define wm8940_reset(c) snd_soc_component_write(c, WM8940_SOFTRESET, 0); 355 snd_soc_component_write(component, WM8940_CLOCK, clk); in wm8940_set_dai_fmt() 388 snd_soc_component_write(component, WM8940_IFACE, iface); in wm8940_set_dai_fmt() 429 ret = snd_soc_component_write(component, WM8940_ADDCNTRL, addcntrl); in wm8940_i2s_hw_params() 449 ret = snd_soc_component_write(component, WM8940_COMPANDINGCTL, companding); in wm8940_i2s_hw_params() 452 ret = snd_soc_component_write(component, WM8940_IFACE, iface); in wm8940_i2s_hw_params() 466 return snd_soc_component_write(component, WM8940_DAC, mute_reg); in wm8940_mute() 483 ret = snd_soc_component_write(component, WM8940_OUTPUTCTL, val | 0x2); in wm8940_set_bias_level() 487 ret = snd_soc_component_write(component, WM8940_POWER1, pwr_reg | 0x1); in wm8940_set_bias_level() 492 ret = snd_soc_component_write(component, WM8940_POWER1, pwr_reg | 0x1); in wm8940_set_bias_level() [all …]
|
D | tlv320aic3x.c | 1064 snd_soc_component_write(component, AIC3X_ASD_INTF_CTRLB, data); in aic3x_hw_params() 1079 snd_soc_component_write(component, AIC3X_PLL_PROGA_REG, pll_q << PLLQ_SHIFT); in aic3x_hw_params() 1080 snd_soc_component_write(component, AIC3X_GPIOB_REG, CODEC_CLKIN_CLKDIV); in aic3x_hw_params() 1085 snd_soc_component_write(component, AIC3X_GPIOB_REG, CODEC_CLKIN_PLLDIV); in aic3x_hw_params() 1097 snd_soc_component_write(component, AIC3X_CODEC_DATAPATH_REG, data); in aic3x_hw_params() 1106 snd_soc_component_write(component, AIC3X_SAMPLE_RATE_SEL_REG, data); in aic3x_hw_params() 1176 snd_soc_component_write(component, AIC3X_OVRF_STATUS_AND_PLLR_REG, in aic3x_hw_params() 1178 snd_soc_component_write(component, AIC3X_PLL_PROGB_REG, pll_j << PLLJ_SHIFT); in aic3x_hw_params() 1179 snd_soc_component_write(component, AIC3X_PLL_PROGC_REG, in aic3x_hw_params() 1181 snd_soc_component_write(component, AIC3X_PLL_PROGD_REG, in aic3x_hw_params() [all …]
|
D | da732x.c | 195 snd_soc_component_write(component, DA732X_REG_PLL_CTRL, val); in da732x_get_input_div() 204 snd_soc_component_write(component, DA732X_REG_CLK_EN2, DA732X_CP_CLK_EN); in da732x_set_charge_pump() 205 snd_soc_component_write(component, DA732X_REG_CP_HP2, DA732X_HP_CP_EN | in da732x_set_charge_pump() 207 snd_soc_component_write(component, DA732X_REG_CP_CTRL1, DA732X_CP_EN | in da732x_set_charge_pump() 209 snd_soc_component_write(component, DA732X_REG_CP_CTRL2, in da732x_set_charge_pump() 211 snd_soc_component_write(component, DA732X_REG_CP_CTRL3, DA732X_CP_1MHZ); in da732x_set_charge_pump() 214 snd_soc_component_write(component, DA732X_REG_CLK_EN2, DA732X_CP_CLK_DIS); in da732x_set_charge_pump() 215 snd_soc_component_write(component, DA732X_REG_CP_HP2, DA732X_HP_CP_DIS); in da732x_set_charge_pump() 216 snd_soc_component_write(component, DA732X_REG_CP_CTRL1, DA723X_CP_DIS); in da732x_set_charge_pump() 1110 snd_soc_component_write(component, DA732X_REG_AIF_MCLK, aif_mclk); in da732x_set_dai_fmt() [all …]
|
D | wm8974.c | 57 #define wm8974_reset(c) snd_soc_component_write(c, WM8974_RESET, 0) 334 snd_soc_component_write(component, WM8974_CLOCK, reg & 0x0ff); in wm8974_set_dai_pll() 338 snd_soc_component_write(component, WM8974_POWER1, reg & 0x1df); in wm8974_set_dai_pll() 344 snd_soc_component_write(component, WM8974_PLLN, (pll_div.pre_div << 4) | pll_div.n); in wm8974_set_dai_pll() 345 snd_soc_component_write(component, WM8974_PLLK1, pll_div.k >> 18); in wm8974_set_dai_pll() 346 snd_soc_component_write(component, WM8974_PLLK2, (pll_div.k >> 9) & 0x1ff); in wm8974_set_dai_pll() 347 snd_soc_component_write(component, WM8974_PLLK3, pll_div.k & 0x1ff); in wm8974_set_dai_pll() 349 snd_soc_component_write(component, WM8974_POWER1, reg | 0x020); in wm8974_set_dai_pll() 353 snd_soc_component_write(component, WM8974_CLOCK, reg | 0x100); in wm8974_set_dai_pll() 370 snd_soc_component_write(component, WM8974_GPIO, reg | div); in wm8974_set_dai_clkdiv() [all …]
|
D | wm8991.c | 147 return snd_soc_component_write(component, reg, val | 0x0100); in wm899x_outpga_put_volsw_vu() 939 snd_soc_component_write(component, WM8991_POWER_MANAGEMENT_2, reg); in wm8991_set_dai_pll() 943 snd_soc_component_write(component, WM8991_CLOCKING_2, reg | WM8991_SYSCLK_SRC); in wm8991_set_dai_pll() 946 snd_soc_component_write(component, WM8991_PLL1, pll_div.n | WM8991_SDM | in wm8991_set_dai_pll() 948 snd_soc_component_write(component, WM8991_PLL2, (u8)(pll_div.k>>8)); in wm8991_set_dai_pll() 949 snd_soc_component_write(component, WM8991_PLL3, (u8)(pll_div.k & 0xFF)); in wm8991_set_dai_pll() 954 snd_soc_component_write(component, WM8991_POWER_MANAGEMENT_2, reg); in wm8991_set_dai_pll() 1010 snd_soc_component_write(component, WM8991_AUDIO_INTERFACE_1, audio1); in wm8991_set_dai_fmt() 1011 snd_soc_component_write(component, WM8991_AUDIO_INTERFACE_3, audio3); in wm8991_set_dai_fmt() 1025 snd_soc_component_write(component, WM8991_CLOCKING_2, reg | div); in wm8991_set_dai_clkdiv() [all …]
|
D | wm8990.c | 114 #define wm8990_reset(c) snd_soc_component_write(c, WM8990_RESET, 0) 148 return snd_soc_component_write(component, reg, val | 0x0100); in wm899x_outpga_put_volsw_vu() 952 snd_soc_component_write(component, WM8990_PLL1, pll_div.n | WM8990_SDM | in wm8990_set_dai_pll() 954 snd_soc_component_write(component, WM8990_PLL2, (u8)(pll_div.k>>8)); in wm8990_set_dai_pll() 955 snd_soc_component_write(component, WM8990_PLL3, (u8)(pll_div.k & 0xFF)); in wm8990_set_dai_pll() 1028 snd_soc_component_write(component, WM8990_AUDIO_INTERFACE_1, audio1); in wm8990_set_dai_fmt() 1029 snd_soc_component_write(component, WM8990_AUDIO_INTERFACE_3, audio3); in wm8990_set_dai_fmt() 1088 snd_soc_component_write(component, WM8990_AUDIO_INTERFACE_1, audio1); in wm8990_hw_params() 1100 snd_soc_component_write(component, WM8990_DAC_CTRL, val | WM8990_DAC_MUTE); in wm8990_mute() 1102 snd_soc_component_write(component, WM8990_DAC_CTRL, val); in wm8990_mute() [all …]
|
D | wm8400.c | 107 return snd_soc_component_write(component, reg, val | 0x0100); in wm8400_outpga_put_volsw_vu() 967 snd_soc_component_write(component, WM8400_POWER_MANAGEMENT_2, reg); in wm8400_set_dai_pll() 971 snd_soc_component_write(component, WM8400_FLL_CONTROL_1, reg); in wm8400_set_dai_pll() 979 snd_soc_component_write(component, WM8400_FLL_CONTROL_1, reg); in wm8400_set_dai_pll() 981 snd_soc_component_write(component, WM8400_FLL_CONTROL_2, factors.k); in wm8400_set_dai_pll() 982 snd_soc_component_write(component, WM8400_FLL_CONTROL_3, factors.n); in wm8400_set_dai_pll() 987 snd_soc_component_write(component, WM8400_FLL_CONTROL_4, reg); in wm8400_set_dai_pll() 1043 snd_soc_component_write(component, WM8400_AUDIO_INTERFACE_1, audio1); in wm8400_set_dai_fmt() 1044 snd_soc_component_write(component, WM8400_AUDIO_INTERFACE_3, audio3); in wm8400_set_dai_fmt() 1058 snd_soc_component_write(component, WM8400_CLOCKING_2, reg | div); in wm8400_set_dai_clkdiv() [all …]
|
D | da7210.c | 764 snd_soc_component_write(component, DA7210_DAI_SRC_SEL, in da7210_hw_params() 768 snd_soc_component_write(component, DA7210_DAI_CFG3, DA7210_DAI_OE | DA7210_DAI_EN); in da7210_hw_params() 789 snd_soc_component_write(component, DA7210_DAI_CFG1, dai_cfg1); in da7210_hw_params() 921 snd_soc_component_write(component, DA7210_DAI_CFG1, dai_cfg1); in da7210_set_dai_fmt() 922 snd_soc_component_write(component, DA7210_DAI_CFG3, dai_cfg3); in da7210_set_dai_fmt() 933 snd_soc_component_write(component, DA7210_DAC_HPF, mute_reg | 0x4); in da7210_mute() 935 snd_soc_component_write(component, DA7210_DAC_HPF, mute_reg); in da7210_mute() 1014 snd_soc_component_write(component, DA7210_PLL_DIV1, pll_div1); in da7210_set_dai_pll() 1015 snd_soc_component_write(component, DA7210_PLL_DIV2, pll_div2); in da7210_set_dai_pll() 1072 snd_soc_component_write(component, DA7210_CONTROL, DA7210_REG_EN | DA7210_BIAS_EN); in da7210_probe() [all …]
|
D | rt5631.c | 77 snd_soc_component_write(component, RT5631_INDEX_ADD, reg); in rt5631_write_index() 78 snd_soc_component_write(component, RT5631_INDEX_DATA, value); in rt5631_write_index() 89 snd_soc_component_write(component, RT5631_INDEX_ADD, reg); in rt5631_read_index() 97 return snd_soc_component_write(component, RT5631_RESET, 0); in rt5631_reset() 380 snd_soc_component_write(component, RT5631_SOFT_VOL_CTRL, 0); in onebit_depop_power_stage() 382 snd_soc_component_write(component, RT5631_INT_ST_IRQ_CTRL_2, hp_zc & 0xf7ff); in onebit_depop_power_stage() 389 snd_soc_component_write(component, RT5631_DEPOP_FUN_CTRL_2, in onebit_depop_power_stage() 393 snd_soc_component_write(component, RT5631_DEPOP_FUN_CTRL_2, 0); in onebit_depop_power_stage() 398 snd_soc_component_write(component, RT5631_SOFT_VOL_CTRL, soft_vol); in onebit_depop_power_stage() 399 snd_soc_component_write(component, RT5631_INT_ST_IRQ_CTRL_2, hp_zc); in onebit_depop_power_stage() [all …]
|
D | rt5663.c | 1463 snd_soc_component_write(component, RT5663_CBJ_TYPE_2, 0x8040); in rt5663_v2_jack_detect() 1464 snd_soc_component_write(component, RT5663_CBJ_TYPE_3, 0x1484); in rt5663_v2_jack_detect() 1674 snd_soc_component_write(component, RT5663_MIC_DECRO_2, in rt5663_impedance_sensing() 1676 snd_soc_component_write(component, RT5663_MIC_DECRO_3, in rt5663_impedance_sensing() 1678 snd_soc_component_write(component, RT5663_MIC_DECRO_5, in rt5663_impedance_sensing() 1680 snd_soc_component_write(component, RT5663_MIC_DECRO_6, in rt5663_impedance_sensing() 1683 snd_soc_component_write(component, RT5663_MIC_DECRO_2, in rt5663_impedance_sensing() 1685 snd_soc_component_write(component, RT5663_MIC_DECRO_3, in rt5663_impedance_sensing() 1687 snd_soc_component_write(component, RT5663_MIC_DECRO_5, in rt5663_impedance_sensing() 1689 snd_soc_component_write(component, RT5663_MIC_DECRO_6, in rt5663_impedance_sensing() [all …]
|
D | alc5623.c | 52 return snd_soc_component_write(component, ALC5623_RESET, 0); in alc5623_reset() 64 snd_soc_component_write(component, ALC5623_HID_CTRL_INDEX, 0x46); in amp_mixer_event() 68 snd_soc_component_write(component, ALC5623_HID_CTRL_DATA, 0xFFFF); in amp_mixer_event() 71 snd_soc_component_write(component, ALC5623_HID_CTRL_DATA, 0); in amp_mixer_event() 578 snd_soc_component_write(component, ALC5623_GLOBAL_CLK_CTRL_REG, gbl_clk); in alc5623_set_dai_pll() 579 snd_soc_component_write(component, ALC5623_PLL_CTRL, pll_div); in alc5623_set_dai_pll() 584 snd_soc_component_write(component, ALC5623_GLOBAL_CLK_CTRL_REG, gbl_clk); in alc5623_set_dai_pll() 698 return snd_soc_component_write(component, ALC5623_DAI_CONTROL, iface); in alc5623_set_dai_fmt() 731 snd_soc_component_write(component, ALC5623_DAI_CONTROL, iface); in alc5623_pcm_hw_params() 740 snd_soc_component_write(component, ALC5623_STEREO_AD_DA_CLK_CTRL, coeff); in alc5623_pcm_hw_params() [all …]
|
D | wm8753.c | 153 #define wm8753_reset(c) snd_soc_component_write(c, WM8753_RESET, 0) 260 snd_soc_component_write(component, WM8753_IOCTL, ioctl); in wm8753_set_dai() 765 snd_soc_component_write(component, WM8753_PLL1CTL1 + offset, 0x0026); in wm8753_set_dai_pll() 766 snd_soc_component_write(component, WM8753_CLOCK, reg); in wm8753_set_dai_pll() 777 snd_soc_component_write(component, WM8753_PLL1CTL2 + offset, value); in wm8753_set_dai_pll() 781 snd_soc_component_write(component, WM8753_PLL1CTL3 + offset, value); in wm8753_set_dai_pll() 785 snd_soc_component_write(component, WM8753_PLL1CTL4 + offset, value); in wm8753_set_dai_pll() 788 snd_soc_component_write(component, WM8753_PLL1CTL1 + offset, 0x0027 | in wm8753_set_dai_pll() 790 snd_soc_component_write(component, WM8753_CLOCK, reg | enable); in wm8753_set_dai_pll() 918 snd_soc_component_write(component, WM8753_PCM, voice); in wm8753_vdac_adc_set_dai_fmt() [all …]
|
D | wm8711.c | 61 #define wm8711_reset(c) snd_soc_component_write(c, WM8711_RESET, 0) 169 snd_soc_component_write(component, WM8711_SRATE, srate); in wm8711_hw_params() 183 snd_soc_component_write(component, WM8711_IFACE, iface); in wm8711_hw_params() 193 snd_soc_component_write(component, WM8711_ACTIVE, 0x0001); in wm8711_pcm_prepare() 206 snd_soc_component_write(component, WM8711_ACTIVE, 0x0); in wm8711_shutdown() 216 snd_soc_component_write(component, WM8711_APDIGI, mute_reg | 0x8); in wm8711_mute() 218 snd_soc_component_write(component, WM8711_APDIGI, mute_reg); in wm8711_mute() 296 snd_soc_component_write(component, WM8711_IFACE, iface); in wm8711_set_dai_fmt() 308 snd_soc_component_write(component, WM8711_PWR, reg); in wm8711_set_bias_level() 316 snd_soc_component_write(component, WM8711_PWR, reg | 0x0040); in wm8711_set_bias_level() [all …]
|
D | tlv320aic23.c | 100 snd_soc_component_write(component, TLV320AIC23_ANLG, reg | (val << 6)); in snd_soc_tlv320aic23_put_volsw() 326 snd_soc_component_write(component, TLV320AIC23_SRATE, data); in set_sample_rate_control() 379 snd_soc_component_write(component, TLV320AIC23_DIGT_FMT, iface_reg); in tlv320aic23_hw_params() 390 snd_soc_component_write(component, TLV320AIC23_ACTIVE, 0x0001); in tlv320aic23_pcm_prepare() 404 snd_soc_component_write(component, TLV320AIC23_ACTIVE, 0x0); in tlv320aic23_shutdown() 424 snd_soc_component_write(component, TLV320AIC23_DIGT, reg); in tlv320aic23_mute() 471 snd_soc_component_write(component, TLV320AIC23_DIGT_FMT, iface_reg); in tlv320aic23_set_dai_fmt() 494 snd_soc_component_write(component, TLV320AIC23_PWR, reg); in tlv320aic23_set_bias_level() 500 snd_soc_component_write(component, TLV320AIC23_PWR, in tlv320aic23_set_bias_level() 505 snd_soc_component_write(component, TLV320AIC23_ACTIVE, 0x0); in tlv320aic23_set_bias_level() [all …]
|
D | tlv320aic32x4.c | 118 snd_soc_component_write(component, AIC32X4_DOUTCTL, val); in aic32x4_set_mfp2_gpio() 159 snd_soc_component_write(component, AIC32X4_MISOCTL, val); in aic32x4_set_mfp4_gpio() 199 snd_soc_component_write(component, AIC32X4_GPIOCTL, val); in aic32x4_set_mfp5_gpio() 705 snd_soc_component_write(component, AIC32X4_PLLJ, aic32x4_divs[i].pll_j); in aic32x4_hw_params() 708 snd_soc_component_write(component, AIC32X4_PLLDMSB, (aic32x4_divs[i].pll_d >> 8)); in aic32x4_hw_params() 709 snd_soc_component_write(component, AIC32X4_PLLDLSB, (aic32x4_divs[i].pll_d & 0xff)); in aic32x4_hw_params() 720 snd_soc_component_write(component, AIC32X4_DOSRMSB, aic32x4_divs[i].dosr >> 8); in aic32x4_hw_params() 721 snd_soc_component_write(component, AIC32X4_DOSRLSB, (aic32x4_divs[i].dosr & 0xff)); in aic32x4_hw_params() 732 snd_soc_component_write(component, AIC32X4_AOSR, aic32x4_divs[i].aosr); in aic32x4_hw_params() 894 snd_soc_component_write(component, AIC32X4_DINCTL, in aic32x4_setup_gpios() [all …]
|
D | max98095.c | 272 snd_soc_component_write(component, eq_reg++, M98095_BYTE1(coefs[i])); in m98095_eq_band() 273 snd_soc_component_write(component, eq_reg++, M98095_BYTE0(coefs[i])); in m98095_eq_band() 298 snd_soc_component_write(component, bq_reg++, M98095_BYTE1(coefs[i])); in m98095_biquad_band() 299 snd_soc_component_write(component, bq_reg++, M98095_BYTE0(coefs[i])); in m98095_biquad_band() 985 snd_soc_component_write(component, M98095_028_DAI1_CLKCFG_HI, in max98095_dai1_hw_params() 987 snd_soc_component_write(component, M98095_029_DAI1_CLKCFG_LO, in max98095_dai1_hw_params() 1046 snd_soc_component_write(component, M98095_032_DAI2_CLKCFG_HI, in max98095_dai2_hw_params() 1048 snd_soc_component_write(component, M98095_033_DAI2_CLKCFG_LO, in max98095_dai2_hw_params() 1107 snd_soc_component_write(component, M98095_03C_DAI3_CLKCFG_HI, in max98095_dai3_hw_params() 1109 snd_soc_component_write(component, M98095_03D_DAI3_CLKCFG_LO, in max98095_dai3_hw_params() [all …]
|
D | ad1980.c | 226 snd_soc_component_write(component, AC97_AD_SERIAL_CFG, 0x9900); in ad1980_reset() 270 snd_soc_component_write(component, AC97_MASTER, 0x0000); in ad1980_soc_probe() 271 snd_soc_component_write(component, AC97_PCM, 0x0000); in ad1980_soc_probe() 272 snd_soc_component_write(component, AC97_REC_GAIN, 0x0000); in ad1980_soc_probe() 273 snd_soc_component_write(component, AC97_CENTER_LFE_MASTER, 0x0000); in ad1980_soc_probe() 274 snd_soc_component_write(component, AC97_SURROUND_MASTER, 0x0000); in ad1980_soc_probe() 278 snd_soc_component_write(component, AC97_EXTENDED_STATUS, ext_status&~0x3800); in ad1980_soc_probe()
|
D | da7213.c | 206 snd_soc_component_write(component, DA7213_ALC_CIC_OP_LVL_CTRL, reg_val); in da7213_get_alc_data() 209 snd_soc_component_write(component, DA7213_ALC_CIC_OP_LVL_CTRL, in da7213_get_alc_data() 214 snd_soc_component_write(component, DA7213_ALC_CIC_OP_LVL_CTRL, in da7213_get_alc_data() 242 snd_soc_component_write(component, DA7213_ALC_OFFSET_MAN_M_L, reg_val); in da7213_alc_calib_man() 244 snd_soc_component_write(component, DA7213_ALC_OFFSET_MAN_U_L, reg_val); in da7213_alc_calib_man() 247 snd_soc_component_write(component, DA7213_ALC_OFFSET_MAN_M_R, reg_val); in da7213_alc_calib_man() 249 snd_soc_component_write(component, DA7213_ALC_OFFSET_MAN_U_R, reg_val); in da7213_alc_calib_man() 334 snd_soc_component_write(component, DA7213_MIXIN_L_SELECT, mixin_l_sel); in da7213_alc_calib() 335 snd_soc_component_write(component, DA7213_MIXIN_R_SELECT, mixin_r_sel); in da7213_alc_calib() 338 snd_soc_component_write(component, DA7213_ADC_L_CTRL, adc_l_ctrl); in da7213_alc_calib() [all …]
|
D | wm9081.c | 386 snd_soc_component_write(component, WM9081_ANALOGUE_SPEAKER_2, reg2); in speaker_mode_put() 591 snd_soc_component_write(component, WM9081_CLOCK_CONTROL_3, in wm9081_set_fll() 598 snd_soc_component_write(component, WM9081_FLL_CONTROL_1, reg1); in wm9081_set_fll() 605 snd_soc_component_write(component, WM9081_FLL_CONTROL_1, reg1); in wm9081_set_fll() 607 snd_soc_component_write(component, WM9081_FLL_CONTROL_2, in wm9081_set_fll() 610 snd_soc_component_write(component, WM9081_FLL_CONTROL_3, fll_div.k); in wm9081_set_fll() 615 snd_soc_component_write(component, WM9081_FLL_CONTROL_4, reg4); in wm9081_set_fll() 619 snd_soc_component_write(component, WM9081_FLL_CONTROL_5, reg5); in wm9081_set_fll() 626 snd_soc_component_write(component, WM9081_FLL_CONTROL_1, reg1 | WM9081_FLL_ENA); in wm9081_set_fll() 630 snd_soc_component_write(component, WM9081_CLOCK_CONTROL_3, clk_sys_reg); in wm9081_set_fll() [all …]
|
D | wm8971.c | 92 #define wm8971_reset(c) snd_soc_component_write(c, WM8971_RESET, 0) 505 snd_soc_component_write(component, WM8971_IFACE, iface); in wm8971_set_dai_fmt() 535 snd_soc_component_write(component, WM8971_IFACE, iface); in wm8971_pcm_hw_params() 537 snd_soc_component_write(component, WM8971_SRATE, srate | in wm8971_pcm_hw_params() 549 snd_soc_component_write(component, WM8971_ADCDAC, mute_reg | 0x8); in wm8971_mute() 551 snd_soc_component_write(component, WM8971_ADCDAC, mute_reg); in wm8971_mute() 573 snd_soc_component_write(component, WM8971_PWR1, pwr_reg | 0x00c1); in wm8971_set_bias_level() 583 snd_soc_component_write(component, WM8971_PWR1, pwr_reg | 0x01c0); in wm8971_set_bias_level() 588 snd_soc_component_write(component, WM8971_PWR1, pwr_reg | 0x0140); in wm8971_set_bias_level() 594 snd_soc_component_write(component, WM8971_PWR1, 0x0001); in wm8971_set_bias_level()
|
D | wm8978.c | 547 snd_soc_component_write(component, WM8978_PLL_N, (pll_div.div2 << 4) | pll_div.n); in wm8978_configure_pll() 548 snd_soc_component_write(component, WM8978_PLL_K1, pll_div.k >> 18); in wm8978_configure_pll() 549 snd_soc_component_write(component, WM8978_PLL_K2, (pll_div.k >> 9) & 0x1ff); in wm8978_configure_pll() 550 snd_soc_component_write(component, WM8978_PLL_K3, pll_div.k & 0x1ff); in wm8978_configure_pll() 710 snd_soc_component_write(component, WM8978_AUDIO_INTERFACE, iface); in wm8978_set_dai_fmt() 711 snd_soc_component_write(component, WM8978_CLOCKING, clk); in wm8978_set_dai_fmt() 826 snd_soc_component_write(component, WM8978_AUDIO_INTERFACE, iface_ctl); in wm8978_hw_params() 827 snd_soc_component_write(component, WM8978_ADDITIONAL_CONTROL, add_ctl); in wm8978_hw_params() 865 snd_soc_component_write(component, WM8978_POWER_MANAGEMENT_1, power1); in wm8978_set_bias_level() 873 snd_soc_component_write(component, WM8978_POWER_MANAGEMENT_1, in wm8978_set_bias_level() [all …]
|
D | wm9713.c | 839 snd_soc_component_write(component, AC97_LINE1_LEVEL, reg); in wm9713_set_pll() 847 snd_soc_component_write(component, AC97_LINE1_LEVEL, reg); in wm9713_set_pll() 851 snd_soc_component_write(component, AC97_LINE1_LEVEL, reg); in wm9713_set_pll() 855 snd_soc_component_write(component, AC97_LINE1_LEVEL, reg); in wm9713_set_pll() 859 snd_soc_component_write(component, AC97_LINE1_LEVEL, reg); in wm9713_set_pll() 863 snd_soc_component_write(component, AC97_LINE1_LEVEL, reg); in wm9713_set_pll() 866 snd_soc_component_write(component, AC97_LINE1_LEVEL, reg); in wm9713_set_pll() 999 snd_soc_component_write(component, AC97_GPIO_CFG, gpio); in wm9713_set_dai_fmt() 1000 snd_soc_component_write(component, AC97_CENTER_LFE_MASTER, reg); in wm9713_set_dai_fmt() 1044 return snd_soc_component_write(component, reg, runtime->rate); in ac97_hifi_prepare() [all …]
|