Home
last modified time | relevance | path

Searched refs:sel (Results 1 – 12 of 12) sorted by relevance

/sound/soc/codecs/
Dmax98088.c385 unsigned int sel = ucontrol->value.integer.value[0]; in max98088_mic1pre_set() local
387 max98088->mic1pre = sel; in max98088_mic1pre_set()
389 (1+sel)<<M98088_MICPRE_SHIFT); in max98088_mic1pre_set()
409 unsigned int sel = ucontrol->value.integer.value[0]; in max98088_mic2pre_set() local
411 max98088->mic2pre = sel; in max98088_mic2pre_set()
413 (1+sel)<<M98088_MICPRE_SHIFT); in max98088_mic2pre_set()
1401 int best, best_val, save, i, sel, fs; in max98088_setup_eq1() local
1411 sel = cdata->eq_sel; in max98088_setup_eq1()
1416 if (strcmp(pdata->eq_cfg[i].name, max98088->eq_texts[sel]) == 0 && in max98088_setup_eq1()
1431 coef_set = &pdata->eq_cfg[sel]; in max98088_setup_eq1()
[all …]
Dmax98095.c358 unsigned int sel = ucontrol->value.integer.value[0]; in max98095_mic1pre_set() local
360 max98095->mic1pre = sel; in max98095_mic1pre_set()
362 (1+sel)<<M98095_MICPRE_SHIFT); in max98095_mic1pre_set()
382 unsigned int sel = ucontrol->value.integer.value[0]; in max98095_mic2pre_set() local
384 max98095->mic2pre = sel; in max98095_mic2pre_set()
386 (1+sel)<<M98095_MICPRE_SHIFT); in max98095_mic2pre_set()
1502 unsigned int sel = ucontrol->value.enumerated.item[0]; in max98095_put_eq_enum() local
1513 if (sel >= pdata->eq_cfgcnt) in max98095_put_eq_enum()
1517 cdata->eq_sel = sel; in max98095_put_eq_enum()
1524 if (strcmp(pdata->eq_cfg[i].name, max98095->eq_texts[sel]) == 0 && in max98095_put_eq_enum()
[all …]
Dwm8580.c759 int ret, sel, sel_mask, sel_shift; in wm8580_set_sysclk() local
781 sel = 0 << sel_shift; in wm8580_set_sysclk()
784 sel = 1 << sel_shift; in wm8580_set_sysclk()
787 sel = 2 << sel_shift; in wm8580_set_sysclk()
790 sel = 3 << sel_shift; in wm8580_set_sysclk()
800 ret = snd_soc_update_bits(codec, WM8580_CLKSEL, sel_mask, sel); in wm8580_set_sysclk()
Dmax98090.c402 unsigned int sel = ucontrol->value.integer.value[0]; in max98090_put_enab_tlv() local
422 *select = sel; in max98090_put_enab_tlv()
426 sel = sel + 1; in max98090_put_enab_tlv()
429 sel = val; in max98090_put_enab_tlv()
434 sel << mc->shift); in max98090_put_enab_tlv()
Dda732x.c337 unsigned int sel = ucontrol->value.enumerated.item[0]; in da732x_hpf_set() local
340 switch (sel) { in da732x_hpf_set()
/sound/soc/sh/rcar/
Dadg.c110 int idx, sel, div, step; in __rsnd_adg_get_timesel_ratio() local
124 for (sel = 0; sel < ARRAY_SIZE(sel_rate); sel++) { in __rsnd_adg_get_timesel_ratio()
128 if (!sel_rate[sel]) in __rsnd_adg_get_timesel_ratio()
132 diff = abs(target_rate - sel_rate[sel] / div); in __rsnd_adg_get_timesel_ratio()
134 val = (sel << 8) | idx; in __rsnd_adg_get_timesel_ratio()
136 en = 1 << (sel + 1); /* fixme */ in __rsnd_adg_get_timesel_ratio()
/sound/pci/ice1712/
Dmaya44.c369 int sel; in maya_rec_src_get() local
372 sel = 1; in maya_rec_src_get()
374 sel = 0; in maya_rec_src_get()
375 ucontrol->value.enumerated.item[0] = sel; in maya_rec_src_get()
383 int sel = ucontrol->value.enumerated.item[0]; in maya_rec_src_put() local
388 sel ? (1 << GPIO_MIC_RELAY) : 0); in maya_rec_src_put()
389 wm8776_select_input(chip, 0, sel ? MAYA_MIC_IN : MAYA_LINE_IN); in maya_rec_src_put()
Dse.c260 unsigned int sel) in se200pci_WM8776_set_input_selector() argument
266 if (sel > 4) in se200pci_WM8776_set_input_selector()
267 sel = 4; in se200pci_WM8776_set_input_selector()
268 se200pci_WM8776_write(ice, 0x15, vals[sel]); in se200pci_WM8776_set_input_selector()
/sound/soc/au1x/
Dpsc-i2s.c298 unsigned long sel; in au1xpsc_i2s_drvprobe() local
324 sel = __raw_readl(PSC_SEL(wd)) & PSC_SEL_CLK_MASK; in au1xpsc_i2s_drvprobe()
327 __raw_writel(PSC_SEL_PS_I2SMODE | sel, PSC_SEL(wd)); in au1xpsc_i2s_drvprobe()
Dpsc-ac97.c371 unsigned long sel; in au1xpsc_ac97_drvprobe() local
401 sel = __raw_readl(PSC_SEL(wd)) & PSC_SEL_CLK_MASK; in au1xpsc_ac97_drvprobe()
406 __raw_writel(PSC_SEL_PS_AC97MODE | sel, PSC_SEL(wd)); in au1xpsc_ac97_drvprobe()
/sound/soc/bcm/
Dcygnus-ssp.c731 int sel; in cygnus_ssp_set_sysclk() local
738 sel = pll_configure_mclk(cygaud, freq, aio); in cygnus_ssp_set_sysclk()
739 if (sel < 0) { in cygnus_ssp_set_sysclk()
747 dev_dbg(aio->cygaud->dev, "%s Setting MCLKSEL to %d\n", __func__, sel); in cygnus_ssp_set_sysclk()
750 value |= (sel << I2S_OUT_PLLCLKSEL_SHIFT); in cygnus_ssp_set_sysclk()
/sound/pci/hda/
Dpatch_ca0132.c3642 int sel = ucontrol->value.enumerated.item[0]; in ca0132_voicefx_put() local
3646 if (sel >= items) in ca0132_voicefx_put()
3650 sel, ca0132_voicefx_presets[sel].name); in ca0132_voicefx_put()
3659 ca0132_voicefx_presets[sel].vals[i]); in ca0132_voicefx_put()
3665 spec->voicefx_val = sel; in ca0132_voicefx_put()
3667 ca0132_voicefx_set(codec, (sel ? 1 : 0)); in ca0132_voicefx_put()