Searched refs:CMAP_TOHW (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/gma500/
H A Dframebuffer.c53 #define CMAP_TOHW(_val, _width) ((((_val) << (_width)) + 0x7FFF - (_val)) >> 16) macro
69 red = CMAP_TOHW(red, info->var.red.length); psbfb_setcolreg()
70 blue = CMAP_TOHW(blue, info->var.blue.length); psbfb_setcolreg()
71 green = CMAP_TOHW(green, info->var.green.length); psbfb_setcolreg()
72 transp = CMAP_TOHW(transp, info->var.transp.length); psbfb_setcolreg()

Completed in 64 milliseconds