| /linux/drivers/gpu/drm/ |
| H A D | drm_draw.c | 27 u32 drm_draw_color_from_xrgb8888(u32 color, u32 format) in drm_draw_color_from_xrgb8888() argument 31 return drm_pixel_xrgb8888_to_rgb565(color); in drm_draw_color_from_xrgb8888() 33 return drm_pixel_xrgb8888_to_rgba5551(color); in drm_draw_color_from_xrgb8888() 35 return drm_pixel_xrgb8888_to_xrgb1555(color); in drm_draw_color_from_xrgb8888() 37 return drm_pixel_xrgb8888_to_argb1555(color); in drm_draw_color_from_xrgb8888() 40 return color; in drm_draw_color_from_xrgb8888() 42 return drm_pixel_xrgb8888_to_argb8888(color); in drm_draw_color_from_xrgb8888() 44 return drm_pixel_xrgb8888_to_xbgr8888(color); in drm_draw_color_from_xrgb8888() 46 return drm_pixel_xrgb8888_to_abgr8888(color); in drm_draw_color_from_xrgb8888() 48 return drm_pixel_xrgb8888_to_xrgb2101010(color); in drm_draw_color_from_xrgb8888() [all …]
|
| H A D | drm_panic.c | 159 static void drm_panic_write_pixel16(void *vaddr, unsigned int offset, u16 color) in drm_panic_write_pixel16() argument 163 *p = color; in drm_panic_write_pixel16() 166 static void drm_panic_write_pixel24(void *vaddr, unsigned int offset, u32 color) in drm_panic_write_pixel24() argument 170 *p++ = color & 0xff; in drm_panic_write_pixel24() 171 color >>= 8; in drm_panic_write_pixel24() 172 *p++ = color & 0xff; in drm_panic_write_pixel24() 173 color >>= 8; in drm_panic_write_pixel24() 174 *p = color & 0xff; in drm_panic_write_pixel24() 181 unsigned int offset, u32 color) in drm_panic_write_pixel24_xpage() argument 188 *p++ = color & 0xff; in drm_panic_write_pixel24_xpage() [all …]
|
| /linux/drivers/video/fbdev/sis/ |
| H A 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/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/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/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/tools/perf/util/hisi-ptt-decoder/ |
| H A 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/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/Documentation/userspace-api/media/v4l/ |
| H A D | colorspaces.rst | 12 'green' and 'blue' components of the color of a pixel does not mean that 13 you can accurately display that color. A colorspace defines what it 15 which color should be reproduced on the screen in a perfectly calibrated 18 In order to do that we first need to have a good definition of color, 19 i.e. some way to uniquely and unambiguously define a color so that 20 someone else can reproduce it. Human color vision is trichromatic since 21 the human eye has color receptors that are sensitive to three different 23 color. Be glad you are not a mantis shrimp as those are sensitive to 12 28 color receptors are stimulated. This is based on the Spectral Power 32 between the SPD and color as perceived by the human brain. [all …]
|
| /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() 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/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/drivers/firewire/ |
| H A D | core-topology.c | 26 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) in fw_node_create() argument 34 node->color = color; in fw_node_create() 185 node = fw_node_create(self_id_sequence[0], total_port_count, card->color); in build_tree() 207 node->color = port_index; in build_tree() 213 child->ports[child->color] = node; in build_tree() 214 child->color = card->color; in build_tree() 276 node->color = card->color; in for_each_fw_node() 282 if (child->color == card->color) in for_each_fw_node() 333 card->color++; in fw_destroy_nodes() 386 node0->color = card->color; in update_tree() [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/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 …]
|
| H A D | armada-370-c200-v2.dts | 111 color = <LED_COLOR_ID_RED>; 118 color = <LED_COLOR_ID_GREEN>; 125 color = <LED_COLOR_ID_RED>; 132 color = <LED_COLOR_ID_GREEN>; 139 color = <LED_COLOR_ID_GREEN>; 146 color = <LED_COLOR_ID_RED>; 153 color = <LED_COLOR_ID_RED>; 159 color = <LED_COLOR_ID_BLUE>; 165 color = <LED_COLOR_ID_RED>; 171 color = <LED_COLOR_ID_GREEN>; [all …]
|
| /linux/Documentation/devicetree/bindings/leds/ |
| H A 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/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/tools/memory-model/ |
| H A D | linux-kernel.cfg | 18 edgeattr hb,color,indigo 19 edgeattr co,color,blue 20 edgeattr mb,color,darkgreen 21 edgeattr wmb,color,darkgreen 22 edgeattr rmb,color,darkgreen
|
| /linux/Documentation/gpu/rfc/ |
| H A D | color_pipeline.rst | 10 We would like to support pre-, and post-blending complex color 13 color-managed applications, such as video or image editors. 21 operations to support color transformations. These operations are often 25 We would like to make use of this HW functionality to support complex color 37 Most OSes will specify the source content format (color gamut, encoding transfer 48 closed-source compositor code such a vendor will tune their color management 62 color management should be done. This is what makes Linux so beautiful. 66 another compositor's color mapping. 75 API. It describes the input and output color spaces but does not describe 99 HW color management pipelines can significantly differ between HW [all …]
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt7981b-cudy-wr3000-v1.dts | 39 color = <LED_COLOR_ID_BLUE>; 45 color = <LED_COLOR_ID_BLUE>; 51 color = <LED_COLOR_ID_BLUE>; 57 color = <LED_COLOR_ID_BLUE>; 63 color = <LED_COLOR_ID_BLUE>; 69 color = <LED_COLOR_ID_BLUE>;
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
| H A D | ga102.c | 27 ga102_ltc_zbc_clear_color(struct nvkm_ltc *ltc, int i, const u32 color[4]) in ga102_ltc_zbc_clear_color() 32 nvkm_wr32(device, 0x17e33c, color[0]); in ga102_ltc_zbc_clear_color() 33 nvkm_wr32(device, 0x17e340, color[1]); in ga102_ltc_zbc_clear_color() 34 nvkm_wr32(device, 0x17e344, color[2]); in ga102_ltc_zbc_clear_color() 35 nvkm_wr32(device, 0x17e348, color[3]); in ga102_ltc_zbc_clear_color()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_color.c | 831 static u32 i9xx_lut_8(const struct drm_color_lut *color) in i9xx_lut_8() argument 833 return REG_FIELD_PREP(PALETTE_RED_MASK, drm_color_lut_extract(color->red, 8)) | in i9xx_lut_8() 834 REG_FIELD_PREP(PALETTE_GREEN_MASK, drm_color_lut_extract(color->green, 8)) | in i9xx_lut_8() 835 REG_FIELD_PREP(PALETTE_BLUE_MASK, drm_color_lut_extract(color->blue, 8)); in i9xx_lut_8() 851 static u32 i9xx_lut_10_ldw(const struct drm_color_lut *color) in i9xx_lut_10_ldw() argument 853 return REG_FIELD_PREP(PALETTE_RED_MASK, _i9xx_lut_10_ldw(color[0].red)) | in i9xx_lut_10_ldw() 854 REG_FIELD_PREP(PALETTE_GREEN_MASK, _i9xx_lut_10_ldw(color[0].green)) | in i9xx_lut_10_ldw() 855 REG_FIELD_PREP(PALETTE_BLUE_MASK, _i9xx_lut_10_ldw(color[0].blue)); in i9xx_lut_10_ldw() 879 static u32 i9xx_lut_10_udw(const struct drm_color_lut *color) in i9xx_lut_10_udw() argument 881 return REG_FIELD_PREP(PALETTE_RED_MASK, _i9xx_lut_10_udw(color[0].red, color[1].red)) | in i9xx_lut_10_udw() [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_gem_gtt.c | 99 u64 size, u64 offset, unsigned long color, in i915_gem_gtt_reserve() argument 113 node->color = color; in i915_gem_gtt_reserve() 192 u64 size, u64 alignment, unsigned long color, in i915_gem_gtt_insert() argument 234 size, alignment, color, in i915_gem_gtt_insert() 241 size, alignment, color, in i915_gem_gtt_insert() 276 err = i915_gem_gtt_reserve(vm, ww, node, size, offset, color, flags); in i915_gem_gtt_insert() 284 err = i915_gem_evict_something(vm, ww, size, alignment, color, in i915_gem_gtt_insert() 290 size, alignment, color, in i915_gem_gtt_insert()
|
| /linux/drivers/staging/sm750fb/ |
| H A D | sm750_cursor.c | 88 u8 color, mask, opr; in sm750_hw_cursor_set_data() local 106 color = *pcol++; in sm750_hw_cursor_set_data() 113 opr = mask ^ color; in sm750_hw_cursor_set_data() 115 opr = mask & color; in sm750_hw_cursor_set_data() 138 u8 color, mask; in sm750_hw_cursor_set_data2() local 156 color = *pcol++; in sm750_hw_cursor_set_data2() 162 data |= ((color & (1 << j)) ? 1 : 2) << (j * 2); in sm750_hw_cursor_set_data2()
|