Searched refs:ggc (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/staging/greybus/ |
D | gpio.c | 53 static int gb_gpio_line_count_operation(struct gb_gpio_controller *ggc) in gb_gpio_line_count_operation() argument 58 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_LINE_COUNT, in gb_gpio_line_count_operation() 61 ggc->line_max = response.count; in gb_gpio_line_count_operation() 65 static int gb_gpio_activate_operation(struct gb_gpio_controller *ggc, u8 which) in gb_gpio_activate_operation() argument 68 struct gbphy_device *gbphy_dev = ggc->gbphy_dev; in gb_gpio_activate_operation() 76 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_ACTIVATE, in gb_gpio_activate_operation() 83 ggc->lines[which].active = true; in gb_gpio_activate_operation() 88 static void gb_gpio_deactivate_operation(struct gb_gpio_controller *ggc, in gb_gpio_deactivate_operation() argument 91 struct gbphy_device *gbphy_dev = ggc->gbphy_dev; in gb_gpio_deactivate_operation() 97 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_DEACTIVATE, in gb_gpio_deactivate_operation() [all …]
|
/Linux-v4.19/drivers/iommu/ |
D | intel-iommu.c | 5419 unsigned short ggc; in quirk_calpella_no_shadow_gtt() local 5421 if (pci_read_config_word(dev, GGC, &ggc)) in quirk_calpella_no_shadow_gtt() 5424 if (!(ggc & GGC_MEMORY_VT_ENABLED)) { in quirk_calpella_no_shadow_gtt()
|