Searched refs:hp_detect (Results 1 – 2 of 2) sorted by relevance
86 struct gpio_desc *hp_detect; member659 else if (priv->hp_detect) in byt_rt5651_init()676 priv->hp_detect); in byt_rt5651_init()848 priv->hp_detect); in byt_rt5651_resume()1040 priv->hp_detect = devm_fwnode_gpiod_get(&pdev->dev, in snd_byt_rt5651_mc_probe()1045 if (IS_ERR(priv->hp_detect)) { in snd_byt_rt5651_mc_probe()1046 ret_val = PTR_ERR(priv->hp_detect); in snd_byt_rt5651_mc_probe()1049 priv->hp_detect = NULL; in snd_byt_rt5651_mc_probe()
87 struct pmac_gpio hp_detect; member938 if (mix->hp_detect.addr) in tumbler_detect_headphone()939 detect |= read_audio_gpio(&mix->hp_detect); in tumbler_detect_headphone()1262 val = do_gpio_read(&mix->hp_detect); in tumbler_resume()1263 do_gpio_write(&mix->hp_detect, val | 0x80); in tumbler_resume()1301 NULL, &mix->hp_detect, 0); in tumbler_init()1304 NULL, &mix->hp_detect, 1); in tumbler_init()1307 NULL, &mix->hp_detect, 1); in tumbler_init()1337 tumbler_gpio_free(&mix->hp_detect); in tumbler_cleanup()1484 val = do_gpio_read(&mix->hp_detect); in snd_pmac_tumbler_init()[all …]