Searched refs:gpio_priv (Results 1 – 3 of 3) sorted by relevance
57 struct snd_ac97_gpio_priv *gpio_priv = gpiochip_get_data(chip); in gpio_to_component() local59 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() local100 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() local135 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 …]
41 struct gpio_priv { struct46 #define MDC_PIN(bus) (((struct gpio_priv *)bus->priv)->mdc_pin) argument47 #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()
282 struct snd_ac97_gpio_priv *gpio_priv; member