Home
last modified time | relevance | path

Searched refs:ggc (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/drivers/staging/greybus/
H A Dgpio.c336 mutex_lock(&ggc->irq_lock); in gb_gpio_irq_bus_lock()
492 ggc->lines = kcalloc(ggc->line_max + 1, sizeof(*ggc->lines), in gb_gpio_controller_setup()
494 if (!ggc->lines) in gb_gpio_controller_setup()
510 ggc = kzalloc(sizeof(*ggc), GFP_KERNEL); in gb_gpio_probe()
511 if (!ggc) in gb_gpio_probe()
536 irqc = &ggc->irqc; in gb_gpio_probe()
546 gpio = &ggc->chip; in gb_gpio_probe()
587 kfree(ggc->lines); in gb_gpio_probe()
593 kfree(ggc); in gb_gpio_probe()
611 kfree(ggc->lines); in gb_gpio_remove()
[all …]
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_ttm_stolen_mgr.c126 u32 ggc, gms; in detect_bar2_integrated() local
128 ggc = xe_mmio_read32(xe_root_tile_mmio(xe), GGC); in detect_bar2_integrated()
134 if (drm_WARN_ON(&xe->drm, (ggc & GGMS_MASK) != GGMS_MASK)) in detect_bar2_integrated()
148 gms = REG_FIELD_GET(GMS_MASK, ggc); in detect_bar2_integrated()
/linux-6.15/drivers/gpu/drm/i915/gem/
H A Di915_gem_stolen.c869 u16 ggc, gms; in mtl_get_gms_size() local
871 ggc = intel_uncore_read16(uncore, GGC); in mtl_get_gms_size()
874 if ((ggc & GGMS_MASK) != GGMS_MASK) in mtl_get_gms_size()
878 gms = REG_FIELD_GET(GMS_MASK, ggc); in mtl_get_gms_size()
/linux-6.15/drivers/iommu/intel/
H A Diommu.c4504 unsigned short ggc; in quirk_calpella_no_shadow_gtt() local
4509 if (pci_read_config_word(dev, GGC, &ggc)) in quirk_calpella_no_shadow_gtt()
4512 if (!(ggc & GGC_MEMORY_VT_ENABLED)) { in quirk_calpella_no_shadow_gtt()