Searched refs:ggc (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/staging/greybus/ |
H A D | gpio.c | 55 static int gb_gpio_line_count_operation(struct gb_gpio_controller *ggc) in gb_gpio_line_count_operation() argument 60 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_LINE_COUNT, in gb_gpio_line_count_operation() 63 ggc->line_max = response.count; in gb_gpio_line_count_operation() 67 static int gb_gpio_activate_operation(struct gb_gpio_controller *ggc, u8 which) in gb_gpio_activate_operation() argument 70 struct gbphy_device *gbphy_dev = ggc->gbphy_dev; in gb_gpio_activate_operation() 78 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_ACTIVATE, in gb_gpio_activate_operation() 85 ggc->lines[which].active = true; in gb_gpio_activate_operation() 90 static void gb_gpio_deactivate_operation(struct gb_gpio_controller *ggc, in gb_gpio_deactivate_operation() argument 93 struct gbphy_device *gbphy_dev = ggc->gbphy_dev; in gb_gpio_deactivate_operation() 99 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_DEACTIVATE, in gb_gpio_deactivate_operation() [all …]
|
/openbmc/u-boot/arch/x86/cpu/ivybridge/ |
H A D | sdram.c | 237 uint16_t ggc; in sdram_find() local 304 dm_pci_read_config16(dev, GGC, &ggc); in sdram_find() 305 if (!(ggc & 2)) { in sdram_find() 309 uma_size = ((ggc >> 3) & 0x1f) * 32 * 1024ULL; in sdram_find() 315 uma_size = ((ggc >> 8) & 0x3) * 1024ULL; in sdram_find()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_stolen.c | 851 u16 ggc, gms; in mtl_get_gms_size() local 853 ggc = intel_uncore_read16(uncore, GGC); in mtl_get_gms_size() 856 if ((ggc & GGMS_MASK) != GGMS_MASK) in mtl_get_gms_size() 860 gms = REG_FIELD_GET(GMS_MASK, ggc); in mtl_get_gms_size()
|
/openbmc/linux/drivers/iommu/intel/ |
H A D | iommu.c | 4917 unsigned short ggc; in quirk_calpella_no_shadow_gtt() local 4922 if (pci_read_config_word(dev, GGC, &ggc)) in quirk_calpella_no_shadow_gtt() 4925 if (!(ggc & GGC_MEMORY_VT_ENABLED)) { in quirk_calpella_no_shadow_gtt()
|