Home
last modified time | relevance | path

Searched refs:gray (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dsh7760fb.c122 u16 lddfr, int *bpp, int *gray) in sh7760fb_get_color_info()
161 if (gray) in sh7760fb_get_color_info()
162 *gray = lgray; in sh7760fb_get_color_info()
206 int ret, bpp, gray; in sh7760fb_set_par() local
227 ret = sh7760fb_get_color_info(info, par->pd->lddfr, &bpp, &gray); in sh7760fb_set_par()
232 vdln, bpp, gray ? "grayscale" : "color", in sh7760fb_set_par()
271 if (!gray) in sh7760fb_set_par()
121 sh7760fb_get_color_info(struct fb_info *info, u16 lddfr, int *bpp, int *gray) sh7760fb_get_color_info() argument
H A Dvga16fb.c680 int gray; in vga16fb_setcolreg() local
692 gray = info->var.grayscale; in vga16fb_setcolreg()
694 if (gray) { in vga16fb_setcolreg()
695 /* gray = 0.30*R + 0.59*G + 0.11*B */ in vga16fb_setcolreg()
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dsh7760fb.c122 u16 lddfr, int *bpp, int *gray) in sh7760fb_get_color_info()
159 if (gray) in sh7760fb_get_color_info()
160 *gray = lgray; in sh7760fb_get_color_info()
204 int ret, bpp, gray; in sh7760fb_set_par() local
225 ret = sh7760fb_get_color_info(info->dev, par->pd->lddfr, &bpp, &gray); in sh7760fb_set_par()
230 vdln, bpp, gray ? "grayscale" : "color", in sh7760fb_set_par()
269 if (!gray) in sh7760fb_set_par()
121 sh7760fb_get_color_info(struct device *dev, u16 lddfr, int *bpp, int *gray) sh7760fb_get_color_info() argument
H A Dvga16fb.c682 int gray; in vga16fb_setcolreg() local
694 gray = info->var.grayscale; in vga16fb_setcolreg()
696 if (gray) { in vga16fb_setcolreg()
697 /* gray = 0.30*R + 0.59*G + 0.11*B */ in vga16fb_setcolreg()
/kernel/linux/linux-5.10/tools/power/pm-graph/
H A Dsleepgraph.py4373 '<td class="gray" title="time spent in low-power mode with clock running">'+sysvals.suspendmode+' time: <b>{1} ms</b></td>'\
4738 .stamp {width:100%;text-align:center;background:gray;line-height:30px;color:white;font:25px Arial;}\n\
4750 .gray {background:rgba(80,80,80,0.1);}\n\
/kernel/linux/linux-6.6/tools/power/pm-graph/
H A Dsleepgraph.py4630 '<td class="gray" title="time spent in low-power mode with clock running">'+sysvals.suspendmode+' time: <b>{1} ms</b></td>'\
4992 .stamp {width:100%;text-align:center;background:gray;line-height:30px;color:white;font:25px Arial;}\n\
5004 .gray {background:rgba(80,80,80,0.1);}\n\

Completed in 21 milliseconds