Searched refs:gpiod_hp_det (Results 1 – 6 of 6) sorted by relevance
130 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()
43 struct gpio_desc *gpiod_hp_det; member
68 bool active_low = gpiod_is_active_low(machine->gpiod_hp_det); in tegra_wm8903_init()
1622 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() argument1866 rt5651->gpiod_hp_det = gpiod_hp_det; in rt5651_enable_jack_detect()1867 if (!rt5651->gpiod_hp_det) in rt5651_enable_jack_detect()
443 struct gpio_desc *gpiod_hp_det; member3272 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()
2073 struct gpio_desc *gpiod_hp_det; member
Completed in 31 milliseconds