Lines Matching refs:minor_id
101 #define DRM_MAKEDEV(major_id, minor_id, clone_id) \
102 makedevice(major_id, (minor_id << DRM_MINOR_SHIFT) | (clone_id << DRM_CLONEID_SHIFT))
218 #define DRM_MINOR_IS_LEGACY(minor_id) \
219 (minor_id >= DRM_MINOR_ID_BASE_LEGACY && minor_id < DRM_MINOR_ID_LIMIT_LEGACY)
220 #define DRM_MINOR_IS_CONTROL(minor_id) \
221 (minor_id >= DRM_MINOR_ID_BASE_CONTROL && minor_id < DRM_MINOR_ID_LIMIT_CONTROL)
222 #define DRM_MINOR_IS_RENDER(minor_id) \
223 (minor_id >= DRM_MINOR_ID_BASE_RENDER && minor_id < DRM_MINOR_ID_LIMIT_RENDER)
224 #define DRM_MINOR_IS_VGATEXT(minor_id) \
225 (minor_id >= DRM_MINOR_ID_BASE_VGATEXT && minor_id < DRM_MINOR_ID_LIMIT_VGATEXT)
226 #define DRM_MINOR_IS_AGPMASTER(minor_id) \
227 (minor_id >= DRM_MINOR_ID_BASE_AGPMASTER && minor_id < DRM_MINOR_ID_LIMIT_AGPMASTER)