Lines Matching full:mcp23s08

2 /* MCP23S08 SPI/I2C GPIO driver */
22 #include "pinctrl-mcp23s08.h"
140 static int mcp_read(struct mcp23s08 *mcp, unsigned int reg, unsigned int *val) in mcp_read()
145 static int mcp_write(struct mcp23s08 *mcp, unsigned int reg, unsigned int val) in mcp_write()
150 static int mcp_update_bits(struct mcp23s08 *mcp, unsigned int reg, in mcp_update_bits()
157 static int mcp_set_bit(struct mcp23s08 *mcp, unsigned int reg, in mcp_set_bit()
226 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_get()
252 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_set()
287 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_direction_input()
299 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_get()
320 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_get_multiple()
339 static int __mcp23s08_set(struct mcp23s08 *mcp, unsigned mask, bool value) in __mcp23s08_set()
346 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_set()
357 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_set_multiple()
367 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_direction_output()
383 struct mcp23s08 *mcp = data; in mcp23s08_irq()
483 struct mcp23s08 *mcp = gpiochip_get_data(gc); in mcp23s08_irq_mask()
493 struct mcp23s08 *mcp = gpiochip_get_data(gc); in mcp23s08_irq_unmask()
503 struct mcp23s08 *mcp = gpiochip_get_data(gc); in mcp23s08_irq_set_type()
533 struct mcp23s08 *mcp = gpiochip_get_data(gc); in mcp23s08_irq_bus_lock()
542 struct mcp23s08 *mcp = gpiochip_get_data(gc); in mcp23s08_irq_bus_unlock()
550 static int mcp23s08_irq_setup(struct mcp23s08 *mcp) in mcp23s08_irq_setup()
576 struct mcp23s08 *mcp = gpiochip_get_data(gc); in mcp23s08_irq_print_chip()
594 int mcp23s08_probe_one(struct mcp23s08 *mcp, struct device *dev, in mcp23s08_probe_one()
705 MODULE_DESCRIPTION("MCP23S08 SPI/I2C GPIO driver");