Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-mcp23s08.c138 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()
384 if (mcp_read(mcp, MCP_INTF, &intf)) in mcp23s08_irq()
392 if (mcp_read(mcp, MCP_INTCAP, &intcap)) in mcp23s08_irq()
395 if (mcp_read(mcp, MCP_INTCON, &intcon)) in mcp23s08_irq()
398 if (mcp_read(mcp, MCP_DEFVAL, &defval)) in mcp23s08_irq()
402 if (mcp_read(mcp, MCP_GPIO, &gpio)) in mcp23s08_irq()
613 ret = mcp_read(mcp, MCP_IOCON, &status); in mcp23s08_probe_one()