Home
last modified time | relevance | path

Searched refs:gpio_priv (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/sound/soc/
Dsoc-ac97.c54 struct snd_ac97_gpio_priv *gpio_priv = gpiochip_get_data(chip); in gpio_to_component() local
56 return gpio_priv->component; in gpio_to_component()
93 struct snd_ac97_gpio_priv *gpio_priv = gpiochip_get_data(chip); in snd_soc_ac97_gpio_set() local
96 gpio_priv->gpios_set &= ~(1 << offset); in snd_soc_ac97_gpio_set()
97 gpio_priv->gpios_set |= (!!value) << offset; in snd_soc_ac97_gpio_set()
99 gpio_priv->gpios_set); in snd_soc_ac97_gpio_set()
128 struct snd_ac97_gpio_priv *gpio_priv; in snd_soc_ac97_init_gpio() local
131 gpio_priv = devm_kzalloc(component->dev, sizeof(*gpio_priv), GFP_KERNEL); in snd_soc_ac97_init_gpio()
132 if (!gpio_priv) in snd_soc_ac97_init_gpio()
134 ac97->gpio_priv = gpio_priv; in snd_soc_ac97_init_gpio()
[all …]
/Linux-v6.6/arch/powerpc/platforms/pasemi/
Dgpio_mdio.c29 struct gpio_priv { struct
34 #define MDC_PIN(bus) (((struct gpio_priv *)bus->priv)->mdc_pin) argument
35 #define MDIO_PIN(bus) (((struct gpio_priv *)bus->priv)->mdio_pin)
212 struct gpio_priv *priv; in gpio_mdio_probe()
217 priv = kzalloc(sizeof(struct gpio_priv), GFP_KERNEL); in gpio_mdio_probe()
/Linux-v6.6/include/sound/
Dac97_codec.h282 struct snd_ac97_gpio_priv *gpio_priv; member