Lines Matching refs:hp_connected
27 bool hp_connected;
177 static void psc724_set_jack_state(struct snd_ice1712 *ice, bool hp_connected)
183 psc724_set_master_switch(ice, !hp_connected);
184 if (!hp_connected)
187 spec->hp_connected = hp_connected;
205 bool hp_connected = snd_ice1712_gpio_read(ice) & GPIO_HP_JACK;
208 if (hp_connected == spec->hp_connected)
210 psc724_set_jack_state(ice, hp_connected);
222 bool hp_connected = snd_ice1712_gpio_read(ice) & GPIO_HP_JACK;
223 psc724_set_jack_state(ice, hp_connected);