Home
last modified time | relevance | path

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

12345678910>>...17

/Linux-v4.19/tools/perf/util/
Dcolor.c51 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()
100 int color_vsnprintf(char *bf, size_t size, const char *color, in color_vsnprintf() argument
103 return __color_vsnprintf(bf, size, color, fmt, args, NULL); in color_vsnprintf()
[all …]
Dstat-shadow.c288 const char *color = PERF_COLOR_NORMAL; in get_ratio_color() local
291 color = PERF_COLOR_RED; in get_ratio_color()
293 color = PERF_COLOR_MAGENTA; in get_ratio_color()
295 color = PERF_COLOR_YELLOW; in get_ratio_color()
297 return color; in get_ratio_color()
419 const char *color; in print_stalled_cycles_frontend() local
427 color = get_ratio_color(GRC_STALLED_CYCLES_FE, ratio); in print_stalled_cycles_frontend()
430 out->print_metric(out->ctx, color, "%7.2f%%", "frontend cycles idle", in print_stalled_cycles_frontend()
442 const char *color; in print_stalled_cycles_backend() local
450 color = get_ratio_color(GRC_STALLED_CYCLES_BE, ratio); in print_stalled_cycles_backend()
[all …]
Dcolor.h36 int color_vsnprintf(char *bf, size_t size, const char *color,
38 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args);
39 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...);
40 int color_snprintf(char *bf, size_t size, const char *color, const char *fmt, ...);
41 int color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf);
Ddebug.c118 const char *color = PERF_COLOR_BLUE; in trace_event_printer() local
126 printed += color_fprintf(fp, color, "\n. ... raw event: size %d bytes\n", in trace_event_printer()
133 printed += color_fprintf(fp, color, " %04x: ", val); in trace_event_printer()
136 printed += color_fprintf(fp, color, " %02x", val); in trace_event_printer()
139 printed += color_fprintf(fp, color, " "); in trace_event_printer()
142 printed += color_fprintf(fp, color, " "); in trace_event_printer()
145 printed += color_fprintf(fp, color, "%c", in trace_event_printer()
149 printed += color_fprintf(fp, color, " "); in trace_event_printer()
152 printed += color_fprintf(fp, color, "\n"); in trace_event_printer()
Darm-spe.c57 const char *color = PERF_COLOR_BLUE; in arm_spe_dump() local
59 color_fprintf(stdout, color, in arm_spe_dump()
70 color_fprintf(stdout, color, " %08x: ", pos); in arm_spe_dump()
72 color_fprintf(stdout, color, " %02x", buf[i]); in arm_spe_dump()
74 color_fprintf(stdout, color, " "); in arm_spe_dump()
79 color_fprintf(stdout, color, " %s\n", desc); in arm_spe_dump()
81 color_fprintf(stdout, color, " Bad packet!\n"); in arm_spe_dump()
/Linux-v4.19/drivers/video/fbdev/sis/
Dsis_accel.h203 #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);\
213 #define SiS300SetupSRCFG(color) \ argument
215 MMIO_OUT32(ivideo->mmio_vbase, BR(9), color);\
218 #define SiS300SetupSRCBG(color) \ argument
220 MMIO_OUT32(ivideo->mmio_vbase, BR(10), color);\
227 #define SiS300SetupSRCTrans(color) \ argument
229 MMIO_OUT32(ivideo->mmio_vbase, 0x8224, color);\
[all …]
/Linux-v4.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()
/Linux-v4.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"
/Linux-v4.19/Documentation/media/uapi/v4l/
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
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
27 color receptors are stimulated. This is based on the Spectral Power
31 between the SPD and color as perceived by the human brain.
[all …]
/Linux-v4.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()
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()
253 enum led_colors color) in bd2802_set_on() argument
[all …]
/Linux-v4.19/drivers/firewire/
Dcore-topology.c111 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) in fw_node_create() argument
119 node->color = color; in fw_node_create()
234 node = fw_node_create(q, port_count, card->color); in build_tree()
262 node->color = i; in build_tree()
271 child->ports[child->color] = node; in build_tree()
272 child->color = card->color; in build_tree()
337 node->color = card->color; in for_each_fw_node()
343 if (child->color == card->color) in for_each_fw_node()
394 card->color++; in fw_destroy_nodes()
448 node0->color = card->color; in update_tree()
[all …]
/Linux-v4.19/tools/memory-model/
Dlinux-kernel.cfg17 edgeattr hb,color,indigo
18 edgeattr co,color,blue
19 edgeattr mb,color,darkgreen
20 edgeattr wmb,color,darkgreen
21 edgeattr rmb,color,darkgreen
/Linux-v4.19/mm/
Dhighmem.c67 static inline unsigned int get_next_pkmap_nr(unsigned int color) in get_next_pkmap_nr() argument
80 static inline int no_more_pkmaps(unsigned int pkmap_nr, unsigned int color) in no_more_pkmaps() argument
90 static inline int get_pkmap_entries_count(unsigned int color) in get_pkmap_entries_count() argument
100 static inline wait_queue_head_t *get_pkmap_wait_queue_head(unsigned int color) in get_pkmap_wait_queue_head() argument
219 unsigned int color = get_pkmap_color(page); in map_new_virtual() local
222 count = get_pkmap_entries_count(color); in map_new_virtual()
225 last_pkmap_nr = get_next_pkmap_nr(color); in map_new_virtual()
226 if (no_more_pkmaps(last_pkmap_nr, color)) { in map_new_virtual()
228 count = get_pkmap_entries_count(color); in map_new_virtual()
241 get_pkmap_wait_queue_head(color); in map_new_virtual()
[all …]
/Linux-v4.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 …]
/Linux-v4.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()
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()
376 ((pe_ext->top_ftch[color] & bytemask) << 8)| in dpu_hw_sspp_setup_pe_config()
[all …]
/Linux-v4.19/include/drm/
Ddrm_mm.h157 unsigned long color; member
197 unsigned long color,
237 unsigned long color; member
407 unsigned long color,
432 unsigned long color, in drm_mm_insert_node_generic() argument
436 size, alignment, color, in drm_mm_insert_node_generic()
506 u64 size, u64 alignment, unsigned long color,
533 unsigned long color, in drm_mm_scan_init() argument
537 size, alignment, color, in drm_mm_scan_init()
/Linux-v4.19/drivers/staging/sm750fb/
Dsm750_cursor.c89 u8 color, mask, opr; in sm750_hw_cursor_setData() local
107 color = *pcol++; in sm750_hw_cursor_setData()
114 opr = mask ^ color; in sm750_hw_cursor_setData()
116 opr = mask & color; in sm750_hw_cursor_setData()
139 u8 color, mask; in sm750_hw_cursor_setData2() local
157 color = *pcol++; in sm750_hw_cursor_setData2()
163 data |= ((color & (1 << j)) ? 1 : 2) << (j * 2); in sm750_hw_cursor_setData2()
/Linux-v4.19/scripts/
Dpnmtologo.c45 struct color { struct
51 static const struct color clut_vga16[16] = { argument
74 static struct color **logo_data;
75 static struct color logo_clut[MAX_LINUX_LOGO_COLORS];
163 logo_data = (struct color **)malloc(logo_height*sizeof(struct color *)); in read_image()
167 logo_data[i] = malloc(logo_width*sizeof(struct color)); in read_image()
208 static inline int is_black(struct color c) in is_black()
213 static inline int is_white(struct color c) in is_white()
218 static inline int is_gray(struct color c) in is_gray()
223 static inline int is_equal(struct color c1, struct color c2) in is_equal()
/Linux-v4.19/drivers/scsi/snic/
Dvnic_cq_fw.h33 u8 color; in vnic_cq_fw_service() local
37 snic_color_dec(desc, &color); in vnic_cq_fw_service()
39 while (color != cq->last_color) { in vnic_cq_fw_service()
52 snic_color_dec(desc, &color); in vnic_cq_fw_service()
/Linux-v4.19/drivers/scsi/fnic/
Dvnic_cq_copy.h33 u8 color; in vnic_cq_copy_service() local
37 fcpio_color_dec(desc, &color); in vnic_cq_copy_service()
39 while (color != cq->last_color) { in vnic_cq_copy_service()
52 fcpio_color_dec(desc, &color); in vnic_cq_copy_service()
/Linux-v4.19/drivers/media/pci/ttpci/
Dav7110_hw.c803 u16 x, u16 y, u16 dx, u16 dy, u16 color) in DrawLine() argument
806 windownr, x, y, dx, dy, color); in DrawLine()
810 u16 x, u16 y, u16 dx, u16 dy, u16 color) in DrawBlock() argument
813 windownr, x, y, dx, dy, color); in DrawBlock()
957 static int OSDSetColor(struct av7110 *av7110, u8 color, u8 r, u8 g, u8 b, u8 blend) in OSDSetColor() argument
968 color, ch, cl); in OSDSetColor()
971 color, ((blend >> 4) & 0x0f)); in OSDSetColor()
984 u32 color, blend, yuv; in OSDSetPalette() local
986 if (get_user(color, colors + i)) in OSDSetPalette()
988 blend = (color & 0xF0000000) >> 4; in OSDSetPalette()
[all …]
/Linux-v4.19/drivers/video/fbdev/core/
Dsysimgblt.c57 u32 color = 0, val, shift; in color_imageblit() local
79 color = palette[*src]; in color_imageblit()
81 color = *src; in color_imageblit()
82 color <<= FB_LEFT_POS(p, bpp); in color_imageblit()
83 val |= FB_SHIFT_HIGH(p, color, shift); in color_imageblit()
88 FB_SHIFT_LOW(p, color, 32 - shift); in color_imageblit()
115 u32 shift, color = 0, bpp = p->var.bits_per_pixel; in slow_imageblit() local
144 color = (*s & (1 << l)) ? fgcolor : bgcolor; in slow_imageblit()
145 val |= FB_SHIFT_HIGH(p, color, shift); in slow_imageblit()
151 FB_SHIFT_LOW(p, color, 32 - shift); in slow_imageblit()
Dcfbimgblt.c82 u32 color = 0, val, shift; in color_imageblit() local
105 color = palette[*src]; in color_imageblit()
107 color = *src; in color_imageblit()
108 color <<= FB_LEFT_POS(p, bpp); in color_imageblit()
109 val |= FB_SHIFT_HIGH(p, color, shift ^ bswapmask); in color_imageblit()
114 FB_SHIFT_LOW(p, color, 32 - shift); in color_imageblit()
143 u32 shift, color = 0, bpp = p->var.bits_per_pixel; in slow_imageblit() local
173 color = (*s & (1 << l)) ? fgcolor : bgcolor; in slow_imageblit()
174 val |= FB_SHIFT_HIGH(p, color, shift ^ bswapmask); in slow_imageblit()
180 FB_SHIFT_LOW(p, color, 32 - shift); in slow_imageblit()
/Linux-v4.19/samples/bpf/
Dtracex3_user.c35 const char *color[] = { variable
49 const int num_colors = ARRAY_SIZE(color);
109 printf("%s %s", color[c], nocolor); in print_hist()
149 printf(" %s %s", color[num_colors - 1], nocolor); in main()
155 printf(" %s %s", color[0], nocolor); in main()
/Linux-v4.19/Documentation/fb/
Dinternals.txt59 Pseudo color (FB_VISUAL_PSEUDOCOLOR and FB_VISUAL_STATIC_PSEUDOCOLOR)
62 color (including red, green, and blue intensities) for each possible pixel
63 value, and that color is displayed.
66 True color (FB_VISUAL_TRUECOLOR)
71 Direct color (FB_VISUAL_DIRECTCOLOR)
79 Grayscale and static grayscale are special variants of pseudo color and static
80 pseudo color, where the red, green and blue components are always equal to

12345678910>>...17