Home
last modified time | relevance | path

Searched refs:controls (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/sound/pci/emu10k1/
Demufx.c1197 struct snd_emu10k1_fx8010_control_gpr *controls = NULL, *ctl; in _snd_emu10k1_audigy_init_efx() local
1209 controls = kcalloc(SND_EMU10K1_GPR_CONTROLS, in _snd_emu10k1_audigy_init_efx()
1210 sizeof(*controls), GFP_KERNEL); in _snd_emu10k1_audigy_init_efx()
1211 if (!controls) in _snd_emu10k1_audigy_init_efx()
1248 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Front Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1254 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Surround Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1261 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Side Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1267 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM Center Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1272 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM LFE Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1281 snd_emu10k1_init_stereo_control(&controls[nctl++], "Wave Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
[all …]
/sound/soc/generic/
Dsimple-card-utils.c441 struct snd_kcontrol_new *controls; in asoc_simple_parse_pin_switches() local
467 controls = devm_kcalloc(dev, nb_controls, in asoc_simple_parse_pin_switches()
468 sizeof(*controls), GFP_KERNEL); in asoc_simple_parse_pin_switches()
469 if (!controls) in asoc_simple_parse_pin_switches()
478 controls[i].iface = SNDRV_CTL_ELEM_IFACE_MIXER; in asoc_simple_parse_pin_switches()
479 controls[i].name = control_name; in asoc_simple_parse_pin_switches()
480 controls[i].info = snd_soc_dapm_info_pin_switch; in asoc_simple_parse_pin_switches()
481 controls[i].get = snd_soc_dapm_get_pin_switch; in asoc_simple_parse_pin_switches()
482 controls[i].put = snd_soc_dapm_put_pin_switch; in asoc_simple_parse_pin_switches()
483 controls[i].private_value = (unsigned long)strings[i]; in asoc_simple_parse_pin_switches()
[all …]
/sound/soc/intel/boards/
Dbytcht_nocodec.c25 static const struct snd_kcontrol_new controls[] = { variable
164 .controls = controls,
165 .num_controls = ARRAY_SIZE(controls),
Dbytcht_da7213.c25 static const struct snd_kcontrol_new controls[] = { variable
214 .controls = controls,
215 .num_controls = ARRAY_SIZE(controls),
/sound/pci/oxygen/
Doxygen_mixer.c529 if (!chip->controls[control]) in mute_ac97_ctl()
531 priv_idx = chip->controls[control]->private_value & 0xff; in mute_ac97_ctl()
538 &chip->controls[control]->id); in mute_ac97_ctl()
754 static const struct snd_kcontrol_new controls[] = { variable
852 struct snd_kcontrol_new controls[2]; member
856 .controls = {
881 .controls = {
906 .controls = {
933 .controls = {
960 .controls = {
[all …]
Doxygen_pcm.c178 chip->controls[CONTROL_SPDIF_PCM]->vd[0].access &= in oxygen_open()
182 &chip->controls[CONTROL_SPDIF_PCM]->id); in oxygen_open()
227 chip->controls[CONTROL_SPDIF_PCM]->vd[0].access |= in oxygen_close()
231 &chip->controls[CONTROL_SPDIF_PCM]->id); in oxygen_close()
/sound/soc/samsung/
Dlowland.c134 static const struct snd_kcontrol_new controls[] = { variable
170 .controls = controls,
171 .num_controls = ARRAY_SIZE(controls),
Dtobermory.c128 static const struct snd_kcontrol_new controls[] = { variable
213 .controls = controls,
214 .num_controls = ARRAY_SIZE(controls),
Dlittlemill.c226 static const struct snd_kcontrol_new controls[] = { variable
310 .controls = controls,
311 .num_controls = ARRAY_SIZE(controls),
Dspeyside.c255 static const struct snd_kcontrol_new controls[] = { variable
314 .controls = controls,
315 .num_controls = ARRAY_SIZE(controls),
/sound/soc/intel/
DKconfig20 # This option controls the IPC core for HiFi2 platforms
25 # This option controls the PCI-based IPC for HiFi2 platforms
31 # This option controls the ACPI-based IPC for HiFi2 platforms
36 # This option controls ACPI-based probing on
46 # This option controls firmware download on
236 # this option controls the compilation of ACPI matching tables and
/sound/soc/codecs/
Dtas571x.c39 const struct snd_kcontrol_new *controls; member
440 .controls = tas5711_controls,
545 .controls = tas5707_controls,
653 .controls = tas5717_controls,
724 .controls = tas5721_controls,
853 priv->component_driver.controls = priv->chip->controls; in tas571x_i2c_probe()
Dmax98095.c1579 struct snd_kcontrol_new controls[] = { in max98095_handle_eq_pdata() local
1624 ret = snd_soc_add_component_controls(component, controls, ARRAY_SIZE(controls)); in max98095_handle_eq_pdata()
1730 struct snd_kcontrol_new controls[] = { in max98095_handle_bq_pdata() local
1740 BUILD_BUG_ON(ARRAY_SIZE(controls) != ARRAY_SIZE(bq_mode_name)); in max98095_handle_bq_pdata()
1776 ret = snd_soc_add_component_controls(component, controls, ARRAY_SIZE(controls)); in max98095_handle_bq_pdata()
2103 .controls = max98095_snd_controls,
Dlm4857.c99 .controls = lm4857_controls,
Dcq93vc.c123 .controls = cq93vc_snd_controls,
Dmax9877.c118 .controls = max9877_controls,
/sound/usb/
Dmixer_scarlett.c181 const struct scarlett_mixer_control controls[SND_SCARLETT_CONTROLS_MAX]; member
647 .controls = {
689 .controls = {
728 .controls = {
765 .controls = {
807 .controls = {
860 ctl = &info->controls[i]; in scarlett_controls_create_generic()
/sound/soc/mediatek/common/
Dmtk-afe-platform-driver.c55 if (dai->controls) in mtk_afe_add_sub_dai_control()
57 dai->controls, in mtk_afe_add_sub_dai_control()
Dmtk-base-afe.h109 const struct snd_kcontrol_new *controls; member
/sound/soc/sunxi/
DKconfig29 Say Y or M if you want to add support for the analog controls for
37 Say Y or M if you want to add support for the analog controls for
/sound/firewire/oxfw/
Doxfw-spkr.c253 static const struct snd_kcontrol_new controls[] = { in snd_oxfw_add_spkr() local
312 for (i = 0; i < ARRAY_SIZE(controls); ++i) { in snd_oxfw_add_spkr()
314 snd_ctl_new1(&controls[i], oxfw)); in snd_oxfw_add_spkr()
/sound/soc/intel/atom/
DMakefile4 sst-atom-controls.o
/sound/soc/meson/
Daxg-tdmout.c221 .controls = axg_tdmout_controls,
299 .controls = sm1_tdmout_controls,
/sound/isa/sb/
Demu8000.c1030 memset(emu->controls, 0, sizeof(emu->controls)); in snd_emu8000_create_mixer()
1032 if ((err = snd_ctl_add(card, emu->controls[i] = snd_ctl_new1(mixer_defs[i], emu))) < 0) in snd_emu8000_create_mixer()
1040 if (emu->controls[i]) in snd_emu8000_create_mixer()
1041 snd_ctl_remove(card, emu->controls[i]); in snd_emu8000_create_mixer()
/sound/soc/
Dsoc-core.c1071 component->driver->controls, in soc_probe_component()
2063 ret = snd_soc_add_card_controls(card, card->controls, in snd_soc_instantiate_card()
2259 const struct snd_kcontrol_new *controls, int num_controls, in snd_soc_add_controls() argument
2265 const struct snd_kcontrol_new *control = &controls[i]; in snd_soc_add_controls()
2288 list_for_each_entry(kctl, &card->controls, list) in snd_soc_card_get_kcontrol()
2305 const struct snd_kcontrol_new *controls, unsigned int num_controls) in snd_soc_add_component_controls() argument
2309 return snd_soc_add_controls(card, component->dev, controls, in snd_soc_add_component_controls()
2325 const struct snd_kcontrol_new *controls, int num_controls) in snd_soc_add_card_controls() argument
2329 return snd_soc_add_controls(card, soc_card->dev, controls, num_controls, in snd_soc_add_card_controls()
2345 const struct snd_kcontrol_new *controls, int num_controls) in snd_soc_add_dai_controls() argument
[all …]

12345678910>>...12