Searched refs:gpio_priv (Results 1 – 3 of 3) sorted by relevance
55 struct snd_ac97_gpio_priv *gpio_priv = gpiochip_get_data(chip); in gpio_to_component() local57 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() local97 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() local132 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 …]
29 struct gpio_priv { struct34 #define MDC_PIN(bus) (((struct gpio_priv *)bus->priv)->mdc_pin) argument35 #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()
282 struct snd_ac97_gpio_priv *gpio_priv; member