Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/char/agp/
Dparisc-agp.c45 u64 *gatt; member
108 info->gatt[i] = (unsigned long)agp_bridge->scratch_page; in parisc_agp_create_gatt_table()
119 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()
185 info->gatt[i] = agp_bridge->scratch_page; in parisc_agp_remove_memory()
259 info->gatt = NULL; in agp_ioc_init()
273 info->gatt = &io_pdir[(PLUTO_IOVA_SIZE/2) >> PAGE_SHIFT]; in agp_ioc_init()
275 if (info->gatt[0] != SBA_AGPGART_COOKIE) { in agp_ioc_init()
276 info->gatt = NULL; in agp_ioc_init()
Dhp-agp.c64 u64 *gatt; // PDIR just for GART (subset of above) member
98 hp->gatt = NULL; in hp_zx1_ioc_shared()
112 hp->gatt = &hp->io_pdir[HP_ZX1_IOVA_TO_PDIR(hp->gart_base)]; in hp_zx1_ioc_shared()
114 if (hp->gatt[0] != HP_ZX1_SBA_IOMMU_COOKIE) { in hp_zx1_ioc_shared()
116 hp->gatt = NULL; in hp_zx1_ioc_shared()
302 hp->gatt = NULL; in hp_zx1_create_gatt_table()
308 hp->gatt = &hp->io_pdir[HP_ZX1_IOVA_TO_PDIR(hp->gart_base)]; in hp_zx1_create_gatt_table()
312 hp->gatt[i] = (unsigned long) agp_bridge->scratch_page; in hp_zx1_create_gatt_table()
327 hp->gatt[0] = HP_ZX1_SBA_IOMMU_COOKIE; in hp_zx1_free_gatt_table()
351 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-2.6.39/drivers/mmc/host/
Dvia-sdmmc.c695 u8 gatt; in via_sdc_set_power() local
701 gatt = readb(host->pcictrl_mmiobase + VIA_CRDR_PCICLKGATT); in via_sdc_set_power()
703 gatt &= ~VIA_CRDR_PCICLKGATT_3V3; in via_sdc_set_power()
705 gatt |= VIA_CRDR_PCICLKGATT_3V3; in via_sdc_set_power()
707 gatt |= VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_sdc_set_power()
709 gatt &= ~VIA_CRDR_PCICLKGATT_PAD_PWRON; in via_sdc_set_power()
710 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-2.6.39/arch/x86/kernel/
Dpci-gart_64.c646 void *gatt; in init_amd_gatt() local
673 gatt = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in init_amd_gatt()
675 if (!gatt) in init_amd_gatt()
677 if (set_memory_uc((unsigned long)gatt, gatt_size >> PAGE_SHIFT)) in init_amd_gatt()
680 agp_gatt_table = gatt; in init_amd_gatt()