Searched refs:mcp_read (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/pinctrl/ |
H A D | pinctrl-mcp23s08.c | 138 static int mcp_read(struct mcp23s08 *mcp, unsigned int reg, unsigned int *val) in mcp_read() function 231 ret = mcp_read(mcp, MCP_GPPU, &data); in mcp_pinconf_get() 299 ret = mcp_read(mcp, MCP_GPIO, &status); in mcp23s08_get() 321 ret = mcp_read(mcp, MCP_GPIO, &status); in mcp23s08_get_multiple() 385 if (mcp_read(mcp, MCP_INTF, &intf)) in mcp23s08_irq() 393 if (mcp_read(mcp, MCP_INTCAP, &intcap)) in mcp23s08_irq() 396 if (mcp_read(mcp, MCP_INTCON, &intcon)) in mcp23s08_irq() 399 if (mcp_read(mcp, MCP_GPINTEN, &gpinten)) in mcp23s08_irq() 402 if (mcp_read(mcp, MCP_DEFVAL, &defval)) in mcp23s08_irq() 406 if (mcp_read(mcp, MCP_GPIO, &gpio)) in mcp23s08_irq() [all …]
|