Home
last modified time | relevance | path

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

/Linux-v4.19/sound/soc/
Dsoc-ac97.c57 struct snd_ac97_gpio_priv *gpio_priv = gpiochip_get_data(chip); in gpio_to_component() local
59 return gpio_priv->component; in gpio_to_component()
97 struct snd_ac97_gpio_priv *gpio_priv = gpiochip_get_data(chip); in snd_soc_ac97_gpio_set() local
100 gpio_priv->gpios_set &= ~(1 << offset); in snd_soc_ac97_gpio_set()
101 gpio_priv->gpios_set |= (!!value) << offset; in snd_soc_ac97_gpio_set()
103 gpio_priv->gpios_set); in snd_soc_ac97_gpio_set()
132 struct snd_ac97_gpio_priv *gpio_priv; in snd_soc_ac97_init_gpio() local
135 gpio_priv = devm_kzalloc(component->dev, sizeof(*gpio_priv), GFP_KERNEL); in snd_soc_ac97_init_gpio()
136 if (!gpio_priv) in snd_soc_ac97_init_gpio()
138 ac97->gpio_priv = gpio_priv; in snd_soc_ac97_init_gpio()
[all …]
/Linux-v4.19/arch/powerpc/platforms/pasemi/
Dgpio_mdio.c41 struct gpio_priv { struct
46 #define MDC_PIN(bus) (((struct gpio_priv *)bus->priv)->mdc_pin) argument
47 #define MDIO_PIN(bus) (((struct gpio_priv *)bus->priv)->mdio_pin)
224 struct gpio_priv *priv; in gpio_mdio_probe()
229 priv = kzalloc(sizeof(struct gpio_priv), GFP_KERNEL); in gpio_mdio_probe()
/Linux-v4.19/include/sound/
Dac97_codec.h282 struct snd_ac97_gpio_priv *gpio_priv; member