Lines Matching refs:pins
28 * DAPM pins will be enabled or disabled as appropriate and DAPM
53 list_for_each_entry(pin, &jack->pins, list) {
127 * snd_soc_jack_add_pins - Associate DAPM pins with an ASoC jack
130 * @count: Number of pins
131 * @pins: Array of pins
133 * After this function has been called the DAPM pins specified in the
134 * pins array will have their status updated to reflect the current
138 struct snd_soc_jack_pin *pins)
143 if (!pins[i].pin) {
148 if (!pins[i].mask) {
150 " (%s)\n", i, pins[i].pin);
154 INIT_LIST_HEAD(&pins[i].list);
155 list_add(&(pins[i].list), &jack->pins);
156 snd_jack_add_new_kctl(jack->jack, pins[i].pin, pins[i].mask);
161 * card has an opportunity to associate pins.
302 * snd_soc_jack_add_gpios - Associate GPIO pins with an ASoC jack
305 * @count: number of pins
306 * @gpios: array of gpio pins
415 * snd_soc_jack_add_gpiods - Associate GPIO descriptor pins with an ASoC jack
419 * @count: number of pins
420 * @gpios: array of gpio pins
439 * snd_soc_jack_free_gpios - Release GPIO pins' resources of an ASoC jack
442 * @count: number of pins
443 * @gpios: array of gpio pins
445 * Release gpio and irq resources for gpio pins associated with an ASoC jack.