Lines Matching defs:pg_start

294 				off_t pg_start, int type)
300 pr_debug("i460_insert_memory_small_io_page(mem=%p, pg_start=%ld, type=%d, paddr0=0x%lx)\n",
301 mem, pg_start, type, page_to_phys(mem->pages[0]));
306 io_pg_start = I460_IOPAGES_PER_KPAGE * pg_start;
337 off_t pg_start, int type)
341 pr_debug("i460_remove_memory_small_io_page(mem=%p, pg_start=%ld, type=%d)\n",
342 mem, pg_start, type);
344 pg_start = I460_IOPAGES_PER_KPAGE * pg_start;
346 for (i = pg_start; i < (pg_start + I460_IOPAGES_PER_KPAGE * mem->page_count); i++)
401 off_t pg_start, int type)
413 /* Figure out what pg_start means in terms of our large GART pages */
414 start = &i460.lp_desc[pg_start / I460_KPAGES_PER_IOPAGE];
415 end = &i460.lp_desc[(pg_start + mem->page_count - 1) / I460_KPAGES_PER_IOPAGE];
416 start_offset = pg_start % I460_KPAGES_PER_IOPAGE;
417 end_offset = (pg_start + mem->page_count - 1) % I460_KPAGES_PER_IOPAGE;
462 off_t pg_start, int type)
471 /* Figure out what pg_start means in terms of our large GART pages */
472 start = &i460.lp_desc[pg_start / I460_KPAGES_PER_IOPAGE];
473 end = &i460.lp_desc[(pg_start + mem->page_count - 1) / I460_KPAGES_PER_IOPAGE];
474 start_offset = pg_start % I460_KPAGES_PER_IOPAGE;
475 end_offset = (pg_start + mem->page_count - 1) % I460_KPAGES_PER_IOPAGE;
501 off_t pg_start, int type)
504 return i460_insert_memory_small_io_page(mem, pg_start, type);
506 return i460_insert_memory_large_io_page(mem, pg_start, type);
510 off_t pg_start, int type)
513 return i460_remove_memory_small_io_page(mem, pg_start, type);
515 return i460_remove_memory_large_io_page(mem, pg_start, type);