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

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

Completed in 123 milliseconds