Searched refs:mc (Results 1 – 15 of 15) sorted by relevance
42 struct soc_mixer_control *mc = in max9877_get_reg() local44 unsigned int reg = mc->reg; in max9877_get_reg()45 unsigned int shift = mc->shift; in max9877_get_reg()46 unsigned int mask = mc->max; in max9877_get_reg()47 unsigned int invert = mc->invert; in max9877_get_reg()61 struct soc_mixer_control *mc = in max9877_set_reg() local63 unsigned int reg = mc->reg; in max9877_set_reg()64 unsigned int shift = mc->shift; in max9877_set_reg()65 unsigned int mask = mc->max; in max9877_set_reg()66 unsigned int invert = mc->invert; in max9877_set_reg()[all …]
187 struct soc_mixer_control *mc = in tpa6130a2_get_volsw() local190 unsigned int reg = mc->reg; in tpa6130a2_get_volsw()191 unsigned int shift = mc->shift; in tpa6130a2_get_volsw()192 int max = mc->max; in tpa6130a2_get_volsw()194 unsigned int invert = mc->invert; in tpa6130a2_get_volsw()215 struct soc_mixer_control *mc = in tpa6130a2_put_volsw() local218 unsigned int reg = mc->reg; in tpa6130a2_put_volsw()219 unsigned int shift = mc->shift; in tpa6130a2_put_volsw()220 int max = mc->max; in tpa6130a2_put_volsw()222 unsigned int invert = mc->invert; in tpa6130a2_put_volsw()
319 struct soc_mixer_control *mc = in snd_soc_get_volsw_2r_st() local322 unsigned int reg = mc->reg; in snd_soc_get_volsw_2r_st()323 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_2r_st()343 struct soc_mixer_control *mc = in snd_soc_put_volsw_2r_st() local346 unsigned int reg = mc->reg; in snd_soc_put_volsw_2r_st()347 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw_2r_st()373 struct soc_mixer_control *mc = in snd_soc_get_volsw_2r_out() local376 unsigned int reg = mc->reg; in snd_soc_get_volsw_2r_out()377 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_2r_out()378 unsigned int shift = mc->shift; in snd_soc_get_volsw_2r_out()[all …]
950 struct soc_mixer_control *mc = in snd_soc_get_volsw_twl4030() local953 unsigned int reg = mc->reg; in snd_soc_get_volsw_twl4030()954 unsigned int shift = mc->shift; in snd_soc_get_volsw_twl4030()955 unsigned int rshift = mc->rshift; in snd_soc_get_volsw_twl4030()956 int max = mc->max; in snd_soc_get_volsw_twl4030()979 struct soc_mixer_control *mc = in snd_soc_put_volsw_twl4030() local982 unsigned int reg = mc->reg; in snd_soc_put_volsw_twl4030()983 unsigned int shift = mc->shift; in snd_soc_put_volsw_twl4030()984 unsigned int rshift = mc->rshift; in snd_soc_put_volsw_twl4030()985 int max = mc->max; in snd_soc_put_volsw_twl4030()[all …]
430 struct soc_mixer_control *mc = in max98090_get_enab_tlv() local432 unsigned int mask = (1 << fls(mc->max)) - 1; in max98090_get_enab_tlv()433 unsigned int val = snd_soc_read(codec, mc->reg); in max98090_get_enab_tlv()436 switch (mc->reg) { in max98090_get_enab_tlv()450 val = (val >> mc->shift) & mask; in max98090_get_enab_tlv()470 struct soc_mixer_control *mc = in max98090_put_enab_tlv() local472 unsigned int mask = (1 << fls(mc->max)) - 1; in max98090_put_enab_tlv()474 unsigned int val = snd_soc_read(codec, mc->reg); in max98090_put_enab_tlv()477 switch (mc->reg) { in max98090_put_enab_tlv()491 val = (val >> mc->shift) & mask; in max98090_put_enab_tlv()[all …]
253 struct soc_mixer_control *mc = in wm8580_out_vu() local257 unsigned int reg = mc->reg; in wm8580_out_vu()258 unsigned int reg2 = mc->rreg; in wm8580_out_vu()
145 struct soc_mixer_control *mc = in snd_soc_dapm_put_volsw_aic3x() local147 unsigned int reg = mc->reg; in snd_soc_dapm_put_volsw_aic3x()148 unsigned int shift = mc->shift; in snd_soc_dapm_put_volsw_aic3x()149 int max = mc->max; in snd_soc_dapm_put_volsw_aic3x()151 unsigned int invert = mc->invert; in snd_soc_dapm_put_volsw_aic3x()
130 struct soc_mixer_control *mc = in wm8400_outpga_put_volsw_vu() local132 int reg = mc->reg; in wm8400_outpga_put_volsw_vu()389 struct soc_mixer_control *mc = in outmixer_event() local391 u32 reg_shift = mc->shift; in outmixer_event()
308 struct soc_mixer_control *mc = in wm8350_put_volsw_2r_vu() local311 unsigned int reg = mc->reg; in wm8350_put_volsw_2r_vu()352 struct soc_mixer_control *mc = in wm8350_get_volsw_2r() local354 unsigned int reg = mc->reg; in wm8350_get_volsw_2r()
138 struct soc_mixer_control *mc = in wm899x_outpga_put_volsw_vu() local140 int reg = mc->reg; in wm899x_outpga_put_volsw_vu()
300 struct soc_mixer_control *mc = in wm8994_put_drc_sw() local306 if (mc->shift == WM8994_AIF1DAC1_DRC_ENA_SHIFT) in wm8994_put_drc_sw()312 ret = snd_soc_read(codec, mc->reg); in wm8994_put_drc_sw()
2626 struct soc_mixer_control *mc = in snd_soc_info_volsw() local2630 if (!mc->platform_max) in snd_soc_info_volsw()2631 mc->platform_max = mc->max; in snd_soc_info_volsw()2632 platform_max = mc->platform_max; in snd_soc_info_volsw()2639 uinfo->count = snd_soc_volsw_is_stereo(mc) ? 2 : 1; in snd_soc_info_volsw()2659 struct soc_mixer_control *mc = in snd_soc_get_volsw() local2662 unsigned int reg = mc->reg; in snd_soc_get_volsw()2663 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw()2664 unsigned int shift = mc->shift; in snd_soc_get_volsw()2665 unsigned int rshift = mc->rshift; in snd_soc_get_volsw()[all …]
344 struct soc_mixer_control *mc = (struct soc_mixer_control *) in dapm_set_path_status() local346 unsigned int reg = mc->reg; in dapm_set_path_status()347 unsigned int shift = mc->shift; in dapm_set_path_status()348 int max = mc->max; in dapm_set_path_status()350 unsigned int invert = mc->invert; in dapm_set_path_status()2639 struct soc_mixer_control *mc = in snd_soc_dapm_get_volsw() local2641 unsigned int reg = mc->reg; in snd_soc_dapm_get_volsw()2642 unsigned int shift = mc->shift; in snd_soc_dapm_get_volsw()2643 int max = mc->max; in snd_soc_dapm_get_volsw()2645 unsigned int invert = mc->invert; in snd_soc_dapm_get_volsw()[all …]
93 struct soc_mixer_control *mc = in mx27vis_amp_set() local96 unsigned int reg = mc->reg; in mx27vis_amp_set()97 int max = mc->max; in mx27vis_amp_set()120 struct soc_mixer_control *mc = in mx27vis_amp_get() local122 unsigned int reg = mc->reg; in mx27vis_amp_get()
594 struct soc_mixer_control *mc = in omap_mcbsp_st_info_volsw() local596 int max = mc->max; in omap_mcbsp_st_info_volsw()597 int min = mc->min; in omap_mcbsp_st_info_volsw()613 struct soc_mixer_control *mc = \615 int max = mc->max; \616 int min = mc->min; \