Searched refs:gpio_hp_en (Results 1 – 3 of 3) sorted by relevance
29 int gpio_hp_en; member38 if (!gpio_is_valid(machine->gpio_hp_en)) in rk_hp_power()41 gpio_set_value_cansleep(machine->gpio_hp_en, in rk_hp_power()190 machine->gpio_hp_en = of_get_named_gpio(np, in snd_rk_mc_probe()192 if (!gpio_is_valid(machine->gpio_hp_en) && machine->gpio_hp_en != -ENODEV) in snd_rk_mc_probe()193 return machine->gpio_hp_en; in snd_rk_mc_probe()195 if (gpio_is_valid(machine->gpio_hp_en)) { in snd_rk_mc_probe()196 ret = devm_gpio_request_one(&pdev->dev, machine->gpio_hp_en, in snd_rk_mc_probe()
23 struct gpio_desc *gpio_hp_en; member37 gpiod_set_value_cansleep(bdw_rt5677->gpio_hp_en, in bdw_rt5677_event_hp()251 bdw_rt5677->gpio_hp_en = gpiod_get(component->dev, "headphone-enable", in bdw_rt5677_init()253 if (IS_ERR(bdw_rt5677->gpio_hp_en)) { in bdw_rt5677_init()255 return PTR_ERR(bdw_rt5677->gpio_hp_en); in bdw_rt5677_init()295 if (!IS_ERR_OR_NULL(bdw_rt5677->gpio_hp_en)) in bdw_rt5677_exit()296 gpiod_put(bdw_rt5677->gpio_hp_en); in bdw_rt5677_exit()
22 struct gpio_desc *gpio_hp_en; member