Lines Matching refs:mem
282 hp_zx1_tlbflush (struct agp_memory *mem) in hp_zx1_tlbflush() argument
332 hp_zx1_insert_memory (struct agp_memory *mem, off_t pg_start, int type) in hp_zx1_insert_memory() argument
339 if (type != mem->type || in hp_zx1_insert_memory()
345 io_pg_count = hp->io_pages_per_kpage * mem->page_count; in hp_zx1_insert_memory()
358 if (!mem->is_flushed) { in hp_zx1_insert_memory()
360 mem->is_flushed = true; in hp_zx1_insert_memory()
363 for (i = 0, j = io_pg_start; i < mem->page_count; i++) { in hp_zx1_insert_memory()
366 paddr = page_to_phys(mem->pages[i]); in hp_zx1_insert_memory()
374 agp_bridge->driver->tlb_flush(mem); in hp_zx1_insert_memory()
379 hp_zx1_remove_memory (struct agp_memory *mem, off_t pg_start, int type) in hp_zx1_remove_memory() argument
384 if (type != mem->type || in hp_zx1_remove_memory()
390 io_pg_count = hp->io_pages_per_kpage * mem->page_count; in hp_zx1_remove_memory()
395 agp_bridge->driver->tlb_flush(mem); in hp_zx1_remove_memory()