Searched refs:mcp23s08 (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-mcp23s08.c | 115 static int mcp_read(struct mcp23s08 *mcp, unsigned int reg, unsigned int *val) in mcp_read() 120 static int mcp_write(struct mcp23s08 *mcp, unsigned int reg, unsigned int val) in mcp_write() 125 static int mcp_update_bits(struct mcp23s08 *mcp, unsigned int reg, in mcp_update_bits() 132 static int mcp_set_bit(struct mcp23s08 *mcp, unsigned int reg, in mcp_set_bit() 201 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_get() 227 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_set() 262 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_direction_input() 274 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_get() 295 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_get_multiple() 314 static int __mcp23s08_set(struct mcp23s08 *mcp, unsigned mask, bool value) in __mcp23s08_set() [all …]
|
| H A 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()
|
| H A D | pinctrl-mcp23s08.h | 33 struct mcp23s08 { struct 59 int mcp23s08_probe_one(struct mcp23s08 *mcp, struct device *dev, argument
|
| H A D | pinctrl-mcp23s08_i2c.c | 14 struct mcp23s08 *mcp; in mcp230xx_probe()
|