Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/
H A Dpinctrl-mcp23s08.c116 static int mcp_read(struct mcp23s08 *mcp, unsigned int reg, unsigned int *val) in mcp_read()
121 static int mcp_write(struct mcp23s08 *mcp, unsigned int reg, unsigned int val) in mcp_write()
126 static int mcp_update_bits(struct mcp23s08 *mcp, unsigned int reg, in mcp_update_bits()
133 static int mcp_set_bit(struct mcp23s08 *mcp, unsigned int reg, in mcp_set_bit()
202 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_get()
228 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_set()
263 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_direction_input()
275 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_get()
296 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_get_multiple()
315 static int __mcp23s08_set(struct mcp23s08 *mcp, unsigned mask, bool value) in __mcp23s08_set()
[all …]
H A 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()
H A Dpinctrl-mcp23s08.h33 struct mcp23s08 { struct
59 int mcp23s08_probe_one(struct mcp23s08 *mcp, struct device *dev, argument
H A Dpinctrl-mcp23s08_i2c.c15 struct mcp23s08 *mcp; in mcp230xx_probe()
H A DMakefile45 obj-$(CONFIG_PINCTRL_MCP23S08) += pinctrl-mcp23s08.o