Home
last modified time | relevance | path

Searched refs:mc (Results 1 – 15 of 15) sorted by relevance

/sound/soc/codecs/
Dmax9877.c42 struct soc_mixer_control *mc = in max9877_get_reg() local
44 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() local
63 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 …]
Dtpa6130a2.c187 struct soc_mixer_control *mc = in tpa6130a2_get_volsw() local
190 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() local
218 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()
D88pm860x-codec.c319 struct soc_mixer_control *mc = in snd_soc_get_volsw_2r_st() local
322 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() local
346 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() local
376 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 …]
Dtwl4030.c950 struct soc_mixer_control *mc = in snd_soc_get_volsw_twl4030() local
953 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() local
982 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 …]
Dmax98090.c430 struct soc_mixer_control *mc = in max98090_get_enab_tlv() local
432 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() local
472 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 …]
Dwm8580.c253 struct soc_mixer_control *mc = in wm8580_out_vu() local
257 unsigned int reg = mc->reg; in wm8580_out_vu()
258 unsigned int reg2 = mc->rreg; in wm8580_out_vu()
Dtlv320aic3x.c145 struct soc_mixer_control *mc = in snd_soc_dapm_put_volsw_aic3x() local
147 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()
Dwm8400.c130 struct soc_mixer_control *mc = in wm8400_outpga_put_volsw_vu() local
132 int reg = mc->reg; in wm8400_outpga_put_volsw_vu()
389 struct soc_mixer_control *mc = in outmixer_event() local
391 u32 reg_shift = mc->shift; in outmixer_event()
Dwm8350.c308 struct soc_mixer_control *mc = in wm8350_put_volsw_2r_vu() local
311 unsigned int reg = mc->reg; in wm8350_put_volsw_2r_vu()
352 struct soc_mixer_control *mc = in wm8350_get_volsw_2r() local
354 unsigned int reg = mc->reg; in wm8350_get_volsw_2r()
Dwm8990.c138 struct soc_mixer_control *mc = in wm899x_outpga_put_volsw_vu() local
140 int reg = mc->reg; in wm899x_outpga_put_volsw_vu()
Dwm8994.c300 struct soc_mixer_control *mc = in wm8994_put_drc_sw() local
306 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()
/sound/soc/
Dsoc-core.c2626 struct soc_mixer_control *mc = in snd_soc_info_volsw() local
2630 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() local
2662 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 …]
Dsoc-dapm.c344 struct soc_mixer_control *mc = (struct soc_mixer_control *) in dapm_set_path_status() local
346 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() local
2641 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 …]
/sound/soc/fsl/
Dmx27vis-aic32x4.c93 struct soc_mixer_control *mc = in mx27vis_amp_set() local
96 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() local
122 unsigned int reg = mc->reg; in mx27vis_amp_get()
/sound/soc/omap/
Domap-mcbsp.c594 struct soc_mixer_control *mc = in omap_mcbsp_st_info_volsw() local
596 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; \