Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/xen/
Dxen-front-pgdir-shbuf.c283 struct xen_page_directory *page_dir = in backend_map() local
296 page_dir->gref[cur_gref], in backend_map()
336 struct xen_page_directory *page_dir; in backend_fill_page_dir() local
345 page_dir = (struct xen_page_directory *)ptr; in backend_fill_page_dir()
347 page_dir->gref_dir_next_page = buf->grefs[i + 1]; in backend_fill_page_dir()
351 page_dir = (struct xen_page_directory *)ptr; in backend_fill_page_dir()
352 page_dir->gref_dir_next_page = GRANT_INVALID_REF; in backend_fill_page_dir()
376 struct xen_page_directory *page_dir = in guest_fill_page_dir() local
381 page_dir->gref_dir_next_page = GRANT_INVALID_REF; in guest_fill_page_dir()
384 page_dir->gref_dir_next_page = buf->grefs[i + 1]; in guest_fill_page_dir()
[all …]
/Linux-v5.4/drivers/char/agp/
Dsworks-agp.c141 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
[all …]
Dati-agp.c345 struct ati_page_map page_dir; in ati_create_gatt_table() local
354 retval = ati_create_page_map(&page_dir); in ati_create_gatt_table()
360 ati_free_page_map(&page_dir); in ati_create_gatt_table()
364 agp_bridge->gatt_table_real = (u32 *)page_dir.real; in ati_create_gatt_table()
365 agp_bridge->gatt_table = (u32 __iomem *) page_dir.remapped; in ati_create_gatt_table()
366 agp_bridge->gatt_bus_addr = virt_to_phys(page_dir.real); in ati_create_gatt_table()
396 page_dir.remapped+GET_PAGE_DIR_OFF(addr)); in ati_create_gatt_table()
397 readl(page_dir.remapped+GET_PAGE_DIR_OFF(addr)); /* PCI Posting. */ in ati_create_gatt_table()
411 struct ati_page_map page_dir; in ati_free_gatt_table() local
413 page_dir.real = (unsigned long *)agp_bridge->gatt_table_real; in ati_free_gatt_table()
[all …]
Damd-k7-agp.c127 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()
[all …]