Lines Matching refs:vtotal
562 int htotal, vtotal;
597 &htotal, &vtotal, rate_idx)) {
598 dclock = (htotal * vtotal * rate) / 1000;
1186 unsigned int htotal = 0, vtotal = 0;
1194 vtotal = var->upper_margin + var->lower_margin + var->vsync_len;
1199 vtotal += var->yres;
1200 vtotal <<= 1;
1202 vtotal += var->yres;
1203 vtotal <<= 2;
1205 vtotal += var->yres;
1206 vtotal <<= 1;
1207 } else vtotal += var->yres;
1209 if(!(htotal) || !(vtotal)) {
1214 if(pixclock && htotal && vtotal) {
1217 ivideo->refresh_rate = (unsigned int) (hrate * 2 / vtotal);
1293 ivideo->current_vtotal = vtotal;
1437 unsigned int htotal = 0, vtotal = 0, myrateindex = 0;
1446 vtotal = var->upper_margin + var->lower_margin + var->vsync_len;
1451 vtotal += var->yres;
1452 vtotal <<= 1;
1454 vtotal += var->yres;
1455 vtotal <<= 2;
1457 vtotal += var->yres;
1458 vtotal <<= 1;
1460 vtotal += var->yres;
1462 if(!(htotal) || !(vtotal)) {
1521 (ivideo->current_vtotal == vtotal) &&
1526 refresh_rate = (unsigned int) (hrate * 2 / vtotal);
1528 (ivideo->current_vtotal != vtotal) ) &&
1541 } else if((pixclock) && (htotal) && (vtotal)) {
1544 refresh_rate = (unsigned int) (hrate * 2 / vtotal);