Searched refs:MCP_IOCON (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/pinctrl/ |
H A D | pinctrl-mcp23s08.c | 32 #define MCP_IOCON 0x05 macro 51 {.reg = MCP_IOCON, .def = 0x00}, 96 {.reg = MCP_IOCON << 1, .def = 0x0000}, 561 /* verify MCP_IOCON.SEQOP = 0, so sequential reads work, in mcp23s08_probe_one() 562 * and MCP_IOCON.HAEN = 1, so we work with all chips. in mcp23s08_probe_one() 565 ret = mcp_read(mcp, MCP_IOCON, &status); in mcp23s08_probe_one() 599 ret = mcp_write(mcp, MCP_IOCON, status); in mcp23s08_probe_one()
|
/kernel/linux/linux-6.6/drivers/pinctrl/ |
H A D | pinctrl-mcp23s08.c | 34 #define MCP_IOCON 0x05 macro 53 {.reg = MCP_IOCON, .def = 0x00}, 98 {.reg = MCP_IOCON << 1, .def = 0x0000}, 609 /* verify MCP_IOCON.SEQOP = 0, so sequential reads work, in mcp23s08_probe_one() 610 * and MCP_IOCON.HAEN = 1, so we work with all chips. in mcp23s08_probe_one() 613 ret = mcp_read(mcp, MCP_IOCON, &status); in mcp23s08_probe_one() 647 ret = mcp_write(mcp, MCP_IOCON, status); in mcp23s08_probe_one()
|
Completed in 3 milliseconds