Lines Matching refs:xres
52 #define floorXres(a,xres) (a&(~(xres - 1)))
55 #define ceilXres(a,xres) (a|(xres - 1))
93 .xres = 128,
262 linesize = par->info->var.xres/8;
452 unsigned int xres;
456 xres = info->var.xres;
457 fbmemlength = (xres * info->var.yres)/8;
479 startpos = floorXres(bitppos, xres);
480 endpos = ceilXres((bitppos + (count*8)), xres);
483 x = startpos % xres;
484 y = startpos / xres;
485 w = xres;
486 h = bitcount / xres;