Searched refs:gpio_hp_det (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/sound/soc/rockchip/ |
D | rk3288_hdmi_analog.c | 30 int gpio_hp_det; member 126 if (gpio_is_valid(machine->gpio_hp_det)) { in rk_init() 131 rk_hp_jack_gpio.gpio = machine->gpio_hp_det; in rk_init() 185 machine->gpio_hp_det = of_get_named_gpio(np, in snd_rk_mc_probe() 187 if (!gpio_is_valid(machine->gpio_hp_det) && machine->gpio_hp_det != -ENODEV) in snd_rk_mc_probe() 188 return machine->gpio_hp_det; in snd_rk_mc_probe()
|
/Linux-v5.4/sound/soc/tegra/ |
D | tegra_rt5640.c | 35 int gpio_hp_det; member 106 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_rt5640_asoc_init() 107 tegra_rt5640_hp_jack_gpio.gpio = machine->gpio_hp_det; in tegra_rt5640_asoc_init() 160 machine->gpio_hp_det = of_get_named_gpio_flags( in tegra_rt5640_probe() 162 if (machine->gpio_hp_det == -EPROBE_DEFER) in tegra_rt5640_probe()
|
D | tegra_alc5632.c | 33 int gpio_hp_det; member 112 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_alc5632_asoc_init() 113 tegra_alc5632_hp_jack_gpio.gpio = machine->gpio_hp_det; in tegra_alc5632_asoc_init() 167 alc5632->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_alc5632_probe() 168 if (alc5632->gpio_hp_det == -EPROBE_DEFER) in tegra_alc5632_probe()
|
D | tegra_max98090.c | 33 int gpio_hp_det; member 139 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_max98090_asoc_init() 146 tegra_max98090_hp_jack_gpio.gpio = machine->gpio_hp_det; in tegra_max98090_asoc_init() 210 machine->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_max98090_probe() 211 if (machine->gpio_hp_det == -EPROBE_DEFER) in tegra_max98090_probe()
|
D | tegra_rt5677.c | 35 int gpio_hp_det; member 139 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_rt5677_asoc_init() 140 tegra_rt5677_hp_jack_gpio.gpio = machine->gpio_hp_det; in tegra_rt5677_asoc_init() 203 machine->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_rt5677_probe() 204 if (machine->gpio_hp_det == -EPROBE_DEFER) in tegra_rt5677_probe()
|
D | tegra_wm8903.c | 37 int gpio_hp_det; member 163 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_wm8903_init() 164 tegra_wm8903_hp_jack_gpio.gpio = machine->gpio_hp_det; in tegra_wm8903_init() 268 machine->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_wm8903_driver_probe() 269 if (machine->gpio_hp_det == -EPROBE_DEFER) in tegra_wm8903_driver_probe()
|