Home
last modified time | relevance | path

Searched refs:page_dir (Results 1 – 3 of 3) sorted by relevance

/drivers/char/agp/
Dsworks-agp.c140 struct serverworks_page_map page_dir; in serverworks_create_gatt_table() local
146 retval = serverworks_create_page_map(&page_dir); in serverworks_create_gatt_table()
152 serverworks_free_page_map(&page_dir); in serverworks_create_gatt_table()
158 writel(virt_to_phys(serverworks_private.scratch_dir.real) | 1, page_dir.remapped+i); in serverworks_create_gatt_table()
163 serverworks_free_page_map(&page_dir); in serverworks_create_gatt_table()
168 agp_bridge->gatt_table_real = (u32 *)page_dir.real; in serverworks_create_gatt_table()
169 agp_bridge->gatt_table = (u32 __iomem *)page_dir.remapped; in serverworks_create_gatt_table()
170 agp_bridge->gatt_bus_addr = virt_to_phys(page_dir.real); in serverworks_create_gatt_table()
182 writel(virt_to_phys(serverworks_private.gatt_pages[i]->real)|1, page_dir.remapped+i); in serverworks_create_gatt_table()
189 struct serverworks_page_map page_dir; in serverworks_free_gatt_table() local
[all …]
Dati-agp.c343 struct ati_page_map page_dir; in ati_create_gatt_table() local
352 retval = ati_create_page_map(&page_dir); in ati_create_gatt_table()
358 ati_free_page_map(&page_dir); in ati_create_gatt_table()
362 agp_bridge->gatt_table_real = (u32 *)page_dir.real; in ati_create_gatt_table()
363 agp_bridge->gatt_table = (u32 __iomem *) page_dir.remapped; in ati_create_gatt_table()
364 agp_bridge->gatt_bus_addr = virt_to_phys(page_dir.real); in ati_create_gatt_table()
394 page_dir.remapped+GET_PAGE_DIR_OFF(addr)); in ati_create_gatt_table()
395 readl(page_dir.remapped+GET_PAGE_DIR_OFF(addr)); /* PCI Posting. */ in ati_create_gatt_table()
409 struct ati_page_map page_dir; in ati_free_gatt_table() local
411 page_dir.real = (unsigned long *)agp_bridge->gatt_table_real; in ati_free_gatt_table()
[all …]
Damd-k7-agp.c125 struct amd_page_map page_dir; in amd_create_gatt_table() local
132 retval = amd_create_page_map(&page_dir); in amd_create_gatt_table()
138 amd_free_page_map(&page_dir); in amd_create_gatt_table()
142 agp_bridge->gatt_table_real = (u32 *)page_dir.real; in amd_create_gatt_table()
143 agp_bridge->gatt_table = (u32 __iomem *)page_dir.remapped; in amd_create_gatt_table()
144 agp_bridge->gatt_bus_addr = virt_to_phys(page_dir.real); in amd_create_gatt_table()
157 page_dir.remapped+GET_PAGE_DIR_OFF(addr)); in amd_create_gatt_table()
158 readl(page_dir.remapped+GET_PAGE_DIR_OFF(addr)); /* PCI Posting. */ in amd_create_gatt_table()
173 struct amd_page_map page_dir; in amd_free_gatt_table() local
175 page_dir.real = (unsigned long *)agp_bridge->gatt_table_real; in amd_free_gatt_table()
[all …]