Searched refs:CMAP_TOHW (Results 1 – 1 of 1) sorted by relevance
53 #define CMAP_TOHW(_val, _width) ((((_val) << (_width)) + 0x7FFF - (_val)) >> 16) macro69 red = CMAP_TOHW(red, info->var.red.length); in psbfb_setcolreg()70 blue = CMAP_TOHW(blue, info->var.blue.length); in psbfb_setcolreg()71 green = CMAP_TOHW(green, info->var.green.length); in psbfb_setcolreg()72 transp = CMAP_TOHW(transp, info->var.transp.length); in psbfb_setcolreg()