Lines Matching defs:offset
68 drm_find_map(drm_device_t *dev, u_offset_t offset, int type)
73 if ((map->type == type) && ((map->offset == offset) ||
82 int drm_addmap(drm_device_t *dev, unsigned long offset,
102 if ((offset & PAGE_MASK) || (size & PAGE_MASK))
104 if (offset + size < offset)
111 map = drm_find_map(dev, offset, type);
124 map->offset = offset;
151 * user app is incapable of passing in 64bit offset when
154 map->offset = (uintptr_t)map->handle;
155 map->offset &= 0xffffffffUL;
172 map->offset += (uintptr_t)dev->sg->virtual;
173 map->handle = (void *)(uintptr_t)map->offset;
184 map->offset += dev->agp->base;
185 kva = gfxp_map_kernel_space(map->offset, map->size,
228 request.offset = request32.offset;
238 err = drm_addmap(dev, request.offset, request.size, request.type,
244 request.offset = map->offset;
254 request32.offset = request.offset;
328 request.offset = request32.offset;
416 unsigned long offset;
455 offset = 0;
464 buf->offset = (dma->byte_count + offset);
465 buf->bus_address = agp_offset + offset;
466 buf->address = (void *)(agp_offset + offset);
480 offset += alignment;
524 unsigned long offset;
555 offset = 0;
564 buf->offset = (dma->byte_count + offset);
565 buf->bus_address = agp_offset + offset;
566 buf->address = (void *)(agp_offset + offset + dev->sg->handle);
581 offset += alignment;
863 address32 = vaddr + dma->buflist[i]->offset; /* *** */
887 address = vaddr + dma->buflist[i]->offset; /* *** */