Lines Matching refs:linelen
584 int linelen; in tt_decode_var() local
642 linelen = xres * bpp / 8; in tt_decode_var()
643 if (yres_virtual * linelen > screen_len && screen_len) in tt_decode_var()
645 if (yres * linelen > screen_len && screen_len) in tt_decode_var()
650 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var()
651 par->next_line = linelen; in tt_decode_var()
657 int linelen; in tt_encode_var() local
723 linelen = var->xres_virtual * var->bits_per_pixel / 8; in tt_encode_var()
731 var->yres_virtual = screen_len / linelen; in tt_encode_var()
740 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var()
890 int linelen; in falcon_decode_var() local
1333 linelen = xres_virtual * bpp / 8; in falcon_decode_var()
1334 if (yres_virtual * linelen > screen_len && screen_len) in falcon_decode_var()
1336 if (yres * linelen > screen_len && screen_len) in falcon_decode_var()
1341 par->screen_base = screen_base + var->yoffset * linelen; in falcon_decode_var()
1344 par->next_line = linelen; in falcon_decode_var()
1353 int linelen; in falcon_encode_var() local
1438 linelen = var->xres_virtual * var->bits_per_pixel / 8; in falcon_encode_var()
1444 var->yres_virtual = screen_len / linelen; in falcon_encode_var()
1503 var->yoffset = (par->screen_base - screen_base) / linelen; in falcon_encode_var()
1804 int linelen; in stste_decode_var() local
1842 linelen = xres * bpp / 8; in stste_decode_var()
1843 if (yres_virtual * linelen > screen_len && screen_len) in stste_decode_var()
1845 if (yres * linelen > screen_len && screen_len) in stste_decode_var()
1850 par->screen_base = screen_base + var->yoffset * linelen; in stste_decode_var()
1851 par->next_line = linelen; in stste_decode_var()
1858 int linelen; in stste_encode_var() local
1903 linelen = var->xres_virtual * var->bits_per_pixel / 8; in stste_encode_var()
1904 ovsc_addlen = linelen * (sttt_yres_virtual - st_yres); in stste_encode_var()
1913 var->yres_virtual = screen_len / linelen; in stste_encode_var()
1922 var->yoffset = (par->screen_base - screen_base) / linelen; in stste_encode_var()