| /Linux-v5.4/tools/testing/selftests/futex/functional/ |
| D | run.sh | 21 # 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 …]
|
| /Linux-v5.4/tools/perf/util/ |
| D | color.c | 7 #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 …]
|
| D | stat-shadow.c | 5 #include "color.h" 299 const char *color = PERF_COLOR_NORMAL; in get_ratio_color() local 302 color = PERF_COLOR_RED; in get_ratio_color() 304 color = PERF_COLOR_MAGENTA; in get_ratio_color() 306 color = PERF_COLOR_YELLOW; in get_ratio_color() 308 return color; in get_ratio_color() 432 const char *color; in print_stalled_cycles_frontend() local 440 color = get_ratio_color(GRC_STALLED_CYCLES_FE, ratio); in print_stalled_cycles_frontend() 443 out->print_metric(config, out->ctx, color, "%7.2f%%", "frontend cycles idle", in print_stalled_cycles_frontend() 456 const char *color; in print_stalled_cycles_backend() local [all …]
|
| D | color.h | 26 * This variable stores the value of color.ui 32 * Use this instead of perf_default_config if you need the value of color.ui. 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);
|
| /Linux-v5.4/Documentation/media/uapi/v4l/ |
| D | colorspaces.rst | 16 'Color' is a very complex concept and depends on physics, chemistry and 18 'green' and 'blue' components of the color of a pixel does not mean that 19 you can accurately display that color. A colorspace defines what it 21 which color should be reproduced on the screen in a perfectly calibrated 24 In order to do that we first need to have a good definition of color, 25 i.e. some way to uniquely and unambiguously define a color so that 26 someone else can reproduce it. Human color vision is trichromatic since 27 the human eye has color receptors that are sensitive to three different 29 color. Be glad you are not a mantis shrimp as those are sensitive to 12 33 Color exists only in the eye and brain and is the result of how strongly [all …]
|
| /Linux-v5.4/include/uapi/linux/dvb/ |
| D | osd.h | 39 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 …]
|
| /Linux-v5.4/drivers/video/fbdev/sis/ |
| D | sis_accel.h | 45 #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 …]
|
| /Linux-v5.4/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-v5.4/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 …]
|
| /Linux-v5.4/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-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/ |
| D | dcn20_opp.c | 54 /* color ramp generator mixes 16-bits color */ in opp2_set_disp_pattern_generator() 59 /* RGB values of the color bars. in opp2_set_disp_pattern_generator() 66 /* dest color (converted to the specified color format) */ in opp2_set_disp_pattern_generator() 136 /* adjust color to the required colorFormat */ in opp2_set_disp_pattern_generator() 194 /* increment for the first ramp for one color gradation in opp2_set_disp_pattern_generator() 195 * 1 gradation for 6-bit color is 2^10 in opp2_set_disp_pattern_generator() 196 * gradations in 16-bit color in opp2_set_disp_pattern_generator() 275 const struct tg_color *color) in opp2_dpg_set_blank_color() argument 280 ASSERT(color); in opp2_dpg_set_blank_color() 282 DPG_COLOUR1_B_CB, color->color_b_cb << 6, in opp2_dpg_set_blank_color() [all …]
|
| /Linux-v5.4/drivers/media/platform/atmel/ |
| D | atmel-isc-regs.h | 113 /* ISC Color Filter Array Control Register */ 116 /* ISC Color Filter Array Configuration Register */ 125 /* ISC Color Correction Control Register */ 128 /* ISC Color Correction RR RG Register */ 131 /* ISC Color Correction RB OR Register */ 134 /* ISC Color Correction GR GG Register */ 137 /* ISC Color Correction GB OG Register */ 140 /* ISC Color Correction BR BG Register */ 143 /* ISC Color Correction BB OB Register */ 158 /* Color Space Conversion Control Register */ [all …]
|
| /Linux-v5.4/Documentation/sphinx-static/ |
| D | theme_overrides.css | 11 color: black; 20 color: #505050; 24 color: #303030; 29 color: black; 97 color: blue; 102 color: white; 103 background-color: darkblue; 114 /* inline literal: drop the borderbox, padding and red color */ 117 color: inherit; 125 color: inherit;
|
| /Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_sspp.c | 343 u8 color; in dpu_hw_sspp_setup_pe_config() local 355 for (color = 0; color < DPU_MAX_PLANES; color++) { in dpu_hw_sspp_setup_pe_config() 356 /* color 2 has the same set of registers as color 1 */ in dpu_hw_sspp_setup_pe_config() 357 if (color == 2) in dpu_hw_sspp_setup_pe_config() 360 lr_pe[color] = ((pe_ext->right_ftch[color] & bytemask) << 24)| in dpu_hw_sspp_setup_pe_config() 361 ((pe_ext->right_rpt[color] & bytemask) << 16)| in dpu_hw_sspp_setup_pe_config() 362 ((pe_ext->left_ftch[color] & bytemask) << 8)| in dpu_hw_sspp_setup_pe_config() 363 (pe_ext->left_rpt[color] & bytemask); in dpu_hw_sspp_setup_pe_config() 365 tb_pe[color] = ((pe_ext->btm_ftch[color] & bytemask) << 24)| in dpu_hw_sspp_setup_pe_config() 366 ((pe_ext->btm_rpt[color] & bytemask) << 16)| in dpu_hw_sspp_setup_pe_config() [all …]
|
| /Linux-v5.4/drivers/leds/ |
| D | leds-bd2802.c | 94 enum led_colors color; member 108 enum led_colors color) in bd2802_is_rgb_off() argument 110 switch (color) { in bd2802_is_rgb_off() 118 dev_err(&led->client->dev, "%s: Invalid color\n", __func__); in bd2802_is_rgb_off() 142 static inline u8 bd2802_get_base_offset(enum led_ids id, enum led_colors color) in bd2802_get_base_offset() argument 144 return id * BD2802_LED_OFFSET + color * BD2802_COLOR_OFFSET; in bd2802_get_base_offset() 147 static inline u8 bd2802_get_reg_addr(enum led_ids id, enum led_colors color, in bd2802_get_reg_addr() argument 150 return reg_offset + bd2802_get_base_offset(id, color); in bd2802_get_reg_addr() 171 enum led_colors color, enum led_bits led_bit) in bd2802_update_state() argument 178 switch (color) { in bd2802_update_state() [all …]
|
| /Linux-v5.4/include/video/ |
| D | s1d13xxxfb.h | 88 #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 …]
|
| D | cirrus.h | 83 #define CL_GRC 0xc /* Color Key (CL-GD5424/'26/'28 Only) */ 84 #define CL_GRD 0xd /* Color Key Mask (CL-GD5424/'26/'28 Only) */ 87 #define CL_GR10 0x10 /* 16-bit Pixel BG Color High Byte (Not CL-GD5420) */ 88 #define CL_GR11 0x11 /* 16-bit Pixel FG Color High Byte (Not CL-GD5420) */ 89 #define CL_GR12 0x12 /* Background Color Byte 2 Register */ 90 #define CL_GR13 0x13 /* Foreground Color Byte 2 Register */ 91 #define CL_GR14 0x14 /* Background Color Byte 3 Register */ 92 #define CL_GR15 0x15 /* Foreground Color Byte 3 Register */ 113 #define CL_GR34 0x34 /* Transparent Color Select Low */ 114 #define CL_GR35 0x35 /* Transparent Color Select High */ [all …]
|
| /Linux-v5.4/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>;
|
| /Linux-v5.4/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-v5.4/mm/ |
| D | highmem.c | 50 * helper functions in its asm/highmem.h to control cache color of virtual 56 * Determine color of virtual address where the page should be mapped. 65 * Get next index for mapping inside PKMAP region for page with given color. 67 static inline unsigned int get_next_pkmap_nr(unsigned int color) in get_next_pkmap_nr() argument 76 * Determine if page index inside PKMAP region (pkmap_nr) of given color 80 static inline int no_more_pkmaps(unsigned int pkmap_nr, unsigned int color) in no_more_pkmaps() argument 86 * Get the number of PKMAP entries of the given color. If no free slot is 90 static inline int get_pkmap_entries_count(unsigned int color) in get_pkmap_entries_count() argument 96 * Get head of a wait queue for PKMAP entries of the given color. 100 static inline wait_queue_head_t *get_pkmap_wait_queue_head(unsigned int color) in get_pkmap_wait_queue_head() argument [all …]
|
| /Linux-v5.4/drivers/video/fbdev/core/ |
| D | cfbimgblt.c | 13 * image can be a bitmap where each 0 represents the background color and 14 * each 1 represents the foreground color. Great for font handling. It can 15 * also be a color image. This is determined by image_depth. The color image 82 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 [all …]
|
| /Linux-v5.4/drivers/video/fbdev/ |
| D | skeletonfb.c | 263 * xxxfb_setcolreg - Optional function. Sets a color register. 271 * Set a single color register. The values supplied have a 16 bit 273 * Things to take into consideration are how many color registers, if 274 * any, are supported with the current color visual. With truecolor mode 275 * no color palettes are supported. Here a pseudo palette is created 277 * pseudocolor mode we have a limited color palette. To deal with this 278 * we can program what color is displayed for a particular pixel value. 279 * DirectColor is similar in that we can program each color field. If 301 * var->{color}.offset contains start of bitfield in xxxfb_setcolreg() 302 * var->{color}.length contains length of bitfield in xxxfb_setcolreg() [all …]
|
| /Linux-v5.4/drivers/media/platform/s5p-g2d/ |
| D | g2d-regs.h | 31 #define SRC_COLOR_MODE_REG 0x030C /* Src Image Color Mode reg */ 42 #define DST_COLOR_MODE_REG 0x040C /* Dest Image Color Mode reg */ 49 #define PAT_COLOR_MODE_REG 0x0508 /* Pattern Image Color Mode reg */ 67 /* Parameter Setting Registers (Color) */ 68 #define FG_COLOR_REG 0x0700 /* Foreground Color reg */ 69 #define BG_COLOR_REG 0x0704 /* Background Color reg */ 70 #define BS_COLOR_REG 0x0708 /* Blue Screen Color reg */ 72 /* Parameter Setting Registers (Color Key) */ 84 /* Color mode values */
|
| /Linux-v5.4/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() 242 * temporarily abuse node->color for 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() [all …]
|
| /Linux-v5.4/drivers/gpu/drm/mediatek/ |
| D | mtk_disp_color.c | 50 struct mtk_disp_color *color = comp_to_color(comp); in mtk_color_config() local 52 writel(w, comp->regs + DISP_COLOR_WIDTH(color)); in mtk_color_config() 53 writel(h, comp->regs + DISP_COLOR_HEIGHT(color)); in mtk_color_config() 58 struct mtk_disp_color *color = comp_to_color(comp); in mtk_color_start() local 62 writel(0x1, comp->regs + DISP_COLOR_START(color)); in mtk_color_start() 152 { .compatible = "mediatek,mt2701-disp-color", 154 { .compatible = "mediatek,mt8173-disp-color", 164 .name = "mediatek-disp-color",
|