Lines Matching refs:dev
37 __FBSDID("$FreeBSD: releng/11.0/sys/dev/drm2/drm_memory.c 280183 2015-03-17 18:50:33Z dumbbell $");
39 #include <dev/drm2/drmP.h>
43 struct drm_device * dev)
95 struct drm_device * dev)
102 void drm_core_ioremap(struct drm_local_map *map, struct drm_device *dev)
104 if (drm_core_has_AGP(dev) &&
105 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP)
106 map->handle = agp_remap(map->offset, map->size, dev);
112 void drm_core_ioremap_wc(struct drm_local_map *map, struct drm_device *dev)
114 if (drm_core_has_AGP(dev) &&
115 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP)
116 map->handle = agp_remap(map->offset, map->size, dev);
123 void drm_core_ioremapfree(struct drm_local_map *map, struct drm_device *dev)
128 if (drm_core_has_AGP(dev) &&
129 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP)