Home
last modified time | relevance | path

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

/sound/i2c/other/
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 …]
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 …]
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 …]
/sound/virtio/
Dvirtio_kctl.c51 struct virtio_kctl *kctl = &snd->kctls[kcontrol->private_value]; in virtsnd_kctl_info()
322 struct virtio_kctl *kctl = &snd->kctls[cid]; in virtsnd_kctl_get_enum_items()
374 snd->kctls = devm_kcalloc(&vdev->dev, snd->nkctls, sizeof(*snd->kctls), in virtsnd_kctl_parse_cfg()
376 if (!snd->kctls) in virtsnd_kctl_parse_cfg()
411 struct virtio_kctl *kctl = &snd->kctls[cid]; in virtsnd_kctl_build_devs()
474 kctl = &snd->kctls[cid]; in virtsnd_kctl_event()
Dvirtio_card.h76 struct virtio_kctl *kctls; member
/sound/pci/ctxfi/
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()
/sound/pci/hda/
Dhda_generic.h152 struct snd_array kctls; member
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()
2709 snd_array_for_each(&spec->kctls, i, kctl) { in find_kctl_name()
5174 if (spec->kctls.used) { in snd_hda_gen_build_controls()
5175 err = snd_hda_add_new_ctls(codec, spec->kctls.list); in snd_hda_gen_build_controls()
Dpatch_conexant.c683 snd_array_for_each(&spec->gen.kctls, i, kctl) { in cxt_fixup_olpc_xo()