/linux-6.6.21/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 …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/Documentation/devicetree/bindings/display/mediatek/ |
D | mediatek,color.yaml | 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,color.yaml# 7 title: Mediatek display color processor 14 Mediatek display color processor, namely COLOR, provides hue, luma and 26 - mediatek,mt2701-disp-color 27 - mediatek,mt8167-disp-color 28 - mediatek,mt8173-disp-color 31 - mediatek,mt7623-disp-color 32 - mediatek,mt2712-disp-color 33 - const: mediatek,mt2701-disp-color 36 - mediatek,mt6795-disp-color [all …]
|
/linux-6.6.21/drivers/gpu/drm/mediatek/ |
D | mtk_disp_color.c | 48 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.6.21/arch/arm/boot/dts/ti/omap/ |
D | omap3-echo.dts | 155 color = <LED_COLOR_ID_RGB>; 161 color = <LED_COLOR_ID_GREEN>; 168 color = <LED_COLOR_ID_BLUE>; 175 color = <LED_COLOR_ID_RED>; 182 color = <LED_COLOR_ID_RGB>; 188 color = <LED_COLOR_ID_GREEN>; 195 color = <LED_COLOR_ID_BLUE>; 202 color = <LED_COLOR_ID_RED>; 209 color = <LED_COLOR_ID_RGB>; 215 color = <LED_COLOR_ID_GREEN>; [all …]
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_hw_sequencer.c | 308 struct tg_color *color) in get_mpctree_visual_confirm_color() argument 324 *color = pipe_colors[top_pipe->pipe_idx]; in get_mpctree_visual_confirm_color() 329 struct tg_color *color) in get_surface_visual_confirm_color() argument 336 color->color_r_cr = color_value; in get_surface_visual_confirm_color() 339 color->color_b_cb = color_value; in get_surface_visual_confirm_color() 340 color->color_g_y = color_value * 0.5; in get_surface_visual_confirm_color() 346 color->color_b_cb = color_value; in get_surface_visual_confirm_color() 349 color->color_g_y = color_value; in get_surface_visual_confirm_color() 354 color->color_g_y = color_value; in get_surface_visual_confirm_color() 358 color->color_g_y = color_value; in get_surface_visual_confirm_color() [all …]
|
/linux-6.6.21/Documentation/sphinx-static/ |
D | theme_rtd_colors.css | 3 * 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.6.21/arch/arm/boot/dts/broadcom/ |
D | bcm958625-meraki-kingpin.dtsi | 31 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.6.21/Documentation/devicetree/bindings/leds/ |
D | leds-mt6360.yaml | 63 - color 99 color = <LED_COLOR_ID_RGB>; 105 color = <LED_COLOR_ID_RED>; 109 color = <LED_COLOR_ID_GREEN>; 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>; [all …]
|
D | leds-pwm-multicolor.yaml | 7 title: Multi-color LEDs connected to PWM 13 This driver combines several monochrome PWM LEDs into one multi-color 48 color: true 52 - color 67 color = <LED_COLOR_ID_RGB>; 73 color = <LED_COLOR_ID_RED>; 78 color = <LED_COLOR_ID_GREEN>; 83 color = <LED_COLOR_ID_BLUE>;
|
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>;
|
/linux-6.6.21/tools/perf/util/hisi-ptt-decoder/ |
D | hisi-ptt-pkt-decoder.c | 92 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.6.21/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"
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/arch/arm64/boot/dts/broadcom/bcmbca/ |
D | bcm4906-tplink-archer-c2300-v1.dts | 23 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>;
|
D | bcm4906-netgear-r8000p.dts | 23 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.6.21/drivers/firewire/ |
D | core-topology.c | 100 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) in fw_node_create() argument 108 node->color = color; in fw_node_create() 223 node = fw_node_create(q, port_count, card->color); in build_tree() 251 node->color = i; in build_tree() 260 child->ports[child->color] = node; in build_tree() 261 child->color = card->color; in build_tree() 326 node->color = card->color; in for_each_fw_node() 332 if (child->color == card->color) in for_each_fw_node() 381 card->color++; in fw_destroy_nodes() 434 node0->color = card->color; in update_tree() [all …]
|
/linux-6.6.21/arch/arm/boot/dts/marvell/ |
D | kirkwood-c200-v1.dts | 72 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 …]
|
/linux-6.6.21/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
|
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_sspp.c | 331 u8 color; in dpu_hw_sspp_setup_pe_config() local 342 for (color = 0; color < DPU_MAX_PLANES; color++) { in dpu_hw_sspp_setup_pe_config() 344 if (color == 2) in dpu_hw_sspp_setup_pe_config() 347 lr_pe[color] = ((pe_ext->right_ftch[color] & bytemask) << 24)| in dpu_hw_sspp_setup_pe_config() 348 ((pe_ext->right_rpt[color] & bytemask) << 16)| in dpu_hw_sspp_setup_pe_config() 349 ((pe_ext->left_ftch[color] & bytemask) << 8)| in dpu_hw_sspp_setup_pe_config() 350 (pe_ext->left_rpt[color] & bytemask); in dpu_hw_sspp_setup_pe_config() 352 tb_pe[color] = ((pe_ext->btm_ftch[color] & bytemask) << 24)| in dpu_hw_sspp_setup_pe_config() 353 ((pe_ext->btm_rpt[color] & bytemask) << 16)| in dpu_hw_sspp_setup_pe_config() 354 ((pe_ext->top_ftch[color] & bytemask) << 8)| in dpu_hw_sspp_setup_pe_config() [all …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
D | ga102.c | 25 ga102_ltc_zbc_clear_color(struct nvkm_ltc *ltc, int i, const u32 color[4]) in ga102_ltc_zbc_clear_color() 30 nvkm_wr32(device, 0x17e33c, color[0]); in ga102_ltc_zbc_clear_color() 31 nvkm_wr32(device, 0x17e340, color[1]); in ga102_ltc_zbc_clear_color() 32 nvkm_wr32(device, 0x17e344, color[2]); in ga102_ltc_zbc_clear_color() 33 nvkm_wr32(device, 0x17e348, color[3]); in ga102_ltc_zbc_clear_color()
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/arch/arm/boot/dts/aspeed/ |
D | aspeed-bmc-facebook-cloudripper.dts | 327 color = <LED_COLOR_ID_MULTI>; 333 color = <LED_COLOR_ID_RED>; 338 color = <LED_COLOR_ID_BLUE>; 343 color = <LED_COLOR_ID_GREEN>; 351 color = <LED_COLOR_ID_MULTI>; 357 color = <LED_COLOR_ID_RED>; 362 color = <LED_COLOR_ID_BLUE>; 367 color = <LED_COLOR_ID_GREEN>; 375 color = <LED_COLOR_ID_MULTI>; 381 color = <LED_COLOR_ID_RED>; [all …]
|