Searched refs:mcp23s08 (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpio/
H A Dmcp23s08.c2 * mcp23s08.c - SPI gpio expander driver
11 #include <linux/spi/mcp23s08.h>
38 struct mcp23s08 { struct
51 /* A given spi_device can represent up to four mcp23s08 chips
58 struct mcp23s08 *mcp[4];
59 struct mcp23s08 chip[];
62 static int mcp23s08_read(struct mcp23s08 *mcp, unsigned reg)
73 static int mcp23s08_write(struct mcp23s08 *mcp, unsigned reg, u8 val)
84 mcp23s08_read_regs(struct mcp23s08 *mcp, unsigned reg, u8 *vals, unsigned n)
99 struct mcp23s08 *mc
[all...]
H A DMakefile19 obj-$(CONFIG_GPIO_MCP23S08) += mcp23s08.o

Completed in 163 milliseconds