Home
last modified time | relevance | path

Searched refs:scratch_page (Results 1 – 11 of 11) sorted by relevance

/drivers/char/
Dmspec.c106 static unsigned long scratch_page[MAX_NUMNODES]; variable
121 p = (void *)TO_AMO(scratch_page[nid]); in mspec_zero_block()
375 scratch_page[nid] = uncached_alloc_page(nid, 1); in mspec_init()
376 if (scratch_page[nid] == 0) in mspec_init()
378 phys = __pa(scratch_page[nid]); in mspec_init()
421 if (scratch_page[nid] != 0) in mspec_init()
422 uncached_free_page(scratch_page[nid], 1); in mspec_init()
438 if (scratch_page[nid] != 0) in mspec_exit()
439 uncached_free_page(scratch_page[nid], 1); in mspec_exit()
/drivers/char/agp/
Dagp.h136 unsigned long scratch_page; member
172 #define PGE_EMPTY(b, p) (!(p) || (p) == (unsigned long) (b)->scratch_page)
Dsworks-agp.c60 writel(agp_bridge->scratch_page, page_map->remapped+i); in serverworks_create_page_map()
157 writel(agp_bridge->scratch_page, serverworks_private.scratch_dir.remapped+i); in serverworks_create_gatt_table()
375 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); in serverworks_remove_memory()
Dparisc-agp.c103 info->gatt[i] = (unsigned long)agp_bridge->scratch_page; in parisc_agp_create_gatt_table()
180 info->gatt[i] = agp_bridge->scratch_page; in parisc_agp_remove_memory()
Dati-agp.c68 writel(agp_bridge->scratch_page, page_map->remapped+i); in ati_create_page_map()
320 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); in ati_remove_memory()
Damd-k7-agp.c62 writel(agp_bridge->scratch_page, page_map->remapped+i); in amd_create_page_map()
347 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); in amd_remove_memory()
Dhp-agp.c311 hp->gatt[i] = (unsigned long) agp_bridge->scratch_page; in hp_zx1_create_gatt_table()
391 hp->gatt[i] = agp_bridge->scratch_page; in hp_zx1_remove_memory()
Dintel-agp.c219 writel(agp_bridge->scratch_page, intel_private.registers+I810_PTE_BASE+(i*4)); in intel_i810_configure()
361 writel(agp_bridge->scratch_page, intel_private.registers+I810_PTE_BASE+(i*4)); in intel_i810_remove_entries()
782 writel(agp_bridge->scratch_page, intel_private.registers+I810_PTE_BASE+(i*4)); in intel_i830_configure()
871 writel(agp_bridge->scratch_page, intel_private.registers+I810_PTE_BASE+(i*4)); in intel_i830_remove_entries()
998 writel(agp_bridge->scratch_page, intel_private.gtt+i); in intel_i915_configure()
1101 writel(agp_bridge->scratch_page, intel_private.gtt+i); in intel_i915_remove_entries()
Dbackend.c153 bridge->scratch_page = in agp_backend_initialize()
Dnvidia-agp.c254 writel(agp_bridge->scratch_page, agp_bridge->gatt_table+nvidia_private.pg_offset+i); in nvidia_remove_memory()
Dgeneric.c1001 writel(bridge->scratch_page, bridge->gatt_table+i); in agp_generic_create_gatt_table()
1172 writel(bridge->scratch_page, bridge->gatt_table+i); in agp_generic_remove_memory()