Home
last modified time | relevance | path

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

/linux-6.1.9/sound/soc/
Dsoc-ac97.c55 struct snd_ac97_gpio_priv *gpio_priv = gpiochip_get_data(chip); in gpio_to_component() local
57 return gpio_priv->component; in gpio_to_component()
94 struct snd_ac97_gpio_priv *gpio_priv = gpiochip_get_data(chip); in snd_soc_ac97_gpio_set() local
97 gpio_priv->gpios_set &= ~(1 << offset); in snd_soc_ac97_gpio_set()
98 gpio_priv->gpios_set |= (!!value) << offset; in snd_soc_ac97_gpio_set()
100 gpio_priv->gpios_set); in snd_soc_ac97_gpio_set()
129 struct snd_ac97_gpio_priv *gpio_priv; in snd_soc_ac97_init_gpio() local
132 gpio_priv = devm_kzalloc(component->dev, sizeof(*gpio_priv), GFP_KERNEL); in snd_soc_ac97_init_gpio()
133 if (!gpio_priv) in snd_soc_ac97_init_gpio()
135 ac97->gpio_priv = gpio_priv; in snd_soc_ac97_init_gpio()
[all …]
/linux-6.1.9/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-6.1.9/include/sound/
Dac97_codec.h282 struct snd_ac97_gpio_priv *gpio_priv; member