Home
last modified time | relevance | path

Searched refs:kctls (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/sound/i2c/other/
H A Dak4114.c477 ak4114->kctls[idx] = NULL; in snd_ak4114_build()
489 ak4114->kctls[idx] = kctl; in snd_ak4114_build()
503 if (!ak4114->kctls[0]) in ak4114_notify()
508 &ak4114->kctls[0]->id); in ak4114_notify()
511 &ak4114->kctls[1]->id); in ak4114_notify()
514 &ak4114->kctls[2]->id); in ak4114_notify()
517 &ak4114->kctls[3]->id); in ak4114_notify()
522 &ak4114->kctls[4]->id); in ak4114_notify()
526 &ak4114->kctls[9]->id); in ak4114_notify()
529 &ak4114->kctls[10]->id); in ak4114_notify()
[all …]
H A Dak4117.c429 ak4117->kctls[idx] = kctl; in snd_ak4117_build()
475 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[0]->id); in snd_ak4117_check_rate_and_errors()
477 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[1]->id); in snd_ak4117_check_rate_and_errors()
479 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[2]->id); in snd_ak4117_check_rate_and_errors()
481 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[3]->id); in snd_ak4117_check_rate_and_errors()
485 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[4]->id); in snd_ak4117_check_rate_and_errors()
488 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[6]->id); in snd_ak4117_check_rate_and_errors()
490 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[8]->id); in snd_ak4117_check_rate_and_errors()
493 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[9]->id); in snd_ak4117_check_rate_and_errors()
495 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[10]->id); in snd_ak4117_check_rate_and_errors()
[all …]
H A Dak4113.c503 ak4113->kctls[idx] = kctl; in snd_ak4113_build()
559 &ak4113->kctls[0]->id); in snd_ak4113_check_rate_and_errors()
562 &ak4113->kctls[1]->id); in snd_ak4113_check_rate_and_errors()
565 &ak4113->kctls[2]->id); in snd_ak4113_check_rate_and_errors()
568 &ak4113->kctls[3]->id); in snd_ak4113_check_rate_and_errors()
573 &ak4113->kctls[4]->id); in snd_ak4113_check_rate_and_errors()
577 &ak4113->kctls[6]->id); in snd_ak4113_check_rate_and_errors()
580 &ak4113->kctls[8]->id); in snd_ak4113_check_rate_and_errors()
584 &ak4113->kctls[9]->id); in snd_ak4113_check_rate_and_errors()
587 &ak4113->kctls[10]->id); in snd_ak4113_check_rate_and_errors()
[all …]
/openbmc/linux/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-ctl.c202 const struct snd_kcontrol_new *kctls) in create_ctls() argument
207 err = snd_ctl_add(chip->card, snd_ctl_new1(&kctls[i], chip)); in create_ctls()
/openbmc/linux/include/sound/
H A Dak4117.h159 struct snd_kcontrol *kctls[AK4117_CONTROLS]; member
H A Dak4114.h169 struct snd_kcontrol *kctls[AK4114_CONTROLS]; member
H A Dak4113.h286 struct snd_kcontrol *kctls[AK4113_CONTROLS]; member
/openbmc/linux/sound/pci/ctxfi/
H A Dctmixer.c226 static struct snd_kcontrol *kctls[2] = {NULL}; variable
489 &kctls[1]->id); in do_line_mic_switch()
494 &kctls[0]->id); in do_line_mic_switch()
724 kctls[0] = kctl; break; in ct_mixer_kcontrol_new()
726 kctls[1] = kctl; break; in ct_mixer_kcontrol_new()
/openbmc/linux/sound/pci/hda/
H A Dhda_generic.h155 struct snd_array kctls; member
H A Dhda_generic.c39 snd_array_init(&spec->kctls, sizeof(struct snd_kcontrol_new), 32); in snd_hda_gen_spec_init()
62 struct snd_kcontrol_new *knew = snd_array_new(&spec->kctls); in snd_hda_gen_add_kctl()
78 if (spec->kctls.list) { in free_kctls()
79 struct snd_kcontrol_new *kctl = spec->kctls.list; in free_kctls()
81 for (i = 0; i < spec->kctls.used; i++) in free_kctls()
84 snd_array_free(&spec->kctls); in free_kctls()
2713 snd_array_for_each(&spec->kctls, i, kctl) { in find_kctl_name()
5178 if (spec->kctls.used) { in snd_hda_gen_build_controls()
5179 err = snd_hda_add_new_ctls(codec, spec->kctls.list); in snd_hda_gen_build_controls()
H A Dpatch_conexant.c683 snd_array_for_each(&spec->gen.kctls, i, kctl) { in cxt_fixup_olpc_xo()