Searched refs:hp_detect (Results 1 – 2 of 2) sorted by relevance
86 struct gpio_desc *hp_detect; member634 else if (priv->hp_detect) in byt_rt5651_init()651 priv->hp_detect); in byt_rt5651_init()832 priv->hp_detect); in byt_rt5651_resume()1018 priv->hp_detect = devm_fwnode_get_index_gpiod_from_child( in snd_byt_rt5651_mc_probe()1022 if (IS_ERR(priv->hp_detect)) { in snd_byt_rt5651_mc_probe()1023 ret_val = PTR_ERR(priv->hp_detect); in snd_byt_rt5651_mc_probe()1026 priv->hp_detect = NULL; in snd_byt_rt5651_mc_probe()
87 struct pmac_gpio hp_detect; member928 if (mix->hp_detect.addr) in tumbler_detect_headphone()929 detect |= read_audio_gpio(&mix->hp_detect); in tumbler_detect_headphone()1252 val = do_gpio_read(&mix->hp_detect); in tumbler_resume()1253 do_gpio_write(&mix->hp_detect, val | 0x80); in tumbler_resume()1291 NULL, &mix->hp_detect, 0); in tumbler_init()1294 NULL, &mix->hp_detect, 1); in tumbler_init()1297 NULL, &mix->hp_detect, 1); in tumbler_init()1327 tumbler_gpio_free(&mix->hp_detect); in tumbler_cleanup()1463 val = do_gpio_read(&mix->hp_detect); in snd_pmac_tumbler_init()[all …]