'\" t .\" Title: fb_find_nearest_mode .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Frame Buffer Library .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "FB_FIND_NEAREST_MODE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Frame Buffer Library" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" fb_find_nearest_mode \- find closest videomode .SH "SYNOPSIS" .HP \w'const\ struct\ fb_videomode\ *\ fb_find_nearest_mode('u .BI "const struct fb_videomode * fb_find_nearest_mode(const\ struct\ fb_videomode\ *\ " "mode" ", struct\ list_head\ *\ " "head" ");" .SH "ARGUMENTS" .PP \fImode\fR .RS 4 pointer to struct fb_videomode .RE .PP \fIhead\fR .RS 4 pointer to modelist .RE .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 "COPYRIGHT" .br