Lines Matching full:arizona

3  * gpiolib support for Wolfson Arizona class devices
17 #include <linux/mfd/arizona/core.h>
18 #include <linux/mfd/arizona/pdata.h>
19 #include <linux/mfd/arizona/registers.h>
22 struct arizona *arizona; member
29 struct arizona *arizona = arizona_gpio->arizona; in arizona_gpio_direction_in() local
34 ret = regmap_update_bits_check(arizona->regmap, in arizona_gpio_direction_in()
52 struct arizona *arizona = arizona_gpio->arizona; in arizona_gpio_get() local
57 ret = regmap_read(arizona->regmap, reg, &val); in arizona_gpio_get()
71 ret = regcache_drop_region(arizona->regmap, reg, reg); in arizona_gpio_get()
79 ret = regmap_read(arizona->regmap, reg, &val); in arizona_gpio_get()
99 struct arizona *arizona = arizona_gpio->arizona; in arizona_gpio_direction_out() local
104 ret = regmap_read(arizona->regmap, ARIZONA_GPIO1_CTRL + offset, &val); in arizona_gpio_direction_out()
120 return regmap_update_bits(arizona->regmap, ARIZONA_GPIO1_CTRL + offset, in arizona_gpio_direction_out()
127 struct arizona *arizona = arizona_gpio->arizona; in arizona_gpio_set() local
132 regmap_update_bits(arizona->regmap, ARIZONA_GPIO1_CTRL + offset, in arizona_gpio_set()
137 .label = "arizona",
148 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in arizona_gpio_probe() local
149 struct arizona_pdata *pdata = &arizona->pdata; in arizona_gpio_probe()
160 arizona_gpio->arizona = arizona; in arizona_gpio_probe()
164 switch (arizona->type) { in arizona_gpio_probe()
179 arizona->type); in arizona_gpio_probe()
203 .driver.name = "arizona-gpio",
210 MODULE_DESCRIPTION("GPIO interface for Arizona devices");
212 MODULE_ALIAS("platform:arizona-gpio");