Lines Matching refs:pins
34 * DAPM pins will be enabled or disabled as appropriate and DAPM
60 list_for_each_entry(pin, &jack->pins, list) {
134 * snd_soc_jack_add_pins - Associate DAPM pins with an ASoC jack
137 * @count: Number of pins
138 * @pins: Array of pins
140 * After this function has been called the DAPM pins specified in the
141 * pins array will have their status updated to reflect the current
145 struct snd_soc_jack_pin *pins)
150 if (!pins[i].pin) {
155 if (!pins[i].mask) {
157 " (%s)\n", i, pins[i].pin);
161 INIT_LIST_HEAD(&pins[i].list);
162 list_add(&(pins[i].list), &jack->pins);
163 snd_jack_add_new_kctl(jack->jack, pins[i].pin, pins[i].mask);
168 * card has an opportunity to associate pins.
303 * snd_soc_jack_add_gpios - Associate GPIO pins with an ASoC jack
306 * @count: number of pins
307 * @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.