Searched refs:scratch_page (Results 1 - 14 of 14) sorted by relevance

/linux-4.1.27/drivers/char/
H A Dmspec.c105 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 Dpsb_drv.c196 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 Dgtt.c143 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 Dpsb_drv.h456 struct page *scratch_page; member in struct:drm_psb_private
/linux-4.1.27/drivers/char/agp/
H A Dati-agp.c68 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 Dsworks-agp.c60 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 Dagp.h135 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 Dparisc-agp.c108 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 Damd-k7-agp.c48 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 Dhp-agp.c312 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 Dbackend.c156 bridge->scratch_page = bridge->driver->mask_memory(bridge, agp_backend_initialize()
H A Dintel-gtt.c75 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 Dnvidia-agp.c254 writel(agp_bridge->scratch_page, agp_bridge->gatt_table+nvidia_private.pg_offset+i); nvidia_remove_memory()
H A Dgeneric.c968 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