• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/

Lines Matching defs:prescale

873 /* VIDEL-prescale values [mon_type][pixel_length from VCO] */
931 int prescale;
1197 /* Pixellength and prescale */
1206 * unit of hxx-registers: [master clock cycles * prescale]
1209 * 1 line = ((hht + 2) * 2 * prescale) clock cycles
1212 * ((hht + 2) * 2 - hdb + hde) * prescale - hdboff + hdeoff:
1213 * (hht + 2 - hdb + hde) * prescale - hdboff + hdeoff
1218 * (hdb - hht - 2) * prescale + hdboff :
1219 * hdb * prescale + hdboff
1222 * (hde + hht + 2) * prescale + hdeoff
1226 prescale = hxx_prescale(&par->hw.falcon);
1230 /* Offsets are in clock cycles, divide by prescale to
1236 hdb_off = (base_off + 16 * plen) + prescale;
1241 hdb_off = (64 + base_off + (128 / bpp + 2) * plen) + prescale;
1243 hdb_off = (base_off + (128 / bpp + 18) * plen) + prescale;
1246 gstart = (prescale / 2 + plen * left_margin) / prescale;
1248 gend1 = gstart + roundup(xres, align) * plen / prescale;
1250 gend2 = gstart + xres * plen / prescale;
1252 (2 * prescale) - 2;
1253 /* par->HHT = (gend2 + plen * right_margin / prescale) / 2 - 2;*/
1255 par->HDB = gstart - hdb_off / prescale;
1259 par->HDE = gend1 - par->HHT - 2 - hde_off / prescale;
1261 if (hde_off % prescale)
1263 par->HSS = par->HHT + 2 - plen * hsync_len / prescale;
1269 hfreq = pclock->f / ((par->HHT + 2) * prescale * 2);
1376 int prescale, plen;
1476 prescale = hxx_prescale(hw);
1481 hdb_off = (base_off + 16 * plen) + prescale;
1486 + prescale;
1489 + prescale;
1493 var->left_margin = hdb_off + prescale * ((hw->hdb & 0x1ff) -
1496 var->right_margin = prescale * (hw->hht + 2 - hw->hde) - hde_off;
1499 var->right_margin = prescale * (hw->hht + 2 - hw->hbb);
1500 var->hsync_len = prescale * (hw->hht + 2 - hw->hss);