Lines Matching refs:map
137 void drm_core_ioremap(struct drm_local_map *map, struct drm_device *dev)
140 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP)
141 map->handle = agp_remap(map->offset, map->size, dev);
143 map->handle = ioremap(map->offset, map->size);
147 void drm_core_ioremap_wc(struct drm_local_map *map, struct drm_device *dev)
150 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP)
151 map->handle = agp_remap(map->offset, map->size, dev);
153 map->handle = ioremap_wc(map->offset, map->size);
157 void drm_core_ioremapfree(struct drm_local_map *map, struct drm_device *dev)
159 if (!map->handle || !map->size)
163 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP)
164 vunmap(map->handle);
166 iounmap(map->handle);