Searched refs:CMAP_TOHW (Results 1 – 1 of 1) sorted by relevance
54 #define CMAP_TOHW(_val, _width) ((((_val) << (_width)) + 0x7FFF - (_val)) >> 16) macro71 red = CMAP_TOHW(red, info->var.red.length); in psb_fbdev_fb_setcolreg()72 blue = CMAP_TOHW(blue, info->var.blue.length); in psb_fbdev_fb_setcolreg()73 green = CMAP_TOHW(green, info->var.green.length); in psb_fbdev_fb_setcolreg()74 transp = CMAP_TOHW(transp, info->var.transp.length); in psb_fbdev_fb_setcolreg()