Home
last modified time | relevance | path

Searched refs:color (Results 1 – 25 of 1004) sorted by relevance

12345678910>>...41

/linux-6.15/tools/perf/util/
H A Dcolor.c28 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()
54 if (perf_use_color_default && *color) in __color_vfprintf()
55 fprintf(fp, "%s", color); in __color_vfprintf()
106 color = PERF_COLOR_RED; in get_percent_color()
109 color = PERF_COLOR_GREEN; in get_percent_color()
111 return color; in get_percent_color()
117 const char *color; in percent_color_fprintf() local
119 color = get_percent_color(percent); in percent_color_fprintf()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_hw_sequencer.c433 struct tg_color *color) in get_vabc_visual_confirm_color() argument
447 color->color_g_y = 0; in get_vabc_visual_confirm_color()
457 color->color_g_y = 0; in get_vabc_visual_confirm_color()
462 color->color_r_cr = 0; in get_vabc_visual_confirm_color()
463 color->color_g_y = 0; in get_vabc_visual_confirm_color()
464 color->color_b_cb = 0; in get_vabc_visual_confirm_color()
548 color->color_g_y = 0; in get_cursor_visual_confirm_color()
549 color->color_b_cb = 0; in get_cursor_visual_confirm_color()
552 color->color_g_y = 0; in get_cursor_visual_confirm_color()
566 color->color_g_y = 0; in get_dcc_visual_confirm_color()
[all …]
/linux-6.15/drivers/video/fbdev/sis/
H A Dsis_accel.h190 #define SiS300SetupPATFG(color) \ argument
195 #define SiS300SetupPATBG(color) \ argument
200 #define SiS300SetupSRCFG(color) \ argument
205 #define SiS300SetupSRCBG(color) \ argument
214 #define SiS300SetupSRCTrans(color) \ argument
220 #define SiS300SetupDSTTrans(color) \ argument
320 #define SiS310SetupPATFG(color) \ argument
325 #define SiS310SetupPATBG(color) \ argument
330 #define SiS310SetupSRCFG(color) \ argument
335 #define SiS310SetupSRCBG(color) \ argument
[all …]
/linux-6.15/drivers/gpu/drm/
H A Ddrm_draw.c109 return convert_xrgb8888_to_rgb565(color); in drm_draw_color_from_xrgb8888()
111 return convert_xrgb8888_to_rgba5551(color); in drm_draw_color_from_xrgb8888()
113 return convert_xrgb8888_to_xrgb1555(color); in drm_draw_color_from_xrgb8888()
115 return convert_xrgb8888_to_argb1555(color); in drm_draw_color_from_xrgb8888()
118 return color; in drm_draw_color_from_xrgb8888()
120 return convert_xrgb8888_to_argb8888(color); in drm_draw_color_from_xrgb8888()
122 return convert_xrgb8888_to_xbgr8888(color); in drm_draw_color_from_xrgb8888()
124 return convert_xrgb8888_to_abgr8888(color); in drm_draw_color_from_xrgb8888()
196 u16 color) in drm_draw_fill16() argument
208 u16 color) in drm_draw_fill24() argument
[all …]
/linux-6.15/drivers/gpu/drm/mediatek/
H A Dmtk_disp_color.c48 struct mtk_disp_color *color = dev_get_drvdata(dev); in mtk_color_clk_enable() local
50 return clk_prepare_enable(color->clk); in mtk_color_clk_enable()
55 struct mtk_disp_color *color = dev_get_drvdata(dev); in mtk_color_clk_disable() local
57 clk_disable_unprepare(color->clk); in mtk_color_clk_disable()
64 struct mtk_disp_color *color = dev_get_drvdata(dev); in mtk_color_config() local
66 mtk_ddp_write(cmdq_pkt, w, &color->cmdq_reg, color->regs, DISP_COLOR_WIDTH(color)); in mtk_color_config()
67 mtk_ddp_write(cmdq_pkt, h, &color->cmdq_reg, color->regs, DISP_COLOR_HEIGHT(color)); in mtk_color_config()
72 struct mtk_disp_color *color = dev_get_drvdata(dev); in mtk_color_start() local
75 color->regs + DISP_COLOR_CFG_MAIN); in mtk_color_start()
76 writel(0x1, color->regs + DISP_COLOR_START(color)); in mtk_color_start()
/linux-6.15/Documentation/devicetree/bindings/display/mediatek/
H A Dmediatek,color.yaml7 title: Mediatek display color processor
26 - mediatek,mt2701-disp-color
27 - mediatek,mt8167-disp-color
28 - mediatek,mt8173-disp-color
29 - mediatek,mt8195-mdp3-color
32 - mediatek,mt7623-disp-color
33 - mediatek,mt2712-disp-color
37 - mediatek,mt6795-disp-color
38 - mediatek,mt8183-disp-color
39 - mediatek,mt8186-disp-color
[all …]
/linux-6.15/arch/arm/boot/dts/ti/omap/
H A Domap3-echo.dts155 color = <LED_COLOR_ID_RGB>;
175 color = <LED_COLOR_ID_RED>;
182 color = <LED_COLOR_ID_RGB>;
202 color = <LED_COLOR_ID_RED>;
209 color = <LED_COLOR_ID_RGB>;
246 color = <LED_COLOR_ID_RGB>;
273 color = <LED_COLOR_ID_RGB>;
300 color = <LED_COLOR_ID_RGB>;
337 color = <LED_COLOR_ID_RGB>;
364 color = <LED_COLOR_ID_RGB>;
[all …]
/linux-6.15/arch/xtensa/include/asm/
H A 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()
/linux-6.15/arch/arm/boot/dts/broadcom/
H A Dbcm6846-genexis-xg6846b.dts85 color = <LED_COLOR_ID_GREEN>;
92 color = <LED_COLOR_ID_AMBER>;
99 color = <LED_COLOR_ID_AMBER>;
106 color = <LED_COLOR_ID_GREEN>;
113 color = <LED_COLOR_ID_GREEN>;
120 color = <LED_COLOR_ID_RED>;
127 color = <LED_COLOR_ID_GREEN>;
135 color = <LED_COLOR_ID_AMBER>;
143 color = <LED_COLOR_ID_GREEN>;
151 color = <LED_COLOR_ID_AMBER>;
[all …]
H A Dbcm958625-meraki-kingpin.dtsi31 color = <LED_COLOR_ID_GREEN>;
39 color = <LED_COLOR_ID_GREEN>;
47 color = <LED_COLOR_ID_GREEN>;
55 color = <LED_COLOR_ID_GREEN>;
63 color = <LED_COLOR_ID_GREEN>;
71 color = <LED_COLOR_ID_GREEN>;
79 color = <LED_COLOR_ID_GREEN>;
87 color = <LED_COLOR_ID_GREEN>;
95 color = <LED_COLOR_ID_GREEN>;
103 color = <LED_COLOR_ID_GREEN>;
[all …]
/linux-6.15/Documentation/sphinx-static/
H A Dtheme_rtd_colors.css3 * Sphinx HTML theme customization: color settings for RTD (non-dark) theme
10 color: black;
14 color: #505050;
18 color: #303030;
22 color: black;
30 color: blue;
34 color: white;
35 background-color: darkblue;
/linux-6.15/Documentation/devicetree/bindings/leds/
H A Dleds-mt6360.yaml63 - color
99 color = <LED_COLOR_ID_RGB>;
105 color = <LED_COLOR_ID_RED>;
113 color = <LED_COLOR_ID_BLUE>;
119 color = <LED_COLOR_ID_WHITE>;
125 color = <LED_COLOR_ID_WHITE>;
134 color = <LED_COLOR_ID_WHITE>;
152 color = <LED_COLOR_ID_RED>;
158 color = <LED_COLOR_ID_GREEN>;
164 color = <LED_COLOR_ID_BLUE>;
[all …]
H A Dleds-pwm-multicolor.yaml7 title: Multi-color LEDs connected to PWM
13 This driver combines several monochrome PWM LEDs into one multi-color
46 color: true
50 - color
65 color = <LED_COLOR_ID_RGB>;
71 color = <LED_COLOR_ID_RED>;
76 color = <LED_COLOR_ID_GREEN>;
81 color = <LED_COLOR_ID_BLUE>;
H A Dst,led1202.yaml71 color = <LED_COLOR_ID_RED>;
78 color = <LED_COLOR_ID_GREEN>;
85 color = <LED_COLOR_ID_BLUE>;
92 color = <LED_COLOR_ID_RED>;
99 color = <LED_COLOR_ID_GREEN>;
106 color = <LED_COLOR_ID_BLUE>;
113 color = <LED_COLOR_ID_RED>;
120 color = <LED_COLOR_ID_GREEN>;
127 color = <LED_COLOR_ID_BLUE>;
H A Dleds-cr0014114.txt16 - color :
38 color = <LED_COLOR_ID_RED>;
43 color = <LED_COLOR_ID_GREEN>;
48 color = <LED_COLOR_ID_BLUE>;
53 color = <LED_COLOR_ID_RED>;
58 color = <LED_COLOR_ID_GREEN>;
63 color = <LED_COLOR_ID_BLUE>;
/linux-6.15/tools/perf/util/hisi-ptt-decoder/
H A Dhisi-ptt-pkt-decoder.c92 const char *color = PERF_COLOR_BLUE; in hisi_ptt_print_pkt() local
96 color_fprintf(stdout, color, " %08x: ", pos); in hisi_ptt_print_pkt()
98 color_fprintf(stdout, color, "%02x ", buf[pos + i]); in hisi_ptt_print_pkt()
100 color_fprintf(stdout, color, " "); in hisi_ptt_print_pkt()
101 color_fprintf(stdout, color, " %s\n", desc); in hisi_ptt_print_pkt()
124 const char *color = PERF_COLOR_BLUE; in hisi_ptt_4dw_print_dw0() local
130 color_fprintf(stdout, color, " %08x: ", pos); in hisi_ptt_4dw_print_dw0()
132 color_fprintf(stdout, color, "%02x ", buf[pos + i]); in hisi_ptt_4dw_print_dw0()
134 color_fprintf(stdout, color, " "); in hisi_ptt_4dw_print_dw0()
136 color_fprintf(stdout, color, in hisi_ptt_4dw_print_dw0()
/linux-6.15/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_formats.c23 uint32_t color; member
87 color_fmt = dpu_media_ubwc_map[i].color; in _dpu_format_get_media_color_ubwc()
99 int color; in _dpu_format_populate_plane_sizes_ubwc() local
107 color = _dpu_format_get_media_color_ubwc(fmt); in _dpu_format_populate_plane_sizes_ubwc()
108 if (color < 0) { in _dpu_format_populate_plane_sizes_ubwc()
120 layout->plane_pitch[0] = VENUS_Y_STRIDE(color, fb->width); in _dpu_format_populate_plane_sizes_ubwc()
121 y_sclines = VENUS_Y_SCANLINES(color, fb->height); in _dpu_format_populate_plane_sizes_ubwc()
125 layout->plane_pitch[1] = VENUS_UV_STRIDE(color, fb->width); in _dpu_format_populate_plane_sizes_ubwc()
126 uv_sclines = VENUS_UV_SCANLINES(color, fb->height); in _dpu_format_populate_plane_sizes_ubwc()
149 layout->plane_pitch[0] = VENUS_RGB_STRIDE(color, fb->width); in _dpu_format_populate_plane_sizes_ubwc()
[all …]
/linux-6.15/drivers/video/logo/
H A DKconfig26 bool "Standard 16-color Linux logo"
30 bool "Standard 224-color Linux logo"
34 bool "224-color Digital Equipment Corporation Linux logo"
39 bool "224-color Macintosh Linux logo"
44 bool "224-color PA-RISC Linux logo"
49 bool "224-color SGI Linux logo"
54 bool "224-color Sun Linux logo"
64 bool "16-color SuperH Linux logo"
69 bool "224-color SuperH Linux logo"
/linux-6.15/Documentation/userspace-api/media/dvb/
H A Dlegacy_dvb_osd.rst137 - color
139 - | Sets all pixel to color <color>.
146 - | color,
185 - x0,y0,color
187 - | Sets pixel <x>,<y> to color number <color>.
228 - | Fills pixels x0,y through x1,y with the color <color>.
237 - | Fills pixels x0,y0 through x1,y1 with the color <color>.
246 - | Draw a line from x0,y0 to x1,y1 with the color <color>.
276 - Draws a text at position x0,y0 with the color <color>.
326 int color;
[all …]
/linux-6.15/Documentation/userspace-api/media/v4l/
H A Dcolorspaces.rst11 '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
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
27 color receptors are stimulated. This is based on the Spectral Power
31 between the SPD and color as perceived by the human brain.
33 Since the human eye has only three color receptors it is perfectly
42 can take an SPD and calculate the stimulus for each color receptor.
69 receptors in the eye and thus cause the perception of color.
119 color is also associated with the Y'CbCr color.
[all …]
/linux-6.15/drivers/leds/
H A 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()
179 switch (color) { in bd2802_update_state()
250 enum led_colors color) in bd2802_set_on() argument
269 enum led_colors color) in bd2802_set_blink() argument
297 bd2802_set_blink(led, id, color); in bd2802_turn_on()
299 bd2802_set_on(led, id, color); in bd2802_turn_on()
303 enum led_colors color) in bd2802_turn_off() argument
524 led->color = clr; \
[all …]
/linux-6.15/arch/arm64/boot/dts/broadcom/bcmbca/
H A Dbcm4906-tplink-archer-c2300-v1.dts23 color = <LED_COLOR_ID_BLUE>;
29 color = <LED_COLOR_ID_BLUE>;
35 color = <LED_COLOR_ID_BLUE>;
41 color = <LED_COLOR_ID_AMBER>;
47 color = <LED_COLOR_ID_BLUE>;
53 color = <LED_COLOR_ID_BLUE>;
59 color = <LED_COLOR_ID_BLUE>;
65 color = <LED_COLOR_ID_BLUE>;
73 color = <LED_COLOR_ID_BLUE>;
81 color = <LED_COLOR_ID_WHITE>;
H A Dbcm4906-netgear-r8000p.dts23 color = <LED_COLOR_ID_WHITE>;
29 color = <LED_COLOR_ID_AMBER>;
35 color = <LED_COLOR_ID_WHITE>;
41 color = <LED_COLOR_ID_WHITE>;
47 color = <LED_COLOR_ID_WHITE>;
53 color = <LED_COLOR_ID_WHITE>;
59 color = <LED_COLOR_ID_WHITE>;
67 color = <LED_COLOR_ID_WHITE>;
75 color = <LED_COLOR_ID_WHITE>;
/linux-6.15/drivers/firewire/
H A Dcore-topology.c34 node->color = color; in fw_node_create()
207 node->color = port_index; in build_tree()
213 child->ports[child->color] = node; in build_tree()
214 child->color = card->color; in build_tree()
276 node->color = card->color; in for_each_fw_node()
282 if (child->color == card->color) in for_each_fw_node()
331 card->color++; in fw_destroy_nodes()
384 node0->color = card->color; in update_tree()
388 node1->color = card->color; in update_tree()
403 if (node0->ports[i]->color == card->color) in update_tree()
[all …]
/linux-6.15/arch/arm/boot/dts/marvell/
H A Dkirkwood-c200-v1.dts72 color = <LED_COLOR_ID_RED>;
79 color = <LED_COLOR_ID_GREEN>;
86 color = <LED_COLOR_ID_GREEN>;
93 color = <LED_COLOR_ID_RED>;
99 color = <LED_COLOR_ID_RED>;
105 color = <LED_COLOR_ID_GREEN>;
111 color = <LED_COLOR_ID_BLUE>;
117 color = <LED_COLOR_ID_RED>;
123 color = <LED_COLOR_ID_GREEN>;
130 color = <LED_COLOR_ID_RED>;
[all …]

12345678910>>...41