/linux/tools/testing/selftests/futex/functional/ |
H A 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/Documentation/userspace-api/media/v4l/ |
H A D | colorspaces.rst | 9 'Color' is a very complex concept and depends on physics, chemistry and 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 26 Color exists only in the eye and brain and is the result of how strongly [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_hw_sequencer.c | 260 * Remove default and add case for all color space in color_space_to_black_color() 261 * so when we forget to add new color space in color_space_to_black_color() 311 struct tg_color *color) in get_mpctree_visual_confirm_color() argument 327 *color = pipe_colors[top_pipe->pipe_idx]; in get_mpctree_visual_confirm_color() 332 struct tg_color *color) in get_surface_visual_confirm_color() argument 338 /* set border color to red */ in get_surface_visual_confirm_color() 339 color->color_r_cr = color_value; in get_surface_visual_confirm_color() 341 /* set border color to pink */ in get_surface_visual_confirm_color() 342 color->color_b_cb = color_value; in get_surface_visual_confirm_color() 343 color->color_g_y = color_value * 0.5; in get_surface_visual_confirm_color() [all …]
|
/linux/drivers/gpu/drm/mediatek/ |
H A 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() [all …]
|
/linux/include/uapi/linux/dvb/ |
H A D | osd.h | 24 OSD_Open, /* (x0,y0,x1,y1,BitPerPixel[2/4/8](color&0x0F),mix[0..15](color&0xF0)) */ 41 * Sets all pixel to color 0 44 OSD_Fill, /* (color) */ 46 * Sets all pixel to color <col> 49 OSD_SetColor, /* (color,R{x0},G{y0},B{x1},opacity{y1}) */ 59 OSD_SetPalette, /* (firstcolor{color},lastcolor{x0},data) */ 63 * data has 4 byte for each color: 66 OSD_SetTrans, /* (transparency{color}) */ 71 OSD_SetPixel, /* (x0,y0,color) */ 73 * sets pixel <x>,<y> to color number <col> [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A 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/drivers/video/fbdev/sis/ |
H A 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/drivers/gpu/drm/ |
H A D | drm_draw.c | 96 * @color: input color, in xrgb8888 format 100 * Color in the format specified, casted to u32. 103 u32 drm_draw_color_from_xrgb8888(u32 color, u32 format) in drm_draw_color_from_xrgb8888() argument 107 return convert_xrgb8888_to_rgb565(color); in drm_draw_color_from_xrgb8888() 109 return convert_xrgb8888_to_rgba5551(color); in drm_draw_color_from_xrgb8888() 111 return convert_xrgb8888_to_xrgb1555(color); in drm_draw_color_from_xrgb8888() 113 return convert_xrgb8888_to_argb1555(color); in drm_draw_color_from_xrgb8888() 116 return color; in drm_draw_color_from_xrgb8888() 118 return convert_xrgb8888_to_argb8888(color); in drm_draw_color_from_xrgb8888() 120 return convert_xrgb8888_to_xbgr8888(color); in drm_draw_color_from_xrgb8888() [all …]
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | legacy_dvb_osd.rst | 22 The color-depth is limited depending on the memory size installed. 98 | BitPerPixel[2/4/8]{color&0x0F}, 99 | mix[0..15]{color&0xF0} 130 - | Sets all pixel to color 0. 137 - color 139 - | Sets all pixel to color <color>. 146 - | color, 162 - | firstcolor{color}, 168 | Data has 4 byte for each color: 176 - transparency{color} [all …]
|
/linux/tools/power/pm-graph/config/ |
H A 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/drivers/video/logo/ |
H A D | Kconfig | 26 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/Documentation/gpu/amdgpu/display/ |
H A D | display-manager.rst | 44 Color Management Properties 54 DC Color Capabilities between DCN generations 57 DRM/KMS framework defines three CRTC color correction properties: degamma, 58 color transformation matrix (CTM) and gamma, and two properties for degamma and 59 gamma LUT sizes. AMD DC programs some of the color correction features 60 pre-blending but DRM/KMS has not per-plane color correction properties. 62 In general, the DRM CRTC color properties are programmed to DC, as follows: 65 color caps available in the hw is not currently exposed by DRM interface and 69 :doc: color-management-caps 74 The color pipeline has undergone major changes between DCN hardware [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A 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 …]
|
H A 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 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>;
|
/linux/arch/arm/boot/dts/broadcom/ |
H A 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/Documentation/sphinx-static/ |
H A 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/arch/xtensa/include/asm/ |
H A 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/drivers/leds/ |
H A 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() 119 dev_err(&led->client->dev, "%s: Invalid color\n", __func__); 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() [all …]
|
/linux/include/video/ |
H A 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 …]
|
/linux/drivers/gpu/drm/amd/display/dc/opp/dcn20/ |
H A D | dcn20_opp.c | 57 /* color ramp generator mixes 16-bits color */ in opp2_set_disp_pattern_generator() 62 /* RGB values of the color bars. in opp2_set_disp_pattern_generator() 69 /* dest color (converted to the specified color format) */ in opp2_set_disp_pattern_generator() 157 /* adjust color to the required colorFormat */ in opp2_set_disp_pattern_generator() 215 /* increment for the first ramp for one color gradation in opp2_set_disp_pattern_generator() 216 * 1 gradation for 6-bit color is 2^10 in opp2_set_disp_pattern_generator() 217 * gradations in 16-bit color in opp2_set_disp_pattern_generator() 307 const struct tg_color *color) in opp2_dpg_set_blank_color() argument 312 ASSERT(color); in opp2_dpg_set_blank_color() 314 DPG_COLOUR1_B_CB, color->color_b_cb << 6, in opp2_dpg_set_blank_color() [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A 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/arch/arm64/boot/dts/broadcom/bcmbca/ |
H A 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>;
|
/linux/tools/perf/util/hisi-ptt-decoder/ |
H A D | hisi-ptt-pkt-decoder.c | 15 #include "../color.h" 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() [all …]
|
/linux/include/linux/pds/ |
H A D | pds_adminq.h | 167 * @color: Color bit 175 u8 color; member 335 * @color: Color bit 342 u8 color; member 367 * @color: Color bit 374 u8 color; member 435 * @color: Color bit 445 u8 color; member 469 * @color: Color bit 480 u8 color; member [all …]
|
/linux/drivers/staging/media/deprecated/atmel/ |
H A D | atmel-isc-regs.h | 152 /* ISC Color Filter Array Control Register */ 155 /* ISC Color Filter Array Configuration Register */ 164 /* ISC Color Correction Control Register */ 167 /* ISC Color Correction RR RG Register */ 170 /* ISC Color Correction RB OR Register */ 173 /* ISC Color Correction GR GG Register */ 176 /* ISC Color Correction GB OG Register */ 179 /* ISC Color Correction BR BG Register */ 182 /* ISC Color Correction BB OB Register */ 231 /* Color Space Conversion Control Register */ [all …]
|