Home
last modified time | relevance | path

Searched refs:snd_soc_component_write (Results 1 – 25 of 151) sorted by relevance

1234567

/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Des8396.c328 snd_soc_component_write(component, 0x1A, 0x00); in voice_shutdown_depop_events()
329 snd_soc_component_write(component, 0x67, 0x00); in voice_shutdown_depop_events()
330 snd_soc_component_write(component, 0x69, 0x00); in voice_shutdown_depop_events()
331 snd_soc_component_write(component, 0x66, 0x00); in voice_shutdown_depop_events()
347 snd_soc_component_write(component, ES8396_DAC_OFFSET_CALI_REG6F, 0x83); in init_cali_work_events()
353 snd_soc_component_write(component, ES8396_ADC_ANALOG_CTRL_REG5E, 0x3C); in init_cali_work_events()
357 snd_soc_component_write(component, 0x4E, 0x80); in init_cali_work_events()
358 snd_soc_component_write(component, 0x4F, 0x81); in init_cali_work_events()
359 snd_soc_component_write(component, 0x4A, 0x60); in init_cali_work_events()
360 snd_soc_component_write(component, 0x4B, 0x60); in init_cali_work_events()
[all …]
H A Des8326.c125 snd_soc_component_write(es8326->component, 0x1b, 0x7c); in es8326_hpdetect_work()
135 snd_soc_component_write(es8326->component, ES8326_ADC1_SRC_2A, in es8326_hpdetect_work()
147 snd_soc_component_write(es8326->component, in es8326_hpdetect_work()
164 snd_soc_component_write(es8326->component, 0x1b, 0x70); in es8326_hpdetect_work()
488 snd_soc_component_write(component, ES8326_FMT_13, iface); in es8326_set_dai_fmt()
520 snd_soc_component_write(component, ES8326_FMT_13, srate); in es8326_pcm_hw_params()
523 snd_soc_component_write(component, ES8326_CLK_DIV1_04, in es8326_pcm_hw_params()
525 snd_soc_component_write(component, ES8326_CLK_DIV2_05, in es8326_pcm_hw_params()
527 snd_soc_component_write(component, ES8326_CLK_DLL_06, in es8326_pcm_hw_params()
529 snd_soc_component_write(component, ES8326_CLK_MUX_07, in es8326_pcm_hw_params()
[all …]
H A Des8323.c100 snd_soc_component_write(component, ES8323_CONTROL1, 0x80); in es8323_reset()
101 return snd_soc_component_write(component, ES8323_CONTROL1, 0x00); in es8323_reset()
530 snd_soc_component_write(component, ES8323_IFACE, iface); in es8323_set_dai_fmt()
531 snd_soc_component_write(component, ES8323_ADC_IFACE, adciface); in es8323_set_dai_fmt()
532 snd_soc_component_write(component, ES8323_DAC_IFACE, daciface); in es8323_set_dai_fmt()
601 snd_soc_component_write(component, ES8323_DAC_IFACE, daciface); in es8323_pcm_hw_params()
602 snd_soc_component_write(component, ES8323_ADC_IFACE, adciface); in es8323_pcm_hw_params()
605 snd_soc_component_write(component, ES8323_IFACE, srate); in es8323_pcm_hw_params()
606 snd_soc_component_write(component, ES8323_ADCCONTROL5, in es8323_pcm_hw_params()
609 snd_soc_component_write(component, ES8323_DACCONTROL2, in es8323_pcm_hw_params()
[all …]
H A Drk1000_codec.c97 snd_soc_component_write(component, ACCELCODEC_R1D, 0x2a); in rk1000_codec_set_bias_level()
98 snd_soc_component_write(component, ACCELCODEC_R1E, 0x40); in rk1000_codec_set_bias_level()
99 snd_soc_component_write(component, ACCELCODEC_R1F, 0x49); in rk1000_codec_set_bias_level()
103 snd_soc_component_write(component, ACCELCODEC_R1D, 0x2a); in rk1000_codec_set_bias_level()
104 snd_soc_component_write(component, ACCELCODEC_R1E, 0x40); in rk1000_codec_set_bias_level()
105 snd_soc_component_write(component, ACCELCODEC_R1F, 0x49); in rk1000_codec_set_bias_level()
110 snd_soc_component_write(component, ACCELCODEC_R1D, 0xFF); in rk1000_codec_set_bias_level()
111 snd_soc_component_write(component, ACCELCODEC_R1E, 0xFF); in rk1000_codec_set_bias_level()
112 snd_soc_component_write(component, ACCELCODEC_R1F, 0xFF); in rk1000_codec_set_bias_level()
127 snd_soc_component_write(component, ACCELCODEC_R1D, 0x2a); in rk1000_codec_set_dai_fmt()
[all …]
H A Drk817_codec.c260 snd_soc_component_write(component, RK817_CODEC_DTOP_LPT_SRST, 0x40); in rk817_reset()
261 snd_soc_component_write(component, RK817_CODEC_DDAC_POPD_DACST, 0x02); in rk817_reset()
262 snd_soc_component_write(component, RK817_CODEC_DI2S_CKM, 0x00); in rk817_reset()
263 snd_soc_component_write(component, RK817_CODEC_DTOP_DIGEN_CLKE, 0xff); in rk817_reset()
264 snd_soc_component_write(component, RK817_CODEC_APLL_CFG1, 0x58); in rk817_reset()
265 snd_soc_component_write(component, RK817_CODEC_APLL_CFG2, 0x2d); in rk817_reset()
266 snd_soc_component_write(component, RK817_CODEC_APLL_CFG3, 0x0c); in rk817_reset()
267 snd_soc_component_write(component, RK817_CODEC_APLL_CFG5, 0x00); in rk817_reset()
268 snd_soc_component_write(component, RK817_CODEC_DTOP_DIGEN_CLKE, 0x00); in rk817_reset()
272 snd_soc_component_write(component, RK817_CODEC_APLL_CFG0, 0x0c); in rk817_reset()
[all …]
H A Dwm8961.c204 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 …]
H A Dwm8900.c218 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 …]
H A Dwm8510.c106 #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 …]
H A Des8311.c299 snd_soc_component_write(component, ES8311_RESET_REG00, iface); in es8311_set_dai_fmt()
361 snd_soc_component_write(component, ES8311_CLK_MANAGER_REG06, iface); in es8311_set_dai_fmt()
362 snd_soc_component_write(component, ES8311_SDPOUT_REG0A, adciface); in es8311_set_dai_fmt()
363 snd_soc_component_write(component, ES8311_SDPIN_REG09, daciface); in es8311_set_dai_fmt()
412 snd_soc_component_write(component, ES8311_SDPIN_REG09, iface); in es8311_pcm_hw_params()
430 snd_soc_component_write(component, ES8311_SDPOUT_REG0A, iface); in es8311_pcm_hw_params()
486 snd_soc_component_write(component, ES8311_SYSTEM_REG12, 0x02); in es8311_mute()
492 snd_soc_component_write(component, ES8311_SYSTEM_REG12, 0x00); in es8311_mute()
539 snd_soc_component_write(component, ES8311_I2C_REGFA, 0x01); in es8311_regs_init()
541 snd_soc_component_write(component, ES8311_I2C_REGFA, 0x00); in es8311_regs_init()
[all …]
H A Dwm8940.c334 #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 …]
H A Dtlv320aic3x.c1073 snd_soc_component_write(component, AIC3X_ASD_INTF_CTRLB, data); in aic3x_hw_params()
1088 snd_soc_component_write(component, AIC3X_PLL_PROGA_REG, pll_q << PLLQ_SHIFT); in aic3x_hw_params()
1089 snd_soc_component_write(component, AIC3X_GPIOB_REG, CODEC_CLKIN_CLKDIV); in aic3x_hw_params()
1094 snd_soc_component_write(component, AIC3X_GPIOB_REG, CODEC_CLKIN_PLLDIV); in aic3x_hw_params()
1106 snd_soc_component_write(component, AIC3X_CODEC_DATAPATH_REG, data); in aic3x_hw_params()
1115 snd_soc_component_write(component, AIC3X_SAMPLE_RATE_SEL_REG, data); in aic3x_hw_params()
1185 snd_soc_component_write(component, AIC3X_OVRF_STATUS_AND_PLLR_REG, in aic3x_hw_params()
1187 snd_soc_component_write(component, AIC3X_PLL_PROGB_REG, pll_j << PLLJ_SHIFT); in aic3x_hw_params()
1188 snd_soc_component_write(component, AIC3X_PLL_PROGC_REG, in aic3x_hw_params()
1190 snd_soc_component_write(component, AIC3X_PLL_PROGD_REG, in aic3x_hw_params()
[all …]
H A Dwm8991.c143 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 …]
H A Dda732x.c192 snd_soc_component_write(component, DA732X_REG_PLL_CTRL, val); in da732x_get_input_div()
201 snd_soc_component_write(component, DA732X_REG_CLK_EN2, DA732X_CP_CLK_EN); in da732x_set_charge_pump()
202 snd_soc_component_write(component, DA732X_REG_CP_HP2, DA732X_HP_CP_EN | in da732x_set_charge_pump()
204 snd_soc_component_write(component, DA732X_REG_CP_CTRL1, DA732X_CP_EN | in da732x_set_charge_pump()
206 snd_soc_component_write(component, DA732X_REG_CP_CTRL2, in da732x_set_charge_pump()
208 snd_soc_component_write(component, DA732X_REG_CP_CTRL3, DA732X_CP_1MHZ); in da732x_set_charge_pump()
211 snd_soc_component_write(component, DA732X_REG_CLK_EN2, DA732X_CP_CLK_DIS); in da732x_set_charge_pump()
212 snd_soc_component_write(component, DA732X_REG_CP_HP2, DA732X_HP_CP_DIS); in da732x_set_charge_pump()
213 snd_soc_component_write(component, DA732X_REG_CP_CTRL1, DA723X_CP_DIS); in da732x_set_charge_pump()
1107 snd_soc_component_write(component, DA732X_REG_AIF_MCLK, aif_mclk); in da732x_set_dai_fmt()
[all …]
H A Dwm8400.c98 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 …]
H A Dwm8974.c55 #define wm8974_reset(c) snd_soc_component_write(c, WM8974_RESET, 0)
324 snd_soc_component_write(component, WM8974_CLOCK, reg & 0x0ff); in wm8974_set_dai_pll()
328 snd_soc_component_write(component, WM8974_POWER1, reg & 0x1df); in wm8974_set_dai_pll()
334 snd_soc_component_write(component, WM8974_PLLN, (pll_div.pre_div << 4) | pll_div.n); in wm8974_set_dai_pll()
335 snd_soc_component_write(component, WM8974_PLLK1, pll_div.k >> 18); in wm8974_set_dai_pll()
336 snd_soc_component_write(component, WM8974_PLLK2, (pll_div.k >> 9) & 0x1ff); in wm8974_set_dai_pll()
337 snd_soc_component_write(component, WM8974_PLLK3, pll_div.k & 0x1ff); in wm8974_set_dai_pll()
339 snd_soc_component_write(component, WM8974_POWER1, reg | 0x020); in wm8974_set_dai_pll()
343 snd_soc_component_write(component, WM8974_CLOCK, reg | 0x100); in wm8974_set_dai_pll()
360 snd_soc_component_write(component, WM8974_GPIO, reg | div); in wm8974_set_dai_clkdiv()
[all …]
H A Dwm8990.c35 #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 …]
H A Dda7210.c764 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 …]
H A Drt5631.c73 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 …]
H A Drt5663.c1471 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 …]
H A Dalc5623.c47 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 …]
H A Dwm8753.c148 #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 …]
H A Dwm8711.c58 #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 …]
H A Dtlv320aic23.c95 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()
466 snd_soc_component_write(component, TLV320AIC23_DIGT_FMT, iface_reg); in tlv320aic23_set_dai_fmt()
489 snd_soc_component_write(component, TLV320AIC23_PWR, reg); in tlv320aic23_set_bias_level()
495 snd_soc_component_write(component, TLV320AIC23_PWR, in tlv320aic23_set_bias_level()
500 snd_soc_component_write(component, TLV320AIC23_ACTIVE, 0x0); in tlv320aic23_set_bias_level()
[all …]
H A Dmax98095.c269 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 …]
H A Dtlv320aic32x4.c67 snd_soc_component_write(component, AIC32X4_ADCSETUP, adc_reg | in aic32x4_reset_adc()
69 snd_soc_component_write(component, AIC32X4_ADCSETUP, adc_reg); in aic32x4_reset_adc()
137 snd_soc_component_write(component, AIC32X4_DOUTCTL, val); in aic32x4_set_mfp2_gpio()
178 snd_soc_component_write(component, AIC32X4_MISOCTL, val); in aic32x4_set_mfp4_gpio()
218 snd_soc_component_write(component, AIC32X4_GPIOCTL, val); in aic32x4_set_mfp5_gpio()
666 return snd_soc_component_write(component, AIC32X4_AOSR, aosr); in aic32x4_set_aosr()
671 snd_soc_component_write(component, AIC32X4_DOSRMSB, dosr >> 8); in aic32x4_set_dosr()
672 snd_soc_component_write(component, AIC32X4_DOSRLSB, in aic32x4_set_dosr()
684 snd_soc_component_write(component, AIC32X4_ADCSPB, r_block); in aic32x4_set_processing_blocks()
685 snd_soc_component_write(component, AIC32X4_DACSPB, p_block); in aic32x4_set_processing_blocks()
[all …]

1234567