/linux-2.6.39/drivers/video/ |
D | 68328fb.c | 321 #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) in mc68x328fb_setcolreg() macro 325 red = CNVT_TOHW(red, info->var.red.length); in mc68x328fb_setcolreg() 326 green = CNVT_TOHW(green, info->var.green.length); in mc68x328fb_setcolreg() 327 blue = CNVT_TOHW(blue, info->var.blue.length); in mc68x328fb_setcolreg() 328 transp = CNVT_TOHW(transp, info->var.transp.length); in mc68x328fb_setcolreg() 331 red = CNVT_TOHW(red, 8); /* expect 8 bit DAC */ in mc68x328fb_setcolreg() 332 green = CNVT_TOHW(green, 8); in mc68x328fb_setcolreg() 333 blue = CNVT_TOHW(blue, 8); in mc68x328fb_setcolreg() 335 transp = CNVT_TOHW(transp, 8); in mc68x328fb_setcolreg() 338 #undef CNVT_TOHW in mc68x328fb_setcolreg()
|
D | vfb.c | 338 #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) in vfb_setcolreg() macro 342 red = CNVT_TOHW(red, info->var.red.length); in vfb_setcolreg() 343 green = CNVT_TOHW(green, info->var.green.length); in vfb_setcolreg() 344 blue = CNVT_TOHW(blue, info->var.blue.length); in vfb_setcolreg() 345 transp = CNVT_TOHW(transp, info->var.transp.length); in vfb_setcolreg() 348 red = CNVT_TOHW(red, 8); /* expect 8 bit DAC */ in vfb_setcolreg() 349 green = CNVT_TOHW(green, 8); in vfb_setcolreg() 350 blue = CNVT_TOHW(blue, 8); in vfb_setcolreg() 352 transp = CNVT_TOHW(transp, 8); in vfb_setcolreg() 355 #undef CNVT_TOHW in vfb_setcolreg()
|
D | skeletonfb.c | 362 #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) in xxxfb_setcolreg() macro 363 red = CNVT_TOHW(red, info->var.red.length); in xxxfb_setcolreg() 364 green = CNVT_TOHW(green, info->var.green.length); in xxxfb_setcolreg() 365 blue = CNVT_TOHW(blue, info->var.blue.length); in xxxfb_setcolreg() 366 transp = CNVT_TOHW(transp, info->var.transp.length); in xxxfb_setcolreg() 367 #undef CNVT_TOHW in xxxfb_setcolreg()
|
D | fb-puv3.c | 568 #define CNVT_TOHW(val, width) ((((val)<<(width))+0x7FFF-(val))>>16) in unifb_setcolreg() macro 572 red = CNVT_TOHW(red, info->var.red.length); in unifb_setcolreg() 573 green = CNVT_TOHW(green, info->var.green.length); in unifb_setcolreg() 574 blue = CNVT_TOHW(blue, info->var.blue.length); in unifb_setcolreg() 575 transp = CNVT_TOHW(transp, info->var.transp.length); in unifb_setcolreg() 578 red = CNVT_TOHW(red, 8); /* expect 8 bit DAC */ in unifb_setcolreg() 579 green = CNVT_TOHW(green, 8); in unifb_setcolreg() 580 blue = CNVT_TOHW(blue, 8); in unifb_setcolreg() 582 transp = CNVT_TOHW(transp, 8); in unifb_setcolreg() 585 #undef CNVT_TOHW in unifb_setcolreg()
|
D | xen-fbfront.c | 220 #define CNVT_TOHW(val, width) ((((val)<<(width))+0x7FFF-(val))>>16) in xenfb_setcolreg() macro 221 red = CNVT_TOHW(red, info->var.red.length); in xenfb_setcolreg() 222 green = CNVT_TOHW(green, info->var.green.length); in xenfb_setcolreg() 223 blue = CNVT_TOHW(blue, info->var.blue.length); in xenfb_setcolreg() 224 transp = CNVT_TOHW(transp, info->var.transp.length); in xenfb_setcolreg() 225 #undef CNVT_TOHW in xenfb_setcolreg()
|
D | pm2fb.c | 911 #define CNVT_TOHW(val, width) ((((val) << (width)) + 0x7FFF -(val)) >> 16) in pm2fb_setcolreg() macro 915 red = CNVT_TOHW(red, info->var.red.length); in pm2fb_setcolreg() 916 green = CNVT_TOHW(green, info->var.green.length); in pm2fb_setcolreg() 917 blue = CNVT_TOHW(blue, info->var.blue.length); in pm2fb_setcolreg() 918 transp = CNVT_TOHW(transp, info->var.transp.length); in pm2fb_setcolreg() 923 red = CNVT_TOHW(red, 8); in pm2fb_setcolreg() 924 green = CNVT_TOHW(green, 8); in pm2fb_setcolreg() 925 blue = CNVT_TOHW(blue, 8); in pm2fb_setcolreg() 927 transp = CNVT_TOHW(transp, 8); in pm2fb_setcolreg() 930 #undef CNVT_TOHW in pm2fb_setcolreg()
|
D | pm3fb.c | 1112 #define CNVT_TOHW(val, width) ((((val) << (width)) + 0x7FFF - (val)) >> 16) in pm3fb_setcolreg() macro 1113 red = CNVT_TOHW(red, info->var.red.length); in pm3fb_setcolreg() 1114 green = CNVT_TOHW(green, info->var.green.length); in pm3fb_setcolreg() 1115 blue = CNVT_TOHW(blue, info->var.blue.length); in pm3fb_setcolreg() 1116 transp = CNVT_TOHW(transp, info->var.transp.length); in pm3fb_setcolreg() 1117 #undef CNVT_TOHW in pm3fb_setcolreg()
|
D | imxfb.c | 245 #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) in imxfb_setpalettereg() macro 247 val = (CNVT_TOHW(red, 4) << 8) | in imxfb_setpalettereg() 248 (CNVT_TOHW(green,4) << 4) | in imxfb_setpalettereg() 249 CNVT_TOHW(blue, 4); in imxfb_setpalettereg()
|
D | fsl-diu-fb.c | 875 static inline __u32 CNVT_TOHW(__u32 val, __u32 width) in CNVT_TOHW() function 911 red = CNVT_TOHW(red, info->var.red.length); in fsl_diu_setcolreg() 912 green = CNVT_TOHW(green, info->var.green.length); in fsl_diu_setcolreg() 913 blue = CNVT_TOHW(blue, info->var.blue.length); in fsl_diu_setcolreg() 914 transp = CNVT_TOHW(transp, info->var.transp.length); in fsl_diu_setcolreg()
|
D | tdfxfb.c | 756 #define CNVT_TOHW(val, width) ((((val) << (width)) + 0x7FFF - (val)) >> 16) macro 786 rgbcol = (CNVT_TOHW(red, info->var.red.length) << in tdfxfb_setcolreg() 788 (CNVT_TOHW(green, info->var.green.length) << in tdfxfb_setcolreg() 790 (CNVT_TOHW(blue, info->var.blue.length) << in tdfxfb_setcolreg() 792 (CNVT_TOHW(transp, info->var.transp.length) << in tdfxfb_setcolreg()
|
/linux-2.6.39/drivers/video/matrox/ |
D | matroxfb_crtc2.c | 41 red = CNVT_TOHW(red, m2info->fbcon.var.red.length); in matroxfb_dh_setcolreg() 42 green = CNVT_TOHW(green, m2info->fbcon.var.green.length); in matroxfb_dh_setcolreg() 43 blue = CNVT_TOHW(blue, m2info->fbcon.var.blue.length); in matroxfb_dh_setcolreg() 44 transp = CNVT_TOHW(transp, m2info->fbcon.var.transp.length); in matroxfb_dh_setcolreg()
|
D | matroxfb_base.h | 119 #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) macro
|
D | matroxfb_base.c | 673 red = CNVT_TOHW(red, minfo->fbcon.var.red.length); in matroxfb_setcolreg() 674 green = CNVT_TOHW(green, minfo->fbcon.var.green.length); in matroxfb_setcolreg() 675 blue = CNVT_TOHW(blue, minfo->fbcon.var.blue.length); in matroxfb_setcolreg() 676 transp = CNVT_TOHW(transp, minfo->fbcon.var.transp.length); in matroxfb_setcolreg()
|