Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/amba/
Dclcd.h106 grayscale:1; member
219 else if (!var->grayscale) /* STN color */ in clcdfb_decode()
231 if (var->grayscale) in clcdfb_decode()
306 if (var->grayscale != fb->fb.var.grayscale || in clcdfb_check()
/linux-4.4.14/Documentation/fb/
Dapi.txt51 bits_per_pixel, grayscale, red, green, blue and transp fields.
88 stored in the variable screen information grayscale field.
141 identifier stored in the variable screen information grayscale field.
190 __u32 grayscale; /* 0 = color, 1 = grayscale, */
239 for applications when using RGB and grayscale formats, as well as legacy
244 monochrome, grayscale or pseudocolor visuals, although this is not required.
246 - For grayscale formats, applications set the grayscale field to one. The red,
251 - For pseudocolor formats, applications set the grayscale field to zero. The
256 - For truecolor and directcolor formats, applications set the grayscale field
284 and grayscale formats.
[all …]
Dcmap_xfbdev.txt6 *. example of relevant structures in fbdev as used for a 3-bit grayscale cmap
9 .grayscale = 1,
22 *. X11 apps do something like the following when trying to use grayscale.
Dinternals.txt79 Grayscale and static grayscale are special variants of pseudo color and static
Dmatroxfb.txt201 grayscale - enable grayscale summing. It works in PSEUDOCOLOR modes (text,
205 nograyscale - disable grayscale summing. It is default.
/linux-4.4.14/arch/arm/mach-integrator/
Dimpd1.c99 .grayscale = 0,
127 .grayscale = 0,
156 .grayscale = 0,
188 .grayscale = 0,
/linux-4.4.14/drivers/video/fbdev/
Docfb.c144 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()
Dauo_k190x.c148 if (info->var.bits_per_pixel == 8 && info->var.grayscale) in auok190x_issue_pixels()
154 info->var.bits_per_pixel, info->var.grayscale); in auok190x_issue_pixels()
453 if (var->bits_per_pixel == 8 && var->grayscale == 1) { in auok190xfb_check_var()
490 info->var.bits_per_pixel, info->var.grayscale); in auok190xfb_check_var()
540 fix->visual = (var->grayscale) ? FB_VISUAL_STATIC_PSEUDOCOLOR in auok190xfb_set_fix()
1051 info->var.grayscale = 1; in auok190x_common_probe()
Dgoldfishfb.c118 (var->grayscale != info->var.grayscale)) { in goldfish_fb_check_var()
Dgbefb.c101 .grayscale = 0,
132 .grayscale = 0,
928 var->grayscale = 0; /* No grayscale for now */ in gbefb_check_var()
948 var->grayscale = 0; in gbefb_check_var()
Dclps711xfb.c242 info->var.grayscale = info->var.bits_per_pixel > 1; in clps711x_guess_lcd_params()
Dsh7760fb.c182 if ((var->grayscale) && (var->bits_per_pixel == 1)) in sh7760fb_check_var()
397 if (info->var.grayscale) { in sh7760fb_alloc_mem()
Dsh_mobile_lcdcfb.c618 var.grayscale = info->var.grayscale; in sh_mobile_lcdc_display_notify()
701 if (var->grayscale > 1) in sh_mobile_format_fourcc()
702 return var->grayscale; in sh_mobile_format_fourcc()
718 return var->grayscale > 1; in sh_mobile_format_is_fourcc()
1264 format = sh_mobile_format_info(var->grayscale); in __sh_mobile_lcdc_check_var()
1755 var->grayscale = ovl->format->fourcc; in sh_mobile_lcdc_overlay_fb_init()
2265 var->grayscale = ch->format->fourcc; in sh_mobile_lcdc_channel_fb_init()
Dskeletonfb.c295 if (info->var.grayscale) { in xxxfb_setcolreg()
Dstifb.c942 if (unlikely(fb->info.var.grayscale)) { in stifb_setcolreg()
1191 var->grayscale = 1; in stifb_init_fb()
1198 var->grayscale = 1; in stifb_init_fb()
Ds1d13xxxfb.c282 if (info->var.grayscale) in s1d13xxxfb_setcolreg()
722 var->grayscale = !is_color; in s1d13xxxfb_fetch_hw_state()
Dpxa168fb.c181 var->grayscale = 0; in set_mode()
498 if (info->var.grayscale) in pxa168fb_setcolreg()
Dxilinxfb.c206 if (fbi->var.grayscale) { in xilinx_fb_setcolreg()
Dclps711x-fb.c100 var->grayscale = var->bits_per_pixel > 1; in clps711x_fb_check_var()
D68328fb.c288 if (info->var.grayscale) { in mc68x328fb_setcolreg()
Damba-clcd.c491 fb->fb.var.grayscale = fb->panel->grayscale; in clcdfb_register()
Dimxfb.c295 if (info->var.grayscale) in imxfb_setcolreg()
667 info->var.grayscale = of_property_read_bool(np, in imxfb_init_fbinfo()
Dwm8505fb.c203 if (info->var.grayscale) in wm8505fb_setcolreg()
Dpmag-aa-fb.c331 var->grayscale = 1; in aafb_encode_var()
Dvfb.c315 if (info->var.grayscale) { in vfb_setcolreg()
Dgrvga.c201 if (info->var.grayscale) { in grvga_setcolreg()
Dsa1100fb.c315 if (fbi->fb.var.grayscale) in sa1100fb_setcolreg()
1191 fbi->fb.var.grayscale = inf->cmap_greyscale; in sa1100fb_init_fbinfo()
Dbfin-t350mcqb-fb.c310 if (info->var.grayscale) { in bfin_t350mcqb_fb_setcolreg()
Dau1100fb.c247 if (fbi->var.grayscale) { in au1100fb_fb_setcolreg()
Dvt8500lcdfb.c156 if (info->var.grayscale) in vt8500lcd_setcolreg()
Dbf54x-lq043fb.c388 if (info->var.grayscale) { in bfin_bf54x_fb_setcolreg()
Datafb.c699 var->grayscale = 0; in tt_encode_var()
1475 var->grayscale = 0; in falcon_encode_var()
1907 var->grayscale = 0; in stste_encode_var()
2182 var->grayscale = 0; in ext_encode_var()
Dbf537-lq035.c594 if (info->var.grayscale) in bfin_lq035_fb_setcolreg()
Dmetronomefb.c119 .grayscale = 1,
Dda8xx-fb.c634 if (info->var.grayscale) { in fb_setcolreg()
1465 da8xx_fb_var.grayscale = in fb_probe()
Dpxafb.c147 if (fbi->fb.var.grayscale) { in pxafb_setpalettereg()
206 if (fbi->fb.var.grayscale) in pxafb_setcolreg()
401 var->grayscale = mode->cmap_greyscale; in pxafb_setmode()
Doffb.c494 var->grayscale = 0; in offb_init_fb()
Dmx3fb.c1012 var->grayscale = 0; in mx3fb_check_var()
1043 if (fbi->var.grayscale) in mx3fb_setcolreg()
Dcarminefb.c187 if (var->grayscale || var->rotate || var->nonstd) in carmine_check_var()
Dbfin_adv7393fb.c692 if (info->var.grayscale) in bfin_adv7393_fb_setcolreg()
Dbfin-lq035q1-fb.c505 if (info->var.grayscale) { in bfin_lq035q1_fb_setcolreg()
Dfb-puv3.c564 if (info->var.grayscale) { in unifb_setcolreg()
Dfsl-diu-fb.c779 var->grayscale = 0; in fsl_diu_check_var()
1213 if (info->var.grayscale) in fsl_diu_setcolreg()
Dw100fb.c207 if (info->var.grayscale) in w100fb_setcolreg()
741 info->var.grayscale = 0; in w100fb_probe()
Dtmiofb.c597 var->grayscale = 0; in tmiofb_check_var()
Dmxsfb.c540 if (fb_info->var.grayscale) in mxsfb_setcolreg()
Dbroadsheetfb.c111 .grayscale = 1,
Dps3fb.c555 if (var->bits_per_pixel > 32 || var->grayscale || in ps3fb_check_var()
Dvga16fb.c675 gray = info->var.grayscale; in vga16fb_setcolreg()
Dpm3fb.c1079 if (info->var.grayscale) in pm3fb_setcolreg()
Di740fb.c412 var->grayscale); in i740fb_decode_var()
Datmel_lcdfb.c816 if (info->var.grayscale) in atmel_lcdfb_setcolreg()
Dau1200fb.c1149 if (fbi->var.grayscale) { in au1200fb_fb_setcolreg()
Dtdfxfb.c749 if (info->var.grayscale) { in tdfxfb_setcolreg()
Dpm2fb.c878 if (info->var.grayscale) in pm2fb_setcolreg()
Damifb.c1529 var->grayscale = 0; in ami_encode_var()
DKconfig2202 Supports display resolutions up to 1024x1024 pixel, grayscale and
/linux-4.4.14/arch/arm/mach-nspire/
Dclcd.c61 .grayscale = 1,
/linux-4.4.14/arch/arm/mach-netx/
Dnxeb500hmi.c58 .grayscale = 0,
Dnxdb500.c58 .grayscale = 0,
/linux-4.4.14/drivers/video/fbdev/geode/
Dgx1fb_core.c163 if (info->var.grayscale) { in gx1fb_setcolreg()
305 info->var.grayscale = 0; in gx1fb_init_fbinfo()
Dgxfb_core.c196 if (info->var.grayscale) { in gxfb_setcolreg()
329 info->var.grayscale = 0; in gxfb_init_fbinfo()
Dlxfb_core.c303 if (info->var.grayscale) { in lxfb_setcolreg()
454 info->var.grayscale = 0; in lxfb_init_fbinfo()
/linux-4.4.14/drivers/video/console/
Dfbcon.h43 u32 grayscale; member
Dfbcon.c882 disp->grayscale = var->grayscale; in var_to_display()
906 var->grayscale = disp->grayscale; in display_to_var()
/linux-4.4.14/include/uapi/linux/
Dfb.h249 __u32 grayscale; /* 0 = color, 1 = grayscale, */ member
/linux-4.4.14/drivers/staging/fbtft/
Dfb_uc1611.c154 par->info->var.grayscale = 1; in set_var()
/linux-4.4.14/drivers/video/fbdev/matrox/
Dmatroxfb_base.c660 if (minfo->fbcon.var.grayscale) { in matroxfb_setcolreg()
1253 static int grayscale; /* "matroxfb:grayscale" */ variable
1789 vesafb_defined.grayscale = grayscale; in initMatrox2()
2443 grayscale = value; in matroxfb_setup()
2547 module_param(grayscale, int, 0);
2548 MODULE_PARM_DESC(grayscale, "Sets display into grayscale. Works perfectly with paletized videomode …
Dmatroxfb_crtc2.c37 if (m2info->fbcon.var.grayscale) { in matroxfb_dh_setcolreg()
/linux-4.4.14/drivers/video/fbdev/vermilion/
Dvermilion.c519 info->var.grayscale = 0; in vml_pci_probe()
972 if (info->var.grayscale) { in vmlfb_setcolreg()
/linux-4.4.14/drivers/hid/
Dhid-picolcd_fb.c76 .grayscale = 1,
/linux-4.4.14/drivers/video/fbdev/sis/
Dsis_main.h39 .grayscale = 0,
/linux-4.4.14/drivers/staging/sm750fb/
Dsm750.c599 if (info->var.grayscale) in lynxfb_ops_setcolreg()
/linux-4.4.14/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c497 fbi->var.grayscale = 0; in mb862xxfb_init_fbinfo()
/linux-4.4.14/drivers/video/fbdev/nvidia/
Dnvidia.c708 if (info->var.grayscale) { in nvidiafb_setcolreg()
/linux-4.4.14/drivers/video/fbdev/omap/
Domapfb_main.c578 var->grayscale = 0; in set_fb_var()
/linux-4.4.14/drivers/video/fbdev/core/
Dfbmem.c982 var->grayscale > 1) { in fb_set_var()
/linux-4.4.14/drivers/video/fbdev/riva/
Dfbdev.c1310 if (info->var.grayscale) { in rivafb_setcolreg()
/linux-4.4.14/drivers/video/fbdev/via/
Dviafbdev.c90 var->grayscale = 0; in viafb_fill_var_color_info()
/linux-4.4.14/drivers/video/fbdev/i810/
Di810_main.c1298 if (info->var.grayscale) in i810fb_setcolreg()
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c719 var->grayscale = 0; in check_fb_var()
/linux-4.4.14/Documentation/video4linux/
Dvivid.txt321 will be in color for the +/- 0.25 MHz around it, and in grayscale for