/drivers/char/agp/ |
H A D | alpha-agp.c | 86 static int alpha_core_agp_insert_memory(struct agp_memory *mem, off_t pg_start, argument 98 if ((pg_start + mem->page_count) > num_entries) 101 status = agp->ops->bind(agp, pg_start, mem); 108 static int alpha_core_agp_remove_memory(struct agp_memory *mem, off_t pg_start, argument 114 status = agp->ops->unbind(agp, pg_start, mem);
|
H A D | compat_ioctl.h | 59 compat_off_t pg_start; /* starting page to populate */ member in struct:agp_segment32 82 compat_off_t pg_start; /* starting page to populate */ member in struct:agp_bind32
|
H A D | sgi-agp.c | 128 static int sgi_tioca_insert_memory(struct agp_memory *mem, off_t pg_start, argument 175 if ((pg_start + mem->page_count) > num_entries) 178 j = pg_start; 180 while (j < (pg_start + mem->page_count)) { 191 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { 202 static int sgi_tioca_remove_memory(struct agp_memory *mem, off_t pg_start, argument 219 for (i = pg_start; i < (mem->page_count + pg_start); i++) {
|
H A D | efficeon-agp.c | 239 static int efficeon_insert_memory(struct agp_memory * mem, off_t pg_start, int type) argument 246 printk(KERN_DEBUG PFX "efficeon_insert_memory(%lx, %d)\n", pg_start, count); 249 if ((pg_start + mem->page_count) > num_entries) 261 int index = pg_start + i; 288 static int efficeon_remove_memory(struct agp_memory * mem, off_t pg_start, int type) argument 292 printk(KERN_DEBUG PFX "efficeon_remove_memory(%lx, %d)\n", pg_start, count); 296 if ((pg_start + mem->page_count) > num_entries) 302 int index = pg_start + i;
|
H A D | amd-k7-agp.c | 285 static int amd_insert_memory(struct agp_memory *mem, off_t pg_start, int type) argument 297 if ((pg_start + mem->page_count) > num_entries) 300 j = pg_start; 301 while (j < (pg_start + mem->page_count)) { 314 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { 327 static int amd_remove_memory(struct agp_memory *mem, off_t pg_start, int type) argument 337 for (i = pg_start; i < (mem->page_count + pg_start); i++) {
|
H A D | amd64-agp.c | 44 static int amd64_insert_memory(struct agp_memory *mem, off_t pg_start, int type) argument 63 if (((unsigned long)pg_start + mem->page_count) > num_entries) 66 j = pg_start; 69 while (j < (pg_start + mem->page_count)) { 80 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) {
|
H A D | ati-agp.c | 267 off_t pg_start, int type) 283 if ((pg_start + mem->page_count) > num_entries) 286 j = pg_start; 287 while (j < (pg_start + mem->page_count)) { 301 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { 314 static int ati_remove_memory(struct agp_memory * mem, off_t pg_start, argument 329 for (i = pg_start; i < (mem->page_count + pg_start); i++) { 266 ati_insert_memory(struct agp_memory * mem, off_t pg_start, int type) argument
|
H A D | nvidia-agp.c | 200 static int nvidia_insert_memory(struct agp_memory *mem, off_t pg_start, int type) argument 212 if ((pg_start + mem->page_count) > 216 for (j = pg_start; j < (pg_start + mem->page_count); j++) { 225 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { 239 static int nvidia_remove_memory(struct agp_memory *mem, off_t pg_start, int type) argument 252 for (i = pg_start; i < (mem->page_count + pg_start); i++)
|
H A D | parisc-agp.c | 125 parisc_agp_insert_memory(struct agp_memory *mem, off_t pg_start, int type) argument 136 io_pg_start = info->io_pages_per_kpage * pg_start; 173 parisc_agp_remove_memory(struct agp_memory *mem, off_t pg_start, int type) argument 182 io_pg_start = info->io_pages_per_kpage * pg_start;
|
H A D | sworks-agp.c | 320 off_t pg_start, int type) 331 if ((pg_start + mem->page_count) > num_entries) { 335 j = pg_start; 336 while (j < (pg_start + mem->page_count)) { 349 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { 360 static int serverworks_remove_memory(struct agp_memory *mem, off_t pg_start, argument 374 for (i = pg_start; i < (mem->page_count + pg_start); i++) { 319 serverworks_insert_memory(struct agp_memory *mem, off_t pg_start, int type) argument
|
H A D | uninorth-agp.c | 149 static int uninorth_insert_memory(struct agp_memory *mem, off_t pg_start, int type) argument 171 if ((pg_start + mem->page_count) > num_entries) 174 gp = (u32 *) &agp_bridge->gatt_table[pg_start]; 199 int uninorth_remove_memory(struct agp_memory *mem, off_t pg_start, int type) argument 217 gp = (u32 *) &agp_bridge->gatt_table[pg_start];
|
H A D | frontend.c | 107 off_t pg_start; local 110 pg_start = offset / 4096; 116 if ((seg[i].pg_start == pg_start) && 180 seg[i].pg_start = user_seg[i].pg_start; 940 return agp_bind_memory(memory, bind_info.pg_start);
|
H A D | generic.c | 418 * @pg_start: an offset into the graphics aperture translation table 423 int agp_bind_memory(struct agp_memory *curr, off_t pg_start) argument 439 ret_val = curr->bridge->driver->insert_memory(curr, pg_start, curr->type); 445 curr->pg_start = pg_start; 475 ret_val = curr->bridge->driver->remove_memory(curr, curr->pg_start, curr->type); 481 curr->pg_start = 0; 1046 int agp_generic_insert_memory(struct agp_memory * mem, off_t pg_start, int type) argument 1098 if (((pg_start + mem->page_count) > num_entries) || 1099 ((pg_start 1129 agp_generic_remove_memory(struct agp_memory *mem, off_t pg_start, int type) argument [all...] |
H A D | hp-agp.c | 332 hp_zx1_insert_memory (struct agp_memory *mem, off_t pg_start, int type) argument 344 io_pg_start = hp->io_pages_per_kpage * pg_start; 379 hp_zx1_remove_memory (struct agp_memory *mem, off_t pg_start, int type) argument 389 io_pg_start = hp->io_pages_per_kpage * pg_start;
|
H A D | i460-agp.c | 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; 293 i460_insert_memory_small_io_page(struct agp_memory *mem, off_t pg_start, int type) argument 336 i460_remove_memory_small_io_page(struct agp_memory *mem, off_t pg_start, int type) argument 400 i460_insert_memory_large_io_page(struct agp_memory *mem, off_t pg_start, int type) argument 461 i460_remove_memory_large_io_page(struct agp_memory *mem, off_t pg_start, int type) argument 500 i460_insert_memory(struct agp_memory *mem, off_t pg_start, int type) argument 509 i460_remove_memory(struct agp_memory *mem, off_t pg_start, int type) argument [all...] |
H A D | intel-gtt.c | 211 static int i810_insert_dcache_entries(struct agp_memory *mem, off_t pg_start, argument 216 if ((pg_start + mem->page_count) 223 for (i = pg_start; i < (pg_start + mem->page_count); i++) { 883 unsigned int pg_start, 890 j = pg_start; 922 off_t pg_start, int type) 937 return i810_insert_dcache_entries(mem, pg_start, type); 942 if (pg_start + mem->page_count > intel_private.base.gtt_total_entries) 961 pg_start, typ 881 intel_gtt_insert_sg_entries(struct scatterlist *sg_list, unsigned int sg_len, unsigned int pg_start, unsigned int flags) argument 921 intel_fake_agp_insert_entries(struct agp_memory *mem, off_t pg_start, int type) argument 985 intel_fake_agp_remove_entries(struct agp_memory *mem, off_t pg_start, int type) argument [all...] |