Searched refs:CNVT_TOHW (Results 1 – 3 of 3) sorted by relevance
58 red = CNVT_TOHW(red, p->var.red.length); in matroxfb_dh_setcolreg()59 green = CNVT_TOHW(green, p->var.green.length); in matroxfb_dh_setcolreg()60 blue = CNVT_TOHW(blue, p->var.blue.length); in matroxfb_dh_setcolreg()61 transp = CNVT_TOHW(transp, p->var.transp.length); in matroxfb_dh_setcolreg()
769 red = CNVT_TOHW(red, p->var.red.length); in matroxfb_setcolreg()770 green = CNVT_TOHW(green, p->var.green.length); in matroxfb_setcolreg()771 blue = CNVT_TOHW(blue, p->var.blue.length); in matroxfb_setcolreg()772 transp = CNVT_TOHW(transp, p->var.transp.length); in matroxfb_setcolreg()
166 #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) macro