Lines Matching refs:minor
305 * \param dev major and minor numbers of the device.
306 * \param minor minor number of the device.
311 * Assembles the device name from \p minor and opens it, creating the device
312 * special file node with the major and minor numbers specified by \p dev and
315 static int drmOpenDevice(long dev, int minor, int type)
325 snprintf(buf, sizeof(buf), type ? DRM_DEV_NAME : DRM_CONTROL_DEV_NAME, DRM_DIR_NAME, minor);
415 * \param minor device minor number.
422 * name from \p minor and opens it.
424 static int drmOpenMinor(int minor, int create, int type)
430 return drmOpenDevice(makedev(DRM_MAJOR, minor), minor, type);
432 snprintf(buf, sizeof(buf), type ? DRM_DEV_NAME : DRM_CONTROL_DEV_NAME, DRM_DIR_NAME, minor);
446 * minor and get version information. For backward compatibility with older
482 * This function attempts to open every possible minor (up to DRM_MAX_MINOR),
527 * This function opens the first minor number that matches the driver name and
554 * Open the first minor number that matches the driver name and isn't
652 int drmOpenControl(int minor)
654 return drmOpenMinor(minor, 0, DRM_NODE_CONTROL);
1728 * Get AGP driver minor version number.
1732 * \return minor version number on success, or a negative value on failure.