/sound/soc/codecs/ |
D | wm8961.c | 204 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event() 208 snd_soc_component_write(component, WM8961_CHARGE_PUMP_1, cp_reg); in wm8961_hp_event() 213 snd_soc_component_write(component, WM8961_PWR_MGMT_2, pwr_reg); in wm8961_hp_event() 217 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event() 221 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event() 229 snd_soc_component_write(component, WM8961_DC_SERVO_1, dcs_reg); in wm8961_hp_event() 244 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event() 248 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event() 254 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event() 258 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event() [all …]
|
D | wm8510.c | 106 #define wm8510_reset(c) snd_soc_component_write(c, WM8510_RESET, 0) 322 snd_soc_component_write(component, WM8510_CLOCK, reg & 0x0ff); in wm8510_set_dai_pll() 326 snd_soc_component_write(component, WM8510_POWER1, reg & 0x1df); in wm8510_set_dai_pll() 332 snd_soc_component_write(component, WM8510_PLLN, (pll_div.pre_div << 4) | pll_div.n); in wm8510_set_dai_pll() 333 snd_soc_component_write(component, WM8510_PLLK1, pll_div.k >> 18); in wm8510_set_dai_pll() 334 snd_soc_component_write(component, WM8510_PLLK2, (pll_div.k >> 9) & 0x1ff); in wm8510_set_dai_pll() 335 snd_soc_component_write(component, WM8510_PLLK3, pll_div.k & 0x1ff); in wm8510_set_dai_pll() 337 snd_soc_component_write(component, WM8510_POWER1, reg | 0x020); in wm8510_set_dai_pll() 341 snd_soc_component_write(component, WM8510_CLOCK, reg | 0x100); in wm8510_set_dai_pll() 358 snd_soc_component_write(component, WM8510_GPIO, reg | div); in wm8510_set_dai_clkdiv() [all …]
|
D | wm8900.c | 218 snd_soc_component_write(component, WM8900_REG_RESET, 0); in wm8900_reset() 232 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 241 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 248 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 252 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 254 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 260 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 264 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 270 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event() 275 snd_soc_component_write(component, WM8900_REG_HPCTL1, 0); in wm8900_hp_event() [all …]
|
D | wm8940.c | 334 #define wm8940_reset(c) snd_soc_component_write(c, WM8940_SOFTRESET, 0); 352 snd_soc_component_write(component, WM8940_CLOCK, clk); in wm8940_set_dai_fmt() 385 snd_soc_component_write(component, WM8940_IFACE, iface); in wm8940_set_dai_fmt() 426 ret = snd_soc_component_write(component, WM8940_ADDCNTRL, addcntrl); in wm8940_i2s_hw_params() 446 ret = snd_soc_component_write(component, WM8940_COMPANDINGCTL, companding); in wm8940_i2s_hw_params() 449 ret = snd_soc_component_write(component, WM8940_IFACE, iface); in wm8940_i2s_hw_params() 463 return snd_soc_component_write(component, WM8940_DAC, mute_reg); in wm8940_mute() 480 ret = snd_soc_component_write(component, WM8940_OUTPUTCTL, val | 0x2); in wm8940_set_bias_level() 484 ret = snd_soc_component_write(component, WM8940_POWER1, pwr_reg | 0x1); in wm8940_set_bias_level() 489 ret = snd_soc_component_write(component, WM8940_POWER1, pwr_reg | 0x1); in wm8940_set_bias_level() [all …]
|
D | tlv320aic3x.c | 1067 snd_soc_component_write(component, AIC3X_ASD_INTF_CTRLB, data); in aic3x_hw_params() 1082 snd_soc_component_write(component, AIC3X_PLL_PROGA_REG, pll_q << PLLQ_SHIFT); in aic3x_hw_params() 1083 snd_soc_component_write(component, AIC3X_GPIOB_REG, CODEC_CLKIN_CLKDIV); in aic3x_hw_params() 1088 snd_soc_component_write(component, AIC3X_GPIOB_REG, CODEC_CLKIN_PLLDIV); in aic3x_hw_params() 1100 snd_soc_component_write(component, AIC3X_CODEC_DATAPATH_REG, data); in aic3x_hw_params() 1109 snd_soc_component_write(component, AIC3X_SAMPLE_RATE_SEL_REG, data); in aic3x_hw_params() 1179 snd_soc_component_write(component, AIC3X_OVRF_STATUS_AND_PLLR_REG, in aic3x_hw_params() 1181 snd_soc_component_write(component, AIC3X_PLL_PROGB_REG, pll_j << PLLJ_SHIFT); in aic3x_hw_params() 1182 snd_soc_component_write(component, AIC3X_PLL_PROGC_REG, in aic3x_hw_params() 1184 snd_soc_component_write(component, AIC3X_PLL_PROGD_REG, in aic3x_hw_params() [all …]
|
D | wm8991.c | 143 return snd_soc_component_write(component, reg, val | 0x0100); in wm899x_outpga_put_volsw_vu() 927 snd_soc_component_write(component, WM8991_POWER_MANAGEMENT_2, reg); in wm8991_set_dai_pll() 931 snd_soc_component_write(component, WM8991_CLOCKING_2, reg | WM8991_SYSCLK_SRC); in wm8991_set_dai_pll() 934 snd_soc_component_write(component, WM8991_PLL1, pll_div.n | WM8991_SDM | in wm8991_set_dai_pll() 936 snd_soc_component_write(component, WM8991_PLL2, (u8)(pll_div.k>>8)); in wm8991_set_dai_pll() 937 snd_soc_component_write(component, WM8991_PLL3, (u8)(pll_div.k & 0xFF)); in wm8991_set_dai_pll() 942 snd_soc_component_write(component, WM8991_POWER_MANAGEMENT_2, reg); in wm8991_set_dai_pll() 998 snd_soc_component_write(component, WM8991_AUDIO_INTERFACE_1, audio1); in wm8991_set_dai_fmt() 999 snd_soc_component_write(component, WM8991_AUDIO_INTERFACE_3, audio3); in wm8991_set_dai_fmt() 1013 snd_soc_component_write(component, WM8991_CLOCKING_2, reg | div); in wm8991_set_dai_clkdiv() [all …]
|
D | da732x.c | 187 snd_soc_component_write(component, DA732X_REG_PLL_CTRL, val); in da732x_get_input_div() 196 snd_soc_component_write(component, DA732X_REG_CLK_EN2, DA732X_CP_CLK_EN); in da732x_set_charge_pump() 197 snd_soc_component_write(component, DA732X_REG_CP_HP2, DA732X_HP_CP_EN | in da732x_set_charge_pump() 199 snd_soc_component_write(component, DA732X_REG_CP_CTRL1, DA732X_CP_EN | in da732x_set_charge_pump() 201 snd_soc_component_write(component, DA732X_REG_CP_CTRL2, in da732x_set_charge_pump() 203 snd_soc_component_write(component, DA732X_REG_CP_CTRL3, DA732X_CP_1MHZ); in da732x_set_charge_pump() 206 snd_soc_component_write(component, DA732X_REG_CLK_EN2, DA732X_CP_CLK_DIS); in da732x_set_charge_pump() 207 snd_soc_component_write(component, DA732X_REG_CP_HP2, DA732X_HP_CP_DIS); in da732x_set_charge_pump() 208 snd_soc_component_write(component, DA732X_REG_CP_CTRL1, DA723X_CP_DIS); in da732x_set_charge_pump() 1102 snd_soc_component_write(component, DA732X_REG_AIF_MCLK, aif_mclk); in da732x_set_dai_fmt() [all …]
|
D | wm8400.c | 98 return snd_soc_component_write(component, reg, val | 0x0100); in wm8400_outpga_put_volsw_vu() 950 snd_soc_component_write(component, WM8400_POWER_MANAGEMENT_2, reg); in wm8400_set_dai_pll() 954 snd_soc_component_write(component, WM8400_FLL_CONTROL_1, reg); in wm8400_set_dai_pll() 962 snd_soc_component_write(component, WM8400_FLL_CONTROL_1, reg); in wm8400_set_dai_pll() 964 snd_soc_component_write(component, WM8400_FLL_CONTROL_2, factors.k); in wm8400_set_dai_pll() 965 snd_soc_component_write(component, WM8400_FLL_CONTROL_3, factors.n); in wm8400_set_dai_pll() 970 snd_soc_component_write(component, WM8400_FLL_CONTROL_4, reg); in wm8400_set_dai_pll() 1026 snd_soc_component_write(component, WM8400_AUDIO_INTERFACE_1, audio1); in wm8400_set_dai_fmt() 1027 snd_soc_component_write(component, WM8400_AUDIO_INTERFACE_3, audio3); in wm8400_set_dai_fmt() 1041 snd_soc_component_write(component, WM8400_CLOCKING_2, reg | div); in wm8400_set_dai_clkdiv() [all …]
|
D | wm8974.c | 53 #define wm8974_reset(c) snd_soc_component_write(c, WM8974_RESET, 0) 322 snd_soc_component_write(component, WM8974_CLOCK, reg & 0x0ff); in wm8974_set_dai_pll() 326 snd_soc_component_write(component, WM8974_POWER1, reg & 0x1df); in wm8974_set_dai_pll() 332 snd_soc_component_write(component, WM8974_PLLN, (pll_div.pre_div << 4) | pll_div.n); in wm8974_set_dai_pll() 333 snd_soc_component_write(component, WM8974_PLLK1, pll_div.k >> 18); in wm8974_set_dai_pll() 334 snd_soc_component_write(component, WM8974_PLLK2, (pll_div.k >> 9) & 0x1ff); in wm8974_set_dai_pll() 335 snd_soc_component_write(component, WM8974_PLLK3, pll_div.k & 0x1ff); in wm8974_set_dai_pll() 337 snd_soc_component_write(component, WM8974_POWER1, reg | 0x020); in wm8974_set_dai_pll() 341 snd_soc_component_write(component, WM8974_CLOCK, reg | 0x100); in wm8974_set_dai_pll() 358 snd_soc_component_write(component, WM8974_GPIO, reg | div); in wm8974_set_dai_clkdiv() [all …]
|
D | wm8990.c | 35 #define wm8990_reset(c) snd_soc_component_write(c, WM8990_RESET, 0) 65 return snd_soc_component_write(component, reg, val | 0x0100); in wm899x_outpga_put_volsw_vu() 861 snd_soc_component_write(component, WM8990_PLL1, pll_div.n | WM8990_SDM | in wm8990_set_dai_pll() 863 snd_soc_component_write(component, WM8990_PLL2, (u8)(pll_div.k>>8)); in wm8990_set_dai_pll() 864 snd_soc_component_write(component, WM8990_PLL3, (u8)(pll_div.k & 0xFF)); in wm8990_set_dai_pll() 937 snd_soc_component_write(component, WM8990_AUDIO_INTERFACE_1, audio1); in wm8990_set_dai_fmt() 938 snd_soc_component_write(component, WM8990_AUDIO_INTERFACE_3, audio3); in wm8990_set_dai_fmt() 997 snd_soc_component_write(component, WM8990_AUDIO_INTERFACE_1, audio1); in wm8990_hw_params() 1009 snd_soc_component_write(component, WM8990_DAC_CTRL, val | WM8990_DAC_MUTE); in wm8990_mute() 1011 snd_soc_component_write(component, WM8990_DAC_CTRL, val); in wm8990_mute() [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() 1016 snd_soc_component_write(component, DA7210_PLL_DIV1, pll_div1); in da7210_set_dai_pll() 1017 snd_soc_component_write(component, DA7210_PLL_DIV2, pll_div2); in da7210_set_dai_pll() 1075 snd_soc_component_write(component, DA7210_CONTROL, DA7210_REG_EN | DA7210_BIAS_EN); in da7210_probe() [all …]
|
D | rt5631.c | 73 snd_soc_component_write(component, RT5631_INDEX_ADD, reg); in rt5631_write_index() 74 snd_soc_component_write(component, RT5631_INDEX_DATA, value); in rt5631_write_index() 85 snd_soc_component_write(component, RT5631_INDEX_ADD, reg); in rt5631_read_index() 93 return snd_soc_component_write(component, RT5631_RESET, 0); in rt5631_reset() 377 snd_soc_component_write(component, RT5631_SOFT_VOL_CTRL, 0); in onebit_depop_power_stage() 379 snd_soc_component_write(component, RT5631_INT_ST_IRQ_CTRL_2, hp_zc & 0xf7ff); in onebit_depop_power_stage() 386 snd_soc_component_write(component, RT5631_DEPOP_FUN_CTRL_2, in onebit_depop_power_stage() 390 snd_soc_component_write(component, RT5631_DEPOP_FUN_CTRL_2, 0); in onebit_depop_power_stage() 395 snd_soc_component_write(component, RT5631_SOFT_VOL_CTRL, soft_vol); in onebit_depop_power_stage() 396 snd_soc_component_write(component, RT5631_INT_ST_IRQ_CTRL_2, hp_zc); in onebit_depop_power_stage() [all …]
|
D | rt5663.c | 1471 snd_soc_component_write(component, RT5663_CBJ_TYPE_2, 0x8040); in rt5663_v2_jack_detect() 1472 snd_soc_component_write(component, RT5663_CBJ_TYPE_3, 0x1484); in rt5663_v2_jack_detect() 1682 snd_soc_component_write(component, RT5663_MIC_DECRO_2, in rt5663_impedance_sensing() 1684 snd_soc_component_write(component, RT5663_MIC_DECRO_3, in rt5663_impedance_sensing() 1686 snd_soc_component_write(component, RT5663_MIC_DECRO_5, in rt5663_impedance_sensing() 1688 snd_soc_component_write(component, RT5663_MIC_DECRO_6, in rt5663_impedance_sensing() 1691 snd_soc_component_write(component, RT5663_MIC_DECRO_2, in rt5663_impedance_sensing() 1693 snd_soc_component_write(component, RT5663_MIC_DECRO_3, in rt5663_impedance_sensing() 1695 snd_soc_component_write(component, RT5663_MIC_DECRO_5, in rt5663_impedance_sensing() 1697 snd_soc_component_write(component, RT5663_MIC_DECRO_6, in rt5663_impedance_sensing() [all …]
|
D | wm8753.c | 148 #define wm8753_reset(c) snd_soc_component_write(c, WM8753_RESET, 0) 255 snd_soc_component_write(component, WM8753_IOCTL, ioctl); in wm8753_set_dai() 760 snd_soc_component_write(component, WM8753_PLL1CTL1 + offset, 0x0026); in wm8753_set_dai_pll() 761 snd_soc_component_write(component, WM8753_CLOCK, reg); in wm8753_set_dai_pll() 772 snd_soc_component_write(component, WM8753_PLL1CTL2 + offset, value); in wm8753_set_dai_pll() 776 snd_soc_component_write(component, WM8753_PLL1CTL3 + offset, value); in wm8753_set_dai_pll() 780 snd_soc_component_write(component, WM8753_PLL1CTL4 + offset, value); in wm8753_set_dai_pll() 783 snd_soc_component_write(component, WM8753_PLL1CTL1 + offset, 0x0027 | in wm8753_set_dai_pll() 785 snd_soc_component_write(component, WM8753_CLOCK, reg | enable); in wm8753_set_dai_pll() 913 snd_soc_component_write(component, WM8753_PCM, voice); in wm8753_vdac_adc_set_dai_fmt() [all …]
|
D | wm8711.c | 58 #define wm8711_reset(c) snd_soc_component_write(c, WM8711_RESET, 0) 166 snd_soc_component_write(component, WM8711_SRATE, srate); in wm8711_hw_params() 180 snd_soc_component_write(component, WM8711_IFACE, iface); in wm8711_hw_params() 190 snd_soc_component_write(component, WM8711_ACTIVE, 0x0001); in wm8711_pcm_prepare() 203 snd_soc_component_write(component, WM8711_ACTIVE, 0x0); in wm8711_shutdown() 213 snd_soc_component_write(component, WM8711_APDIGI, mute_reg | 0x8); in wm8711_mute() 215 snd_soc_component_write(component, WM8711_APDIGI, mute_reg); in wm8711_mute() 293 snd_soc_component_write(component, WM8711_IFACE, iface); in wm8711_set_dai_fmt() 305 snd_soc_component_write(component, WM8711_PWR, reg); in wm8711_set_bias_level() 313 snd_soc_component_write(component, WM8711_PWR, reg | 0x0040); in wm8711_set_bias_level() [all …]
|
D | alc5623.c | 47 return snd_soc_component_write(component, ALC5623_RESET, 0); in alc5623_reset() 59 snd_soc_component_write(component, ALC5623_HID_CTRL_INDEX, 0x46); in amp_mixer_event() 63 snd_soc_component_write(component, ALC5623_HID_CTRL_DATA, 0xFFFF); in amp_mixer_event() 66 snd_soc_component_write(component, ALC5623_HID_CTRL_DATA, 0); in amp_mixer_event() 573 snd_soc_component_write(component, ALC5623_GLOBAL_CLK_CTRL_REG, gbl_clk); in alc5623_set_dai_pll() 574 snd_soc_component_write(component, ALC5623_PLL_CTRL, pll_div); in alc5623_set_dai_pll() 579 snd_soc_component_write(component, ALC5623_GLOBAL_CLK_CTRL_REG, gbl_clk); in alc5623_set_dai_pll() 693 return snd_soc_component_write(component, ALC5623_DAI_CONTROL, iface); in alc5623_set_dai_fmt() 726 snd_soc_component_write(component, ALC5623_DAI_CONTROL, iface); in alc5623_pcm_hw_params() 735 snd_soc_component_write(component, ALC5623_STEREO_AD_DA_CLK_CTRL, coeff); in alc5623_pcm_hw_params() [all …]
|
D | tlv320aic23.c | 95 snd_soc_component_write(component, TLV320AIC23_ANLG, reg | (val << 6)); in snd_soc_tlv320aic23_put_volsw() 321 snd_soc_component_write(component, TLV320AIC23_SRATE, data); in set_sample_rate_control() 374 snd_soc_component_write(component, TLV320AIC23_DIGT_FMT, iface_reg); in tlv320aic23_hw_params() 385 snd_soc_component_write(component, TLV320AIC23_ACTIVE, 0x0001); in tlv320aic23_pcm_prepare() 399 snd_soc_component_write(component, TLV320AIC23_ACTIVE, 0x0); in tlv320aic23_shutdown() 419 snd_soc_component_write(component, TLV320AIC23_DIGT, reg); in tlv320aic23_mute() 465 snd_soc_component_write(component, TLV320AIC23_DIGT_FMT, iface_reg); in tlv320aic23_set_dai_fmt() 488 snd_soc_component_write(component, TLV320AIC23_PWR, reg); in tlv320aic23_set_bias_level() 494 snd_soc_component_write(component, TLV320AIC23_PWR, in tlv320aic23_set_bias_level() 499 snd_soc_component_write(component, TLV320AIC23_ACTIVE, 0x0); in tlv320aic23_set_bias_level() [all …]
|
D | rk817_codec.c | 42 snd_soc_component_write(component, RK817_CODEC_DDAC_POPD_DACST, 0x02); in rk817_init() 43 snd_soc_component_write(component, RK817_CODEC_DDAC_SR_LMT0, 0x02); in rk817_init() 44 snd_soc_component_write(component, RK817_CODEC_DADC_SR_ACL0, 0x02); in rk817_init() 45 snd_soc_component_write(component, RK817_CODEC_DTOP_VUCTIME, 0xf4); in rk817_init() 59 snd_soc_component_write(component, RK817_CODEC_APLL_CFG1, 0x58); in rk817_set_component_pll() 61 snd_soc_component_write(component, RK817_CODEC_APLL_CFG2, 0x2d); in rk817_set_component_pll() 63 snd_soc_component_write(component, RK817_CODEC_APLL_CFG3, 0x0c); in rk817_set_component_pll() 67 snd_soc_component_write(component, RK817_CODEC_APLL_CFG4, 0xa5); in rk817_set_component_pll() 332 snd_soc_component_write(component, RK817_CODEC_DI2S_RXCR2, in rk817_hw_params() 334 snd_soc_component_write(component, RK817_CODEC_DI2S_TXCR2, in rk817_hw_params() [all …]
|
D | tlv320aic32x4.c | 70 snd_soc_component_write(component, AIC32X4_ADCSETUP, adc_reg | in aic32x4_reset_adc() 72 snd_soc_component_write(component, AIC32X4_ADCSETUP, adc_reg); in aic32x4_reset_adc() 140 snd_soc_component_write(component, AIC32X4_DOUTCTL, val); in aic32x4_set_mfp2_gpio() 181 snd_soc_component_write(component, AIC32X4_MISOCTL, val); in aic32x4_set_mfp4_gpio() 221 snd_soc_component_write(component, AIC32X4_GPIOCTL, val); in aic32x4_set_mfp5_gpio() 674 return snd_soc_component_write(component, AIC32X4_AOSR, aosr); in aic32x4_set_aosr() 679 snd_soc_component_write(component, AIC32X4_DOSRMSB, dosr >> 8); in aic32x4_set_dosr() 680 snd_soc_component_write(component, AIC32X4_DOSRLSB, in aic32x4_set_dosr() 695 snd_soc_component_write(component, AIC32X4_DACSPB, p_block); in aic32x4_set_processing_blocks() 700 snd_soc_component_write(component, AIC32X4_ADCSPB, r_block); in aic32x4_set_processing_blocks() [all …]
|
D | max98095.c | 269 snd_soc_component_write(component, eq_reg++, M98095_BYTE1(coefs[i])); in m98095_eq_band() 270 snd_soc_component_write(component, eq_reg++, M98095_BYTE0(coefs[i])); in m98095_eq_band() 295 snd_soc_component_write(component, bq_reg++, M98095_BYTE1(coefs[i])); in m98095_biquad_band() 296 snd_soc_component_write(component, bq_reg++, M98095_BYTE0(coefs[i])); in m98095_biquad_band() 982 snd_soc_component_write(component, M98095_028_DAI1_CLKCFG_HI, in max98095_dai1_hw_params() 984 snd_soc_component_write(component, M98095_029_DAI1_CLKCFG_LO, in max98095_dai1_hw_params() 1043 snd_soc_component_write(component, M98095_032_DAI2_CLKCFG_HI, in max98095_dai2_hw_params() 1045 snd_soc_component_write(component, M98095_033_DAI2_CLKCFG_LO, in max98095_dai2_hw_params() 1104 snd_soc_component_write(component, M98095_03C_DAI3_CLKCFG_HI, in max98095_dai3_hw_params() 1106 snd_soc_component_write(component, M98095_03D_DAI3_CLKCFG_LO, in max98095_dai3_hw_params() [all …]
|
D | rt1015.c | 586 snd_soc_component_write(component, in r1015_dac_event() 588 snd_soc_component_write(component, in r1015_dac_event() 590 snd_soc_component_write(component, in r1015_dac_event() 592 snd_soc_component_write(component, in r1015_dac_event() 594 snd_soc_component_write(component, in r1015_dac_event() 597 snd_soc_component_write(component, in r1015_dac_event() 599 snd_soc_component_write(component, in r1015_dac_event() 601 snd_soc_component_write(component, in r1015_dac_event() 603 snd_soc_component_write(component, in r1015_dac_event() 610 snd_soc_component_write(component, in r1015_dac_event() [all …]
|
D | ad1980.c | 222 snd_soc_component_write(component, AC97_AD_SERIAL_CFG, 0x9900); in ad1980_reset() 266 snd_soc_component_write(component, AC97_MASTER, 0x0000); in ad1980_soc_probe() 267 snd_soc_component_write(component, AC97_PCM, 0x0000); in ad1980_soc_probe() 268 snd_soc_component_write(component, AC97_REC_GAIN, 0x0000); in ad1980_soc_probe() 269 snd_soc_component_write(component, AC97_CENTER_LFE_MASTER, 0x0000); in ad1980_soc_probe() 270 snd_soc_component_write(component, AC97_SURROUND_MASTER, 0x0000); in ad1980_soc_probe() 274 snd_soc_component_write(component, AC97_EXTENDED_STATUS, ext_status&~0x3800); in ad1980_soc_probe()
|
D | wm9081.c | 382 snd_soc_component_write(component, WM9081_ANALOGUE_SPEAKER_2, reg2); in speaker_mode_put() 587 snd_soc_component_write(component, WM9081_CLOCK_CONTROL_3, in wm9081_set_fll() 594 snd_soc_component_write(component, WM9081_FLL_CONTROL_1, reg1); in wm9081_set_fll() 601 snd_soc_component_write(component, WM9081_FLL_CONTROL_1, reg1); in wm9081_set_fll() 603 snd_soc_component_write(component, WM9081_FLL_CONTROL_2, in wm9081_set_fll() 606 snd_soc_component_write(component, WM9081_FLL_CONTROL_3, fll_div.k); in wm9081_set_fll() 611 snd_soc_component_write(component, WM9081_FLL_CONTROL_4, reg4); in wm9081_set_fll() 615 snd_soc_component_write(component, WM9081_FLL_CONTROL_5, reg5); in wm9081_set_fll() 622 snd_soc_component_write(component, WM9081_FLL_CONTROL_1, reg1 | WM9081_FLL_ENA); in wm9081_set_fll() 626 snd_soc_component_write(component, WM9081_CLOCK_CONTROL_3, clk_sys_reg); in wm9081_set_fll() [all …]
|
D | wm8971.c | 88 #define wm8971_reset(c) snd_soc_component_write(c, WM8971_RESET, 0) 501 snd_soc_component_write(component, WM8971_IFACE, iface); in wm8971_set_dai_fmt() 531 snd_soc_component_write(component, WM8971_IFACE, iface); in wm8971_pcm_hw_params() 533 snd_soc_component_write(component, WM8971_SRATE, srate | in wm8971_pcm_hw_params() 545 snd_soc_component_write(component, WM8971_ADCDAC, mute_reg | 0x8); in wm8971_mute() 547 snd_soc_component_write(component, WM8971_ADCDAC, mute_reg); in wm8971_mute() 569 snd_soc_component_write(component, WM8971_PWR1, pwr_reg | 0x00c1); in wm8971_set_bias_level() 579 snd_soc_component_write(component, WM8971_PWR1, pwr_reg | 0x01c0); in wm8971_set_bias_level() 584 snd_soc_component_write(component, WM8971_PWR1, pwr_reg | 0x0140); in wm8971_set_bias_level() 590 snd_soc_component_write(component, WM8971_PWR1, 0x0001); in wm8971_set_bias_level()
|
D | da7213.c | 203 snd_soc_component_write(component, DA7213_ALC_CIC_OP_LVL_CTRL, reg_val); in da7213_get_alc_data() 206 snd_soc_component_write(component, DA7213_ALC_CIC_OP_LVL_CTRL, in da7213_get_alc_data() 211 snd_soc_component_write(component, DA7213_ALC_CIC_OP_LVL_CTRL, in da7213_get_alc_data() 239 snd_soc_component_write(component, DA7213_ALC_OFFSET_MAN_M_L, reg_val); in da7213_alc_calib_man() 241 snd_soc_component_write(component, DA7213_ALC_OFFSET_MAN_U_L, reg_val); in da7213_alc_calib_man() 244 snd_soc_component_write(component, DA7213_ALC_OFFSET_MAN_M_R, reg_val); in da7213_alc_calib_man() 246 snd_soc_component_write(component, DA7213_ALC_OFFSET_MAN_U_R, reg_val); in da7213_alc_calib_man() 331 snd_soc_component_write(component, DA7213_MIXIN_L_SELECT, mixin_l_sel); in da7213_alc_calib() 332 snd_soc_component_write(component, DA7213_MIXIN_R_SELECT, mixin_r_sel); in da7213_alc_calib() 335 snd_soc_component_write(component, DA7213_ADC_L_CTRL, adc_l_ctrl); in da7213_alc_calib() [all …]
|