Searched refs:page_map (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/gpu/drm/ |
A D | drm_memory.c | 64 struct page **page_map; in agp_remap() local 88 page_map = vmalloc(array_size(num_pages, sizeof(struct page *))); in agp_remap() 89 if (!page_map) in agp_remap() 94 page_map[i] = phys_page_map[i]; in agp_remap() 95 addr = vmap(page_map, num_pages, VM_IOREMAP, PAGE_AGP); in agp_remap() 96 vfree(page_map); in agp_remap()
|
/linux/drivers/char/agp/ |
A D | ati-agp.c | 56 static int ati_create_page_map(struct ati_page_map *page_map) in ati_create_page_map() argument 61 if (page_map->real == NULL) in ati_create_page_map() 64 set_memory_uc((unsigned long)page_map->real, 1); in ati_create_page_map() 65 err = map_page_into_agp(virt_to_page(page_map->real)); in ati_create_page_map() 66 page_map->remapped = page_map->real; in ati_create_page_map() 69 writel(agp_bridge->scratch_page, page_map->remapped+i); in ati_create_page_map() 70 readl(page_map->remapped+i); /* PCI Posting. */ in ati_create_page_map() 77 static void ati_free_page_map(struct ati_page_map *page_map) in ati_free_page_map() argument 79 unmap_page_from_agp(virt_to_page(page_map->real)); in ati_free_page_map() 80 set_memory_wb((unsigned long)page_map->real, 1); in ati_free_page_map() [all …]
|
A D | amd-k7-agp.c | 37 static int amd_create_page_map(struct amd_page_map *page_map) in amd_create_page_map() argument 41 page_map->real = (unsigned long *) __get_free_page(GFP_KERNEL); in amd_create_page_map() 42 if (page_map->real == NULL) in amd_create_page_map() 45 set_memory_uc((unsigned long)page_map->real, 1); in amd_create_page_map() 46 page_map->remapped = page_map->real; in amd_create_page_map() 49 writel(agp_bridge->scratch_page, page_map->remapped+i); in amd_create_page_map() 50 readl(page_map->remapped+i); /* PCI Posting. */ in amd_create_page_map() 56 static void amd_free_page_map(struct amd_page_map *page_map) in amd_free_page_map() argument 58 set_memory_wb((unsigned long)page_map->real, 1); in amd_free_page_map() 59 free_page((unsigned long) page_map->real); in amd_free_page_map()
|
A D | sworks-agp.c | 48 static int serverworks_create_page_map(struct serverworks_page_map *page_map) in serverworks_create_page_map() argument 52 page_map->real = (unsigned long *) __get_free_page(GFP_KERNEL); in serverworks_create_page_map() 53 if (page_map->real == NULL) { in serverworks_create_page_map() 57 set_memory_uc((unsigned long)page_map->real, 1); in serverworks_create_page_map() 58 page_map->remapped = page_map->real; in serverworks_create_page_map() 61 writel(agp_bridge->scratch_page, page_map->remapped+i); in serverworks_create_page_map() 67 static void serverworks_free_page_map(struct serverworks_page_map *page_map) in serverworks_free_page_map() argument 69 set_memory_wb((unsigned long)page_map->real, 1); in serverworks_free_page_map() 70 free_page((unsigned long) page_map->real); in serverworks_free_page_map()
|
/linux/drivers/infiniband/hw/mlx4/ |
A D | mr.c | 569 mr->page_map = dma_map_single(device->dev.parent, mr->pages, in mlx4_alloc_priv_pages() 572 if (dma_mapping_error(device->dev.parent, mr->page_map)) { in mlx4_alloc_priv_pages() 590 dma_unmap_single(device->dev.parent, mr->page_map, in mlx4_free_priv_pages() 709 ib_dma_sync_single_for_cpu(ibmr->device, mr->page_map, in mlx4_ib_map_mr_sg() 714 ib_dma_sync_single_for_device(ibmr->device, mr->page_map, in mlx4_ib_map_mr_sg()
|
A D | mlx4_ib.h | 136 dma_addr_t page_map; member
|
A D | qp.c | 3275 fseg->buf_list = cpu_to_be64(mr->page_map); in set_reg_seg()
|
Completed in 31 milliseconds