/kernel/linux/linux-5.10/tools/perf/util/ |
D | color.c | 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 65 return __color_vsnprintf(bf, size, color, fmt, args, NULL); in color_vsnprintf() [all …]
|
D | stat-shadow.c | 309 const char *color = PERF_COLOR_NORMAL; in get_ratio_color() local 312 color = PERF_COLOR_RED; in get_ratio_color() 314 color = PERF_COLOR_MAGENTA; in get_ratio_color() 316 color = PERF_COLOR_YELLOW; in get_ratio_color() 318 return color; in get_ratio_color() 455 const char *color; in print_stalled_cycles_frontend() local 463 color = get_ratio_color(GRC_STALLED_CYCLES_FE, ratio); in print_stalled_cycles_frontend() 466 out->print_metric(config, out->ctx, color, "%7.2f%%", "frontend cycles idle", in print_stalled_cycles_frontend() 479 const char *color; in print_stalled_cycles_backend() local 487 color = get_ratio_color(GRC_STALLED_CYCLES_BE, ratio); in print_stalled_cycles_backend() [all …]
|
D | debug.c | 120 const char *color = PERF_COLOR_BLUE; in trace_event_printer() local 128 printed += color_fprintf(fp, color, "\n. ... raw event: size %d bytes\n", in trace_event_printer() 135 printed += color_fprintf(fp, color, " %04x: ", val); in trace_event_printer() 138 printed += color_fprintf(fp, color, " %02x", val); in trace_event_printer() 141 printed += color_fprintf(fp, color, " "); in trace_event_printer() 144 printed += color_fprintf(fp, color, " "); in trace_event_printer() 147 printed += color_fprintf(fp, color, "%c", in trace_event_printer() 151 printed += color_fprintf(fp, color, " "); in trace_event_printer() 154 printed += color_fprintf(fp, color, "\n"); in trace_event_printer()
|
D | color.h | 37 int color_vsnprintf(char *bf, size_t size, const char *color, 39 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args); 40 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...); 41 int color_snprintf(char *bf, size_t size, const char *color, const char *fmt, ...); 42 int color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf);
|
/kernel/linux/linux-5.10/drivers/video/fbdev/sis/ |
D | sis_accel.h | 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);\ 200 #define SiS300SetupSRCFG(color) \ argument 202 MMIO_OUT32(ivideo->mmio_vbase, BR(9), color);\ 205 #define SiS300SetupSRCBG(color) \ argument 207 MMIO_OUT32(ivideo->mmio_vbase, BR(10), color);\ 214 #define SiS300SetupSRCTrans(color) \ argument 216 MMIO_OUT32(ivideo->mmio_vbase, 0x8224, color);\ [all …]
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
D | highmem.h | 39 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/video/logo/ |
D | Kconfig | 24 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"
|
D | pnmtologo.c | 45 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()
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
D | colorspaces.rst | 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 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 …]
|
/kernel/linux/linux-5.10/drivers/leds/ |
D | leds-bd2802.c | 95 enum led_colors color; member 109 enum led_colors color) in bd2802_is_rgb_off() argument 111 switch (color) { 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() 250 enum led_colors color) in bd2802_set_on() argument [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/ |
D | leds-cr0014114.txt | 16 - 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>;
|
/kernel/linux/linux-5.10/tools/memory-model/ |
D | linux-kernel.cfg | 17 edgeattr hb,color,indigo 18 edgeattr co,color,blue 19 edgeattr mb,color,darkgreen 20 edgeattr wmb,color,darkgreen 21 edgeattr rmb,color,darkgreen
|
/kernel/linux/linux-5.10/drivers/firewire/ |
D | core-topology.c | 99 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) in fw_node_create() argument 107 node->color = color; in fw_node_create() 222 node = fw_node_create(q, port_count, card->color); in build_tree() 250 node->color = i; in build_tree() 259 child->ports[child->color] = node; in build_tree() 260 child->color = card->color; in build_tree() 325 node->color = card->color; in for_each_fw_node() 331 if (child->color == card->color) in for_each_fw_node() 382 card->color++; in fw_destroy_nodes() 436 node0->color = card->color; in update_tree() [all …]
|
/kernel/linux/linux-5.10/mm/ |
D | highmem.c | 67 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 218 unsigned int color = get_pkmap_color(page); in map_new_virtual() local 221 count = get_pkmap_entries_count(color); in map_new_virtual() 224 last_pkmap_nr = get_next_pkmap_nr(color); in map_new_virtual() 225 if (no_more_pkmaps(last_pkmap_nr, color)) { in map_new_virtual() 227 count = get_pkmap_entries_count(color); in map_new_virtual() 240 get_pkmap_wait_queue_head(color); in map_new_virtual() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_hw_sequencer.c | 198 struct tg_color *color) in dce60_get_surface_visual_confirm_color() argument 205 color->color_r_cr = color_value; in dce60_get_surface_visual_confirm_color() 210 color->color_b_cb = color_value; in dce60_get_surface_visual_confirm_color() 214 color->color_g_y = color_value; in dce60_get_surface_visual_confirm_color() 218 color->color_g_y = color_value; in dce60_get_surface_visual_confirm_color() 219 color->color_r_cr = color_value; in dce60_get_surface_visual_confirm_color() 223 color->color_r_cr = color_value; in dce60_get_surface_visual_confirm_color() 224 color->color_b_cb = color_value; in dce60_get_surface_visual_confirm_color() 225 color->color_g_y = color_value; in dce60_get_surface_visual_confirm_color() 235 struct tg_color color = {0}; in dce60_program_scaler() local [all …]
|
/kernel/linux/linux-5.10/Documentation/sphinx-static/ |
D | theme_overrides.css | 11 color: black; 20 color: #505050; 24 color: #303030; 29 color: black; 107 color: blue; 112 color: white; 113 background-color: darkblue; 124 /* inline literal: drop the borderbox, padding and red color */ 127 color: inherit; 135 color: inherit;
|
/kernel/linux/linux-5.10/tools/power/pm-graph/config/ |
D | custom-timeline-functions.cfg | 84 # 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/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_sspp.c | 360 u8 color; in dpu_hw_sspp_setup_pe_config() local 372 for (color = 0; color < DPU_MAX_PLANES; color++) { in dpu_hw_sspp_setup_pe_config() 374 if (color == 2) in dpu_hw_sspp_setup_pe_config() 377 lr_pe[color] = ((pe_ext->right_ftch[color] & bytemask) << 24)| in dpu_hw_sspp_setup_pe_config() 378 ((pe_ext->right_rpt[color] & bytemask) << 16)| in dpu_hw_sspp_setup_pe_config() 379 ((pe_ext->left_ftch[color] & bytemask) << 8)| in dpu_hw_sspp_setup_pe_config() 380 (pe_ext->left_rpt[color] & bytemask); in dpu_hw_sspp_setup_pe_config() 382 tb_pe[color] = ((pe_ext->btm_ftch[color] & bytemask) << 24)| in dpu_hw_sspp_setup_pe_config() 383 ((pe_ext->btm_rpt[color] & bytemask) << 16)| in dpu_hw_sspp_setup_pe_config() 384 ((pe_ext->top_ftch[color] & bytemask) << 8)| in dpu_hw_sspp_setup_pe_config() [all …]
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_mm.h | 157 unsigned long color; member 199 unsigned long color, 239 unsigned long color; member 409 unsigned long color, 434 unsigned long color, in drm_mm_insert_node_generic() argument 438 size, alignment, color, in drm_mm_insert_node_generic() 508 u64 size, u64 alignment, unsigned long color, 535 unsigned long color, in drm_mm_scan_init() argument 539 size, alignment, color, in drm_mm_scan_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_gem_gtt.c | 103 u64 size, u64 offset, unsigned long color, in i915_gem_gtt_reserve() argument 117 node->color = color; in i915_gem_gtt_reserve() 194 u64 size, u64 alignment, unsigned long color, in i915_gem_gtt_insert() argument 236 size, alignment, color, in i915_gem_gtt_insert() 243 size, alignment, color, in i915_gem_gtt_insert() 278 err = i915_gem_gtt_reserve(vm, node, size, offset, color, flags); in i915_gem_gtt_insert() 286 err = i915_gem_evict_something(vm, size, alignment, color, in i915_gem_gtt_insert() 292 size, alignment, color, in i915_gem_gtt_insert()
|
/kernel/linux/linux-5.10/drivers/staging/sm750fb/ |
D | sm750_cursor.c | 89 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_color.c | 403 static u32 i9xx_lut_8(const struct drm_color_lut *color) in i9xx_lut_8() argument 405 return drm_color_lut_extract(color->red, 8) << 16 | in i9xx_lut_8() 406 drm_color_lut_extract(color->green, 8) << 8 | in i9xx_lut_8() 407 drm_color_lut_extract(color->blue, 8); in i9xx_lut_8() 418 static u32 i965_lut_10p6_ldw(const struct drm_color_lut *color) in i965_lut_10p6_ldw() argument 420 return (color->red & 0xff) << 16 | in i965_lut_10p6_ldw() 421 (color->green & 0xff) << 8 | in i965_lut_10p6_ldw() 422 (color->blue & 0xff); in i965_lut_10p6_ldw() 426 static u32 i965_lut_10p6_udw(const struct drm_color_lut *color) in i965_lut_10p6_udw() argument 428 return (color->red >> 8) << 16 | in i965_lut_10p6_udw() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
D | vnic_cq_copy.h | 33 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()
|
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
D | vnic_cq_fw.h | 33 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()
|
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/ |
D | av7110_hw.c | 791 u16 x, u16 y, u16 dx, u16 dy, u16 color) in DrawLine() argument 794 windownr, x, y, dx, dy, color); in DrawLine() 798 u16 x, u16 y, u16 dx, u16 dy, u16 color) in DrawBlock() argument 801 windownr, x, y, dx, dy, color); in DrawBlock() 945 static int OSDSetColor(struct av7110 *av7110, u8 color, u8 r, u8 g, u8 b, u8 blend) in OSDSetColor() argument 956 color, ch, cl); in OSDSetColor() 959 color, ((blend >> 4) & 0x0f)); in OSDSetColor() 972 u32 color, blend, yuv; in OSDSetPalette() local 974 if (get_user(color, colors + i)) in OSDSetPalette() 976 blend = (color & 0xF0000000) >> 4; in OSDSetPalette() [all …]
|