1. NAME▲

fb_find_nearest_mode - find closest videomode

2. SYNOPSIS ▲

const struct fb_videomode * fb_find_nearest_mode(const struct fb_videomode *  mode , struct list_head *  head );

3. ARGUMENTS ▲

mode
    pointer to struct fb_videomode

head
    pointer to modelist

4. DESCRIPTION ▲

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.

5. COPYRIGHT ▲