Lines Matching defs:pins
53 /* How they are connected to codec pins */
106 unsigned short pins;
119 pins = ams_delta_audio_mode_pins[ucontrol->value.enumerated.item[0]];
121 /* Setup pins after corresponding bits if changed */
122 pin = !!(pins & (1 << AMS_DELTA_MOUTHPIECE));
131 pin = !!(pins & (1 << AMS_DELTA_EARPIECE));
139 pin = !!(pins & (1 << AMS_DELTA_MICROPHONE));
147 pin = !!(pins & (1 << AMS_DELTA_SPEAKER));
155 pin = !!(pins & (1 << AMS_DELTA_AGC));
178 unsigned short pins, mode;
180 pins = ((snd_soc_dapm_get_pin_status(dapm, "Mouthpiece") <<
184 if (pins)
185 pins |= (snd_soc_dapm_get_pin_status(dapm, "Microphone") <<
188 pins = ((snd_soc_dapm_get_pin_status(dapm, "Microphone") <<
195 if (pins == ams_delta_audio_mode_pins[mode])
257 * we must connect codec DAI pins to the modem for a moment. Be careful not
310 /* Prevent the hook switch from further changing the DAPM pins */
311 INIT_LIST_HEAD(&ams_delta_hook_switch.pins);
360 /* Link hook switch to DAPM pins */
366 "Failed to link hook switch to DAPM pins, "