Lines Matching refs:xres
53 #define floorXres(a,xres) (a&(~(xres - 1)))
56 #define ceilXres(a,xres) (a|(xres - 1))
94 .xres = 128,
263 linesize = par->info->var.xres/8;
453 unsigned int xres;
460 xres = info->var.xres;
461 fbmemlength = (xres * info->var.yres)/8;
483 startpos = floorXres(bitppos, xres);
484 endpos = ceilXres((bitppos + (count*8)), xres);
487 x = startpos % xres;
488 y = startpos / xres;
489 w = xres;
490 h = bitcount / xres;