Lines Matching refs:plen
930 int plen; /* width of pixel in clock cycles */ in falcon_decode_var() local
1062 plen = 1; in falcon_decode_var()
1068 left_margin = hsync_len = 128 / plen; in falcon_decode_var()
1074 plen = 2 * xstretch; in falcon_decode_var()
1075 if (var->pixclock > f32.t * plen) in falcon_decode_var()
1084 hsync_len = pclock->hsync / plen; in falcon_decode_var()
1113 plen = 1 * xstretch; in falcon_decode_var()
1114 if ((plen * xres + f25.right + f25.hsync + f25.left) * in falcon_decode_var()
1117 else if ((plen * xres + f32.right + f32.hsync + in falcon_decode_var()
1120 else if ((plen * xres + fext.right + fext.hsync + in falcon_decode_var()
1127 left_margin = pclock->left / plen; in falcon_decode_var()
1128 right_margin = pclock->right / plen; in falcon_decode_var()
1129 hsync_len = pclock->hsync / plen; in falcon_decode_var()
1158 plen = pcl / pclock->t; in falcon_decode_var()
1185 if (pclock->f / plen / 8 * bpp > 32000000L) in falcon_decode_var()
1214 par->hw.falcon.vid_mode = (2 / plen) << 2; in falcon_decode_var()
1252 hdb_off = (base_off + 16 * plen) + prescale; in falcon_decode_var()
1255 hde_off = ((128 / bpp + 2) * plen); in falcon_decode_var()
1257 hdb_off = (64 + base_off + (128 / bpp + 2) * plen) + prescale; in falcon_decode_var()
1259 hdb_off = (base_off + (128 / bpp + 18) * plen) + prescale; in falcon_decode_var()
1262 gstart = (prescale / 2 + plen * left_margin) / prescale; in falcon_decode_var()
1264 gend1 = gstart + roundup(xres, align) * plen / prescale; in falcon_decode_var()
1266 gend2 = gstart + xres * plen / prescale; in falcon_decode_var()
1267 par->HHT = plen * (left_margin + xres + right_margin) / in falcon_decode_var()
1285 par->HSS = par->HHT + 2 - plen * hsync_len / prescale; in falcon_decode_var()
1398 int prescale, plen; in falcon_encode_var() local
1499 plen = 4 >> (hw->vid_mode >> 2 & 0x3); in falcon_encode_var()
1503 hdb_off = (base_off + 16 * plen) + prescale; in falcon_encode_var()
1505 hde_off = ((128 / var->bits_per_pixel + 2) * plen); in falcon_encode_var()
1507 hdb_off = (64 + base_off + (128 / var->bits_per_pixel + 2) * plen) in falcon_encode_var()
1510 hdb_off = (base_off + (128 / var->bits_per_pixel + 18) * plen) in falcon_encode_var()
1538 var->pixclock *= plen; in falcon_encode_var()
1539 var->left_margin /= plen; in falcon_encode_var()
1540 var->right_margin /= plen; in falcon_encode_var()
1541 var->hsync_len /= plen; in falcon_encode_var()