Lines Matching refs:plen
905 int plen; /* width of pixel in clock cycles */
1037 plen = 1;
1043 left_margin = hsync_len = 128 / plen;
1049 plen = 2 * xstretch;
1050 if (var->pixclock > f32.t * plen)
1059 hsync_len = pclock->hsync / plen;
1088 plen = 1 * xstretch;
1089 if ((plen * xres + f25.right + f25.hsync + f25.left) *
1092 else if ((plen * xres + f32.right + f32.hsync +
1095 else if ((plen * xres + fext.right + fext.hsync +
1102 left_margin = pclock->left / plen;
1103 right_margin = pclock->right / plen;
1104 hsync_len = pclock->hsync / plen;
1133 plen = pcl / pclock->t;
1160 if (pclock->f / plen / 8 * bpp > 32000000L)
1189 par->hw.falcon.vid_mode = (2 / plen) << 2;
1205 * (this must be a multiple of plen*128/bpp, on VGA pixels
1227 hdb_off = (base_off + 16 * plen) + prescale;
1230 hde_off = ((128 / bpp + 2) * plen);
1232 hdb_off = (64 + base_off + (128 / bpp + 2) * plen) + prescale;
1234 hdb_off = (base_off + (128 / bpp + 18) * plen) + prescale;
1237 gstart = (prescale / 2 + plen * left_margin) / prescale;
1239 gend1 = gstart + roundup(xres, align) * plen / prescale;
1241 gend2 = gstart + xres * plen / prescale;
1242 par->HHT = plen * (left_margin + xres + right_margin) /
1244 /* par->HHT = (gend2 + plen * right_margin / prescale) / 2 - 2;*/
1260 par->HSS = par->HHT + 2 - plen * hsync_len / prescale;
1373 int prescale, plen;
1474 plen = 4 >> (hw->vid_mode >> 2 & 0x3);
1478 hdb_off = (base_off + 16 * plen) + prescale;
1480 hde_off = ((128 / var->bits_per_pixel + 2) * plen);
1482 hdb_off = (64 + base_off + (128 / var->bits_per_pixel + 2) * plen)
1485 hdb_off = (base_off + (128 / var->bits_per_pixel + 18) * plen)
1513 var->pixclock *= plen;
1514 var->left_margin /= plen;
1515 var->right_margin /= plen;
1516 var->hsync_len /= plen;