Home
last modified time | relevance | path

Searched refs:jack_kctl (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/sound/core/
Djack.c67 struct snd_jack_kctl *jack_kctl, *tmp_jack_kctl; in snd_jack_dev_free() local
70 list_for_each_entry_safe(jack_kctl, tmp_jack_kctl, &jack->kctl_list, list) { in snd_jack_dev_free()
71 list_del_init(&jack_kctl->list); in snd_jack_dev_free()
72 snd_ctl_remove(card, jack_kctl->kctl); in snd_jack_dev_free()
132 static void snd_jack_inject_report(struct snd_jack_kctl *jack_kctl, int status) in snd_jack_inject_report() argument
138 if (!jack_kctl) in snd_jack_inject_report()
141 jack = jack_kctl->jack; in snd_jack_inject_report()
143 if (jack_kctl->sw_inject_enable) in snd_jack_inject_report()
144 snd_kctl_jack_report(jack->card, jack_kctl->kctl, in snd_jack_inject_report()
145 status & jack_kctl->mask_bits); in snd_jack_inject_report()
[all …]
/Linux-v6.1/Documentation/sound/designs/
Djack-injection.rst19 ALSA driver creates multi ``jack_kctl`` for a ``snd_jack``, here the
20 ``snd_jack`` represents a physical audio jack and the ``jack_kctl``
22 headphone and mic_in, the ALSA ASoC driver will build 2 ``jack_kctl``
24 ``jack_kctl`` instead of ``snd_jack``.
87 read-only, get jack_kctl->kctl's id
94 read-only, get jack_kctl's supported events mask_bits
101 read-only, get jack_kctl's current status