Home
last modified time | relevance | path

Searched refs:page_map (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/char/agp/
H A Dati-agp.c56 static int ati_create_page_map(struct ati_page_map *page_map) in ati_create_page_map() argument
60 page_map->real = (unsigned long *) __get_free_page(GFP_KERNEL); in ati_create_page_map()
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()
67 free_page((unsigned long)page_map->real); in ati_create_page_map()
70 page_map->remapped = page_map->real; in ati_create_page_map()
73 writel(agp_bridge->scratch_page, page_map->remapped+i); in ati_create_page_map()
74 readl(page_map->remapped+i); /* PCI Posting. */ in ati_create_page_map()
81 static void ati_free_page_map(struct ati_page_map *page_map) in ati_free_page_map() argument
[all …]
H A Damd-k7-agp.c37 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()
H A Dsworks-agp.c48 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/
H A Dmr.c568 mr->page_map = dma_map_single(device->dev.parent, mr->pages, in mlx4_alloc_priv_pages()
571 if (dma_mapping_error(device->dev.parent, mr->page_map)) { in mlx4_alloc_priv_pages()
589 dma_unmap_single(device->dev.parent, mr->page_map, in mlx4_free_priv_pages()
708 ib_dma_sync_single_for_cpu(ibmr->device, mr->page_map, in mlx4_ib_map_mr_sg()
713 ib_dma_sync_single_for_device(ibmr->device, mr->page_map, in mlx4_ib_map_mr_sg()
H A Dmlx4_ib.h137 dma_addr_t page_map; member
H A Dqp.c3314 fseg->buf_list = cpu_to_be64(mr->page_map); in set_reg_seg()
/linux/drivers/md/dm-vdo/
H A Dblock-map.h66 struct int_map *page_map; member