Home
last modified time | relevance | path

Searched refs:hp_detect (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/intel/boards/
H A Dbytcr_rt5651.c86 struct gpio_desc *hp_detect; member
645 else if (priv->hp_detect) in byt_rt5651_init()
662 priv->hp_detect); in byt_rt5651_init()
835 priv->hp_detect); in byt_rt5651_resume()
1031 priv->hp_detect = devm_fwnode_gpiod_get(&pdev->dev, in snd_byt_rt5651_mc_probe()
1036 if (IS_ERR(priv->hp_detect)) { in snd_byt_rt5651_mc_probe()
1037 ret_val = PTR_ERR(priv->hp_detect); in snd_byt_rt5651_mc_probe()
1040 priv->hp_detect = NULL; in snd_byt_rt5651_mc_probe()
/kernel/linux/linux-6.6/sound/soc/intel/boards/
H A Dbytcr_rt5651.c86 struct gpio_desc *hp_detect; member
651 else if (priv->hp_detect) in byt_rt5651_init()
669 priv->hp_detect); in byt_rt5651_init()
841 priv->hp_detect); in byt_rt5651_resume()
1030 priv->hp_detect = devm_fwnode_gpiod_get(dev, codec_dev->fwnode, in snd_byt_rt5651_mc_probe()
1034 if (IS_ERR(priv->hp_detect)) { in snd_byt_rt5651_mc_probe()
1035 ret_val = PTR_ERR(priv->hp_detect); in snd_byt_rt5651_mc_probe()
1038 priv->hp_detect = NULL; in snd_byt_rt5651_mc_probe()
/kernel/linux/linux-5.10/sound/ppc/
H A Dtumbler.c87 struct pmac_gpio hp_detect; member
928 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...]
/kernel/linux/linux-6.6/sound/ppc/
H A Dtumbler.c87 struct pmac_gpio hp_detect; member
938 if (mix->hp_detect.addr) in tumbler_detect_headphone()
939 detect |= read_audio_gpio(&mix->hp_detect); in tumbler_detect_headphone()
1260 val = do_gpio_read(&mix->hp_detect); in tumbler_resume()
1261 do_gpio_write(&mix->hp_detect, val | 0x80); in tumbler_resume()
1299 NULL, &mix->hp_detect, 0); in tumbler_init()
1302 NULL, &mix->hp_detect, 1); in tumbler_init()
1305 NULL, &mix->hp_detect, 1); in tumbler_init()
1335 tumbler_gpio_free(&mix->hp_detect); in tumbler_cleanup()
1482 val = do_gpio_read(&mix->hp_detect); in snd_pmac_tumbler_init()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/
H A Dvc4_hdmi.h97 bool (*hp_detect)(struct vc4_hdmi *vc4_hdmi); member
H A Dvc4_hdmi.c479 if (vc4_hdmi->variant->hp_detect && in vc4_hdmi_connector_detect_ctx()
480 vc4_hdmi->variant->hp_detect(vc4_hdmi)) in vc4_hdmi_connector_detect_ctx()
3828 .hp_detect = vc5_hdmi_hp_detect,
3857 .hp_detect = vc5_hdmi_hp_detect,

Completed in 14 milliseconds