Searched refs:ggc (Results 1 – 1 of 1) sorted by relevance
50 static int gb_gpio_line_count_operation(struct gb_gpio_controller *ggc) in gb_gpio_line_count_operation() argument55 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_LINE_COUNT, in gb_gpio_line_count_operation()58 ggc->line_max = response.count; in gb_gpio_line_count_operation()62 static int gb_gpio_activate_operation(struct gb_gpio_controller *ggc, u8 which) in gb_gpio_activate_operation() argument65 struct gbphy_device *gbphy_dev = ggc->gbphy_dev; in gb_gpio_activate_operation()73 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_ACTIVATE, in gb_gpio_activate_operation()80 ggc->lines[which].active = true; in gb_gpio_activate_operation()85 static void gb_gpio_deactivate_operation(struct gb_gpio_controller *ggc, in gb_gpio_deactivate_operation() argument88 struct gbphy_device *gbphy_dev = ggc->gbphy_dev; in gb_gpio_deactivate_operation()94 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_DEACTIVATE, in gb_gpio_deactivate_operation()[all …]