Lines Matching full:jack
9 #include <sound/jack.h>
46 * snd_soc_card_jack_new - Create a new jack
48 * @id: an identifying string for this jack
50 * this jack
51 * @jack: structure to use for the jack
52 * @pins: Array of jack pins to be added to the jack or NULL
55 * Creates a new jack object.
58 * On success jack will be initialised.
61 struct snd_soc_jack *jack,
66 mutex_init(&jack->mutex);
67 jack->card = card;
68 INIT_LIST_HEAD(&jack->pins);
69 INIT_LIST_HEAD(&jack->jack_zones);
70 BLOCKING_INIT_NOTIFIER_HEAD(&jack->notifier);
72 ret = snd_jack_new(card->snd_card, id, type, &jack->jack, false, false);
77 ret = snd_soc_jack_add_pins(jack, num_pins, pins);