Home
last modified time | relevance | path

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

/drivers/gpu/drm/gma500/
Dframebuffer.c38 #define CMAP_TOHW(_val, _width) ((((_val) << (_width)) + 0x7FFF - (_val)) >> 16) macro
54 red = CMAP_TOHW(red, info->var.red.length); in psbfb_setcolreg()
55 blue = CMAP_TOHW(blue, info->var.blue.length); in psbfb_setcolreg()
56 green = CMAP_TOHW(green, info->var.green.length); in psbfb_setcolreg()
57 transp = CMAP_TOHW(transp, info->var.transp.length); in psbfb_setcolreg()