Searched refs:jd_gpio (Results 1 – 3 of 3) sorted by relevance
2169 if (rt5640->jd_gpio) in rt5640_jack_inserted()2170 val = gpiod_get_value(rt5640->jd_gpio) ? RT5640_JD_STATUS : 0; in rt5640_jack_inserted()2484 rt5640->jd_gpio = NULL; in rt5640_disable_jack_detect()2546 if (jack_data && jack_data->jd_gpio) { in rt5640_enable_jack_detect()2547 rt5640->jd_gpio = jack_data->jd_gpio; in rt5640_enable_jack_detect()2548 rt5640->jd_gpio_irq = gpiod_to_irq(rt5640->jd_gpio); in rt5640_enable_jack_detect()
2169 struct gpio_desc *jd_gpio; member2179 struct gpio_desc *jd_gpio; member
1271 data->jd_gpio = devm_fwnode_gpiod_get(card->dev, acpi_fwnode_handle(adev), in byt_rt5640_get_amcr0f28_settings()1275 if (IS_ERR(data->jd_gpio)) { in byt_rt5640_get_amcr0f28_settings()1276 ret = PTR_ERR(data->jd_gpio); in byt_rt5640_get_amcr0f28_settings()