Lines Matching refs:page_dir
141 struct serverworks_page_map page_dir; in serverworks_create_gatt_table() local
147 retval = serverworks_create_page_map(&page_dir); in serverworks_create_gatt_table()
153 serverworks_free_page_map(&page_dir); in serverworks_create_gatt_table()
159 writel(virt_to_phys(serverworks_private.scratch_dir.real) | 1, page_dir.remapped+i); in serverworks_create_gatt_table()
164 serverworks_free_page_map(&page_dir); in serverworks_create_gatt_table()
169 agp_bridge->gatt_table_real = (u32 *)page_dir.real; in serverworks_create_gatt_table()
170 agp_bridge->gatt_table = (u32 __iomem *)page_dir.remapped; in serverworks_create_gatt_table()
171 agp_bridge->gatt_bus_addr = virt_to_phys(page_dir.real); in serverworks_create_gatt_table()
183 writel(virt_to_phys(serverworks_private.gatt_pages[i]->real)|1, page_dir.remapped+i); in serverworks_create_gatt_table()
190 struct serverworks_page_map page_dir; in serverworks_free_gatt_table() local
192 page_dir.real = (unsigned long *)agp_bridge->gatt_table_real; in serverworks_free_gatt_table()
193 page_dir.remapped = (unsigned long __iomem *)agp_bridge->gatt_table; in serverworks_free_gatt_table()
196 serverworks_free_page_map(&page_dir); in serverworks_free_gatt_table()