/solaris-x11-s12/open-src/kernel/drm/src/ |
H A D | drm_ioctl.c | 131 struct drm_map *map = data; local 137 idx = (int)map->offset; 150 if (!r_list || !r_list->map) { 155 map->offset = r_list->map->offset; 156 map->size = r_list->map->size; 157 map->type = r_list->map->type; 158 map [all...] |
H A D | drm_pci.c | 53 drm_core_ioremap(struct drm_local_map *map, struct drm_device *dev) argument 55 if ((map->type == _DRM_AGP) && dev->agp) { 57 * During AGP mapping initialization, we map AGP aperture 64 * and kernel space, and directly map the actual physical 77 (void) drm_ioremap(dev, map); 83 drm_core_ioremapfree(struct drm_local_map *map, struct drm_device *dev) argument 87 if (map->type != _DRM_AGP) { 88 if (map->handle && map->size) 89 drm_ioremapfree(map); [all...] |
H A D | drm_context.c | 149 * Gets the map from drm_device::ctx_idr with the handle specified and 156 struct drm_local_map *map; local 161 map = idr_find(&dev->ctx_idr, request->ctx_id); 162 if (!map) { 169 if (_entry->map == map) { 200 struct drm_local_map *map = NULL; local 205 if (r_list->map 214 map = r_list->map; [all...] |
H A D | drm_memory.c | 171 DRM_ERROR("failed to map regs: " 181 drm_ioremap(struct drm_device *dev, struct drm_local_map *map) argument 188 iomap.paddr = map->offset; 189 iomap.size = map->size; 194 map->offset, map->size); 198 map->handle = (void *)iomap.kvaddr; 199 map->acc_handle = iomap.acc_handle; 202 "map->handle=%p, map 209 drm_ioremapfree(struct drm_local_map *map) argument [all...] |
H A D | drm_bufs.c | 58 struct drm_local_map *map) 64 * while PCI resources may live above that, we ignore the map 69 if (!entry->map || 70 map->type != entry->map->type || 73 switch (map->type) { 75 if (map->flags != _DRM_CONTAINS_LOCK) 80 if ((entry->map->offset & 0xffffffff) == 81 (map->offset & 0xffffffff)) 86 if (entry->map 57 drm_find_matching_map(struct drm_device *dev, struct drm_local_map *map) argument 118 struct drm_local_map *map; local 342 struct drm_map *map = data; local 373 drm_rmmap_locked(struct drm_device *dev, struct drm_local_map *map) argument 425 drm_rmmap(struct drm_device *dev, struct drm_local_map *map) argument 455 struct drm_local_map *map = NULL; local 1104 struct drm_local_map *map = dev->agp_buffer_map; local [all...] |
H A D | drm_gem.c | 257 DRM_ERROR("obj %p map incorrect 0x%lx != 0x%lx", 278 drm_local_map_t *map; local 293 map = drm_alloc(sizeof (struct drm_local_map), DRM_MEM_MAPS); 294 if (map == NULL) { 295 DRM_DEBUG("map == NULL"); 299 map->handle = obj; 300 map->offset = (uintptr_t)map->handle; 301 map->offset &= 0xffffffffUL; 302 map 680 struct drm_local_map *map = obj->maplist.map; local [all...] |
H A D | drm_sunmod.c | 201 return (entry->map); 215 drm_local_map_t *map = NULL; local 226 map = __find_local_map(drm_dev, off); 227 if (!map) { 235 *pvtp = map->handle; 312 drm_gem_map, /* devmap_ops map routine */ 320 struct drm_local_map *map, size_t len, size_t *maplen) 326 map->offset, (uint_t)len, ®off); 346 struct drm_local_map *map, size_t len, size_t *maplen) 350 if (!map 319 __devmap_general(struct drm_device *dev, devmap_cookie_t dhp, struct drm_local_map *map, size_t len, size_t *maplen) argument 345 __devmap_shm(struct drm_device *dev, devmap_cookie_t dhp, struct drm_local_map *map, size_t len, size_t *maplen) argument 368 __devmap_agp(struct drm_device *dev, devmap_cookie_t dhp, struct drm_local_map *map, size_t len, size_t *maplen) argument 394 __devmap_sg(struct drm_device *dev, devmap_cookie_t dhp, struct drm_local_map *map, size_t len, size_t *maplen) argument 420 __devmap_gem(struct drm_device *dev, devmap_cookie_t dhp, struct drm_local_map *map, size_t *maplen) argument 609 drm_local_map_t *map = NULL; local [all...] |
/solaris-x11-s12/open-src/kernel/i915/src/ |
H A D | intel_ringbuffer.h | 183 drm_local_map_t map; member in struct:intel_ring_buffer
|
H A D | i915_gem_gtt.c | 769 static void i915_gen6_gtt_ioremap(struct drm_local_map *map, struct drm_device *dev) argument 776 >t_attr, &map->acc_handle); 779 DRM_ERROR("failed to map GTT"); 782 map->handle = (void *)(base + GEN6_GTT_OFFSET); 822 DRM_ERROR("Failed to map the gtt page table"); 1056 * required to map the aperture.
|
/solaris-x11-s12/open-src/kernel/sys/drm/ |
H A D | drmP.h | 270 #define DRM_READ8(map, offset) \ 271 *(volatile uint8_t *)((uintptr_t)((map)->handle) + (offset)) 272 #define DRM_READ16(map, offset) \ 273 *(volatile uint16_t *)((uintptr_t)((map)->handle) + (offset)) 274 #define DRM_READ32(map, offset) \ 275 *(volatile uint32_t *)((uintptr_t)((map)->handle) + (offset)) 276 #define DRM_READ64(map, offset) \ 277 *(volatile uint64_t *)((uintptr_t)((map)->handle) + (offset)) 278 #define DRM_WRITE8(map, offset, val) \ 279 *(volatile uint8_t *)((uintptr_t)((map) 562 struct drm_local_map *map; /**< mapping */ member in struct:drm_map_list [all...] |