Searched refs:gpio_hp_det (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/sound/soc/rockchip/ |
D | rk3288_hdmi_analog.c | 42 int gpio_hp_det; member 138 if (gpio_is_valid(machine->gpio_hp_det)) { in rk_init() 143 rk_hp_jack_gpio.gpio = machine->gpio_hp_det; in rk_init() 200 machine->gpio_hp_det = of_get_named_gpio(np, in snd_rk_mc_probe() 202 if (!gpio_is_valid(machine->gpio_hp_det) && machine->gpio_hp_det != -ENODEV) in snd_rk_mc_probe() 203 return machine->gpio_hp_det; in snd_rk_mc_probe()
|
/Linux-v4.19/sound/soc/tegra/ |
D | tegra_rt5640.c | 46 int gpio_hp_det; member 117 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_rt5640_asoc_init() 118 tegra_rt5640_hp_jack_gpio.gpio = machine->gpio_hp_det; in tegra_rt5640_asoc_init() 166 machine->gpio_hp_det = of_get_named_gpio_flags( in tegra_rt5640_probe() 168 if (machine->gpio_hp_det == -EPROBE_DEFER) in tegra_rt5640_probe()
|
D | tegra_max98090.c | 44 int gpio_hp_det; member 150 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_max98090_asoc_init() 157 tegra_max98090_hp_jack_gpio.gpio = machine->gpio_hp_det; in tegra_max98090_asoc_init() 216 machine->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_max98090_probe() 217 if (machine->gpio_hp_det == -EPROBE_DEFER) in tegra_max98090_probe()
|
D | tegra_alc5632.c | 36 int gpio_hp_det; member 115 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_alc5632_asoc_init() 116 tegra_alc5632_hp_jack_gpio.gpio = machine->gpio_hp_det; in tegra_alc5632_asoc_init() 165 alc5632->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_alc5632_probe() 166 if (alc5632->gpio_hp_det == -EPROBE_DEFER) in tegra_alc5632_probe()
|
D | tegra_rt5677.c | 46 int gpio_hp_det; member 150 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_rt5677_asoc_init() 151 tegra_rt5677_hp_jack_gpio.gpio = machine->gpio_hp_det; in tegra_rt5677_asoc_init() 209 machine->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_rt5677_probe() 210 if (machine->gpio_hp_det == -EPROBE_DEFER) in tegra_rt5677_probe()
|
D | tegra_wm8903.c | 51 int gpio_hp_det; member 177 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_wm8903_init() 178 tegra_wm8903_hp_jack_gpio.gpio = machine->gpio_hp_det; in tegra_wm8903_init() 277 machine->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_wm8903_driver_probe() 278 if (machine->gpio_hp_det == -EPROBE_DEFER) in tegra_wm8903_driver_probe()
|