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