Home
last modified time | relevance | path

Searched refs:gatt (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/char/agp/
Dparisc-agp.c41 u64 *gatt; member
107 info->gatt[i] = (unsigned long)agp_bridge->scratch_page; in parisc_agp_create_gatt_table()
118 info->gatt[0] = SBA_AGPGART_COOKIE; in parisc_agp_free_gatt_table()
144 if (info->gatt[j]) in parisc_agp_insert_memory()
161 info->gatt[j] = in parisc_agp_insert_memory()
164 asm_io_fdc(&info->gatt[j]); in parisc_agp_insert_memory()
187 info->gatt[i] = agp_bridge->scratch_page; in parisc_agp_remove_memory()
270 info->gatt = NULL; in agp_ioc_init()
284 info->gatt = &io_pdir[(PLUTO_IOVA_SIZE/2) >> PAGE_SHIFT]; in agp_ioc_init()
286 if (info->gatt[0] != SBA_AGPGART_COOKIE) { in agp_ioc_init()
[all …]
Dhp-agp.c61 u64 *gatt; // PDIR just for GART (subset of above) member
95 hp->gatt = NULL; in hp_zx1_ioc_shared()
109 hp->gatt = &hp->io_pdir[HP_ZX1_IOVA_TO_PDIR(hp->gart_base)]; in hp_zx1_ioc_shared()
111 if (hp->gatt[0] != HP_ZX1_SBA_IOMMU_COOKIE) { in hp_zx1_ioc_shared()
113 hp->gatt = NULL; in hp_zx1_ioc_shared()
299 hp->gatt = NULL; in hp_zx1_create_gatt_table()
305 hp->gatt = &hp->io_pdir[HP_ZX1_IOVA_TO_PDIR(hp->gart_base)]; in hp_zx1_create_gatt_table()
309 hp->gatt[i] = (unsigned long) agp_bridge->scratch_page; in hp_zx1_create_gatt_table()
324 hp->gatt[0] = HP_ZX1_SBA_IOMMU_COOKIE; in hp_zx1_free_gatt_table()
349 if (hp->gatt[j]) { in hp_zx1_insert_memory()
[all …]
Di460-agp.c55 #define RD_GATT(index) readl((u32 *) i460.gatt + (index))
56 #define WR_GATT(index, val) writel((val), (u32 *) i460.gatt + (index))
67 void *gatt; /* ioremap'd GATT area */ member
254 i460.gatt = ioremap(INTEL_I460_ATTBASE, PAGE_SIZE << page_order); in i460_create_gatt_table()
255 if (!i460.gatt) { in i460_create_gatt_table()
284 iounmap(i460.gatt); in i460_free_gatt_table()
/Linux-v6.6/drivers/mmc/host/
Dvia-sdmmc.c697 u8 gatt; in via_sdc_set_power() local
703 gatt = readb(host->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sdc_set_power()
705 gatt &= ~VIA_CRDR_PCICLKGATT_3V3; in via_sdc_set_power()
707 gatt |= VIA_CRDR_PCICLKGATT_3V3; in via_sdc_set_power()
709 gatt |= VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_sdc_set_power()
711 gatt &= ~VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_sdc_set_power()
712 writeb(gatt, host->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sdc_set_power()
806 u8 gatt; in via_reset_pcictrl() local
815 gatt = VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_reset_pcictrl()
817 gatt &= VIA_CRDR_PCICLKGATT_3V3; in via_reset_pcictrl()
[all …]
/Linux-v6.6/arch/x86/kernel/
Damd_gart_64.c617 void *gatt; in init_amd_gatt() local
644 gatt = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in init_amd_gatt()
646 if (!gatt) in init_amd_gatt()
648 if (set_memory_uc((unsigned long)gatt, gatt_size >> PAGE_SHIFT)) in init_amd_gatt()
651 agp_gatt_table = gatt; in init_amd_gatt()