Lines Matching refs:div8
562 #define div8(v) ((v)>>3) macro
986 #define ddfstrt2hw(ddfstrt) div8(ddfstrt)
987 #define ddfstop2hw(ddfstop) div8(ddfstop)
991 #define hsstrt2hw(hsstrt) (div8(hsstrt))
992 #define hsstop2hw(hsstop) (div8(hsstop))
993 #define htotal2hw(htotal) (div8(htotal)-1)
997 #define hcenter2hw(htotal) (div8(htotal))
1955 fix->line_length = div8(upx(16<<maxfmode, par->vxres)); in ami_encode_fix()
2288 par->next_plane = div8(upx(16<<maxfmode, par->vxres)); in ami_decode_var()
2295 par->next_line = div8(upx(16<<maxfmode, par->vxres)); in ami_decode_var()
2532 move = downx(2<<maxfmode, div8(par->xoffset)); in ami_update_par()
2546 move = move - div8((mod-fstrt)>>clk_shift); in ami_update_par()
2548 mod = par->next_line - div8(fsize>>clk_shift); in ami_update_par()
2556 par->bpl1mod = -div8(fsize>>clk_shift); in ami_update_par()