Home
last modified time | relevance | path

Searched refs:snd_soc_read (Results 1 – 79 of 79) sorted by relevance

/linux-4.1.27/sound/soc/codecs/
Dwm8961.c198 u16 hp_reg = snd_soc_read(codec, WM8961_ANALOGUE_HP_0); in wm8961_hp_event()
199 u16 cp_reg = snd_soc_read(codec, WM8961_CHARGE_PUMP_1); in wm8961_hp_event()
200 u16 pwr_reg = snd_soc_read(codec, WM8961_PWR_MGMT_2); in wm8961_hp_event()
201 u16 dcs_reg = snd_soc_read(codec, WM8961_DC_SERVO_1); in wm8961_hp_event()
235 dcs_reg = snd_soc_read(codec, WM8961_DC_SERVO_1); in wm8961_hp_event()
290 u16 pwr_reg = snd_soc_read(codec, WM8961_PWR_MGMT_2); in wm8961_spk_event()
291 u16 spk_reg = snd_soc_read(codec, WM8961_CLASS_D_CONTROL_1); in wm8961_spk_event()
528 reg = snd_soc_read(codec, WM8961_ADDITIONAL_CONTROL_3); in wm8961_hw_params()
561 reg = snd_soc_read(codec, WM8961_CLOCKING_4); in wm8961_hw_params()
566 reg = snd_soc_read(codec, WM8961_AUDIO_INTERFACE_0); in wm8961_hw_params()
[all …]
Dwm8940.c343 u16 iface = snd_soc_read(codec, WM8940_IFACE) & 0xFE67; in wm8940_set_dai_fmt()
344 u16 clk = snd_soc_read(codec, WM8940_CLOCK) & 0x1fe; in wm8940_set_dai_fmt()
398 u16 iface = snd_soc_read(codec, WM8940_IFACE) & 0xFD9F; in wm8940_i2s_hw_params()
399 u16 addcntrl = snd_soc_read(codec, WM8940_ADDCNTRL) & 0xFFF1; in wm8940_i2s_hw_params()
400 u16 companding = snd_soc_read(codec, in wm8940_i2s_hw_params()
461 u16 mute_reg = snd_soc_read(codec, WM8940_DAC) & 0xffbf; in wm8940_mute()
474 u16 pwr_reg = snd_soc_read(codec, WM8940_POWER1) & 0x1F0; in wm8940_set_bias_level()
482 val = snd_soc_read(codec, WM8940_OUTPUTCTL); in wm8940_set_bias_level()
585 reg = snd_soc_read(codec, WM8940_POWER1); in wm8940_set_dai_pll()
590 reg = snd_soc_read(codec, WM8940_CLOCK); in wm8940_set_dai_pll()
[all …]
Dwm8400.c106 val = snd_soc_read(codec, reg); in wm8400_outpga_put_volsw_vu()
336 reg = snd_soc_read(codec, WM8400_OUTPUT_MIXER1); in outmixer_event()
344 reg = snd_soc_read(codec, WM8400_OUTPUT_MIXER2); in outmixer_event()
352 reg = snd_soc_read(codec, WM8400_SPEAKER_MIXER); in outmixer_event()
360 reg = snd_soc_read(codec, WM8400_SPEAKER_MIXER); in outmixer_event()
968 reg = snd_soc_read(codec, WM8400_POWER_MANAGEMENT_2); in wm8400_set_dai_pll()
972 reg = snd_soc_read(codec, WM8400_FLL_CONTROL_1); in wm8400_set_dai_pll()
987 reg = snd_soc_read(codec, WM8400_FLL_CONTROL_4); in wm8400_set_dai_pll()
1004 audio1 = snd_soc_read(codec, WM8400_AUDIO_INTERFACE_1); in wm8400_set_dai_fmt()
1005 audio3 = snd_soc_read(codec, WM8400_AUDIO_INTERFACE_3); in wm8400_set_dai_fmt()
[all …]
Dwm8510.c324 reg = snd_soc_read(codec, WM8510_CLOCK); in wm8510_set_dai_pll()
328 reg = snd_soc_read(codec, WM8510_POWER1); in wm8510_set_dai_pll()
339 reg = snd_soc_read(codec, WM8510_POWER1); in wm8510_set_dai_pll()
343 reg = snd_soc_read(codec, WM8510_CLOCK); in wm8510_set_dai_pll()
360 reg = snd_soc_read(codec, WM8510_GPIO) & 0x1cf; in wm8510_set_dai_clkdiv()
364 reg = snd_soc_read(codec, WM8510_CLOCK) & 0x11f; in wm8510_set_dai_clkdiv()
368 reg = snd_soc_read(codec, WM8510_ADC) & 0x1f7; in wm8510_set_dai_clkdiv()
372 reg = snd_soc_read(codec, WM8510_DAC) & 0x1f7; in wm8510_set_dai_clkdiv()
376 reg = snd_soc_read(codec, WM8510_CLOCK) & 0x1e3; in wm8510_set_dai_clkdiv()
391 u16 clk = snd_soc_read(codec, WM8510_CLOCK) & 0x1fe; in wm8510_set_dai_fmt()
[all …]
Dwm8974.c328 reg = snd_soc_read(codec, WM8974_CLOCK); in wm8974_set_dai_pll()
332 reg = snd_soc_read(codec, WM8974_POWER1); in wm8974_set_dai_pll()
343 reg = snd_soc_read(codec, WM8974_POWER1); in wm8974_set_dai_pll()
347 reg = snd_soc_read(codec, WM8974_CLOCK); in wm8974_set_dai_pll()
364 reg = snd_soc_read(codec, WM8974_GPIO) & 0x1cf; in wm8974_set_dai_clkdiv()
368 reg = snd_soc_read(codec, WM8974_CLOCK) & 0x11f; in wm8974_set_dai_clkdiv()
372 reg = snd_soc_read(codec, WM8974_CLOCK) & 0x1e3; in wm8974_set_dai_clkdiv()
387 u16 clk = snd_soc_read(codec, WM8974_CLOCK) & 0x1fe; in wm8974_set_dai_fmt()
444 u16 iface = snd_soc_read(codec, WM8974_IFACE) & 0x19f; in wm8974_pcm_hw_params()
445 u16 adn = snd_soc_read(codec, WM8974_ADD) & 0x1f1; in wm8974_pcm_hw_params()
[all …]
Dwm8991.c167 val = snd_soc_read(codec, reg); in wm899x_outpga_put_volsw_vu()
392 reg = snd_soc_read(codec, WM8991_OUTPUT_MIXER1); in outmixer_event()
401 reg = snd_soc_read(codec, WM8991_OUTPUT_MIXER2); in outmixer_event()
410 reg = snd_soc_read(codec, WM8991_SPEAKER_MIXER); in outmixer_event()
419 reg = snd_soc_read(codec, WM8991_SPEAKER_MIXER); in outmixer_event()
961 reg = snd_soc_read(codec, WM8991_POWER_MANAGEMENT_2); in wm8991_set_dai_pll()
966 reg = snd_soc_read(codec, WM8991_CLOCKING_2); in wm8991_set_dai_pll()
976 reg = snd_soc_read(codec, WM8991_POWER_MANAGEMENT_2); in wm8991_set_dai_pll()
992 audio1 = snd_soc_read(codec, WM8991_AUDIO_INTERFACE_1); in wm8991_set_dai_fmt()
993 audio3 = snd_soc_read(codec, WM8991_AUDIO_INTERFACE_3); in wm8991_set_dai_fmt()
[all …]
Dwm8753.c258 ioctl = snd_soc_read(codec, WM8753_IOCTL); in wm8753_set_dai()
762 reg = snd_soc_read(codec, WM8753_CLOCK) & 0xffef; in wm8753_set_dai_pll()
766 reg = snd_soc_read(codec, WM8753_CLOCK) & 0xfff7; in wm8753_set_dai_pll()
902 u16 voice = snd_soc_read(codec, WM8753_PCM) & 0x01ec; in wm8753_vdac_adc_set_dai_fmt()
937 u16 voice = snd_soc_read(codec, WM8753_PCM) & 0x01f3; in wm8753_pcm_hw_params()
938 u16 srate = snd_soc_read(codec, WM8753_SRATE1) & 0x017f; in wm8753_pcm_hw_params()
972 voice = snd_soc_read(codec, WM8753_PCM) & 0x011f; in wm8753_pcm_set_dai_fmt()
973 ioctl = snd_soc_read(codec, WM8753_IOCTL) & 0x015d; in wm8753_pcm_set_dai_fmt()
1040 reg = snd_soc_read(codec, WM8753_CLOCK) & 0x003f; in wm8753_set_dai_clkdiv()
1044 reg = snd_soc_read(codec, WM8753_SRATE2) & 0x01c7; in wm8753_set_dai_clkdiv()
[all …]
Dwm9081.c346 reg = snd_soc_read(codec, WM9081_ANALOGUE_SPEAKER_2); in speaker_mode_get()
365 unsigned int reg_pwr = snd_soc_read(codec, WM9081_POWER_MANAGEMENT); in speaker_mode_put()
366 unsigned int reg2 = snd_soc_read(codec, WM9081_ANALOGUE_SPEAKER_2); in speaker_mode_put()
576 reg5 = snd_soc_read(codec, WM9081_FLL_CONTROL_5); in wm9081_set_fll()
590 clk_sys_reg = snd_soc_read(codec, WM9081_CLOCK_CONTROL_3); in wm9081_set_fll()
597 reg1 = snd_soc_read(codec, WM9081_FLL_CONTROL_1); in wm9081_set_fll()
613 reg4 = snd_soc_read(codec, WM9081_FLL_CONTROL_4); in wm9081_set_fll()
715 reg = snd_soc_read(codec, WM9081_CLOCK_CONTROL_1); in configure_clock()
722 reg = snd_soc_read(codec, WM9081_CLOCK_CONTROL_3); in configure_clock()
911 unsigned int aif2 = snd_soc_read(codec, WM9081_AUDIO_INTERFACE_2); in wm9081_set_dai_fmt()
[all …]
Dad1980.c213 if (snd_soc_read(codec, AC97_RESET) == 0x0090) in ad1980_reset()
226 if (snd_soc_read(codec, AC97_RESET) == 0x0090) in ad1980_reset()
264 if (snd_soc_read(codec, AC97_VENDOR_ID1) != 0x4144) { in ad1980_soc_probe()
269 vendor_id2 = snd_soc_read(codec, AC97_VENDOR_ID2); in ad1980_soc_probe()
289 ext_status = snd_soc_read(codec, AC97_EXTENDED_STATUS); in ad1980_soc_probe()
Dtlv320aic32x4.c337 iface_reg_1 = snd_soc_read(codec, AIC32X4_IFACE1); in aic32x4_set_dai_fmt()
339 iface_reg_2 = snd_soc_read(codec, AIC32X4_IFACE2); in aic32x4_set_dai_fmt()
341 iface_reg_3 = snd_soc_read(codec, AIC32X4_IFACE3); in aic32x4_set_dai_fmt()
407 data = snd_soc_read(codec, AIC32X4_PLLPR); in aic32x4_hw_params()
419 data = snd_soc_read(codec, AIC32X4_NDAC); in aic32x4_hw_params()
424 data = snd_soc_read(codec, AIC32X4_MDAC); in aic32x4_hw_params()
434 data = snd_soc_read(codec, AIC32X4_NADC); in aic32x4_hw_params()
439 data = snd_soc_read(codec, AIC32X4_MADC); in aic32x4_hw_params()
447 data = snd_soc_read(codec, AIC32X4_BCLKN); in aic32x4_hw_params()
451 data = snd_soc_read(codec, AIC32X4_IFACE1); in aic32x4_hw_params()
[all …]
Dwm8728.c78 u16 mute_reg = snd_soc_read(codec, WM8728_DACCTL); in wm8728_mute()
93 u16 dac = snd_soc_read(codec, WM8728_DACCTL); in wm8728_hw_params()
119 u16 iface = snd_soc_read(codec, WM8728_IFCTL); in wm8728_set_dai_fmt()
175 reg = snd_soc_read(codec, WM8728_DACCTL); in wm8728_set_bias_level()
184 reg = snd_soc_read(codec, WM8728_DACCTL); in wm8728_set_bias_level()
Dwm_hubs.c93 reg = snd_soc_read(codec, WM8993_DC_SERVO_0); in wait_for_dc_servo()
117 reg = snd_soc_read(codec, WM8993_OUTPUT_MIXER1); in wm_hubs_dac_hp_direct()
130 reg = snd_soc_read(codec, WM8993_OUTPUT_MIXER2); in wm_hubs_dac_hp_direct()
160 left = snd_soc_read(codec, WM8993_LEFT_OUTPUT_VOLUME); in wm_hubs_dcs_cache_get()
163 right = snd_soc_read(codec, WM8993_RIGHT_OUTPUT_VOLUME); in wm_hubs_dcs_cache_get()
189 cache->left = snd_soc_read(codec, WM8993_LEFT_OUTPUT_VOLUME); in wm_hubs_dcs_cache_set()
192 cache->right = snd_soc_read(codec, WM8993_RIGHT_OUTPUT_VOLUME); in wm_hubs_dcs_cache_set()
224 *reg_l = snd_soc_read(codec, WM8993_DC_SERVO_READBACK_1) in wm_hubs_read_dc_servo()
226 *reg_r = snd_soc_read(codec, WM8993_DC_SERVO_READBACK_2) in wm_hubs_read_dc_servo()
231 reg = snd_soc_read(codec, dcs_reg); in wm_hubs_read_dc_servo()
[all …]
Dda7210.c342 if (snd_soc_read(codec, DA7210_CONTROL) & DA7210_NOISE_SUP_EN) { in da7210_put_alc_sw()
366 if (snd_soc_read(codec, DA7210_ADC) & DA7210_ADC_ALC_EN) in da7210_put_noise_sup_sw()
370 if ((snd_soc_read(codec, DA7210_ZERO_CROSS) & in da7210_put_noise_sup_sw()
377 val = snd_soc_read(codec, DA7210_IN_GAIN); in da7210_put_noise_sup_sw()
384 if (((snd_soc_read(codec, DA7210_AUX1_L) & DA7210_AUX1_L_VOL) < in da7210_put_noise_sup_sw()
386 ((snd_soc_read(codec, DA7210_AUX1_R) & DA7210_AUX1_R_VOL) < in da7210_put_noise_sup_sw()
779 dai_cfg1 = 0xFC & snd_soc_read(codec, DA7210_DAI_CFG1); in da7210_hw_params()
886 dai_cfg1 = 0x7f & snd_soc_read(codec, DA7210_DAI_CFG1); in da7210_set_dai_fmt()
887 dai_cfg3 = 0xfc & snd_soc_read(codec, DA7210_DAI_CFG3); in da7210_set_dai_fmt()
889 if ((snd_soc_read(codec, DA7210_PLL) & DA7210_PLL_EN) && in da7210_set_dai_fmt()
[all …]
Drt5631.c90 value = snd_soc_read(codec, RT5631_INDEX_DATA); in rt5631_read_index()
293 reg = snd_soc_read(codec, RT5631_GLOBAL_CLK_CTRL); in check_sysclk1_source()
311 reg = snd_soc_read(codec, RT5631_OUTMIXER_L_CTRL); in check_dacl_to_outmixl()
321 reg = snd_soc_read(codec, RT5631_OUTMIXER_R_CTRL); in check_dacr_to_outmixr()
331 reg = snd_soc_read(codec, RT5631_SPK_MIXER_CTRL); in check_dacl_to_spkmixl()
341 reg = snd_soc_read(codec, RT5631_SPK_MIXER_CTRL); in check_dacr_to_spkmixr()
351 reg = snd_soc_read(codec, RT5631_ADC_REC_MIXER); in check_adcl_select()
361 reg = snd_soc_read(codec, RT5631_ADC_REC_MIXER); in check_adcr_select()
380 soft_vol = snd_soc_read(codec, RT5631_SOFT_VOL_CTRL); in onebit_depop_power_stage()
382 hp_zc = snd_soc_read(codec, RT5631_INT_ST_IRQ_CTRL_2); in onebit_depop_power_stage()
[all …]
Dtlv320aic23.c99 reg = snd_soc_read(codec, TLV320AIC23_ANLG) & (~0x1C0); in snd_soc_tlv320aic23_put_volsw()
111 val = snd_soc_read(codec, TLV320AIC23_ANLG) & (0x1C0); in snd_soc_tlv320aic23_get_volsw()
303 int src = snd_soc_read(codec, TLV320AIC23_SRATE); in get_current_sample_rates()
365 iface_reg = snd_soc_read(codec, TLV320AIC23_DIGT_FMT) & ~(0x03 << 2); in tlv320aic23_hw_params()
418 reg = snd_soc_read(codec, TLV320AIC23_DIGT); in tlv320aic23_mute()
436 iface_reg = snd_soc_read(codec, TLV320AIC23_DIGT_FMT) & (~0x03); in tlv320aic23_set_dai_fmt()
487 u16 reg = snd_soc_read(codec, TLV320AIC23_PWR) & 0x17f; in tlv320aic23_set_bias_level()
Dwm8350.c337 val = snd_soc_read(codec, reg); in wm8350_put_volsw_2r_vu()
773 fll_4 = snd_soc_read(codec, WM8350_FLL_CONTROL_4) & in wm8350_set_dai_sysclk()
797 val = snd_soc_read(codec, WM8350_ADC_DIVIDER) & in wm8350_set_clkdiv()
802 val = snd_soc_read(codec, WM8350_DAC_CLOCK_CONTROL) & in wm8350_set_clkdiv()
807 val = snd_soc_read(codec, WM8350_CLOCK_CONTROL_1) & in wm8350_set_clkdiv()
812 val = snd_soc_read(codec, WM8350_CLOCK_CONTROL_1) & in wm8350_set_clkdiv()
817 val = snd_soc_read(codec, WM8350_CLOCK_CONTROL_1) & in wm8350_set_clkdiv()
822 val = snd_soc_read(codec, WM8350_DAC_LR_RATE) & in wm8350_set_clkdiv()
827 val = snd_soc_read(codec, WM8350_ADC_LR_RATE) & in wm8350_set_clkdiv()
841 u16 iface = snd_soc_read(codec, WM8350_AI_FORMATING) & in wm8350_set_dai_fmt()
[all …]
Dwm8900.c228 u16 hpctl1 = snd_soc_read(codec, WM8900_REG_HPCTL1); in wm8900_hp_event()
641 reg = snd_soc_read(codec, WM8900_REG_AUDIO1) & ~0x60; in wm8900_hw_params()
662 reg = snd_soc_read(codec, WM8900_REG_DACCTRL); in wm8900_hw_params()
872 clocking1 = snd_soc_read(codec, WM8900_REG_CLOCKING1); in wm8900_set_dai_fmt()
873 aif1 = snd_soc_read(codec, WM8900_REG_AUDIO1); in wm8900_set_dai_fmt()
874 aif3 = snd_soc_read(codec, WM8900_REG_AUDIO3); in wm8900_set_dai_fmt()
875 aif4 = snd_soc_read(codec, WM8900_REG_AUDIO4); in wm8900_set_dai_fmt()
984 reg = snd_soc_read(codec, WM8900_REG_DACCTRL); in wm8900_digital_mute()
1080 reg = snd_soc_read(codec, WM8900_REG_POWER1); in wm8900_set_bias_level()
1091 reg = snd_soc_read(codec, WM8900_REG_POWER1); in wm8900_set_bias_level()
[all …]
Dwm8993.c489 reg1 = snd_soc_read(codec, WM8993_FLL_CONTROL_1); in _wm8993_set_fll()
500 reg5 = snd_soc_read(codec, WM8993_FLL_CONTROL_5); in _wm8993_set_fll()
522 reg1 = snd_soc_read(codec, WM8993_FLL_CONTROL_1); in _wm8993_set_fll()
538 reg4 = snd_soc_read(codec, WM8993_FLL_CONTROL_4); in _wm8993_set_fll()
589 reg = snd_soc_read(codec, WM8993_CLOCKING_2); in configure_clock()
605 reg = snd_soc_read(codec, WM8993_CLOCKING_2); in configure_clock()
1098 unsigned int aif1 = snd_soc_read(codec, WM8993_AUDIO_INTERFACE_1); in wm8993_set_dai_fmt()
1099 unsigned int aif4 = snd_soc_read(codec, WM8993_AUDIO_INTERFACE_4); in wm8993_set_dai_fmt()
1197 clocking1 = snd_soc_read(codec, WM8993_CLOCKING_1); in wm8993_hw_params()
1200 clocking3 = snd_soc_read(codec, WM8993_CLOCKING_3); in wm8993_hw_params()
[all …]
Dwm8990.c147 val = snd_soc_read(codec, reg); in wm899x_outpga_put_volsw_vu()
384 reg = snd_soc_read(codec, WM8990_OUTPUT_MIXER1); in outmixer_event()
392 reg = snd_soc_read(codec, WM8990_OUTPUT_MIXER2); in outmixer_event()
400 reg = snd_soc_read(codec, WM8990_SPEAKER_MIXER); in outmixer_event()
408 reg = snd_soc_read(codec, WM8990_SPEAKER_MIXER); in outmixer_event()
989 audio1 = snd_soc_read(codec, WM8990_AUDIO_INTERFACE_1); in wm8990_set_dai_fmt()
990 audio3 = snd_soc_read(codec, WM8990_AUDIO_INTERFACE_3); in wm8990_set_dai_fmt()
1073 u16 audio1 = snd_soc_read(codec, WM8990_AUDIO_INTERFACE_1); in wm8990_hw_params()
1100 val = snd_soc_read(codec, WM8990_DAC_CTRL) & ~WM8990_DAC_MUTE; in wm8990_mute()
Dwm8711.c164 u16 iface = snd_soc_read(codec, WM8711_IFACE) & 0xfff3; in wm8711_hw_params()
213 u16 mute_reg = snd_soc_read(codec, WM8711_APDIGI) & 0xfff7; in wm8711_mute()
245 u16 iface = snd_soc_read(codec, WM8711_IFACE) & 0x000c; in wm8711_set_dai_fmt()
304 u16 reg = snd_soc_read(codec, WM8711_PWR) & 0xff7f; in wm8711_set_bias_level()
Dak4671.c433 fs = snd_soc_read(codec, AK4671_PLL_MODE_SELECT0); in ak4671_hw_params()
479 pll = snd_soc_read(codec, AK4671_PLL_MODE_SELECT0); in ak4671_set_dai_sysclk()
526 mode = snd_soc_read(codec, AK4671_PLL_MODE_SELECT1); in ak4671_set_dai_fmt()
540 format = snd_soc_read(codec, AK4671_FORMAT_SELECT); in ak4671_set_dai_fmt()
Dcs4270.c355 reg = snd_soc_read(codec, CS4270_MODE); in cs4270_hw_params()
372 reg = snd_soc_read(codec, CS4270_FORMAT); in cs4270_hw_params()
412 reg6 = snd_soc_read(codec, CS4270_MUTE); in cs4270_dai_mute()
569 reg = snd_soc_read(codec, CS4270_PWRCTL) | CS4270_PWRCTL_PDN_ALL; in cs4270_soc_suspend()
601 reg = snd_soc_read(codec, CS4270_PWRCTL); in cs4270_soc_resume()
Dwm8988.c248 u16 adctl2 = snd_soc_read(codec, WM8988_ADCTL2); in wm8988_lrc_control()
251 if (snd_soc_read(codec, WM8988_PWR2) & 0x180) in wm8988_lrc_control()
673 u16 iface = snd_soc_read(codec, WM8988_IFACE) & 0x1f3; in wm8988_pcm_hw_params()
674 u16 srate = snd_soc_read(codec, WM8988_SRATE) & 0x180; in wm8988_pcm_hw_params()
716 u16 mute_reg = snd_soc_read(codec, WM8988_ADCDAC) & 0xfff7; in wm8988_mute()
729 u16 pwr_reg = snd_soc_read(codec, WM8988_PWR1) & ~0x1c1; in wm8988_set_bias_level()
Dcs42l51.c58 unsigned long value = snd_soc_read(codec, CS42L51_PCM_MIXER)&3; in cs42l51_get_chan_mix()
377 intf_ctl = snd_soc_read(codec, CS42L51_INTF_CTL); in cs42l51_hw_params()
378 power_ctl = snd_soc_read(codec, CS42L51_MIC_POWER_CTL); in cs42l51_hw_params()
451 reg = snd_soc_read(codec, CS42L51_DAC_OUT_CTL); in cs42l51_dai_mute()
Dwm8978.c659 u16 iface = snd_soc_read(codec, WM8978_AUDIO_INTERFACE) & ~0x198; in wm8978_set_dai_fmt()
660 u16 clk = snd_soc_read(codec, WM8978_CLOCKING); in wm8978_set_dai_fmt()
726 u16 iface_ctl = snd_soc_read(codec, WM8978_AUDIO_INTERFACE) & ~0x60; in wm8978_hw_params()
728 u16 add_ctl = snd_soc_read(codec, WM8978_ADDITIONAL_CONTROL) & ~0xe; in wm8978_hw_params()
729 u16 clking = snd_soc_read(codec, WM8978_CLOCKING); in wm8978_hw_params()
859 u16 power1 = snd_soc_read(codec, WM8978_POWER_MANAGEMENT_1) & ~3; in wm8978_set_bias_level()
Dwm8580.c483 reg = snd_soc_read(codec, WM8580_PLLA4 + offset); in wm8580_set_dai_pll()
580 aifa = snd_soc_read(codec, WM8580_PAIF1 + codec_dai->driver->id); in wm8580_set_paif_dai_fmt()
581 aifb = snd_soc_read(codec, WM8580_PAIF3 + codec_dai->driver->id); in wm8580_set_paif_dai_fmt()
661 reg = snd_soc_read(codec, WM8580_PLLB4); in wm8580_set_dai_clkdiv()
687 reg = snd_soc_read(codec, WM8580_PLLB4); in wm8580_set_dai_clkdiv()
777 reg = snd_soc_read(codec, WM8580_DAC_CONTROL5); in wm8580_digital_mute()
Dsn95031.c58 int value = snd_soc_read(sn95031_codec, SN95031_ADC1CNTL1); in configure_adc()
86 value = snd_soc_read(sn95031_codec, SN95031_ADC1CNTL1); in find_free_channel()
93 value = snd_soc_read(sn95031_codec, in find_free_channel()
119 value = snd_soc_read(sn95031_codec, base_addr); in sn95031_initialize_adc()
155 adc_val1 = snd_soc_read(codec, adc_adr); in sn95031_get_mic_bias()
157 adc_val2 = snd_soc_read(codec, adc_adr); in sn95031_get_mic_bias()
Dwm8958-dsp2.c202 if (snd_soc_read(codec, WM8958_DSP2_PROGRAM) & WM8958_DSP2_ENA) in wm8958_dsp_start_mbc()
334 int pwr_reg = snd_soc_read(codec, WM8994_POWER_MANAGEMENT_5); in wm8958_dsp_apply()
362 reg = snd_soc_read(codec, WM8958_DSP2_PROGRAM); in wm8958_dsp_apply()
373 if (!(snd_soc_read(codec, WM8994_AIF1_CLOCKING_1) in wm8958_dsp_apply()
375 !(snd_soc_read(codec, WM8994_AIF2_CLOCKING_1) in wm8958_dsp_apply()
466 reg = snd_soc_read(codec, WM8994_CLOCKING_1); in wm8958_put_mbc_enum()
556 reg = snd_soc_read(codec, WM8994_CLOCKING_1); in wm8958_put_vss_enum()
589 reg = snd_soc_read(codec, WM8994_CLOCKING_1); in wm8958_put_vss_hpf_enum()
756 reg = snd_soc_read(codec, WM8994_CLOCKING_1); in wm8958_put_enh_eq_enum()
Dwm8960.c572 u16 iface = snd_soc_read(codec, WM8960_IFACE1) & 0xfff3; in wm8960_hw_params()
890 reg = snd_soc_read(codec, WM8960_PLL1) & ~0x3f; in wm8960_set_dai_pll()
919 reg = snd_soc_read(codec, WM8960_CLOCK1) & 0x1f9; in wm8960_set_dai_clkdiv()
923 reg = snd_soc_read(codec, WM8960_CLOCK1) & 0x1c7; in wm8960_set_dai_clkdiv()
927 reg = snd_soc_read(codec, WM8960_PLL1) & 0x03f; in wm8960_set_dai_clkdiv()
931 reg = snd_soc_read(codec, WM8960_CLOCK2) & 0x03f; in wm8960_set_dai_clkdiv()
935 reg = snd_soc_read(codec, WM8960_ADDCTL1) & 0x1fd; in wm8960_set_dai_clkdiv()
Dwm8971.c515 u16 iface = snd_soc_read(codec, WM8971_IFACE) & 0x1f3; in wm8971_pcm_hw_params()
516 u16 srate = snd_soc_read(codec, WM8971_SRATE) & 0x1c0; in wm8971_pcm_hw_params()
546 u16 mute_reg = snd_soc_read(codec, WM8971_ADCDAC) & 0xfff7; in wm8971_mute()
568 u16 pwr_reg = snd_soc_read(codec, WM8971_PWR1) & 0xfe3e; in wm8971_set_bias_level()
Dda7213.c210 mid_data = snd_soc_read(codec, DA7213_ALC_CIC_OP_LVL_DATA); in da7213_get_alc_data()
215 top_data = snd_soc_read(codec, DA7213_ALC_CIC_OP_LVL_DATA); in da7213_get_alc_data()
264 alc_ctrl1 = snd_soc_read(codec, DA7213_ALC_CTRL1); in da7213_alc_calib_auto()
291 adc_l_ctrl = snd_soc_read(codec, DA7213_ADC_L_CTRL); in da7213_alc_calib()
292 adc_r_ctrl = snd_soc_read(codec, DA7213_ADC_R_CTRL); in da7213_alc_calib()
295 mixin_l_sel = snd_soc_read(codec, DA7213_MIXIN_L_SELECT); in da7213_alc_calib()
296 mixin_r_sel = snd_soc_read(codec, DA7213_MIXIN_R_SELECT); in da7213_alc_calib()
299 mic_1_ctrl = snd_soc_read(codec, DA7213_MIC_1_CTRL); in da7213_alc_calib()
300 mic_2_ctrl = snd_soc_read(codec, DA7213_MIC_2_CTRL); in da7213_alc_calib()
Dwm8994.c120 sysclk = snd_soc_read(codec, WM8994_CLOCKING_1); in wm8958_micd_set_rate()
253 int reg = snd_soc_read(codec, WM8994_CLOCKING_1); in check_clk_sys()
312 ret = snd_soc_read(codec, mc->reg); in wm8994_put_drc_sw()
331 save = snd_soc_read(codec, base); in wm8994_set_drc()
441 save = snd_soc_read(codec, base); in wm8994_set_retune_mobile()
1006 reg = snd_soc_read(codec, WM8994_DAC1_LEFT_MIXER_ROUTING); in wm8994_check_class_w_digital()
1025 reg_r = snd_soc_read(codec, WM8994_DAC1_RIGHT_MIXER_ROUTING); in wm8994_check_class_w_digital()
1065 val = snd_soc_read(codec, WM8994_AIF1_CONTROL_1); in aif1clk_ev()
1076 val = snd_soc_read(codec, WM8994_AIF1_CONTROL_2); in aif1clk_ev()
1111 snd_soc_read(codec, in aif1clk_ev()
[all …]
Dda9055.c471 mid_data = snd_soc_read(codec, DA9055_ALC_CIC_OP_LVL_DATA); in da9055_get_alc_data()
476 top_data = snd_soc_read(codec, DA9055_ALC_CIC_OP_LVL_DATA); in da9055_get_alc_data()
498 mic_left = snd_soc_read(codec, DA9055_MIC_L_CTRL); in da9055_put_alc_sw()
499 mic_right = snd_soc_read(codec, DA9055_MIC_R_CTRL); in da9055_put_alc_sw()
508 adc_left = snd_soc_read(codec, DA9055_ADC_L_CTRL); in da9055_put_alc_sw()
509 adc_right = snd_soc_read(codec, DA9055_ADC_R_CTRL); in da9055_put_alc_sw()
1186 if ((snd_soc_read(codec, DA9055_PLL_CTRL) & DA9055_PLL_EN) && in da9055_set_dai_fmt()
Dwm8750.c584 u16 iface = snd_soc_read(codec, WM8750_IFACE) & 0x1f3; in wm8750_pcm_hw_params()
585 u16 srate = snd_soc_read(codec, WM8750_SRATE) & 0x1c0; in wm8750_pcm_hw_params()
615 u16 mute_reg = snd_soc_read(codec, WM8750_ADCDAC) & 0xfff7; in wm8750_mute()
627 u16 pwr_reg = snd_soc_read(codec, WM8750_PWR1) & 0xfe3e; in wm8750_set_bias_level()
Dda732x.c367 val = snd_soc_read(codec, reg) & DA732X_HPF_MASK; in da732x_hpf_get()
1299 sign[DA732X_HPL_DAC] = (snd_soc_read(codec, DA732X_REG_HPL_DAC_OFF_CNTL) & in da732x_dac_offset_adjust()
1301 sign[DA732X_HPR_DAC] = (snd_soc_read(codec, DA732X_REG_HPR_DAC_OFF_CNTL) & in da732x_dac_offset_adjust()
1318 if ((snd_soc_read(codec, DA732X_REG_HPL_DAC_OFF_CNTL) & in da732x_dac_offset_adjust()
1321 if ((snd_soc_read(codec, DA732X_REG_HPR_DAC_OFF_CNTL) & in da732x_dac_offset_adjust()
1362 sign[DA732X_HPL_AMP] = snd_soc_read(codec, DA732X_REG_HPL) & in da732x_output_offset_adjust()
1364 sign[DA732X_HPR_AMP] = snd_soc_read(codec, DA732X_REG_HPR) & in da732x_output_offset_adjust()
1385 if ((snd_soc_read(codec, DA732X_REG_HPL) & in da732x_output_offset_adjust()
1388 if ((snd_soc_read(codec, DA732X_REG_HPR) & in da732x_output_offset_adjust()
Dwm8903.c339 val = snd_soc_read(codec, in wm8903_seq_notifier()
372 reg = snd_soc_read(codec, WM8903_CLASS_W_0); in wm8903_class_w_put()
1223 u16 aif1 = snd_soc_read(codec, WM8903_AUDIO_INTERFACE_1); in wm8903_set_dai_fmt()
1311 reg = snd_soc_read(codec, WM8903_DAC_DIGITAL_1); in wm8903_digital_mute()
1450 u16 aif1 = snd_soc_read(codec, WM8903_AUDIO_INTERFACE_1); in wm8903_hw_params()
1451 u16 aif2 = snd_soc_read(codec, WM8903_AUDIO_INTERFACE_2); in wm8903_hw_params()
1452 u16 aif3 = snd_soc_read(codec, WM8903_AUDIO_INTERFACE_3); in wm8903_hw_params()
1453 u16 clock0 = snd_soc_read(codec, WM8903_CLOCK_RATES_0); in wm8903_hw_params()
1454 u16 clock1 = snd_soc_read(codec, WM8903_CLOCK_RATES_1); in wm8903_hw_params()
1455 u16 dac_digital1 = snd_soc_read(codec, WM8903_DAC_DIGITAL_1); in wm8903_hw_params()
Dwm8523.c145 u16 aifctrl1 = snd_soc_read(codec, WM8523_AIF_CTRL1); in wm8523_hw_params()
146 u16 aifctrl2 = snd_soc_read(codec, WM8523_AIF_CTRL2); in wm8523_hw_params()
239 u16 aifctrl1 = snd_soc_read(codec, WM8523_AIF_CTRL1); in wm8523_set_dai_fmt()
D88pm860x-codec.c284 val[0] = snd_soc_read(codec, reg) & 0x3f; in snd_soc_get_volsw_2r_st()
285 val[1] = (snd_soc_read(codec, PM860X_SIDETONE_SHIFT) >> 4) & 0xf; in snd_soc_get_volsw_2r_st()
286 val2[0] = snd_soc_read(codec, reg2) & 0x3f; in snd_soc_get_volsw_2r_st()
287 val2[1] = (snd_soc_read(codec, PM860X_SIDETONE_SHIFT)) & 0xf; in snd_soc_get_volsw_2r_st()
343 val = snd_soc_read(codec, reg) >> shift; in snd_soc_get_volsw_2r_out()
344 val2 = snd_soc_read(codec, reg2) >> shift; in snd_soc_get_volsw_2r_out()
436 data = snd_soc_read(codec, PM860X_DAC_EN_2); in pm860x_dac_event()
Dwm8962.c1491 u16 adcl = snd_soc_read(codec, WM8962_LEFT_ADC_VOLUME); in wm8962_dsp2_set_enable()
1492 u16 adcr = snd_soc_read(codec, WM8962_RIGHT_ADC_VOLUME); in wm8962_dsp2_set_enable()
1493 u16 dac = snd_soc_read(codec, WM8962_ADC_DAC_CONTROL_1); in wm8962_dsp2_set_enable()
1572 int dsp2_running = snd_soc_read(codec, WM8962_DSP2_POWER_MANAGEMENT) & in wm8962_dsp2_ena_put()
1615 ret = snd_soc_read(codec, WM8962_PWR_MGMT_2); in wm8962_put_hp_sw()
1618 snd_soc_read(codec, WM8962_HPOUTL_VOLUME)); in wm8962_put_hp_sw()
1625 snd_soc_read(codec, WM8962_HPOUTR_VOLUME)); in wm8962_put_hp_sw()
1645 ret = snd_soc_read(codec, WM8962_PWR_MGMT_2); in wm8962_put_spk_sw()
1648 snd_soc_read(codec, WM8962_SPKOUTL_VOLUME)); in wm8962_put_spk_sw()
1655 snd_soc_read(codec, WM8962_SPKOUTR_VOLUME)); in wm8962_put_spk_sw()
[all …]
Dwm8996.c349 if (snd_soc_read(codec, WM8996_POWER_MANAGEMENT_8) & in wm8996_set_retune_mobile()
357 if (snd_soc_read(codec, WM8996_POWER_MANAGEMENT_8) & in wm8996_set_retune_mobile()
392 save = snd_soc_read(codec, base); in wm8996_set_retune_mobile()
678 ret = snd_soc_read(codec, WM8996_DC_SERVO_2); in wait_for_dc_servo()
1750 (snd_soc_read(codec, WM8996_GPIO_1)) & WM8996_GP1_FN_MASK) { in wm8996_hw_params()
1761 (snd_soc_read(codec, WM8996_GPIO_2)) & WM8996_GP2_FN_MASK) { in wm8996_hw_params()
1831 old = snd_soc_read(codec, WM8996_AIF_CLOCKING_1) & WM8996_SYSCLK_ENA; in wm8996_set_sysclk()
2086 ret = snd_soc_read(codec, WM8996_FLL_CONTROL_1); in wm8996_set_fll()
2125 ret = snd_soc_read(codec, WM8996_INTERRUPT_RAW_STATUS_2); in wm8996_set_fll()
2303 reg = snd_soc_read(codec, WM8996_HEADPHONE_DETECT_2); in wm8996_hpdet_irq()
[all …]
Dwm8995.c495 reg = snd_soc_read(codec, WM8995_DAC1_LEFT_MIXER_ROUTING); in wm8995_update_class_w()
515 reg_r = snd_soc_read(codec, WM8995_DAC1_RIGHT_MIXER_ROUTING); in wm8995_update_class_w()
541 reg = snd_soc_read(codec, WM8995_CLOCKING_1); in check_clk_sys()
602 val = snd_soc_read(codec, WM8995_DC_SERVO_READBACK_0); in dc_servo_cmd()
616 reg = snd_soc_read(codec, WM8995_ANALOGUE_HP_1); in hp_event()
1808 aif1 = snd_soc_read(codec, WM8995_AIF1_CLOCKING_1) in wm8995_set_fll()
1811 aif2 = snd_soc_read(codec, WM8995_AIF2_CLOCKING_1) in wm8995_set_fll()
2058 ret = snd_soc_read(codec, WM8995_SOFTWARE_RESET); in wm8995_probe()
Dtlv320aic3x.c1029 data = snd_soc_read(codec, AIC3X_ASD_INTF_CTRLB) & (~(0x3 << 4)); in aic3x_hw_params()
1188 u8 ldac_reg = snd_soc_read(codec, LDAC_VOL) & ~MUTE_ON; in aic3x_mute()
1189 u8 rdac_reg = snd_soc_read(codec, RDAC_VOL) & ~MUTE_ON; in aic3x_mute()
1225 iface_areg = snd_soc_read(codec, AIC3X_ASD_INTF_CTRLA) & 0x3f; in aic3x_set_dai_fmt()
1226 iface_breg = snd_soc_read(codec, AIC3X_ASD_INTF_CTRLB) & 0x3f; in aic3x_set_dai_fmt()
1353 pll_c = snd_soc_read(codec, AIC3X_PLL_PROGC_REG); in aic3x_set_power()
1354 pll_d = snd_soc_read(codec, AIC3X_PLL_PROGD_REG); in aic3x_set_power()
Dak4535.c267 u8 mode2 = snd_soc_read(codec, AK4535_MODE2) & ~(0x3 << 5); in ak4535_hw_params()
318 u16 mute_reg = snd_soc_read(codec, AK4535_DAC); in ak4535_mute()
Dmax98090.c435 unsigned int val = snd_soc_read(codec, mc->reg); in max98090_get_enab_tlv()
476 unsigned int val = snd_soc_read(codec, mc->reg); in max98090_put_enab_tlv()
812 unsigned int val = snd_soc_read(codec, w->reg); in max98090_micinput_event()
1573 if (!(snd_soc_read(codec, M98090_REG_MASTER_MODE) & in max98090_configure_bclk()
2203 reg = snd_soc_read(codec, M98090_REG_JACK_STATUS); in max98090_jack_work()
2209 reg = snd_soc_read(codec, M98090_REG_JACK_STATUS); in max98090_jack_work()
2212 reg = snd_soc_read(codec, M98090_REG_JACK_STATUS); in max98090_jack_work()
2451 ret = snd_soc_read(codec, M98090_REG_REVISION_ID); in max98090_probe()
2492 snd_soc_read(codec, M98090_REG_DEVICE_STATUS); in max98090_probe()
Darizona.c113 val = snd_soc_read(codec, ARIZONA_INTERRUPT_RAW_STATUS_3); in arizona_spk_ev()
725 reg = snd_soc_read(codec, ARIZONA_INPUT_ENABLES); in arizona_in_ev()
1323 val = snd_soc_read(codec, base + ARIZONA_AIF_BCLK_CTRL); in arizona_aif_cfg_changed()
1327 val = snd_soc_read(codec, base + ARIZONA_AIF_TX_BCLK_RATE); in arizona_aif_cfg_changed()
1331 val = snd_soc_read(codec, base + ARIZONA_AIF_FRAME_CTRL_1); in arizona_aif_cfg_changed()
1381 val = snd_soc_read(codec, base + ARIZONA_AIF_FORMAT); in arizona_hw_params()
1413 aif_tx_state = snd_soc_read(codec, in arizona_hw_params()
1415 aif_rx_state = snd_soc_read(codec, in arizona_hw_params()
Dwm8904.c325 clock2 = snd_soc_read(codec, WM8904_CLOCK_RATES_2); in wm8904_configure_clocking()
382 save = snd_soc_read(codec, WM8904_DRC_0); in wm8904_set_drc()
455 save = snd_soc_read(codec, WM8904_EQ1); in wm8904_set_retune_mobile()
799 val = snd_soc_read(codec, WM8904_DC_SERVO_READBACK_0); in out_pga_event()
837 wm8904->dcs_state[dcs_l] = snd_soc_read(codec, dcs_l_reg); in out_pga_event()
838 wm8904->dcs_state[dcs_r] = snd_soc_read(codec, dcs_r_reg); in out_pga_event()
1692 clock2 = snd_soc_read(codec, WM8904_CLOCK_RATES_2); in wm8904_set_fll()
1737 fll1 = snd_soc_read(codec, WM8904_FLL_CONTROL_1); in wm8904_set_fll()
Dmax98095.c1245 if (snd_soc_read(codec, M98095_02A_DAI1_FORMAT) & M98095_DAI_MAS) { in max98095_dai1_hw_params()
1306 if (snd_soc_read(codec, M98095_034_DAI2_FORMAT) & M98095_DAI_MAS) { in max98095_dai2_hw_params()
1367 if (snd_soc_read(codec, M98095_03E_DAI3_FORMAT) & M98095_DAI_MAS) { in max98095_dai3_hw_params()
1805 regsave = snd_soc_read(codec, M98095_088_CFG_LEVEL); in max98095_put_eq_enum()
1959 regsave = snd_soc_read(codec, M98095_088_CFG_LEVEL); in max98095_put_bq_enum()
2090 value = snd_soc_read(codec, M98095_007_JACK_AUTO_STS); in max98095_report_jack()
2246 ret = snd_soc_write(codec, i, snd_soc_read(codec, i)); in max98095_reset()
2312 ret = snd_soc_read(codec, M98095_0FF_REV_ID); in max98095_probe()
Dtlv320aic26.c268 val = snd_soc_read(aic26->codec, AIC26_REG_AUDIO_CTRL2); in aic26_keyclick_show()
308 reg = snd_soc_read(codec, AIC26_REG_AUDIO_CTRL3); in aic26_probe()
Dmax98088.c1258 if (snd_soc_read(codec, M98088_REG_14_DAI1_FORMAT) in max98088_dai1_hw_params()
1325 if (snd_soc_read(codec, M98088_REG_1C_DAI2_FORMAT) in max98088_dai2_hw_params()
1377 if (snd_soc_read(codec, M98088_REG_51_PWR_SYS) & M98088_SHDNRUN) { in max98088_dai_set_sysclk()
1687 save = snd_soc_read(codec, M98088_REG_49_CFG_LEVEL); in max98088_setup_eq1()
1734 save = snd_soc_read(codec, M98088_REG_49_CFG_LEVEL); in max98088_setup_eq2()
1920 ret = snd_soc_read(codec, M98088_REG_FF_REV_ID); in max98088_probe()
Dwm8983.c558 reg = snd_soc_read(codec, WM8983_EQ1_LOW_SHELF); in eqmode_get()
578 reg_eq = snd_soc_read(codec, WM8983_EQ1_LOW_SHELF); in eqmode_put()
590 regpwr2 = snd_soc_read(codec, WM8983_POWER_MANAGEMENT_2); in eqmode_put()
591 regpwr3 = snd_soc_read(codec, WM8983_POWER_MANAGEMENT_3); in eqmode_put()
Dwm8731.c347 u16 iface = snd_soc_read(codec, WM8731_IFACE) & 0xfff3; in wm8731_hw_params()
377 u16 mute_reg = snd_soc_read(codec, WM8731_APDIGI) & 0xfff7; in wm8731_mute()
514 reg = snd_soc_read(codec, WM8731_PWR) & 0xff7f; in wm8731_set_bias_level()
Drt5670.c440 val = snd_soc_read(codec, RT5670_CJ_CTRL3) & 0x7; in rt5670_headset_detect()
446 snd_soc_read(codec, RT5670_IL_CMD); in rt5670_headset_detect()
486 val = snd_soc_read(codec, RT5670_IL_CMD); in rt5670_button_detect()
491 val = snd_soc_read(codec, RT5670_IL_CMD); in rt5670_button_detect()
506 val = snd_soc_read(rt5670->codec, RT5670_A_JD_CTRL1) & 0x0070; in rt5670_irq_detection()
508 val = snd_soc_read(rt5670->codec, RT5670_A_JD_CTRL1) & 0x0020; in rt5670_irq_detection()
521 if (snd_soc_read(rt5670->codec, RT5670_INT_IRQ_ST) & 0x4) { in rt5670_irq_detection()
750 val = (snd_soc_read(codec, reg) >> shift) & 0xf; in is_using_asrc()
2659 switch (snd_soc_read(codec, RT5670_RESET) & RT5670_ID_MASK) { in rt5670_probe()
Dwm8985.c532 reg = snd_soc_read(codec, WM8985_EQ1_LOW_SHELF); in eqmode_get()
552 reg_eq = snd_soc_read(codec, WM8985_EQ1_LOW_SHELF); in eqmode_put()
564 regpwr2 = snd_soc_read(codec, WM8985_POWER_MANAGEMENT_2); in eqmode_put()
565 regpwr3 = snd_soc_read(codec, WM8985_POWER_MANAGEMENT_3); in eqmode_put()
Dalc5632.c701 reg = snd_soc_read(codec, ALC5632_DAI_CONTROL); in alc5632_set_dai_pll()
878 iface = snd_soc_read(codec, ALC5632_DAI_CONTROL); in alc5632_pcm_hw_params()
914 u16 mute_reg = snd_soc_read(codec, ALC5632_MISC_CTRL) & ~hp_mute; in alc5632_mute()
Dwm5100.c142 if ((snd_soc_read(codec, wm5100_sr_regs[i]) & in wm5100_alloc_sr()
194 if ((snd_soc_read(codec, wm5100_sr_regs[i]) & in wm5100_free_sr()
744 expect = snd_soc_read(codec, WM5100_CHANNEL_ENABLES_1); in wm5100_seq_notifier()
746 val = snd_soc_read(codec, WM5100_OUTPUT_STATUS_1); in wm5100_seq_notifier()
759 expect = snd_soc_read(codec, WM5100_OUTPUT_ENABLES_2); in wm5100_seq_notifier()
761 val = snd_soc_read(codec, WM5100_OUTPUT_STATUS_2); in wm5100_seq_notifier()
847 ret = snd_soc_read(codec, WM5100_INTERRUPT_RAW_STATUS_3); in wm5100_post_ev()
853 ret = snd_soc_read(codec, WM5100_INTERRUPT_RAW_STATUS_4); in wm5100_post_ev()
1854 ret = snd_soc_read(codec, in wm5100_set_fll()
Dwm9090.c155 reg = snd_soc_read(codec, WM9090_DC_SERVO_READBACK_0); in wait_for_dc_servo()
258 unsigned int reg = snd_soc_read(codec, WM9090_ANALOGUE_HP_0); in hp_ev()
Dalc5623.c543 reg = snd_soc_read(codec, ALC5623_DAI_CONTROL); in alc5623_set_dai_pll()
710 iface = snd_soc_read(codec, ALC5623_DAI_CONTROL); in alc5623_pcm_hw_params()
750 u16 mute_reg = snd_soc_read(codec, ALC5623_MISC_CTRL) & ~hp_mute; in alc5623_mute()
Dwm8741.c226 u16 iface = snd_soc_read(codec, WM8741_FORMAT_CONTROL) & 0x1FC; in wm8741_hw_params()
326 u16 iface = snd_soc_read(codec, WM8741_FORMAT_CONTROL) & 0x1C3; in wm8741_set_dai_fmt()
Dsgtl5000.c200 if ((snd_soc_read(codec, SGTL5000_CHIP_ANA_POWER) & in power_vag_event()
333 reg = snd_soc_read(codec, SGTL5000_CHIP_DAC_VOL); in dac_get_volsw()
1140 ana_pwr = snd_soc_read(codec, SGTL5000_CHIP_ANA_POWER); in sgtl5000_set_power_regs()
1144 lreg_ctrl = snd_soc_read(codec, SGTL5000_CHIP_LINREG_CTRL); in sgtl5000_set_power_regs()
Dmax9850.c143 sf = (snd_soc_read(codec, MAX9850_CLOCK) >> 2) + 1; in max9850_hw_params()
Dtwl4030.c853 (snd_soc_read(codec, reg) >> shift) & mask; in snd_soc_get_volsw_twl4030()
860 (snd_soc_read(codec, reg) >> rshift) & mask; in snd_soc_get_volsw_twl4030()
911 (snd_soc_read(codec, reg) >> shift) & mask; in snd_soc_get_volsw_r2_twl4030()
913 (snd_soc_read(codec, reg2) >> shift) & mask; in snd_soc_get_volsw_r2_twl4030()
Dwm8776.c288 if (snd_soc_read(codec, WM8776_MSTRCTRL) & master) { in wm8776_hw_params()
Dsta32x.c402 confa_cached = snd_soc_read(codec, STA32X_CONFA); in sta32x_watchdog()
404 confa = snd_soc_read(codec, STA32X_CONFA); in sta32x_watchdog()
Dab8500-codec.c1106 val = snd_soc_read(codec, in anc_configure()
1114 val = snd_soc_read(codec, in anc_configure()
1159 sidconf = snd_soc_read(codec, AB8500_SIDFIRCONF); in sid_status_control_put()
1174 val = snd_soc_read(codec, drvdata->sid_fir_values[param]); in sid_status_control_put()
Dtas2552.c162 p = snd_soc_read(codec, TAS2552_PLL_CTRL_1); in tas2552_hw_params()
Dcs42l73.c1045 spc = snd_soc_read(codec, CS42L73_SPC(id)); in cs42l73_set_dai_fmt()
1046 mmcc = snd_soc_read(codec, CS42L73_MMCC(id)); in cs42l73_set_dai_fmt()
Drt5640.c481 val = snd_soc_read(codec, RT5640_GLB_CLK); in is_sys_clk_from_pll()
1623 val = snd_soc_read(codec, RT5640_I2S1_SDP); in get_sdp_info()
1982 switch (snd_soc_read(codec, RT5640_RESET) & RT5640_ID_MASK) { in rt5640_probe()
Dwm8770.c453 if (snd_soc_read(codec, WM8770_MSTRCTRL) & 0x100) { in wm8770_hw_params()
Dwm8804.c178 txpwr = snd_soc_read(codec, WM8804_PWRDN) & 0x4; in txsrc_put()
Drt5651.c400 val = snd_soc_read(codec, RT5651_GLB_CLK); in is_sysclk_from_pll()
1588 if (snd_soc_read(codec, RT5651_PLL_MODE_1) & 0x9200) in rt5651_set_bias_level()
Drt5645.c563 val = snd_soc_read(codec, RT5645_GLB_CLK); in is_sys_clk_from_pll()
606 val = (snd_soc_read(codec, reg) >> shift) & 0xf; in is_using_asrc()
2450 val = snd_soc_read(codec, RT5645_IN1_CTRL3) & 0x7; in rt5645_jack_detect()
Dwm8955.c625 ret = snd_soc_read(codec, WM8955_POWER_MANAGEMENT_1); in wm8955_hw_params()
Dwm2200.c2033 ret = snd_soc_read(codec, in wm2200_set_fll()
2065 ret = snd_soc_read(codec, WM2200_GPIO_CTRL_1); in wm2200_dai_probe()
Dtwl6040.c544 u8 val = snd_soc_read(codec, TWL6040_REG_HSLCTL); in twl6040_get_dl1_gain()
/linux-4.1.27/sound/soc/pxa/
Dmioa701_wm9713.c67 reg = snd_soc_read(codec, AC97_GPIO_CFG); in rear_amp_power()
69 reg = snd_soc_read(codec, AC97_GPIO_PULL); in rear_amp_power()
72 reg = snd_soc_read(codec, AC97_GPIO_CFG); in rear_amp_power()
74 reg = snd_soc_read(codec, AC97_GPIO_PULL); in rear_amp_power()
/linux-4.1.27/sound/soc/
Dsoc-io.c196 unsigned int snd_soc_read(struct snd_soc_codec *codec, unsigned int reg) in snd_soc_read() function
207 EXPORT_SYMBOL_GPL(snd_soc_read);
Dsoc-core.c106 ret = snd_soc_read(codec, reg); in format_register_str()
/linux-4.1.27/Documentation/sound/alsa/soc/
Dcodec.txt172 u16 mute_reg = snd_soc_read(codec, WM8974_DAC) & 0xffbf;
/linux-4.1.27/include/sound/
Dsoc.h1300 unsigned int snd_soc_read(struct snd_soc_codec *codec, unsigned int reg);