Home
last modified time | relevance | path

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

/linux/sound/soc/tegra/
A Dtegra_asoc_machine.c130 if (machine->gpiod_hp_det && machine->asoc->add_hp_jack) { in tegra_asoc_machine_init()
147 tegra_machine_hp_jack_gpio.desc = machine->gpiod_hp_det; in tegra_asoc_machine_init()
155 if (machine->gpiod_hp_det && machine->asoc->add_headset_jack) { in tegra_asoc_machine_init()
167 tegra_machine_headset_jack_gpio.desc = machine->gpiod_hp_det; in tegra_asoc_machine_init()
406 machine->gpiod_hp_det = gpiod; in tegra_asoc_machine_probe()
A Dtegra_asoc_machine.h43 struct gpio_desc *gpiod_hp_det; member
A Dtegra_wm8903.c68 bool active_low = gpiod_is_active_low(machine->gpiod_hp_det); in tegra_wm8903_init()
/linux/sound/soc/codecs/
A 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()
A Drt5645.c443 struct gpio_desc *gpiod_hp_det; member
3272 if (rt5645->gpiod_hp_det) { in rt5645_jack_detect_work()
3273 gpio_state = gpiod_get_value(rt5645->gpiod_hp_det); in rt5645_jack_detect_work()
3910 rt5645->gpiod_hp_det = devm_gpiod_get_optional(&i2c->dev, "hp-detect", in rt5645_i2c_probe()
3913 if (IS_ERR(rt5645->gpiod_hp_det)) { in rt5645_i2c_probe()
3915 ret = PTR_ERR(rt5645->gpiod_hp_det); in rt5645_i2c_probe()
A Drt5651.h2073 struct gpio_desc *gpiod_hp_det; member

Completed in 31 milliseconds