Home
last modified time | relevance | path

Searched full:color (Results 1 – 25 of 2096) sorted by relevance

12345678910>>...84

/kernel/linux/linux-5.10/tools/testing/selftests/futex/functional/
Drun.sh21 # Test for a color capable console
30 COLOR="-c"
37 ./futex_requeue_pi $COLOR
38 ./futex_requeue_pi $COLOR -b
39 ./futex_requeue_pi $COLOR -b -l
40 ./futex_requeue_pi $COLOR -b -o
41 ./futex_requeue_pi $COLOR -l
42 ./futex_requeue_pi $COLOR -o
44 ./futex_requeue_pi $COLOR -b -l -t 5000
45 ./futex_requeue_pi $COLOR -l -t 5000
[all …]
/kernel/linux/linux-4.19/tools/testing/selftests/futex/functional/
Drun.sh25 # Test for a color capable console
34 COLOR="-c"
41 ./futex_requeue_pi $COLOR
42 ./futex_requeue_pi $COLOR -b
43 ./futex_requeue_pi $COLOR -b -l
44 ./futex_requeue_pi $COLOR -b -o
45 ./futex_requeue_pi $COLOR -l
46 ./futex_requeue_pi $COLOR -o
48 ./futex_requeue_pi $COLOR -b -l -t 5000
49 ./futex_requeue_pi $COLOR -l -t 5000
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dcolor.c7 #include "color.h"
13 static int __color_vsnprintf(char *bf, size_t size, const char *color, in __color_vsnprintf() argument
28 if (perf_use_color_default && *color) in __color_vsnprintf()
29 r += scnprintf(bf, size, "%s", color); in __color_vsnprintf()
31 if (perf_use_color_default && *color) in __color_vsnprintf()
39 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, in __color_vfprintf() argument
54 if (perf_use_color_default && *color) in __color_vfprintf()
55 fprintf(fp, "%s", color); in __color_vfprintf()
57 if (perf_use_color_default && *color) in __color_vfprintf()
62 int color_vsnprintf(char *bf, size_t size, const char *color, in color_vsnprintf() argument
[all …]
/kernel/linux/linux-4.19/tools/perf/util/
Dcolor.c7 #include "color.h"
43 if (!strcmp(var, "color.ui")) { in perf_color_default_config()
51 static int __color_vsnprintf(char *bf, size_t size, const char *color, in __color_vsnprintf() argument
66 if (perf_use_color_default && *color) in __color_vsnprintf()
67 r += scnprintf(bf, size, "%s", color); in __color_vsnprintf()
69 if (perf_use_color_default && *color) in __color_vsnprintf()
77 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, in __color_vfprintf() argument
92 if (perf_use_color_default && *color) in __color_vfprintf()
93 fprintf(fp, "%s", color); in __color_vfprintf()
95 if (perf_use_color_default && *color) in __color_vfprintf()
[all …]
/kernel/linux/linux-4.19/Documentation/media/uapi/v4l/
Dcolorspaces.rst9 'Color' is a very complex concept and depends on physics, chemistry and
11 'green' and 'blue' components of the color of a pixel does not mean that
12 you can accurately display that color. A colorspace defines what it
14 which color should be reproduced on the screen in a perfectly calibrated
17 In order to do that we first need to have a good definition of color,
18 i.e. some way to uniquely and unambiguously define a color so that
19 someone else can reproduce it. Human color vision is trichromatic since
20 the human eye has color receptors that are sensitive to three different
22 color. Be glad you are not a mantis shrimp as those are sensitive to 12
26 Color exists only in the eye and brain and is the result of how strongly
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dcolorspaces.rst9 'Color' is a very complex concept and depends on physics, chemistry and
11 'green' and 'blue' components of the color of a pixel does not mean that
12 you can accurately display that color. A colorspace defines what it
14 which color should be reproduced on the screen in a perfectly calibrated
17 In order to do that we first need to have a good definition of color,
18 i.e. some way to uniquely and unambiguously define a color so that
19 someone else can reproduce it. Human color vision is trichromatic since
20 the human eye has color receptors that are sensitive to three different
22 color. Be glad you are not a mantis shrimp as those are sensitive to 12
26 Color exists only in the eye and brain and is the result of how strongly
[all …]
/kernel/linux/linux-4.19/include/uapi/linux/dvb/
Dosd.h35 OSD_Open, // (x0,y0,x1,y1,BitPerPixel[2/4/8](color&0x0F),mix[0..15](color&0xF0))
45 // Sets all pixel to color 0
47 OSD_Fill, // (color)
48 // Sets all pixel to color <col>
50 OSD_SetColor, // (color,R{x0},G{y0},B{x1},opacity{y1})
58 OSD_SetPalette, // (firstcolor{color},lastcolor{x0},data)
61 // data has 4 byte for each color:
63 OSD_SetTrans, // (transparency{color})
66 OSD_SetPixel, // (x0,y0,color)
67 // sets pixel <x>,<y> to color number <col>
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/dvb/
Dosd.h39 OSD_Open, /* (x0,y0,x1,y1,BitPerPixel[2/4/8](color&0x0F),mix[0..15](color&0xF0)) */
56 * Sets all pixel to color 0
59 OSD_Fill, /* (color) */
61 * Sets all pixel to color <col>
64 OSD_SetColor, /* (color,R{x0},G{y0},B{x1},opacity{y1}) */
74 OSD_SetPalette, /* (firstcolor{color},lastcolor{x0},data) */
78 * data has 4 byte for each color:
81 OSD_SetTrans, /* (transparency{color}) */
86 OSD_SetPixel, /* (x0,y0,color) */
88 * sets pixel <x>,<y> to color number <col>
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/sis/
Dsis_accel.h45 #define COLOREXP 0x00000001 /* Color expand */
46 #define ENCOLOREXP 0x00000002 /* Enhanced color expand */
61 #define SRCCPUBLITBUF SRCSYSTEM /* source is CPU-driven BitBuffer (for color expand) */
65 #define PATFG 0x00000000 /* foreground color */
89 /* Subfunctions for Color/Enhanced Color Expansion (315 only) */
96 #define AGP_BASE 0x8206 /* color-depth dependent value */
190 #define SiS300SetupPATFG(color) \ argument
192 MMIO_OUT32(ivideo->mmio_vbase, BR(7), color);\
195 #define SiS300SetupPATBG(color) \ argument
197 MMIO_OUT32(ivideo->mmio_vbase, BR(8), color);\
[all …]
/kernel/linux/linux-4.19/drivers/video/fbdev/sis/
Dsis_accel.h58 #define COLOREXP 0x00000001 /* Color expand */
59 #define ENCOLOREXP 0x00000002 /* Enhanced color expand */
74 #define SRCCPUBLITBUF SRCSYSTEM /* source is CPU-driven BitBuffer (for color expand) */
78 #define PATFG 0x00000000 /* foreground color */
102 /* Subfunctions for Color/Enhanced Color Expansion (315 only) */
109 #define AGP_BASE 0x8206 /* color-depth dependent value */
203 #define SiS300SetupPATFG(color) \ argument
205 MMIO_OUT32(ivideo->mmio_vbase, BR(7), color);\
208 #define SiS300SetupPATBG(color) \ argument
210 MMIO_OUT32(ivideo->mmio_vbase, BR(8), color);\
[all …]
/kernel/linux/linux-4.19/drivers/video/logo/
DKconfig23 bool "Standard 16-color Linux logo"
27 bool "Standard 224-color Linux logo"
31 bool "224-color Digital Equipment Corporation Linux logo"
36 bool "224-color Macintosh Linux logo"
41 bool "224-color PA-RISC Linux logo"
46 bool "224-color SGI Linux logo"
51 bool "224-color Sun Linux logo"
61 bool "16-color SuperH Linux logo"
66 bool "224-color SuperH Linux logo"
/kernel/linux/linux-5.10/drivers/video/logo/
DKconfig24 bool "Standard 16-color Linux logo"
28 bool "Standard 224-color Linux logo"
32 bool "224-color Digital Equipment Corporation Linux logo"
37 bool "224-color Macintosh Linux logo"
42 bool "224-color PA-RISC Linux logo"
47 bool "224-color SGI Linux logo"
52 bool "224-color Sun Linux logo"
62 bool "16-color SuperH Linux logo"
67 bool "224-color SuperH Linux logo"
/kernel/linux/linux-4.19/tools/power/pm-graph/config/
Dcustom-timeline-functions.cfg84 # function: format{fn_arg1}_{fn_arg2} fn_arg1 fn_arg2 ... [color=purple]
101 # color: The color of the entry block in the timeline. The default color is
102 # transparent, so the entry shares the phase color. The color is an
103 # html color string, either a word, or an RGB.
105 # example: [color=#CC00CC]
114 # _cpu_up: CPU_ON[{cpu}] cpu=%di:s32 [color=orange]
149 # function: format{fn_arg1}_{fn_arg2} fn_arg1 fn_arg2 ... [color=purple]
166 # color: The color of the entry block in the timeline. The default color is
167 # transparent, so the entry shares the phase color. The color is an
168 # html color string, either a word, or an RGB.
[all …]
/kernel/linux/linux-5.10/tools/power/pm-graph/config/
Dcustom-timeline-functions.cfg84 # function: format{fn_arg1}_{fn_arg2} fn_arg1 fn_arg2 ... [color=purple]
101 # color: The color of the entry block in the timeline. The default color is
102 # transparent, so the entry shares the phase color. The color is an
103 # html color string, either a word, or an RGB.
105 # example: [color=#CC00CC]
114 # _cpu_up: CPU_ON[{cpu}] cpu=%di:s32 [color=orange]
149 # function: format{fn_arg1}_{fn_arg2} fn_arg1 fn_arg2 ... [color=purple]
166 # color: The color of the entry block in the timeline. The default color is
167 # transparent, so the entry shares the phase color. The color is an
168 # html color string, either a word, or an RGB.
[all …]
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dhighmem.h39 static inline unsigned int get_next_pkmap_nr(unsigned int color) in get_next_pkmap_nr() argument
41 last_pkmap_nr_arr[color] = in get_next_pkmap_nr()
42 (last_pkmap_nr_arr[color] + DCACHE_N_COLORS) & LAST_PKMAP_MASK; in get_next_pkmap_nr()
43 return last_pkmap_nr_arr[color] + color; in get_next_pkmap_nr()
46 static inline int no_more_pkmaps(unsigned int pkmap_nr, unsigned int color) in no_more_pkmaps() argument
51 static inline int get_pkmap_entries_count(unsigned int color) in get_pkmap_entries_count() argument
58 static inline wait_queue_head_t *get_pkmap_wait_queue_head(unsigned int color) in get_pkmap_wait_queue_head() argument
60 return pkmap_map_wait_arr + color; in get_pkmap_wait_queue_head()
/kernel/linux/linux-4.19/drivers/media/platform/atmel/
Datmel-isc-regs.h90 /* ISC Color Filter Array Control Register */
93 /* ISC Color Filter Array Configuration Register */
102 /* ISC Color Correction Control Register */
105 /* ISC Color Correction RR RG Register */
108 /* ISC Color Correction RB OR Register */
111 /* ISC Color Correction GR GG Register */
114 /* ISC Color Correction GB OG Register */
117 /* ISC Color Correction BR BG Register */
120 /* ISC Color Correction BB OB Register */
135 /* Color Space Conversion Control Register */
[all …]
/kernel/linux/linux-4.19/arch/xtensa/include/asm/
Dhighmem.h39 static inline unsigned int get_next_pkmap_nr(unsigned int color) in get_next_pkmap_nr() argument
41 last_pkmap_nr_arr[color] = in get_next_pkmap_nr()
42 (last_pkmap_nr_arr[color] + DCACHE_N_COLORS) & LAST_PKMAP_MASK; in get_next_pkmap_nr()
43 return last_pkmap_nr_arr[color] + color; in get_next_pkmap_nr()
46 static inline int no_more_pkmaps(unsigned int pkmap_nr, unsigned int color) in no_more_pkmaps() argument
51 static inline int get_pkmap_entries_count(unsigned int color) in get_pkmap_entries_count() argument
58 static inline wait_queue_head_t *get_pkmap_wait_queue_head(unsigned int color) in get_pkmap_wait_queue_head() argument
60 return pkmap_map_wait_arr + color; in get_pkmap_wait_queue_head()
/kernel/linux/linux-5.10/drivers/media/platform/atmel/
Datmel-isc-regs.h111 /* ISC Color Filter Array Control Register */
114 /* ISC Color Filter Array Configuration Register */
123 /* ISC Color Correction Control Register */
126 /* ISC Color Correction RR RG Register */
129 /* ISC Color Correction RB OR Register */
132 /* ISC Color Correction GR GG Register */
135 /* ISC Color Correction GB OG Register */
138 /* ISC Color Correction BR BG Register */
141 /* ISC Color Correction BB OB Register */
156 /* Color Space Conversion Control Register */
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_opp.c56 /* color ramp generator mixes 16-bits color */ in opp2_set_disp_pattern_generator()
61 /* RGB values of the color bars. in opp2_set_disp_pattern_generator()
68 /* dest color (converted to the specified color format) */ in opp2_set_disp_pattern_generator()
156 /* adjust color to the required colorFormat */ in opp2_set_disp_pattern_generator()
214 /* increment for the first ramp for one color gradation in opp2_set_disp_pattern_generator()
215 * 1 gradation for 6-bit color is 2^10 in opp2_set_disp_pattern_generator()
216 * gradations in 16-bit color in opp2_set_disp_pattern_generator()
295 const struct tg_color *color) in opp2_dpg_set_blank_color() argument
300 ASSERT(color); in opp2_dpg_set_blank_color()
302 DPG_COLOUR1_B_CB, color->color_b_cb << 6, in opp2_dpg_set_blank_color()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_sspp.c358 u8 color; in dpu_hw_sspp_setup_pe_config() local
370 for (color = 0; color < DPU_MAX_PLANES; color++) { in dpu_hw_sspp_setup_pe_config()
371 /* color 2 has the same set of registers as color 1 */ in dpu_hw_sspp_setup_pe_config()
372 if (color == 2) in dpu_hw_sspp_setup_pe_config()
375 lr_pe[color] = ((pe_ext->right_ftch[color] & bytemask) << 24)| in dpu_hw_sspp_setup_pe_config()
376 ((pe_ext->right_rpt[color] & bytemask) << 16)| in dpu_hw_sspp_setup_pe_config()
377 ((pe_ext->left_ftch[color] & bytemask) << 8)| in dpu_hw_sspp_setup_pe_config()
378 (pe_ext->left_rpt[color] & bytemask); in dpu_hw_sspp_setup_pe_config()
380 tb_pe[color] = ((pe_ext->btm_ftch[color] & bytemask) << 24)| in dpu_hw_sspp_setup_pe_config()
381 ((pe_ext->btm_rpt[color] & bytemask) << 16)| in dpu_hw_sspp_setup_pe_config()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_sspp.c352 u8 color; in dpu_hw_sspp_setup_pe_config() local
364 for (color = 0; color < DPU_MAX_PLANES; color++) { in dpu_hw_sspp_setup_pe_config()
365 /* color 2 has the same set of registers as color 1 */ in dpu_hw_sspp_setup_pe_config()
366 if (color == 2) in dpu_hw_sspp_setup_pe_config()
369 lr_pe[color] = ((pe_ext->right_ftch[color] & bytemask) << 24)| in dpu_hw_sspp_setup_pe_config()
370 ((pe_ext->right_rpt[color] & bytemask) << 16)| in dpu_hw_sspp_setup_pe_config()
371 ((pe_ext->left_ftch[color] & bytemask) << 8)| in dpu_hw_sspp_setup_pe_config()
372 (pe_ext->left_rpt[color] & bytemask); in dpu_hw_sspp_setup_pe_config()
374 tb_pe[color] = ((pe_ext->btm_ftch[color] & bytemask) << 24)| in dpu_hw_sspp_setup_pe_config()
375 ((pe_ext->btm_rpt[color] & bytemask) << 16)| in dpu_hw_sspp_setup_pe_config()
[all …]
/kernel/linux/linux-5.10/drivers/leds/
Dleds-bd2802.c95 enum led_colors color; member
109 enum led_colors color) in bd2802_is_rgb_off() argument
111 switch (color) { in bd2802_is_rgb_off()
119 dev_err(&led->client->dev, "%s: Invalid color\n", __func__); in bd2802_is_rgb_off()
143 static inline u8 bd2802_get_base_offset(enum led_ids id, enum led_colors color) in bd2802_get_base_offset() argument
145 return id * BD2802_LED_OFFSET + color * BD2802_COLOR_OFFSET; in bd2802_get_base_offset()
148 static inline u8 bd2802_get_reg_addr(enum led_ids id, enum led_colors color, in bd2802_get_reg_addr() argument
151 return reg_offset + bd2802_get_base_offset(id, color); in bd2802_get_reg_addr()
172 enum led_colors color, enum led_bits led_bit) in bd2802_update_state() argument
179 switch (color) { in bd2802_update_state()
[all …]
/kernel/linux/linux-4.19/drivers/leds/
Dleds-bd2802.c98 enum led_colors color; member
112 enum led_colors color) in bd2802_is_rgb_off() argument
114 switch (color) { in bd2802_is_rgb_off()
122 dev_err(&led->client->dev, "%s: Invalid color\n", __func__); in bd2802_is_rgb_off()
146 static inline u8 bd2802_get_base_offset(enum led_ids id, enum led_colors color) in bd2802_get_base_offset() argument
148 return id * BD2802_LED_OFFSET + color * BD2802_COLOR_OFFSET; in bd2802_get_base_offset()
151 static inline u8 bd2802_get_reg_addr(enum led_ids id, enum led_colors color, in bd2802_get_reg_addr() argument
154 return reg_offset + bd2802_get_base_offset(id, color); in bd2802_get_reg_addr()
175 enum led_colors color, enum led_bits led_bit) in bd2802_update_state() argument
182 switch (color) { in bd2802_update_state()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/csc/csc_1.0/
Dia_css_csc_types.h20 * CSS-API header file for Color Space Conversion parameters.
23 /* Color Correction configuration.
28 * 1. Color Space Conversion (YCgCo to YUV) for ISP1.
29 * ISP block: CSC1 (Color Space Conversion)
32 * 2. Color Correction Matrix (YCgCo to RGB) for ISP2.
33 * ISP block: CCM2 (Color Correction Matrix)
36 * 3. Color Space Conversion (RGB to YUV) for ISP2.
37 * ISP block: CSC2 (Color Space Conversion)
/kernel/linux/linux-5.10/include/video/
Ds1d13xxxfb.h88 #define S1DREG_LCD_CUR_BCTL0 0x0076 /* LCD Ink/Cursor Blue Color 0 Register */
89 #define S1DREG_LCD_CUR_GCTL0 0x0077 /* LCD Ink/Cursor Green Color 0 Register */
90 #define S1DREG_LCD_CUR_RCTL0 0x0078 /* LCD Ink/Cursor Red Color 0 Register */
91 #define S1DREG_LCD_CUR_BCTL1 0x007A /* LCD Ink/Cursor Blue Color 1 Register */
92 #define S1DREG_LCD_CUR_GCTL1 0x007B /* LCD Ink/Cursor Green Color 1 Register */
93 #define S1DREG_LCD_CUR_RCTL1 0x007C /* LCD Ink/Cursor Red Color 1 Register */
101 #define S1DREG_CRT_CUR_BCTL0 0x0086 /* CRT/TV Ink/Cursor Blue Color 0 Register */
102 #define S1DREG_CRT_CUR_GCTL0 0x0087 /* CRT/TV Ink/Cursor Green Color 0 Register */
103 #define S1DREG_CRT_CUR_RCTL0 0x0088 /* CRT/TV Ink/Cursor Red Color 0 Register */
104 #define S1DREG_CRT_CUR_BCTL1 0x008A /* CRT/TV Ink/Cursor Blue Color 1 Register */
[all …]

12345678910>>...84