Lines Matching full:arizona
3 * arizona-spi.c -- Arizona SPI bus interface
19 #include <linux/mfd/arizona/core.h>
21 #include "arizona.h"
26 struct arizona *arizona; in arizona_spi_probe() local
62 arizona = devm_kzalloc(&spi->dev, sizeof(*arizona), GFP_KERNEL); in arizona_spi_probe()
63 if (arizona == NULL) in arizona_spi_probe()
66 arizona->regmap = devm_regmap_init_spi(spi, regmap_config); in arizona_spi_probe()
67 if (IS_ERR(arizona->regmap)) { in arizona_spi_probe()
68 ret = PTR_ERR(arizona->regmap); in arizona_spi_probe()
74 arizona->type = type; in arizona_spi_probe()
75 arizona->dev = &spi->dev; in arizona_spi_probe()
76 arizona->irq = spi->irq; in arizona_spi_probe()
78 return arizona_dev_init(arizona); in arizona_spi_probe()
83 struct arizona *arizona = spi_get_drvdata(spi); in arizona_spi_remove() local
85 arizona_dev_exit(arizona); in arizona_spi_remove()
102 .name = "arizona",
113 MODULE_DESCRIPTION("Arizona SPI bus interface");