Lines Matching defs:map
102 void drm_core_ioremap(struct drm_local_map *map, struct drm_device *dev)
105 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP)
106 map->handle = agp_remap(map->offset, map->size, dev);
108 map->handle = pmap_mapdev(map->offset, map->size);
112 void drm_core_ioremap_wc(struct drm_local_map *map, struct drm_device *dev)
115 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP)
116 map->handle = agp_remap(map->offset, map->size, dev);
118 map->handle = pmap_mapdev_attr(map->offset, map->size,
123 void drm_core_ioremapfree(struct drm_local_map *map, struct drm_device *dev)
125 if (!map->handle || !map->size)
129 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP)
130 vunmap(map->handle);
132 pmap_unmapdev((vm_offset_t)map->handle, map->size);