Lines Matching refs:offset

63 		 * Because the kernel-userspace ABI is fixed at a 32-bit offset
65 * offset for maps of type _DRM_FRAMEBUFFER or _DRM_REGISTERS.
80 if ((entry->map->offset & 0xffffffff) ==
81 (map->offset & 0xffffffff))
86 if (entry->map->offset == map->offset)
109 * Adjusts the memory offset to its absolute value according to the mapping
113 static int drm_addmap_core(struct drm_device *dev, unsigned long offset,
128 map->offset = offset;
141 DRM_DEBUG("offset = 0x%08llx, size = 0x%08lx, type = %d\n",
142 (unsigned long long)map->offset, map->size, map->type);
151 if ((map->offset & (~(resource_size_t)PAGE_MASK)) || (map->size & (~PAGE_MASK))) {
156 if (map->offset + map->size < map->offset) {
187 map->handle = ioremap(map->offset, map->size);
216 map->offset = (uintptr_t)map->handle;
235 map->offset += dev->agp->base;
242 gfxp_load_kernel_space(map->offset, map->size,
262 map->offset += (uintptr_t)dev->sg->virtual;
263 map->handle = (void *)map->offset;
296 map->offset;
315 int drm_addmap(struct drm_device *dev, unsigned long offset,
322 rc = drm_addmap_core(dev, offset, size, type, flags, &list);
349 err = drm_addmap_core(dev, map->offset, map->size, map->type,
543 unsigned long offset;
614 offset = 0;
623 buf->offset = (dma->byte_count + offset);
624 buf->bus_address = agp_offset + offset;
625 buf->address = (void *)(agp_offset + offset);
644 offset += alignment;
694 unsigned long offset;
772 offset = 0;
781 buf->offset = (dma->byte_count + offset);
782 buf->bus_address = agp_offset + offset;
783 buf->address = (void *)(agp_offset + offset + dev->sg->handle);
803 offset += alignment;
1063 * offset equal to 0, which drm_mmap() interpretes as PCI buffers and calls
1144 address32 = virtual + dma->buflist[i]->offset; /* *** */
1171 address = virtual + dma->buflist[i]->offset; /* *** */