Lines Matching refs:upx
580 #define upx(x,v) (((v)+(x)-1) & -(x)) macro
1398 if (var->xoffset+fb_display[con].var.xres > upx(16<<maxfmode, fb_display[con].var.xres_virtual) || in amifb_pan_display()
1955 fix->line_length = div8(upx(16<<maxfmode, par->vxres)); in ami_encode_fix()
2251 fsize = upx(fconst, xres_n + modx(fconst, downx(1<<clk_shift, par->diwstrt_h-4))); in ami_decode_var()
2255 fsize = upx(fconst, xres_n); in ami_decode_var()
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()
2339 if (par->xoffset < 0 || par->xoffset > upx(16<<maxfmode, par->vxres-par->xres) || in ami_decode_var()
2525 par->xoffset = upx(16<<maxfmode, par->xoffset); in ami_update_par()
2535 fsize = upx(fconst, fsize); in ami_update_par()
2539 fstop = fstrt + upx(fconst, fsize) - 64; in ami_update_par()