Searched refs:scratch_page (Results 1 - 14 of 14) sorted by relevance
/linux-4.1.27/drivers/char/ |
H A D | mspec.c | 105 static unsigned long scratch_page[MAX_NUMNODES]; variable 120 p = (void *)TO_AMO(scratch_page[nid]); mspec_zero_block() 376 scratch_page[nid] = uncached_alloc_page(nid, 1); for_each_node_state() 377 if (scratch_page[nid] == 0) for_each_node_state() 379 phys = __pa(scratch_page[nid]); for_each_node_state() 422 if (scratch_page[nid] != 0) for_each_node() 423 uncached_free_page(scratch_page[nid], 1); for_each_node() 439 if (scratch_page[nid] != 0) for_each_node() 440 uncached_free_page(scratch_page[nid], 1); for_each_node()
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
H A D | psb_drv.c | 196 if (dev_priv->scratch_page) { psb_driver_unload() 197 set_pages_wb(dev_priv->scratch_page, 1); psb_driver_unload() 198 __free_page(dev_priv->scratch_page); psb_driver_unload() 199 dev_priv->scratch_page = NULL; psb_driver_unload() 318 dev_priv->scratch_page = alloc_page(GFP_DMA32 | __GFP_ZERO); psb_driver_load() 319 if (!dev_priv->scratch_page) psb_driver_load() 322 set_pages_uc(dev_priv->scratch_page, 1); psb_driver_load()
|
H A D | gtt.c | 143 pte = psb_gtt_mask_pte(page_to_pfn(dev_priv->scratch_page), psb_gtt_remove() 548 pfn_base = page_to_pfn(dev_priv->scratch_page); psb_gtt_init()
|
H A D | psb_drv.h | 456 struct page *scratch_page; member in struct:drm_psb_private
|
/linux-4.1.27/drivers/char/agp/ |
H A D | ati-agp.c | 68 writel(agp_bridge->scratch_page, page_map->remapped+i); ati_create_page_map() 332 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); ati_remove_memory() 401 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); ati_create_gatt_table()
|
H A D | sworks-agp.c | 60 writel(agp_bridge->scratch_page, page_map->remapped+i); serverworks_create_page_map() 157 writel(agp_bridge->scratch_page, serverworks_private.scratch_dir.remapped+i); serverworks_create_gatt_table() 377 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); serverworks_remove_memory()
|
H A D | agp.h | 135 unsigned long scratch_page; member in struct:agp_bridge_data 172 #define PGE_EMPTY(b, p) (!(p) || (p) == (unsigned long) (b)->scratch_page)
|
H A D | parisc-agp.c | 108 info->gatt[i] = (unsigned long)agp_bridge->scratch_page; parisc_agp_create_gatt_table() 187 info->gatt[i] = agp_bridge->scratch_page; parisc_agp_remove_memory()
|
H A D | amd-k7-agp.c | 48 writel(agp_bridge->scratch_page, page_map->remapped+i); amd_create_page_map() 164 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); amd_create_gatt_table() 338 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); amd_remove_memory()
|
H A D | hp-agp.c | 312 hp->gatt[i] = (unsigned long) agp_bridge->scratch_page; hp_zx1_create_gatt_table() 392 hp->gatt[i] = agp_bridge->scratch_page; hp_zx1_remove_memory()
|
H A D | backend.c | 156 bridge->scratch_page = bridge->driver->mask_memory(bridge, agp_backend_initialize()
|
H A D | intel-gtt.c | 75 struct page *scratch_page; member in struct:_intel_private 313 intel_private.scratch_page = page; intel_gtt_setup_scratch_page() 557 set_pages_wb(intel_private.scratch_page, 1); intel_gtt_teardown_scratch_page() 560 __free_page(intel_private.scratch_page); intel_gtt_teardown_scratch_page()
|
H A D | nvidia-agp.c | 254 writel(agp_bridge->scratch_page, agp_bridge->gatt_table+nvidia_private.pg_offset+i); nvidia_remove_memory()
|
H A D | generic.c | 968 writel(bridge->scratch_page, bridge->gatt_table+i); agp_generic_create_gatt_table() 1144 writel(bridge->scratch_page, bridge->gatt_table+i); agp_generic_remove_memory()
|
Completed in 2642 milliseconds