/linux-4.4.14/sound/soc/codecs/ |
D | wm8961.c | 198 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() 527 reg = snd_soc_read(codec, WM8961_ADDITIONAL_CONTROL_3); in wm8961_hw_params() 560 reg = snd_soc_read(codec, WM8961_CLOCKING_4); in wm8961_hw_params() 565 reg = snd_soc_read(codec, WM8961_AUDIO_INTERFACE_0); in wm8961_hw_params() [all …]
|
D | wm8940.c | 343 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() 583 reg = snd_soc_read(codec, WM8940_POWER1); in wm8940_set_dai_pll() 588 reg = snd_soc_read(codec, WM8940_CLOCK); in wm8940_set_dai_pll() [all …]
|
D | wm8510.c | 324 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 …]
|
D | wm8400.c | 106 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() 965 reg = snd_soc_read(codec, WM8400_POWER_MANAGEMENT_2); in wm8400_set_dai_pll() 969 reg = snd_soc_read(codec, WM8400_FLL_CONTROL_1); in wm8400_set_dai_pll() 984 reg = snd_soc_read(codec, WM8400_FLL_CONTROL_4); in wm8400_set_dai_pll() 1001 audio1 = snd_soc_read(codec, WM8400_AUDIO_INTERFACE_1); in wm8400_set_dai_fmt() 1002 audio3 = snd_soc_read(codec, WM8400_AUDIO_INTERFACE_3); in wm8400_set_dai_fmt() [all …]
|
D | wm8974.c | 328 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 …]
|
D | wm8991.c | 136 val = snd_soc_read(codec, reg); in wm899x_outpga_put_volsw_vu() 361 reg = snd_soc_read(codec, WM8991_OUTPUT_MIXER1); in outmixer_event() 370 reg = snd_soc_read(codec, WM8991_OUTPUT_MIXER2); in outmixer_event() 379 reg = snd_soc_read(codec, WM8991_SPEAKER_MIXER); in outmixer_event() 388 reg = snd_soc_read(codec, WM8991_SPEAKER_MIXER); in outmixer_event() 927 reg = snd_soc_read(codec, WM8991_POWER_MANAGEMENT_2); in wm8991_set_dai_pll() 932 reg = snd_soc_read(codec, WM8991_CLOCKING_2); in wm8991_set_dai_pll() 942 reg = snd_soc_read(codec, WM8991_POWER_MANAGEMENT_2); in wm8991_set_dai_pll() 958 audio1 = snd_soc_read(codec, WM8991_AUDIO_INTERFACE_1); in wm8991_set_dai_fmt() 959 audio3 = snd_soc_read(codec, WM8991_AUDIO_INTERFACE_3); in wm8991_set_dai_fmt() [all …]
|
D | wm8753.c | 253 ioctl = snd_soc_read(codec, WM8753_IOCTL); in wm8753_set_dai() 756 reg = snd_soc_read(codec, WM8753_CLOCK) & 0xffef; in wm8753_set_dai_pll() 760 reg = snd_soc_read(codec, WM8753_CLOCK) & 0xfff7; in wm8753_set_dai_pll() 896 u16 voice = snd_soc_read(codec, WM8753_PCM) & 0x01ec; in wm8753_vdac_adc_set_dai_fmt() 931 u16 voice = snd_soc_read(codec, WM8753_PCM) & 0x01f3; in wm8753_pcm_hw_params() 932 u16 srate = snd_soc_read(codec, WM8753_SRATE1) & 0x017f; in wm8753_pcm_hw_params() 966 voice = snd_soc_read(codec, WM8753_PCM) & 0x011f; in wm8753_pcm_set_dai_fmt() 967 ioctl = snd_soc_read(codec, WM8753_IOCTL) & 0x015d; in wm8753_pcm_set_dai_fmt() 1034 reg = snd_soc_read(codec, WM8753_CLOCK) & 0x003f; in wm8753_set_dai_clkdiv() 1038 reg = snd_soc_read(codec, WM8753_SRATE2) & 0x01c7; in wm8753_set_dai_clkdiv() [all …]
|
D | wm9081.c | 345 reg = snd_soc_read(codec, WM9081_ANALOGUE_SPEAKER_2); in speaker_mode_get() 364 unsigned int reg_pwr = snd_soc_read(codec, WM9081_POWER_MANAGEMENT); in speaker_mode_put() 365 unsigned int reg2 = snd_soc_read(codec, WM9081_ANALOGUE_SPEAKER_2); in speaker_mode_put() 575 reg5 = snd_soc_read(codec, WM9081_FLL_CONTROL_5); in wm9081_set_fll() 589 clk_sys_reg = snd_soc_read(codec, WM9081_CLOCK_CONTROL_3); in wm9081_set_fll() 596 reg1 = snd_soc_read(codec, WM9081_FLL_CONTROL_1); in wm9081_set_fll() 612 reg4 = snd_soc_read(codec, WM9081_FLL_CONTROL_4); in wm9081_set_fll() 714 reg = snd_soc_read(codec, WM9081_CLOCK_CONTROL_1); in configure_clock() 721 reg = snd_soc_read(codec, WM9081_CLOCK_CONTROL_3); in configure_clock() 908 unsigned int aif2 = snd_soc_read(codec, WM9081_AUDIO_INTERFACE_2); in wm9081_set_dai_fmt() [all …]
|
D | tlv320aic32x4.c | 337 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 …]
|
D | wm8728.c | 78 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()
|
D | wm_hubs.c | 92 reg = snd_soc_read(codec, WM8993_DC_SERVO_0); in wait_for_dc_servo() 116 reg = snd_soc_read(codec, WM8993_OUTPUT_MIXER1); in wm_hubs_dac_hp_direct() 129 reg = snd_soc_read(codec, WM8993_OUTPUT_MIXER2); in wm_hubs_dac_hp_direct() 159 left = snd_soc_read(codec, WM8993_LEFT_OUTPUT_VOLUME); in wm_hubs_dcs_cache_get() 162 right = snd_soc_read(codec, WM8993_RIGHT_OUTPUT_VOLUME); in wm_hubs_dcs_cache_get() 188 cache->left = snd_soc_read(codec, WM8993_LEFT_OUTPUT_VOLUME); in wm_hubs_dcs_cache_set() 191 cache->right = snd_soc_read(codec, WM8993_RIGHT_OUTPUT_VOLUME); in wm_hubs_dcs_cache_set() 223 *reg_l = snd_soc_read(codec, WM8993_DC_SERVO_READBACK_1) in wm_hubs_read_dc_servo() 225 *reg_r = snd_soc_read(codec, WM8993_DC_SERVO_READBACK_2) in wm_hubs_read_dc_servo() 230 reg = snd_soc_read(codec, dcs_reg); in wm_hubs_read_dc_servo() [all …]
|
D | da7210.c | 338 if (snd_soc_read(codec, DA7210_CONTROL) & DA7210_NOISE_SUP_EN) { in da7210_put_alc_sw() 362 if (snd_soc_read(codec, DA7210_ADC) & DA7210_ADC_ALC_EN) in da7210_put_noise_sup_sw() 366 if ((snd_soc_read(codec, DA7210_ZERO_CROSS) & in da7210_put_noise_sup_sw() 373 val = snd_soc_read(codec, DA7210_IN_GAIN); in da7210_put_noise_sup_sw() 380 if (((snd_soc_read(codec, DA7210_AUX1_L) & DA7210_AUX1_L_VOL) < in da7210_put_noise_sup_sw() 382 ((snd_soc_read(codec, DA7210_AUX1_R) & DA7210_AUX1_R_VOL) < in da7210_put_noise_sup_sw() 775 dai_cfg1 = 0xFC & snd_soc_read(codec, DA7210_DAI_CFG1); in da7210_hw_params() 882 dai_cfg1 = 0x7f & snd_soc_read(codec, DA7210_DAI_CFG1); in da7210_set_dai_fmt() 883 dai_cfg3 = 0xfc & snd_soc_read(codec, DA7210_DAI_CFG3); in da7210_set_dai_fmt() 885 if ((snd_soc_read(codec, DA7210_PLL) & DA7210_PLL_EN) && in da7210_set_dai_fmt() [all …]
|
D | rt5631.c | 90 value = snd_soc_read(codec, RT5631_INDEX_DATA); in rt5631_read_index() 292 reg = snd_soc_read(codec, RT5631_GLOBAL_CLK_CTRL); in check_sysclk1_source() 310 reg = snd_soc_read(codec, RT5631_OUTMIXER_L_CTRL); in check_dacl_to_outmixl() 320 reg = snd_soc_read(codec, RT5631_OUTMIXER_R_CTRL); in check_dacr_to_outmixr() 330 reg = snd_soc_read(codec, RT5631_SPK_MIXER_CTRL); in check_dacl_to_spkmixl() 340 reg = snd_soc_read(codec, RT5631_SPK_MIXER_CTRL); in check_dacr_to_spkmixr() 350 reg = snd_soc_read(codec, RT5631_ADC_REC_MIXER); in check_adcl_select() 360 reg = snd_soc_read(codec, RT5631_ADC_REC_MIXER); in check_adcr_select() 379 soft_vol = snd_soc_read(codec, RT5631_SOFT_VOL_CTRL); in onebit_depop_power_stage() 381 hp_zc = snd_soc_read(codec, RT5631_INT_ST_IRQ_CTRL_2); in onebit_depop_power_stage() [all …]
|
D | tlv320aic23.c | 99 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()
|
D | wm8350.c | 337 val = snd_soc_read(codec, reg); in wm8350_put_volsw_2r_vu() 772 fll_4 = snd_soc_read(codec, WM8350_FLL_CONTROL_4) & in wm8350_set_dai_sysclk() 796 val = snd_soc_read(codec, WM8350_ADC_DIVIDER) & in wm8350_set_clkdiv() 801 val = snd_soc_read(codec, WM8350_DAC_CLOCK_CONTROL) & in wm8350_set_clkdiv() 806 val = snd_soc_read(codec, WM8350_CLOCK_CONTROL_1) & in wm8350_set_clkdiv() 811 val = snd_soc_read(codec, WM8350_CLOCK_CONTROL_1) & in wm8350_set_clkdiv() 816 val = snd_soc_read(codec, WM8350_CLOCK_CONTROL_1) & in wm8350_set_clkdiv() 821 val = snd_soc_read(codec, WM8350_DAC_LR_RATE) & in wm8350_set_clkdiv() 826 val = snd_soc_read(codec, WM8350_ADC_LR_RATE) & in wm8350_set_clkdiv() 840 u16 iface = snd_soc_read(codec, WM8350_AI_FORMATING) & in wm8350_set_dai_fmt() [all …]
|
D | wm8900.c | 228 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 …]
|
D | wm8993.c | 489 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() 1095 unsigned int aif1 = snd_soc_read(codec, WM8993_AUDIO_INTERFACE_1); in wm8993_set_dai_fmt() 1096 unsigned int aif4 = snd_soc_read(codec, WM8993_AUDIO_INTERFACE_4); in wm8993_set_dai_fmt() 1194 clocking1 = snd_soc_read(codec, WM8993_CLOCKING_1); in wm8993_hw_params() 1197 clocking3 = snd_soc_read(codec, WM8993_CLOCKING_3); in wm8993_hw_params() [all …]
|
D | wm8990.c | 147 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() 986 audio1 = snd_soc_read(codec, WM8990_AUDIO_INTERFACE_1); in wm8990_set_dai_fmt() 987 audio3 = snd_soc_read(codec, WM8990_AUDIO_INTERFACE_3); in wm8990_set_dai_fmt() 1070 u16 audio1 = snd_soc_read(codec, WM8990_AUDIO_INTERFACE_1); in wm8990_hw_params() 1097 val = snd_soc_read(codec, WM8990_DAC_CTRL) & ~WM8990_DAC_MUTE; in wm8990_mute()
|
D | wm8711.c | 164 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()
|
D | wm8960.c | 600 u16 iface1 = snd_soc_read(codec, WM8960_IFACE1); in wm8960_configure_clocking() 708 u16 iface = snd_soc_read(codec, WM8960_IFACE1) & 0xfff3; in wm8960_hw_params() 789 u16 pm2 = snd_soc_read(codec, WM8960_POWER2); in wm8960_set_bias_level_out3() 879 u16 pm2 = snd_soc_read(codec, WM8960_POWER2); in wm8960_set_bias_level_capless() 1098 reg = snd_soc_read(codec, WM8960_PLL1) & ~0x3f; in wm8960_set_pll() 1141 reg = snd_soc_read(codec, WM8960_CLOCK1) & 0x1f9; in wm8960_set_dai_clkdiv() 1145 reg = snd_soc_read(codec, WM8960_CLOCK1) & 0x1c7; in wm8960_set_dai_clkdiv() 1149 reg = snd_soc_read(codec, WM8960_PLL1) & 0x03f; in wm8960_set_dai_clkdiv() 1153 reg = snd_soc_read(codec, WM8960_CLOCK2) & 0x03f; in wm8960_set_dai_clkdiv() 1157 reg = snd_soc_read(codec, WM8960_ADDCTL1) & 0x1fd; in wm8960_set_dai_clkdiv()
|
D | ak4671.c | 433 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()
|
D | cs4270.c | 355 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()
|
D | wm8988.c | 248 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()
|
D | cs42l51.c | 58 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()
|
D | wm8580.c | 483 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()
|
D | wm8978.c | 659 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()
|
D | sn95031.c | 58 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()
|
D | wm8958-dsp2.c | 202 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()
|
D | wm8971.c | 515 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()
|
D | wm8994.c | 120 sysclk = snd_soc_read(codec, WM8994_CLOCKING_1); in wm8958_micd_set_rate() 254 int reg = snd_soc_read(codec, WM8994_CLOCKING_1); in check_clk_sys() 313 ret = snd_soc_read(codec, mc->reg); in wm8994_put_drc_sw() 332 save = snd_soc_read(codec, base); in wm8994_set_drc() 442 save = snd_soc_read(codec, base); in wm8994_set_retune_mobile() 1007 reg = snd_soc_read(codec, WM8994_DAC1_LEFT_MIXER_ROUTING); in wm8994_check_class_w_digital() 1026 reg_r = snd_soc_read(codec, WM8994_DAC1_RIGHT_MIXER_ROUTING); in wm8994_check_class_w_digital() 1066 val = snd_soc_read(codec, WM8994_AIF1_CONTROL_1); in aif1clk_ev() 1077 val = snd_soc_read(codec, WM8994_AIF1_CONTROL_2); in aif1clk_ev() 1112 snd_soc_read(codec, in aif1clk_ev() [all …]
|
D | da9055.c | 468 mid_data = snd_soc_read(codec, DA9055_ALC_CIC_OP_LVL_DATA); in da9055_get_alc_data() 473 top_data = snd_soc_read(codec, DA9055_ALC_CIC_OP_LVL_DATA); in da9055_get_alc_data() 495 mic_left = snd_soc_read(codec, DA9055_MIC_L_CTRL); in da9055_put_alc_sw() 496 mic_right = snd_soc_read(codec, DA9055_MIC_R_CTRL); in da9055_put_alc_sw() 505 adc_left = snd_soc_read(codec, DA9055_ADC_L_CTRL); in da9055_put_alc_sw() 506 adc_right = snd_soc_read(codec, DA9055_ADC_R_CTRL); in da9055_put_alc_sw() 1183 if ((snd_soc_read(codec, DA9055_PLL_CTRL) & DA9055_PLL_EN) && in da9055_set_dai_fmt()
|
D | wm8750.c | 584 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()
|
D | da732x.c | 367 val = snd_soc_read(codec, reg) & DA732X_HPF_MASK; in da732x_hpf_get() 1293 sign[DA732X_HPL_DAC] = (snd_soc_read(codec, DA732X_REG_HPL_DAC_OFF_CNTL) & in da732x_dac_offset_adjust() 1295 sign[DA732X_HPR_DAC] = (snd_soc_read(codec, DA732X_REG_HPR_DAC_OFF_CNTL) & in da732x_dac_offset_adjust() 1312 if ((snd_soc_read(codec, DA732X_REG_HPL_DAC_OFF_CNTL) & in da732x_dac_offset_adjust() 1315 if ((snd_soc_read(codec, DA732X_REG_HPR_DAC_OFF_CNTL) & in da732x_dac_offset_adjust() 1356 sign[DA732X_HPL_AMP] = snd_soc_read(codec, DA732X_REG_HPL) & in da732x_output_offset_adjust() 1358 sign[DA732X_HPR_AMP] = snd_soc_read(codec, DA732X_REG_HPR) & in da732x_output_offset_adjust() 1379 if ((snd_soc_read(codec, DA732X_REG_HPL) & in da732x_output_offset_adjust() 1382 if ((snd_soc_read(codec, DA732X_REG_HPR) & in da732x_output_offset_adjust()
|
D | da7213.c | 208 mid_data = snd_soc_read(codec, DA7213_ALC_CIC_OP_LVL_DATA); in da7213_get_alc_data() 213 top_data = snd_soc_read(codec, DA7213_ALC_CIC_OP_LVL_DATA); in da7213_get_alc_data() 262 alc_ctrl1 = snd_soc_read(codec, DA7213_ALC_CTRL1); in da7213_alc_calib_auto() 289 adc_l_ctrl = snd_soc_read(codec, DA7213_ADC_L_CTRL); in da7213_alc_calib() 290 adc_r_ctrl = snd_soc_read(codec, DA7213_ADC_R_CTRL); in da7213_alc_calib() 293 mixin_l_sel = snd_soc_read(codec, DA7213_MIXIN_L_SELECT); in da7213_alc_calib() 294 mixin_r_sel = snd_soc_read(codec, DA7213_MIXIN_R_SELECT); in da7213_alc_calib() 297 mic_1_ctrl = snd_soc_read(codec, DA7213_MIC_1_CTRL); in da7213_alc_calib() 298 mic_2_ctrl = snd_soc_read(codec, DA7213_MIC_2_CTRL); in da7213_alc_calib()
|
D | wm8903.c | 339 val = snd_soc_read(codec, in wm8903_seq_notifier() 372 reg = snd_soc_read(codec, WM8903_CLASS_W_0); in wm8903_class_w_put() 1221 u16 aif1 = snd_soc_read(codec, WM8903_AUDIO_INTERFACE_1); in wm8903_set_dai_fmt() 1309 reg = snd_soc_read(codec, WM8903_DAC_DIGITAL_1); in wm8903_digital_mute() 1448 u16 aif1 = snd_soc_read(codec, WM8903_AUDIO_INTERFACE_1); in wm8903_hw_params() 1449 u16 aif2 = snd_soc_read(codec, WM8903_AUDIO_INTERFACE_2); in wm8903_hw_params() 1450 u16 aif3 = snd_soc_read(codec, WM8903_AUDIO_INTERFACE_3); in wm8903_hw_params() 1451 u16 clock0 = snd_soc_read(codec, WM8903_CLOCK_RATES_0); in wm8903_hw_params() 1452 u16 clock1 = snd_soc_read(codec, WM8903_CLOCK_RATES_1); in wm8903_hw_params() 1453 u16 dac_digital1 = snd_soc_read(codec, WM8903_DAC_DIGITAL_1); in wm8903_hw_params()
|
D | ad1980.c | 263 vendor_id2 = snd_soc_read(codec, AC97_VENDOR_ID2); in ad1980_soc_probe() 277 ext_status = snd_soc_read(codec, AC97_EXTENDED_STATUS); in ad1980_soc_probe()
|
D | wm8523.c | 154 u16 aifctrl1 = snd_soc_read(codec, WM8523_AIF_CTRL1); in wm8523_hw_params() 155 u16 aifctrl2 = snd_soc_read(codec, WM8523_AIF_CTRL2); in wm8523_hw_params() 265 u16 aifctrl1 = snd_soc_read(codec, WM8523_AIF_CTRL1); in wm8523_set_dai_fmt()
|
D | 88pm860x-codec.c | 280 val[0] = snd_soc_read(codec, reg) & 0x3f; in snd_soc_get_volsw_2r_st() 281 val[1] = (snd_soc_read(codec, PM860X_SIDETONE_SHIFT) >> 4) & 0xf; in snd_soc_get_volsw_2r_st() 282 val2[0] = snd_soc_read(codec, reg2) & 0x3f; in snd_soc_get_volsw_2r_st() 283 val2[1] = (snd_soc_read(codec, PM860X_SIDETONE_SHIFT)) & 0xf; in snd_soc_get_volsw_2r_st() 339 val = snd_soc_read(codec, reg) >> shift; in snd_soc_get_volsw_2r_out() 340 val2 = snd_soc_read(codec, reg2) >> shift; in snd_soc_get_volsw_2r_out() 432 data = snd_soc_read(codec, PM860X_DAC_EN_2); in pm860x_dac_event()
|
D | wm8996.c | 349 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() 1748 (snd_soc_read(codec, WM8996_GPIO_1)) & WM8996_GP1_FN_MASK) { in wm8996_hw_params() 1759 (snd_soc_read(codec, WM8996_GPIO_2)) & WM8996_GP2_FN_MASK) { in wm8996_hw_params() 1829 old = snd_soc_read(codec, WM8996_AIF_CLOCKING_1) & WM8996_SYSCLK_ENA; in wm8996_set_sysclk() 2084 ret = snd_soc_read(codec, WM8996_FLL_CONTROL_1); in wm8996_set_fll() 2123 ret = snd_soc_read(codec, WM8996_INTERRUPT_RAW_STATUS_2); in wm8996_set_fll() 2302 reg = snd_soc_read(codec, WM8996_HEADPHONE_DETECT_2); in wm8996_hpdet_irq() [all …]
|
D | wm8962.c | 1489 u16 adcl = snd_soc_read(codec, WM8962_LEFT_ADC_VOLUME); in wm8962_dsp2_set_enable() 1490 u16 adcr = snd_soc_read(codec, WM8962_RIGHT_ADC_VOLUME); in wm8962_dsp2_set_enable() 1491 u16 dac = snd_soc_read(codec, WM8962_ADC_DAC_CONTROL_1); in wm8962_dsp2_set_enable() 1570 int dsp2_running = snd_soc_read(codec, WM8962_DSP2_POWER_MANAGEMENT) & in wm8962_dsp2_ena_put() 1613 ret = snd_soc_read(codec, WM8962_PWR_MGMT_2); in wm8962_put_hp_sw() 1616 snd_soc_read(codec, WM8962_HPOUTL_VOLUME)); in wm8962_put_hp_sw() 1623 snd_soc_read(codec, WM8962_HPOUTR_VOLUME)); in wm8962_put_hp_sw() 1643 ret = snd_soc_read(codec, WM8962_PWR_MGMT_2); in wm8962_put_spk_sw() 1646 snd_soc_read(codec, WM8962_SPKOUTL_VOLUME)); in wm8962_put_spk_sw() 1653 snd_soc_read(codec, WM8962_SPKOUTR_VOLUME)); in wm8962_put_spk_sw() [all …]
|
D | da7219-aad.c | 78 statusa = snd_soc_read(codec, DA7219_ACCDET_STATUS_A); in da7219_aad_btn_det_work() 94 micbias_ctrl = snd_soc_read(codec, DA7219_MICBIAS_CTRL); in da7219_aad_btn_det_work() 200 accdet_cfg8 = snd_soc_read(codec, DA7219_ACCDET_CONFIG_8); in da7219_aad_hptest_work() 288 statusa = snd_soc_read(codec, DA7219_ACCDET_STATUS_A); in da7219_aad_irq_thread()
|
D | wm8995.c | 495 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() 1809 aif1 = snd_soc_read(codec, WM8995_AIF1_CLOCKING_1) in wm8995_set_fll() 1812 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()
|
D | tlv320aic3x.c | 1035 data = snd_soc_read(codec, AIC3X_ASD_INTF_CTRLB) & (~(0x3 << 4)); in aic3x_hw_params() 1198 u8 ldac_reg = snd_soc_read(codec, LDAC_VOL) & ~MUTE_ON; in aic3x_mute() 1199 u8 rdac_reg = snd_soc_read(codec, RDAC_VOL) & ~MUTE_ON; in aic3x_mute() 1235 iface_areg = snd_soc_read(codec, AIC3X_ASD_INTF_CTRLA) & 0x3f; in aic3x_set_dai_fmt() 1236 iface_breg = snd_soc_read(codec, AIC3X_ASD_INTF_CTRLB) & 0x3f; in aic3x_set_dai_fmt() 1376 pll_c = snd_soc_read(codec, AIC3X_PLL_PROGC_REG); in aic3x_set_power() 1377 pll_d = snd_soc_read(codec, AIC3X_PLL_PROGD_REG); in aic3x_set_power()
|
D | ak4535.c | 267 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()
|
D | arizona.c | 113 val = snd_soc_read(codec, ARIZONA_INTERRUPT_RAW_STATUS_3); in arizona_spk_ev() 725 unsigned int val = snd_soc_read(codec, reg); in arizona_input_analog() 764 reg = snd_soc_read(codec, ARIZONA_INPUT_ENABLES); in arizona_in_ev() 1506 val = snd_soc_read(codec, base + ARIZONA_AIF_BCLK_CTRL); in arizona_aif_cfg_changed() 1510 val = snd_soc_read(codec, base + ARIZONA_AIF_TX_BCLK_RATE); in arizona_aif_cfg_changed() 1514 val = snd_soc_read(codec, base + ARIZONA_AIF_FRAME_CTRL_1); in arizona_aif_cfg_changed() 1564 val = snd_soc_read(codec, base + ARIZONA_AIF_FORMAT); in arizona_hw_params() 1596 aif_tx_state = snd_soc_read(codec, in arizona_hw_params() 1598 aif_rx_state = snd_soc_read(codec, in arizona_hw_params()
|
D | max98090.c | 362 unsigned int val = snd_soc_read(codec, mc->reg); in max98090_get_enab_tlv() 403 unsigned int val = snd_soc_read(codec, mc->reg); in max98090_put_enab_tlv() 739 unsigned int val = snd_soc_read(codec, w->reg); in max98090_micinput_event() 1517 if (!(snd_soc_read(codec, M98090_REG_MASTER_MODE) & in max98090_configure_bclk() 2149 reg = snd_soc_read(codec, M98090_REG_JACK_STATUS); in max98090_jack_work() 2155 reg = snd_soc_read(codec, M98090_REG_JACK_STATUS); in max98090_jack_work() 2158 reg = snd_soc_read(codec, M98090_REG_JACK_STATUS); in max98090_jack_work() 2397 ret = snd_soc_read(codec, M98090_REG_REVISION_ID); in max98090_probe() 2438 snd_soc_read(codec, M98090_REG_DEVICE_STATUS); in max98090_probe()
|
D | wm8904.c | 325 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()
|
D | max98095.c | 977 if (snd_soc_read(codec, M98095_02A_DAI1_FORMAT) & M98095_DAI_MAS) { in max98095_dai1_hw_params() 1038 if (snd_soc_read(codec, M98095_034_DAI2_FORMAT) & M98095_DAI_MAS) { in max98095_dai2_hw_params() 1099 if (snd_soc_read(codec, M98095_03E_DAI3_FORMAT) & M98095_DAI_MAS) { in max98095_dai3_hw_params() 1540 regsave = snd_soc_read(codec, M98095_088_CFG_LEVEL); in max98095_put_eq_enum() 1694 regsave = snd_soc_read(codec, M98095_088_CFG_LEVEL); in max98095_put_bq_enum() 1825 value = snd_soc_read(codec, M98095_007_JACK_AUTO_STS); in max98095_report_jack() 1981 ret = snd_soc_write(codec, i, snd_soc_read(codec, i)); in max98095_reset() 2047 ret = snd_soc_read(codec, M98095_0FF_REV_ID); in max98095_probe()
|
D | tlv320aic26.c | 268 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()
|
D | max98088.c | 1000 if (snd_soc_read(codec, M98088_REG_14_DAI1_FORMAT) in max98088_dai1_hw_params() 1067 if (snd_soc_read(codec, M98088_REG_1C_DAI2_FORMAT) in max98088_dai2_hw_params() 1119 if (snd_soc_read(codec, M98088_REG_51_PWR_SYS) & M98088_SHDNRUN) { in max98088_dai_set_sysclk() 1428 save = snd_soc_read(codec, M98088_REG_49_CFG_LEVEL); in max98088_setup_eq1() 1475 save = snd_soc_read(codec, M98088_REG_49_CFG_LEVEL); in max98088_setup_eq2() 1661 ret = snd_soc_read(codec, M98088_REG_FF_REV_ID); in max98088_probe()
|
D | wm8983.c | 498 reg = snd_soc_read(codec, WM8983_EQ1_LOW_SHELF); in eqmode_get() 518 reg_eq = snd_soc_read(codec, WM8983_EQ1_LOW_SHELF); in eqmode_put() 530 regpwr2 = snd_soc_read(codec, WM8983_POWER_MANAGEMENT_2); in eqmode_put() 531 regpwr3 = snd_soc_read(codec, WM8983_POWER_MANAGEMENT_3); in eqmode_put()
|
D | wm8985.c | 532 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()
|
D | da7219.c | 316 mic_ctrl = snd_soc_read(codec, DA7219_MIC_1_CTRL); in da7219_alc_calib() 319 mixin_ctrl = snd_soc_read(codec, DA7219_MIXIN_L_CTRL); in da7219_alc_calib() 322 adc_ctrl = snd_soc_read(codec, DA7219_ADC_L_CTRL); in da7219_alc_calib() 347 calib_ctrl = snd_soc_read(codec, DA7219_ALC_CTRL1); in da7219_alc_calib() 789 pll_ctrl = snd_soc_read(codec, DA7219_PLL_CTRL); in da7219_dai_event() 795 pll_status = snd_soc_read(codec, DA7219_PLL_SRM_STS); in da7219_dai_event()
|
D | wm8731.c | 342 u16 iface = snd_soc_read(codec, WM8731_IFACE) & 0xfff3; in wm8731_hw_params() 372 u16 mute_reg = snd_soc_read(codec, WM8731_APDIGI) & 0xfff7; in wm8731_mute() 513 reg = snd_soc_read(codec, WM8731_PWR) & 0xff7f; in wm8731_set_bias_level()
|
D | rt5670.c | 439 val = snd_soc_read(codec, RT5670_CJ_CTRL3) & 0x7; in rt5670_headset_detect() 445 snd_soc_read(codec, RT5670_IL_CMD); in rt5670_headset_detect() 485 val = snd_soc_read(codec, RT5670_IL_CMD); in rt5670_button_detect() 490 val = snd_soc_read(codec, RT5670_IL_CMD); in rt5670_button_detect() 505 val = snd_soc_read(rt5670->codec, RT5670_A_JD_CTRL1) & 0x0070; in rt5670_irq_detection() 507 val = snd_soc_read(rt5670->codec, RT5670_A_JD_CTRL1) & 0x0020; in rt5670_irq_detection() 520 if (snd_soc_read(rt5670->codec, RT5670_INT_IRQ_ST) & 0x4) { in rt5670_irq_detection() 749 val = (snd_soc_read(codec, reg) >> shift) & 0xf; in is_using_asrc() 2658 switch (snd_soc_read(codec, RT5670_RESET) & RT5670_ID_MASK) { in rt5670_probe()
|
D | alc5632.c | 700 reg = snd_soc_read(codec, ALC5632_DAI_CONTROL); in alc5632_set_dai_pll() 877 iface = snd_soc_read(codec, ALC5632_DAI_CONTROL); in alc5632_pcm_hw_params() 913 u16 mute_reg = snd_soc_read(codec, ALC5632_MISC_CTRL) & ~hp_mute; in alc5632_mute()
|
D | alc5623.c | 542 reg = snd_soc_read(codec, ALC5623_DAI_CONTROL); in alc5623_set_dai_pll() 709 iface = snd_soc_read(codec, ALC5623_DAI_CONTROL); in alc5623_pcm_hw_params() 749 u16 mute_reg = snd_soc_read(codec, ALC5623_MISC_CTRL) & ~hp_mute; in alc5623_mute()
|
D | wm5100.c | 142 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()
|
D | wm9090.c | 155 reg = snd_soc_read(codec, WM9090_DC_SERVO_READBACK_0); in wait_for_dc_servo() 255 unsigned int reg = snd_soc_read(codec, WM9090_ANALOGUE_HP_0); in hp_ev()
|
D | sgtl5000.c | 201 if ((snd_soc_read(codec, SGTL5000_CHIP_ANA_POWER) & in power_vag_event() 334 reg = snd_soc_read(codec, SGTL5000_CHIP_DAC_VOL); in dac_get_volsw() 1156 ana_pwr = snd_soc_read(codec, SGTL5000_CHIP_ANA_POWER); in sgtl5000_set_power_regs() 1160 lreg_ctrl = snd_soc_read(codec, SGTL5000_CHIP_LINREG_CTRL); in sgtl5000_set_power_regs()
|
D | wm8741.c | 201 u16 iface = snd_soc_read(codec, WM8741_FORMAT_CONTROL) & 0x1FC; in wm8741_hw_params() 300 u16 iface = snd_soc_read(codec, WM8741_FORMAT_CONTROL) & 0x1C3; in wm8741_set_dai_fmt()
|
D | wm8998.c | 49 val = snd_soc_read(codec, ARIZONA_ASRC_RATE1); in wm8998_asrc_ev() 57 val = snd_soc_read(codec, in wm8998_asrc_ev() 73 val = snd_soc_read(codec, ARIZONA_ASRC_RATE2); in wm8998_asrc_ev() 81 val = snd_soc_read(codec, in wm8998_asrc_ev()
|
D | rt5645.c | 688 val = snd_soc_read(codec, RT5645_GLB_CLK); in is_sys_clk_from_pll() 731 val = (snd_soc_read(codec, reg) >> shift) & 0xf; in is_using_asrc() 2918 snd_soc_read(codec, RT5650_4BTN_IL_CMD1); in rt5645_enable_push_button_irq() 2920 snd_soc_read(codec, RT5650_4BTN_IL_CMD1)); in rt5645_enable_push_button_irq() 3013 val = snd_soc_read(codec, RT5650_4BTN_IL_CMD1); in rt5645_button_detect() 3068 val = snd_soc_read(rt5645->codec, RT5645_A_JD_CTRL1) & 0x0070; in rt5645_jack_detect_work() 3071 val = snd_soc_read(rt5645->codec, RT5645_A_JD_CTRL1) & 0x0020; in rt5645_jack_detect_work() 3086 if (snd_soc_read(rt5645->codec, RT5645_INT_IRQ_ST) & 0x4) { in rt5645_jack_detect_work()
|
D | max9850.c | 142 sf = (snd_soc_read(codec, MAX9850_CLOCK) >> 2) + 1; in max9850_hw_params()
|
D | tas2552.c | 180 pll_enable = snd_soc_read(codec, TAS2552_CFG_2) & TAS2552_PLL_ENABLE; in tas2552_setup_pll() 198 u8 p = snd_soc_read(codec, TAS2552_PLL_CTRL_1); in tas2552_setup_pll()
|
D | twl4030.c | 852 (snd_soc_read(codec, reg) >> shift) & mask; in snd_soc_get_volsw_twl4030() 859 (snd_soc_read(codec, reg) >> rshift) & mask; in snd_soc_get_volsw_twl4030() 910 (snd_soc_read(codec, reg) >> shift) & mask; in snd_soc_get_volsw_r2_twl4030() 912 (snd_soc_read(codec, reg2) >> shift) & mask; in snd_soc_get_volsw_r2_twl4030()
|
D | wm8776.c | 288 if (snd_soc_read(codec, WM8776_MSTRCTRL) & master) { in wm8776_hw_params()
|
D | cs42l73.c | 951 spc = snd_soc_read(codec, CS42L73_SPC(id)); in cs42l73_set_dai_fmt() 952 mmcc = snd_soc_read(codec, CS42L73_MMCC(id)); in cs42l73_set_dai_fmt()
|
D | sta32x.c | 402 confa_cached = snd_soc_read(codec, STA32X_CONFA); in sta32x_watchdog() 404 confa = snd_soc_read(codec, STA32X_CONFA); in sta32x_watchdog()
|
D | ab8500-codec.c | 1106 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()
|
D | rt5640.c | 483 val = snd_soc_read(codec, RT5640_GLB_CLK); in is_sys_clk_from_pll() 1638 val = snd_soc_read(codec, RT5640_I2S1_SDP); in get_sdp_info() 1997 switch (snd_soc_read(codec, RT5640_RESET) & RT5640_ID_MASK) { in rt5640_probe()
|
D | wm8770.c | 453 if (snd_soc_read(codec, WM8770_MSTRCTRL) & 0x100) { in wm8770_hw_params()
|
D | wm5110.c | 271 unsigned int val = snd_soc_read(codec, ARIZONA_DRE_ENABLE); in wm5110_hp_pre_enable() 307 unsigned int val = snd_soc_read(codec, ARIZONA_DRE_ENABLE); in wm5110_hp_pre_disable() 501 wm5110->in_pga_cache[w->shift] = snd_soc_read(codec, reg); in wm5110_in_analog_ev()
|
D | wm8804.c | 178 txpwr = snd_soc_read(codec, WM8804_PWRDN) & 0x4; in txsrc_put()
|
D | rt5651.c | 400 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()
|
D | wm8955.c | 625 ret = snd_soc_read(codec, WM8955_POWER_MANAGEMENT_1); in wm8955_hw_params()
|
D | wm2200.c | 2033 ret = snd_soc_read(codec, in wm2200_set_fll() 2065 ret = snd_soc_read(codec, WM2200_GPIO_CTRL_1); in wm2200_dai_probe()
|
D | twl6040.c | 544 u8 val = snd_soc_read(codec, TWL6040_REG_HSLCTL); in twl6040_get_dl1_gain()
|
/linux-4.4.14/sound/soc/pxa/ |
D | mioa701_wm9713.c | 67 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.4.14/sound/soc/ |
D | soc-io.c | 196 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);
|
D | soc-core.c | 104 ret = snd_soc_read(codec, reg); in format_register_str()
|
/linux-4.4.14/Documentation/sound/alsa/soc/ |
D | codec.txt | 172 u16 mute_reg = snd_soc_read(codec, WM8974_DAC) & 0xffbf;
|
/linux-4.4.14/include/sound/ |
D | soc.h | 1396 unsigned int snd_soc_read(struct snd_soc_codec *codec, unsigned int reg);
|