Lines Matching refs:fstrt
1982 u_long maxfetchstop, fstrt, fsize, fconst, xres_n, yres_n; in ami_decode_var() local
2234 fstrt = downx(fconst, par->diwstrt_h-4) - fsize; in ami_decode_var()
2235 if (fstrt < min_fstrt) { in ami_decode_var()
2244 fstrt = downx(fconst, par->diwstrt_h-fconst+(1<<clk_shift)-4) - fsize; in ami_decode_var()
2245 if (fstrt < min_fstrt) in ami_decode_var()
2250 fstrt = downx(fconst, par->diwstrt_h-4) - 64 - fconst; in ami_decode_var()
2252 if (fstrt + fsize > maxfetchstop) in ami_decode_var()
2256 if (fstrt + fsize > maxfetchstop) { in ami_decode_var()
2520 short clk_shift, vshift, fstrt, fsize, fstop, fconst, shift, move, mod; in ami_update_par() local
2529 fstrt = par->diwstrt_h - (vshift<<clk_shift) - 4; in ami_update_par()
2531 shift = modx(fconst, fstrt); in ami_update_par()
2534 fstrt = downx(fconst, fstrt) - 64; in ami_update_par()
2536 fstop = fstrt + fsize - fconst; in ami_update_par()
2538 mod = fstrt = downx(fconst, fstrt) - fconst; in ami_update_par()
2539 fstop = fstrt + upx(fconst, fsize) - 64; in ami_update_par()
2541 fstrt = fstop - fsize + 64; in ami_update_par()
2542 if (fstrt < min_fstrt) { in ami_update_par()
2543 fstop += min_fstrt - fstrt; in ami_update_par()
2544 fstrt = min_fstrt; in ami_update_par()
2546 move = move - div8((mod-fstrt)>>clk_shift); in ami_update_par()
2549 par->ddfstrt = fstrt; in ami_update_par()