.\" 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 "MAC_FIND_MODE" "" "06 October 2005" "" "" .SH NAME mac_find_mode \- find a video mode .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int __init mac_find_mode (struct fb_var_screeninfo * \fIvar\fB, struct fb_info * \fIinfo\fB, const char * \fImode_option\fB, unsigned int \fIdefault_bpp\fB); \fR .SH "ARGUMENTS" .TP \fB\fIvar\fB\fR frame buffer user defined part of display .TP \fB\fIinfo\fB\fR frame buffer info structure .TP \fB\fImode_option\fB\fR video mode name (see mac_modedb[]) .TP \fB\fIdefault_bpp\fB\fR default color depth in bits per pixel .SH "DESCRIPTION" .PP Finds a suitable video mode. Tries to set mode specified by \fImode_option\fR\&. If the name of the wanted mode begins with 'mac', the Mac video mode database will be used, otherwise it will fall back to the standard video mode database. .SH "NOTE" .PP Function marked as __init and can only be used during system boot. .PP Returns error code from fb_find_mode (see fb_find_mode function).