Lines Matching defs:type
100 enum drm_map_type type, enum drm_map_flags flags, drm_local_map_t **map_ptr)
111 if ((flags & _DRM_REMOVABLE) && type != _DRM_SHM) {
126 DRM_DEBUG("offset = 0x%08lx, size = 0x%08lx, type = %d\n", offset,
127 size, type);
132 if (type == _DRM_REGISTERS || type == _DRM_FRAME_BUFFER ||
133 type == _DRM_SHM) {
135 if (map->type == type && (map->offset == offset ||
136 (map->type == _DRM_SHM &&
139 DRM_DEBUG("Found kernel map %d\n", type);
146 /* Allocate a new map structure, fill it in, and do any type-specific
157 map->type = type;
162 switch (map->type) {
252 DRM_ERROR("Bad map type %d\n", map->type);
264 DRM_DEBUG("Added map %d 0x%lx/0x%lx\n", map->type, map->offset,
282 if (!DRM_SUSER(DRM_CURPROC) && request->type != _DRM_AGP)
286 err = drm_addmap(dev, request->offset, request->size, request->type,
294 request->type = map->type;
311 switch (map->type) {
335 DRM_ERROR("Bad map type %d\n", map->type);