Lines Matching refs:page_dir
127 struct amd_page_map page_dir; in amd_create_gatt_table() local
134 retval = amd_create_page_map(&page_dir); in amd_create_gatt_table()
140 amd_free_page_map(&page_dir); in amd_create_gatt_table()
144 agp_bridge->gatt_table_real = (u32 *)page_dir.real; in amd_create_gatt_table()
145 agp_bridge->gatt_table = (u32 __iomem *)page_dir.remapped; in amd_create_gatt_table()
146 agp_bridge->gatt_bus_addr = virt_to_phys(page_dir.real); in amd_create_gatt_table()
159 page_dir.remapped+GET_PAGE_DIR_OFF(addr)); in amd_create_gatt_table()
160 readl(page_dir.remapped+GET_PAGE_DIR_OFF(addr)); /* PCI Posting. */ in amd_create_gatt_table()
175 struct amd_page_map page_dir; in amd_free_gatt_table() local
177 page_dir.real = (unsigned long *)agp_bridge->gatt_table_real; in amd_free_gatt_table()
178 page_dir.remapped = (unsigned long __iomem *)agp_bridge->gatt_table; in amd_free_gatt_table()
181 amd_free_page_map(&page_dir); in amd_free_gatt_table()