Searched refs:gpio_hp_en (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/sound/soc/rockchip/ |
D | rk3288_hdmi_analog.c | 29 int gpio_hp_en; member 38 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()
|
/Linux-v5.4/sound/soc/tegra/ |
D | tegra_rt5677.c | 36 int gpio_hp_en; member 76 if (!gpio_is_valid(machine->gpio_hp_en)) in tegra_rt5677_event_hp() 79 gpio_set_value_cansleep(machine->gpio_hp_en, in tegra_rt5677_event_hp() 212 machine->gpio_hp_en = of_get_named_gpio(np, "nvidia,hp-en-gpios", 0); in tegra_rt5677_probe() 213 if (machine->gpio_hp_en == -EPROBE_DEFER) in tegra_rt5677_probe() 215 if (gpio_is_valid(machine->gpio_hp_en)) { in tegra_rt5677_probe() 216 ret = devm_gpio_request_one(&pdev->dev, machine->gpio_hp_en, in tegra_rt5677_probe()
|
/Linux-v5.4/sound/soc/intel/boards/ |
D | bdw-rt5677.c | 26 struct gpio_desc *gpio_hp_en; member 40 gpiod_set_value_cansleep(bdw_rt5677->gpio_hp_en, in bdw_rt5677_event_hp() 213 bdw_rt5677->gpio_hp_en = devm_gpiod_get(component->dev, "headphone-enable", in bdw_rt5677_init() 215 if (IS_ERR(bdw_rt5677->gpio_hp_en)) { in bdw_rt5677_init() 217 return PTR_ERR(bdw_rt5677->gpio_hp_en); in bdw_rt5677_init()
|