Lines Matching refs:pg_start
403 * @pg_start: an offset into the graphics aperture translation table
408 int agp_bind_memory(struct agp_memory *curr, off_t pg_start)
424 ret_val = curr->bridge->driver->insert_memory(curr, pg_start, curr->type);
430 curr->pg_start = pg_start;
460 ret_val = curr->bridge->driver->remove_memory(curr, curr->pg_start, curr->type);
466 curr->pg_start = 0;
1025 int agp_generic_insert_memory(struct agp_memory * mem, off_t pg_start, int type)
1076 if (((pg_start + mem->page_count) > num_entries) ||
1077 ((pg_start + mem->page_count) < pg_start))
1080 j = pg_start;
1082 while (j < (pg_start + mem->page_count)) {
1093 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) {
1107 int agp_generic_remove_memory(struct agp_memory *mem, off_t pg_start, int type)
1124 if (((pg_start + mem->page_count) > num_entries) ||
1125 ((pg_start + mem->page_count) < pg_start))
1135 for (i = pg_start; i < (mem->page_count + pg_start); i++) {