Home
last modified time | relevance | path

Searched refs:gpiod_hp_det (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/sound/soc/codecs/
Drt5651.c1622 if (rt5651->gpiod_hp_det) { in rt5651_jack_inserted()
1623 val = gpiod_get_value_cansleep(rt5651->gpiod_hp_det); in rt5651_jack_inserted()
1778 rt5651->gpiod_hp_det == NULL; in rt5651_support_button_press()
1858 struct gpio_desc *gpiod_hp_det) in rt5651_enable_jack_detect() argument
1866 rt5651->gpiod_hp_det = gpiod_hp_det; in rt5651_enable_jack_detect()
1867 if (!rt5651->gpiod_hp_det) in rt5651_enable_jack_detect()
Drt5645.c416 struct gpio_desc *gpiod_hp_det; member
3262 if (rt5645->gpiod_hp_det) { in rt5645_jack_detect_work()
3263 gpio_state = gpiod_get_value(rt5645->gpiod_hp_det); in rt5645_jack_detect_work()
3851 rt5645->gpiod_hp_det = devm_gpiod_get_optional(&i2c->dev, "hp-detect", in rt5645_i2c_probe()
3854 if (IS_ERR(rt5645->gpiod_hp_det)) { in rt5645_i2c_probe()
3856 ret = PTR_ERR(rt5645->gpiod_hp_det); in rt5645_i2c_probe()
Drt5651.h2073 struct gpio_desc *gpiod_hp_det; member