Searched refs:gp_idx (Results 1 – 1 of 1) sorted by relevance
104 u8 gp_idx; member597 mcp->gp_idx = offsetof(struct mcp_get_gpio, gpio[offset]); in mcp_gpio_get()614 mcp->gp_idx = offsetof(struct mcp_set_gpio, gpio[offset].value); in mcp_gpio_set()616 mcp->txbuf[mcp->gp_idx - 1] = 1; in mcp_gpio_set()617 mcp->txbuf[mcp->gp_idx] = !!value; in mcp_gpio_set()630 mcp->gp_idx = offsetof(struct mcp_set_gpio, gpio[offset].direction); in mcp_gpio_dir_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()678 mcp->gp_idx = offsetof(struct mcp_get_gpio, gpio[offset]); in mcp_gpio_get_direction()812 if ((data[mcp->gp_idx] == MCP2221_ALT_F_NOT_GPIOV) || in mcp2221_raw_event()[all …]