/linux-6.1.9/include/linux/amba/ |
D | clcd.h | 53 grayscale:1; member 173 else if (!var->grayscale) /* STN color */ in clcdfb_decode() 185 if (var->grayscale) in clcdfb_decode() 266 if (var->grayscale != fb->fb.var.grayscale || in clcdfb_check()
|
/linux-6.1.9/Documentation/fb/ |
D | api.rst | 52 bits_per_pixel, grayscale, red, green, blue and transp fields. 89 stored in the variable screen information grayscale field. 142 identifier stored in the variable screen information grayscale field. 191 __u32 grayscale; /* 0 = color, 1 = grayscale, */ 240 for applications when using RGB and grayscale formats, as well as legacy 245 monochrome, grayscale or pseudocolor visuals, although this is not required. 247 - For grayscale formats, applications set the grayscale field to one. The red, 252 - For pseudocolor formats, applications set the grayscale field to zero. The 257 - For truecolor and directcolor formats, applications set the grayscale field 285 and grayscale formats. [all …]
|
D | cmap_xfbdev.rst | 7 - example of relevant structures in fbdev as used for a 3-bit grayscale cmap:: 11 .grayscale = 1, 24 - X11 apps do something like the following when trying to use grayscale::
|
D | internals.rst | 84 Grayscale and static grayscale are special variants of pseudo color and static
|
/linux-6.1.9/drivers/video/fbdev/ |
D | ocfb.c | 144 if (!var->grayscale) in ocfb_setupfb() 186 if (info->var.grayscale) { in ocfb_setcolreg() 196 if (info->var.bits_per_pixel == 8 && !info->var.grayscale) { in ocfb_setcolreg() 222 if (var->bits_per_pixel == 8 && !var->grayscale) in ocfb_init_fix()
|
D | goldfishfb.c | 110 (var->grayscale != info->var.grayscale)) { in goldfish_fb_check_var()
|
D | gbefb.c | 95 .grayscale = 0, 126 .grayscale = 0, 920 var->grayscale = 0; /* No grayscale for now */ in gbefb_check_var() 940 var->grayscale = 0; in gbefb_check_var()
|
D | sh7760fb.c | 179 if ((var->grayscale) && (var->bits_per_pixel == 1)) in sh7760fb_check_var() 394 if (info->var.grayscale) { in sh7760fb_alloc_mem()
|
D | pmag-aa-fb.c | 76 .grayscale = 1,
|
D | skeletonfb.c | 294 if (info->var.grayscale) { in xxxfb_setcolreg()
|
D | sh_mobile_lcdcfb.c | 608 if (var->grayscale > 1) in sh_mobile_format_fourcc() 609 return var->grayscale; in sh_mobile_format_fourcc() 625 return var->grayscale > 1; in sh_mobile_format_is_fourcc() 1121 format = sh_mobile_format_info(var->grayscale); in __sh_mobile_lcdc_check_var() 1614 var->grayscale = ovl->format->fourcc; in sh_mobile_lcdc_overlay_fb_init() 2110 var->grayscale = ch->format->fourcc; in sh_mobile_lcdc_channel_fb_init()
|
D | stifb.c | 942 if (unlikely(fb->info.var.grayscale)) { in stifb_setcolreg() 1231 var->grayscale = 1; in stifb_init_fb() 1238 var->grayscale = 1; in stifb_init_fb()
|
D | pxa168fb.c | 177 var->grayscale = 0; in set_mode() 491 if (info->var.grayscale) in pxa168fb_setcolreg()
|
D | s1d13xxxfb.c | 276 if (info->var.grayscale) in s1d13xxxfb_setcolreg() 711 var->grayscale = !is_color; in s1d13xxxfb_fetch_hw_state()
|
D | xilinxfb.c | 206 if (fbi->var.grayscale) { in xilinx_fb_setcolreg()
|
D | 68328fb.c | 285 if (info->var.grayscale) { in mc68x328fb_setcolreg()
|
/linux-6.1.9/drivers/gpu/drm/pl111/ |
D | pl111_display.c | 131 bool grayscale = false; in pl111_display_enable() local 195 grayscale = true; in pl111_display_enable() 203 if (grayscale) in pl111_display_enable() 242 if (grayscale) in pl111_display_enable()
|
/linux-6.1.9/drivers/video/fbdev/geode/ |
D | gxfb_core.c | 183 if (info->var.grayscale) { in gxfb_setcolreg() 316 info->var.grayscale = 0; in gxfb_init_fbinfo()
|
D | gx1fb_core.c | 160 if (info->var.grayscale) { in gx1fb_setcolreg() 302 info->var.grayscale = 0; in gx1fb_init_fbinfo()
|
D | lxfb_core.c | 291 if (info->var.grayscale) { in lxfb_setcolreg() 442 info->var.grayscale = 0; in lxfb_init_fbinfo()
|
/linux-6.1.9/drivers/video/fbdev/core/ |
D | fbcon.h | 43 u32 grayscale; member
|
/linux-6.1.9/include/uapi/linux/ |
D | fb.h | 251 __u32 grayscale; /* 0 = color, 1 = grayscale, */ member
|
/linux-6.1.9/drivers/video/fbdev/matrox/ |
D | matroxfb_base.c | 662 if (minfo->fbcon.var.grayscale) { in matroxfb_setcolreg() 1255 static int grayscale; /* "matroxfb:grayscale" */ variable 1804 vesafb_defined.grayscale = grayscale; in initMatrox2() 2459 grayscale = value; in matroxfb_setup() 2561 module_param(grayscale, int, 0); 2562 MODULE_PARM_DESC(grayscale, "Sets display into grayscale. Works perfectly with paletized videomode …
|
/linux-6.1.9/drivers/staging/fbtft/ |
D | fb_uc1611.c | 151 par->info->var.grayscale = 1; in set_var()
|
/linux-6.1.9/drivers/video/fbdev/sis/ |
D | sis_main.h | 26 .grayscale = 0,
|