Lines Matching refs:hp_connected
27 bool hp_connected;
177 static void psc724_set_jack_state(struct snd_ice1712 *ice, bool hp_connected)
184 psc724_set_master_switch(ice, !hp_connected);
185 if (!hp_connected)
188 spec->hp_connected = hp_connected;
208 bool hp_connected = snd_ice1712_gpio_read(ice) & GPIO_HP_JACK;
211 if (hp_connected == spec->hp_connected)
213 psc724_set_jack_state(ice, hp_connected);
225 bool hp_connected = snd_ice1712_gpio_read(ice) & GPIO_HP_JACK;
226 psc724_set_jack_state(ice, hp_connected);