Lines Matching full:mcp23s08
2 /* MCP23S08 SPI GPIO driver */
10 #include "pinctrl-mcp23s08.h"
22 struct mcp23s08 *mcp[8];
23 struct mcp23s08 chip[];
28 struct mcp23s08 *mcp = context; in mcp23sxx_spi_write()
45 struct mcp23s08 *mcp = context; in mcp23sxx_spi_gather_write()
63 struct mcp23s08 *mcp = context; in mcp23sxx_spi_read()
82 static int mcp23s08_spi_regmap_init(struct mcp23s08 *mcp, struct device *dev, in mcp23s08_spi_regmap_init()
91 mcp->chip.label = devm_kasprintf(dev, GFP_KERNEL, "mcp23s08.%d", addr); in mcp23s08_spi_regmap_init()
222 { "mcp23s08", (kernel_ulong_t)&mcp23s08_spi },
230 { .compatible = "microchip,mcp23s08", .data = &mcp23s08_spi },
234 { .compatible = "mcp,mcp23s08", .data = &mcp23s08_spi },
244 .name = "mcp23s08",
266 MODULE_DESCRIPTION("MCP23S08 SPI GPIO driver");