/linux-6.1.9/drivers/video/fbdev/ |
D | 68328fb.c | 312 #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) in mc68x328fb_setcolreg() macro 316 red = CNVT_TOHW(red, info->var.red.length); in mc68x328fb_setcolreg() 317 green = CNVT_TOHW(green, info->var.green.length); in mc68x328fb_setcolreg() 318 blue = CNVT_TOHW(blue, info->var.blue.length); in mc68x328fb_setcolreg() 319 transp = CNVT_TOHW(transp, info->var.transp.length); in mc68x328fb_setcolreg() 322 red = CNVT_TOHW(red, 8); /* expect 8 bit DAC */ in mc68x328fb_setcolreg() 323 green = CNVT_TOHW(green, 8); in mc68x328fb_setcolreg() 324 blue = CNVT_TOHW(blue, 8); in mc68x328fb_setcolreg() 326 transp = CNVT_TOHW(transp, 8); in mc68x328fb_setcolreg() 329 #undef CNVT_TOHW in mc68x328fb_setcolreg()
|
D | vfb.c | 308 #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) in vfb_setcolreg() macro 312 red = CNVT_TOHW(red, info->var.red.length); in vfb_setcolreg() 313 green = CNVT_TOHW(green, info->var.green.length); in vfb_setcolreg() 314 blue = CNVT_TOHW(blue, info->var.blue.length); in vfb_setcolreg() 315 transp = CNVT_TOHW(transp, info->var.transp.length); in vfb_setcolreg() 318 red = CNVT_TOHW(red, 8); /* expect 8 bit DAC */ in vfb_setcolreg() 319 green = CNVT_TOHW(green, 8); in vfb_setcolreg() 320 blue = CNVT_TOHW(blue, 8); in vfb_setcolreg() 322 transp = CNVT_TOHW(transp, 8); in vfb_setcolreg() 325 #undef CNVT_TOHW in vfb_setcolreg()
|
D | skeletonfb.c | 361 #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) in xxxfb_setcolreg() macro 362 red = CNVT_TOHW(red, info->var.red.length); in xxxfb_setcolreg() 363 green = CNVT_TOHW(green, info->var.green.length); in xxxfb_setcolreg() 364 blue = CNVT_TOHW(blue, info->var.blue.length); in xxxfb_setcolreg() 365 transp = CNVT_TOHW(transp, info->var.transp.length); in xxxfb_setcolreg() 366 #undef CNVT_TOHW in xxxfb_setcolreg()
|
D | grvga.c | 203 #define CNVT_TOHW(val, width) ((((val)<<(width))+0x7FFF-(val))>>16) in grvga_setcolreg() macro 205 red = CNVT_TOHW(red, info->var.red.length); in grvga_setcolreg() 206 green = CNVT_TOHW(green, info->var.green.length); in grvga_setcolreg() 207 blue = CNVT_TOHW(blue, info->var.blue.length); in grvga_setcolreg() 208 transp = CNVT_TOHW(transp, info->var.transp.length); in grvga_setcolreg() 210 #undef CNVT_TOHW in grvga_setcolreg()
|
D | xen-fbfront.c | 222 #define CNVT_TOHW(val, width) ((((val)<<(width))+0x7FFF-(val))>>16) in xenfb_setcolreg() macro 223 red = CNVT_TOHW(red, info->var.red.length); in xenfb_setcolreg() 224 green = CNVT_TOHW(green, info->var.green.length); in xenfb_setcolreg() 225 blue = CNVT_TOHW(blue, info->var.blue.length); in xenfb_setcolreg() 226 #undef CNVT_TOHW in xenfb_setcolreg()
|
D | pm2fb.c | 913 #define CNVT_TOHW(val, width) ((((val) << (width)) + 0x7FFF -(val)) >> 16) in pm2fb_setcolreg() macro 917 red = CNVT_TOHW(red, info->var.red.length); in pm2fb_setcolreg() 918 green = CNVT_TOHW(green, info->var.green.length); in pm2fb_setcolreg() 919 blue = CNVT_TOHW(blue, info->var.blue.length); in pm2fb_setcolreg() 920 transp = CNVT_TOHW(transp, info->var.transp.length); in pm2fb_setcolreg() 925 red = CNVT_TOHW(red, 8); in pm2fb_setcolreg() 926 green = CNVT_TOHW(green, 8); in pm2fb_setcolreg() 927 blue = CNVT_TOHW(blue, 8); in pm2fb_setcolreg() 929 transp = CNVT_TOHW(transp, 8); in pm2fb_setcolreg() 932 #undef CNVT_TOHW in pm2fb_setcolreg()
|
D | pm3fb.c | 1106 #define CNVT_TOHW(val, width) ((((val) << (width)) + 0x7FFF - (val)) >> 16) in pm3fb_setcolreg() macro 1107 red = CNVT_TOHW(red, info->var.red.length); in pm3fb_setcolreg() 1108 green = CNVT_TOHW(green, info->var.green.length); in pm3fb_setcolreg() 1109 blue = CNVT_TOHW(blue, info->var.blue.length); in pm3fb_setcolreg() 1110 transp = CNVT_TOHW(transp, info->var.transp.length); in pm3fb_setcolreg() 1111 #undef CNVT_TOHW in pm3fb_setcolreg()
|
D | imxfb.c | 276 #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) in imxfb_setpalettereg() macro 278 val = (CNVT_TOHW(red, 4) << 8) | in imxfb_setpalettereg() 279 (CNVT_TOHW(green,4) << 4) | in imxfb_setpalettereg() 280 CNVT_TOHW(blue, 4); in imxfb_setpalettereg()
|
D | da8xx-fb.c | 591 #define CNVT_TOHW(val, width) ((((val) << (width)) + 0x7FFF - (val)) >> 16) macro 612 red = CNVT_TOHW(red, info->var.red.length); in fb_setcolreg() 613 green = CNVT_TOHW(green, info->var.green.length); in fb_setcolreg() 614 blue = CNVT_TOHW(blue, info->var.blue.length); in fb_setcolreg() 680 #undef CNVT_TOHW
|
D | tdfxfb.c | 737 #define CNVT_TOHW(val, width) ((((val) << (width)) + 0x7FFF - (val)) >> 16) macro 767 rgbcol = (CNVT_TOHW(red, info->var.red.length) << in tdfxfb_setcolreg() 769 (CNVT_TOHW(green, info->var.green.length) << in tdfxfb_setcolreg() 771 (CNVT_TOHW(blue, info->var.blue.length) << in tdfxfb_setcolreg() 773 (CNVT_TOHW(transp, info->var.transp.length) << in tdfxfb_setcolreg()
|
D | fsl-diu-fb.c | 1181 static inline __u32 CNVT_TOHW(__u32 val, __u32 width) in CNVT_TOHW() function 1218 red = CNVT_TOHW(red, info->var.red.length); in fsl_diu_setcolreg() 1219 green = CNVT_TOHW(green, info->var.green.length); in fsl_diu_setcolreg() 1220 blue = CNVT_TOHW(blue, info->var.blue.length); in fsl_diu_setcolreg() 1221 transp = CNVT_TOHW(transp, info->var.transp.length); in fsl_diu_setcolreg()
|
/linux-6.1.9/drivers/video/fbdev/matrox/ |
D | matroxfb_crtc2.c | 42 red = CNVT_TOHW(red, m2info->fbcon.var.red.length); in matroxfb_dh_setcolreg() 43 green = CNVT_TOHW(green, m2info->fbcon.var.green.length); in matroxfb_dh_setcolreg() 44 blue = CNVT_TOHW(blue, m2info->fbcon.var.blue.length); in matroxfb_dh_setcolreg() 45 transp = CNVT_TOHW(transp, m2info->fbcon.var.transp.length); in matroxfb_dh_setcolreg()
|
D | matroxfb_base.h | 115 #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) macro
|
D | matroxfb_base.c | 667 red = CNVT_TOHW(red, minfo->fbcon.var.red.length); in matroxfb_setcolreg() 668 green = CNVT_TOHW(green, minfo->fbcon.var.green.length); in matroxfb_setcolreg() 669 blue = CNVT_TOHW(blue, minfo->fbcon.var.blue.length); in matroxfb_setcolreg() 670 transp = CNVT_TOHW(transp, minfo->fbcon.var.transp.length); in matroxfb_setcolreg()
|