Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/gma500/
H A Dfbdev.c54 #define CMAP_TOHW(_val, _width) ((((_val) << (_width)) + 0x7FFF - (_val)) >> 16) macro
71 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()