.\" 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 "FB_FIND_NEAREST_MODE" "9" "09 October 2005" "" ""
.SH NAME
fb_find_nearest_mode \- find mode closest video mode
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct fb_videomode * fb_find_nearest_mode (struct fb_var_screeninfo * \fIvar\fB, struct list_head * \fIhead\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIvar\fB\fR
pointer to struct fb_var_screeninfo
.TP
\fB\fIhead\fB\fR
pointer to modelist
.SH "DESCRIPTION"
.PP
Finds best matching videomode, smaller or greater in dimension.
If more than 1 videomode is found, will return the videomode with
the closest refresh rate
.SH "DESCRIPTION"
.PP
Finds best matching videomode, smaller or greater in dimension.
If more than 1 videomode is found, will return the videomode with
the closest refresh rate