Searched refs:gp_idx (Results 1 – 1 of 1) sorted by relevance
104 u8 gp_idx; member616 mcp->txbuf[mcp->gp_idx - 1] = 1; in mcp_gpio_set()617 mcp->txbuf[mcp->gp_idx] = !!value; in mcp_gpio_set()632 mcp->txbuf[mcp->gp_idx - 1] = 1; in mcp_gpio_dir_set()633 mcp->txbuf[mcp->gp_idx] = val; in mcp_gpio_dir_set()812 if ((data[mcp->gp_idx] == MCP2221_ALT_F_NOT_GPIOV) || in mcp2221_raw_event()813 (data[mcp->gp_idx + 1] == MCP2221_ALT_F_NOT_GPIOD)) { in mcp2221_raw_event()816 mcp->status = !!data[mcp->gp_idx]; in mcp2221_raw_event()817 mcp->gpio_dir = data[mcp->gp_idx + 1]; in mcp2221_raw_event()829 if ((data[mcp->gp_idx] == MCP2221_ALT_F_NOT_GPIOV) || in mcp2221_raw_event()[all …]