Home
last modified time | relevance | path

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

/linux/sound/i2c/other/
H A Dak4114.c465 ak4114->kctls[idx] = NULL; in snd_ak4114_build()
477 ak4114->kctls[idx] = kctl; in snd_ak4114_build()
491 if (!ak4114->kctls[0]) in ak4114_notify()
496 &ak4114->kctls[0]->id); in ak4114_notify()
499 &ak4114->kctls[1]->id); in ak4114_notify()
502 &ak4114->kctls[2]->id); in ak4114_notify()
505 &ak4114->kctls[3]->id); in ak4114_notify()
510 &ak4114->kctls[4]->id); in ak4114_notify()
514 &ak4114->kctls[9]->id); in ak4114_notify()
517 &ak4114->kctls[10]->id); in ak4114_notify()
[all …]
H A Dak4117.c416 ak4117->kctls[idx] = kctl; in snd_ak4117_build()
461 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[0]->id); in snd_ak4117_check_rate_and_errors()
463 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[1]->id); in snd_ak4117_check_rate_and_errors()
465 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[2]->id); in snd_ak4117_check_rate_and_errors()
467 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[3]->id); in snd_ak4117_check_rate_and_errors()
471 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[4]->id); in snd_ak4117_check_rate_and_errors()
474 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[6]->id); in snd_ak4117_check_rate_and_errors()
476 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[8]->id); in snd_ak4117_check_rate_and_errors()
479 snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[9]->id); in snd_ak4117_check_rate_and_errors()
481 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.c501 ak4113->kctls[idx] = kctl; in snd_ak4113_build()
557 &ak4113->kctls[0]->id); in snd_ak4113_check_rate_and_errors()
560 &ak4113->kctls[1]->id); in snd_ak4113_check_rate_and_errors()
563 &ak4113->kctls[2]->id); in snd_ak4113_check_rate_and_errors()
566 &ak4113->kctls[3]->id); in snd_ak4113_check_rate_and_errors()
571 &ak4113->kctls[4]->id); in snd_ak4113_check_rate_and_errors()
575 &ak4113->kctls[6]->id); in snd_ak4113_check_rate_and_errors()
578 &ak4113->kctls[8]->id); in snd_ak4113_check_rate_and_errors()
582 &ak4113->kctls[9]->id); in snd_ak4113_check_rate_and_errors()
585 &ak4113->kctls[10]->id); in snd_ak4113_check_rate_and_errors()
[all …]
/linux/sound/virtio/
H A 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()
H A Dvirtio_card.h76 struct virtio_kctl *kctls; member
/linux/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-ctl.c208 const struct snd_kcontrol_new *kctls) in create_ctls() argument
213 err = snd_ctl_add(chip->card, snd_ctl_new1(&kctls[i], chip)); in create_ctls()
/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()
781 kctls[0] = kctl; break; in ct_mixer_kcontrol_new()
783 kctls[1] = kctl; break; in ct_mixer_kcontrol_new()
/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
/linux/sound/hda/codecs/
H A Dgeneric.h155 struct snd_array kctls; member
H A Dgeneric.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()
2704 snd_array_for_each(&spec->kctls, i, kctl) { in find_kctl_name()
5227 if (spec->kctls.used) { in snd_hda_gen_build_controls()
5228 err = snd_hda_add_new_ctls(codec, spec->kctls.list); in snd_hda_gen_build_controls()
H A Dconexant.c654 snd_array_for_each(&spec->gen.kctls, i, kctl) { in cxt_fixup_olpc_xo()