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

/linux-4.4.14/sound/core/
H A Djack.c65 struct snd_jack_kctl *jack_kctl, *tmp_jack_kctl; snd_jack_dev_free() local
67 list_for_each_entry_safe(jack_kctl, tmp_jack_kctl, &jack->kctl_list, list) { snd_jack_dev_free()
68 list_del_init(&jack_kctl->list); snd_jack_dev_free()
69 snd_ctl_remove(card, jack_kctl->kctl); snd_jack_dev_free()
122 struct snd_jack_kctl *jack_kctl; snd_jack_kctl_private_free() local
124 jack_kctl = kctl->private_data; snd_jack_kctl_private_free()
125 if (jack_kctl) { snd_jack_kctl_private_free()
126 list_del(&jack_kctl->list); snd_jack_kctl_private_free()
127 kfree(jack_kctl); snd_jack_kctl_private_free()
131 static void snd_jack_kctl_add(struct snd_jack *jack, struct snd_jack_kctl *jack_kctl) snd_jack_kctl_add() argument
133 list_add_tail(&jack_kctl->list, &jack->kctl_list); snd_jack_kctl_add()
139 struct snd_jack_kctl *jack_kctl; snd_jack_kctl_new() local
150 jack_kctl = kzalloc(sizeof(*jack_kctl), GFP_KERNEL); snd_jack_kctl_new()
152 if (!jack_kctl) snd_jack_kctl_new()
155 jack_kctl->kctl = kctl; snd_jack_kctl_new()
156 jack_kctl->mask_bits = mask; snd_jack_kctl_new()
158 kctl->private_data = jack_kctl; snd_jack_kctl_new()
161 return jack_kctl; snd_jack_kctl_new()
180 struct snd_jack_kctl *jack_kctl; snd_jack_add_new_kctl() local
182 jack_kctl = snd_jack_kctl_new(jack->card, name, mask); snd_jack_add_new_kctl()
183 if (!jack_kctl) snd_jack_add_new_kctl()
186 snd_jack_kctl_add(jack, jack_kctl); snd_jack_add_new_kctl()
210 struct snd_jack_kctl *jack_kctl = NULL; snd_jack_new() local
220 jack_kctl = snd_jack_kctl_new(card, id, type); snd_jack_new()
221 if (!jack_kctl) snd_jack_new()
258 snd_jack_kctl_add(jack, jack_kctl); snd_jack_new()
342 struct snd_jack_kctl *jack_kctl; snd_jack_report() local
348 list_for_each_entry(jack_kctl, &jack->kctl_list, list) snd_jack_report()
349 snd_kctl_jack_report(jack->card, jack_kctl->kctl, snd_jack_report()
350 status & jack_kctl->mask_bits); snd_jack_report()

Completed in 58 milliseconds