Searched refs:mcp23s08 (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/drivers/pinctrl/ |
D | pinctrl-mcp23s08.c | 136 static int mcp_read(struct mcp23s08 *mcp, unsigned int reg, unsigned int *val) in mcp_read() 141 static int mcp_write(struct mcp23s08 *mcp, unsigned int reg, unsigned int val) in mcp_write() 146 static int mcp_set_mask(struct mcp23s08 *mcp, unsigned int reg, in mcp_set_mask() 154 static int mcp_set_bit(struct mcp23s08 *mcp, unsigned int reg, in mcp_set_bit() 223 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_get() 247 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_set() 280 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_direction_input() 292 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_get() 310 static int __mcp23s08_set(struct mcp23s08 *mcp, unsigned mask, bool value) in __mcp23s08_set() 317 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_set() [all …]
|
D | pinctrl-mcp23s08_spi.c | 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()
|
D | pinctrl-mcp23s08.h | 25 struct mcp23s08 { struct 51 int mcp23s08_probe_one(struct mcp23s08 *mcp, struct device *dev, argument
|
D | pinctrl-mcp23s08_i2c.c | 15 struct mcp23s08 *mcp; in mcp230xx_probe()
|
D | Makefile | 26 obj-$(CONFIG_PINCTRL_MCP23S08) += pinctrl-mcp23s08.o
|
/Linux-v5.10/Documentation/devicetree/bindings/pinctrl/ |
D | pinctrl-mcp23s08.txt | 6 - "mcp,mcp23s08" (DEPRECATED) for 8 GPIO SPI version 11 - "microchip,mcp23s08" for 8 GPIO SPI version 38 which is 0x08. mcp23s08 chip variant only supports bits 0-3. It is not 39 possible to mix mcp23s08 and mcp23s17 on the same chipselect. Set at
|