Lines Matching refs:fstrt
1132 u_long maxfetchstop, fstrt, fsize, fconst, xres_n, yres_n; in ami_decode_var() local
1389 fstrt = downx(fconst, par->diwstrt_h - 4) - fsize; in ami_decode_var()
1390 if (fstrt < min_fstrt) { in ami_decode_var()
1399 fstrt = downx(fconst, par->diwstrt_h - fconst + (1 << clk_shift) - 4) - in ami_decode_var()
1401 if (fstrt < min_fstrt) in ami_decode_var()
1406 fstrt = downx(fconst, par->diwstrt_h - 4) - 64 - fconst; in ami_decode_var()
1409 if (fstrt + fsize > maxfetchstop) in ami_decode_var()
1413 if (fstrt + fsize > maxfetchstop) { in ami_decode_var()
1602 short clk_shift, vshift, fstrt, fsize, fstop, fconst, shift, move, mod; in ami_update_par() local
1611 fstrt = par->diwstrt_h - (vshift << clk_shift) - 4; in ami_update_par()
1613 shift = modx(fconst, fstrt); in ami_update_par()
1616 fstrt = downx(fconst, fstrt) - 64; in ami_update_par()
1618 fstop = fstrt + fsize - fconst; in ami_update_par()
1620 mod = fstrt = downx(fconst, fstrt) - fconst; in ami_update_par()
1621 fstop = fstrt + upx(fconst, fsize) - 64; in ami_update_par()
1623 fstrt = fstop - fsize + 64; in ami_update_par()
1624 if (fstrt < min_fstrt) { in ami_update_par()
1625 fstop += min_fstrt - fstrt; in ami_update_par()
1626 fstrt = min_fstrt; in ami_update_par()
1628 move = move - div8((mod - fstrt)>>clk_shift); in ami_update_par()
1631 par->ddfstrt = fstrt; in ami_update_par()