Lines Matching defs:dev
59 struct drm_device *dev)
71 offset -= dev->hose->mem_space->start;
74 list_for_each_entry(agpmem, &dev->agp->memory, head)
79 if (&agpmem->head == &dev->agp->memory)
103 struct drm_device *dev)
110 void drm_legacy_ioremap(struct drm_local_map *map, struct drm_device *dev)
112 if (dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP)
113 map->handle = agp_remap(map->offset, map->size, dev);
119 void drm_legacy_ioremap_wc(struct drm_local_map *map, struct drm_device *dev)
121 if (dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP)
122 map->handle = agp_remap(map->offset, map->size, dev);
128 void drm_legacy_ioremapfree(struct drm_local_map *map, struct drm_device *dev)
133 if (dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP)