Home
last modified time | relevance | path

Searched refs:mcp23s08 (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/pinctrl/
Dpinctrl-mcp23s08.c138 static int mcp_read(struct mcp23s08 *mcp, unsigned int reg, unsigned int *val) in mcp_read()
143 static int mcp_write(struct mcp23s08 *mcp, unsigned int reg, unsigned int val) in mcp_write()
148 static int mcp_update_bits(struct mcp23s08 *mcp, unsigned int reg, in mcp_update_bits()
155 static int mcp_set_bit(struct mcp23s08 *mcp, unsigned int reg, in mcp_set_bit()
224 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_get()
248 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_set()
281 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_direction_input()
293 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_get()
314 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_get_multiple()
333 static int __mcp23s08_set(struct mcp23s08 *mcp, unsigned mask, bool value) in __mcp23s08_set()
[all …]
Dpinctrl-mcp23s08_spi.c22 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()
Dpinctrl-mcp23s08.h25 struct mcp23s08 { struct
51 int mcp23s08_probe_one(struct mcp23s08 *mcp, struct device *dev, argument
Dpinctrl-mcp23s08_i2c.c16 struct mcp23s08 *mcp; in mcp230xx_probe()
DMakefile37 obj-$(CONFIG_PINCTRL_MCP23S08) += pinctrl-mcp23s08.o
/Linux-v6.6/Documentation/devicetree/bindings/pinctrl/
Dpinctrl-mcp23s08.txt6 - "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