.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "DRM_OPEN" "9" "09 October 2005" "" "" .SH NAME drm_open \- .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int drm_open (struct inode * \fIinode\fB, struct file * \fIfilp\fB); \fR .SH "ARGUMENTS" .TP \fB\fIinode\fB\fR -- undescribed -- .TP \fB\fIfilp\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP .PP \\param inode device inode \\param filp file pointer. \\return zero on success or a negative number on failure. .PP Searches the DRM device with the same minor number, calls \fBopen_helper\fR, and increments the device open count. If the open count was previous at zero, i.e., it's the first that the device is open, then calls \fBsetup\fR\&.