Searched refs:maxyres (Results 1 – 1 of 1) sorted by relevance
1117 int maxyres = ivideo->sisfb_mem / (var->xres_virtual * (var->bits_per_pixel >> 3)); in sisfb_calc_maxyres() local1119 if(maxyres > 32767) maxyres = 32767; in sisfb_calc_maxyres()1121 return maxyres; in sisfb_calc_maxyres()1468 unsigned int drate = 0, hrate = 0, maxyres; in sisfb_check_var() local1616 maxyres = sisfb_calc_maxyres(ivideo, var); in sisfb_check_var()1618 var->yres_virtual = maxyres; in sisfb_check_var()1620 if(var->yres_virtual > maxyres) { in sisfb_check_var()1621 var->yres_virtual = maxyres; in sisfb_check_var()