fb_match_mode(9) find a videomode which exactly matches the timings in var

SYNOPSIS

const struct fb_videomode * fb_match_mode(const struct fb_var_screeninfo * var, struct list_head * head);

ARGUMENTS

var

pointer to struct fb_var_screeninfo

head

pointer to struct list_head of modelist

RETURNS

struct fb_videomode, NULL if none found

COPYRIGHT