Home
last modified time | relevance | path

Searched refs:color (Results 1 – 200 of 306) sorted by relevance

12

/linux-4.4.14/tools/perf/util/
Dcolor.c45 static int __color_vsnprintf(char *bf, size_t size, const char *color, in __color_vsnprintf() argument
60 if (perf_use_color_default && *color) in __color_vsnprintf()
61 r += scnprintf(bf, size, "%s", color); in __color_vsnprintf()
63 if (perf_use_color_default && *color) in __color_vsnprintf()
71 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, in __color_vfprintf() argument
86 if (perf_use_color_default && *color) in __color_vfprintf()
87 fprintf(fp, "%s", color); in __color_vfprintf()
89 if (perf_use_color_default && *color) in __color_vfprintf()
94 int color_vsnprintf(char *bf, size_t size, const char *color, in color_vsnprintf() argument
97 return __color_vsnprintf(bf, size, color, fmt, args, NULL); in color_vsnprintf()
[all …]
Dstat-shadow.c128 const char *color = PERF_COLOR_NORMAL; in get_ratio_color() local
131 color = PERF_COLOR_RED; in get_ratio_color()
133 color = PERF_COLOR_MAGENTA; in get_ratio_color()
135 color = PERF_COLOR_YELLOW; in get_ratio_color()
137 return color; in get_ratio_color()
145 const char *color; in print_stalled_cycles_frontend() local
153 color = get_ratio_color(GRC_STALLED_CYCLES_FE, ratio); in print_stalled_cycles_frontend()
156 color_fprintf(out, color, "%6.2f%%", ratio); in print_stalled_cycles_frontend()
165 const char *color; in print_stalled_cycles_backend() local
173 color = get_ratio_color(GRC_STALLED_CYCLES_BE, ratio); in print_stalled_cycles_backend()
[all …]
Dcolor.h33 int color_vsnprintf(char *bf, size_t size, const char *color,
35 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args);
36 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...);
37 int color_snprintf(char *bf, size_t size, const char *color, const char *fmt, ...);
38 int color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf);
Ddebug.c116 const char *color = PERF_COLOR_BLUE; in trace_event() local
123 color_fprintf(stdout, color, "\n. ... raw event: size %d bytes\n", in trace_event()
129 color_fprintf(stdout, color, " %04x: ", i); in trace_event()
132 color_fprintf(stdout, color, " %02x", raw_event[i]); in trace_event()
135 color_fprintf(stdout, color, " "); in trace_event()
137 color_fprintf(stdout, color, " "); in trace_event()
139 color_fprintf(stdout, color, "%c", in trace_event()
143 color_fprintf(stdout, color, "\n"); in trace_event()
Dsvghelper.c661 int color = 220; in svg_time_grid() local
665 color = 192; in svg_time_grid()
669 color = 128; in svg_time_grid()
675 total_height, color, color, color, thickness); in svg_time_grid()
Dannotate.c832 const char *color; in disasm_line__print() local
877 color = get_percent_color(max_percent); in disasm_line__print()
886 || color != prev_color) { in disasm_line__print()
887 color_fprintf(stdout, color, " %s", path); in disasm_line__print()
889 prev_color = color; in disasm_line__print()
896 color = get_percent_color(percent); in disasm_line__print()
899 color_fprintf(stdout, color, " %7" PRIu64, in disasm_line__print()
902 color_fprintf(stdout, color, " %7.2f", percent); in disasm_line__print()
1430 const char *color; in print_summary() local
1437 color = get_percent_color(percent); in print_summary()
[all …]
Dintel-bts.c96 const char *color = PERF_COLOR_BLUE; in intel_bts_dump() local
98 color_fprintf(stdout, color, in intel_bts_dump()
108 color_fprintf(stdout, color, " %08x: ", pos); in intel_bts_dump()
110 color_fprintf(stdout, color, " %02x", buf[i]); in intel_bts_dump()
112 color_fprintf(stdout, color, " "); in intel_bts_dump()
115 color_fprintf(stdout, color, " %"PRIx64" -> %"PRIx64" %s\n", in intel_bts_dump()
121 color_fprintf(stdout, color, " Bad record!\n"); in intel_bts_dump()
Dintel-pt.c149 const char *color = PERF_COLOR_BLUE; in intel_pt_dump() local
151 color_fprintf(stdout, color, in intel_pt_dump()
162 color_fprintf(stdout, color, " %08x: ", pos); in intel_pt_dump()
164 color_fprintf(stdout, color, " %02x", buf[i]); in intel_pt_dump()
166 color_fprintf(stdout, color, " "); in intel_pt_dump()
171 color_fprintf(stdout, color, " %s\n", desc); in intel_pt_dump()
173 color_fprintf(stdout, color, " Bad packet!\n"); in intel_pt_dump()
/linux-4.4.14/drivers/video/fbdev/sis/
Dsis_accel.h203 #define SiS300SetupPATFG(color) \ argument
205 MMIO_OUT32(ivideo->mmio_vbase, BR(7), color);\
208 #define SiS300SetupPATBG(color) \ argument
210 MMIO_OUT32(ivideo->mmio_vbase, BR(8), color);\
213 #define SiS300SetupSRCFG(color) \ argument
215 MMIO_OUT32(ivideo->mmio_vbase, BR(9), color);\
218 #define SiS300SetupSRCBG(color) \ argument
220 MMIO_OUT32(ivideo->mmio_vbase, BR(10), color);\
227 #define SiS300SetupSRCTrans(color) \ argument
229 MMIO_OUT32(ivideo->mmio_vbase, 0x8224, color);\
[all …]
Dsis_accel.c149 SiS300SetupForSolidFill(struct sis_video_info *ivideo, u32 color, int rop) in SiS300SetupForSolidFill() argument
151 SiS300SetupPATFG(color) in SiS300SetupForSolidFill()
251 SiS310SetupForSolidFill(struct sis_video_info *ivideo, u32 color, int rop) in SiS310SetupForSolidFill() argument
253 SiS310SetupPATFG(color) in SiS310SetupForSolidFill()
343 case 8: col = rect->color; in fbcon_sis_fillrect()
346 case 32: col = ((u32 *)(info->pseudo_palette))[rect->color]; in fbcon_sis_fillrect()
/linux-4.4.14/arch/xtensa/include/asm/
Dhighmem.h39 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-4.4.14/drivers/video/logo/
DKconfig23 bool "Standard 16-color Linux logo"
27 bool "Standard 224-color Linux logo"
41 bool "224-color Digital Equipment Corporation Linux logo"
46 bool "224-color Macintosh Linux logo"
51 bool "224-color PA-RISC Linux logo"
56 bool "224-color SGI Linux logo"
61 bool "224-color Sun Linux logo"
71 bool "16-color SuperH Linux logo"
76 bool "224-color SuperH Linux logo"
81 bool "224-color M32R Linux logo"
Dlogo_superh_vga16.ppm2 # 16-color SuperH Linux logo
Dlogo_mac_clut224.ppm2 # 224-color Macintosh Linux logo
Dlogo_sun_clut224.ppm2 # 224-color Sun Linux logo
Dlogo_linux_clut224.ppm2 # Standard 224-color Linux logo
Dlogo_superh_clut224.ppm2 # 224-color SuperH Linux logo
Dlogo_sgi_clut224.ppm2 # 224-color SGI Linux logo
Dlogo_linux_vga16.ppm2 # Standard 16-color Linux logo
Dlogo_parisc_clut224.ppm2 # 224-color PA-RISC Linux logo
Dlogo_dec_clut224.ppm2 # 224-color Digital Equipment Corporation Linux logo
/linux-4.4.14/drivers/gpu/drm/
Ddrm_mm.c96 unsigned long color,
101 unsigned long color,
109 unsigned long color, in drm_mm_insert_helper() argument
121 mm->color_adjust(hole_node, color, &adj_start, &adj_end); in drm_mm_insert_helper()
150 node->color = color; in drm_mm_insert_helper()
234 unsigned long color, in drm_mm_insert_node_generic() argument
241 color, sflags); in drm_mm_insert_node_generic()
245 drm_mm_insert_helper(hole_node, node, size, alignment, color, aflags); in drm_mm_insert_node_generic()
253 unsigned long color, in drm_mm_insert_helper_range() argument
271 mm->color_adjust(hole_node, color, &adj_start, &adj_end); in drm_mm_insert_helper_range()
[all …]
/linux-4.4.14/drivers/leds/
Dleds-bd2802.c99 enum led_colors color; member
113 enum led_colors color) in bd2802_is_rgb_off() argument
115 switch (color) { in bd2802_is_rgb_off()
147 static inline u8 bd2802_get_base_offset(enum led_ids id, enum led_colors color) in bd2802_get_base_offset() argument
149 return id * BD2802_LED_OFFSET + color * BD2802_COLOR_OFFSET; in bd2802_get_base_offset()
152 static inline u8 bd2802_get_reg_addr(enum led_ids id, enum led_colors color, in bd2802_get_reg_addr() argument
155 return reg_offset + bd2802_get_base_offset(id, color); in bd2802_get_reg_addr()
176 enum led_colors color, enum led_bits led_bit) in bd2802_update_state() argument
183 switch (color) { in bd2802_update_state()
254 enum led_colors color) in bd2802_set_on() argument
[all …]
Dleds-blinkm.c148 static ssize_t show_color_common(struct device *dev, char *buf, int color) in show_color_common() argument
160 switch (color) { in show_color_common()
173 static int store_color_common(struct device *dev, const char *buf, int color) in store_color_common() argument
189 switch (color) { in store_color_common()
462 enum led_brightness value, int color) in blinkm_led_common_set() argument
469 switch (color) { in blinkm_led_common_set()
/linux-4.4.14/drivers/firewire/
Dcore-topology.c111 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) in fw_node_create() argument
120 node->color = color; in fw_node_create()
235 node = fw_node_create(q, port_count, card->color); in build_tree()
263 node->color = i; in build_tree()
272 child->ports[child->color] = node; in build_tree()
273 child->color = card->color; in build_tree()
338 node->color = card->color; in for_each_fw_node()
344 if (child->color == card->color) in for_each_fw_node()
395 card->color++; in fw_destroy_nodes()
449 node0->color = card->color; in update_tree()
[all …]
Dcore.h177 u8 color; member
/linux-4.4.14/mm/
Dhighmem.c66 static inline unsigned int get_next_pkmap_nr(unsigned int color) in get_next_pkmap_nr() argument
79 static inline int no_more_pkmaps(unsigned int pkmap_nr, unsigned int color) in no_more_pkmaps() argument
89 static inline int get_pkmap_entries_count(unsigned int color) in get_pkmap_entries_count() argument
99 static inline wait_queue_head_t *get_pkmap_wait_queue_head(unsigned int color) in get_pkmap_wait_queue_head() argument
222 unsigned int color = get_pkmap_color(page); in map_new_virtual() local
225 count = get_pkmap_entries_count(color); in map_new_virtual()
228 last_pkmap_nr = get_next_pkmap_nr(color); in map_new_virtual()
229 if (no_more_pkmaps(last_pkmap_nr, color)) { in map_new_virtual()
231 count = get_pkmap_entries_count(color); in map_new_virtual()
244 get_pkmap_wait_queue_head(color); in map_new_virtual()
[all …]
Dkmemleak.c699 static void __paint_it(struct kmemleak_object *object, int color) in __paint_it() argument
701 object->min_count = color; in __paint_it()
702 if (color == KMEMLEAK_BLACK) in __paint_it()
706 static void paint_it(struct kmemleak_object *object, int color) in paint_it() argument
711 __paint_it(object, color); in paint_it()
715 static void paint_ptr(unsigned long ptr, int color) in paint_ptr() argument
723 (color == KMEMLEAK_GREY) ? "Grey" : in paint_ptr()
724 (color == KMEMLEAK_BLACK) ? "Black" : "Unknown"); in paint_ptr()
727 paint_it(object, color); in paint_ptr()
/linux-4.4.14/drivers/staging/sm750fb/
Dsm750_cursor.c101 u8 color, mask, opr; in hw_cursor_setData() local
128 color = *pcol++; in hw_cursor_setData()
135 opr = mask ^ color; in hw_cursor_setData()
137 opr = mask & color; in hw_cursor_setData()
165 u8 color, mask; in hw_cursor_setData2() local
183 color = *pcol++; in hw_cursor_setData2()
189 data |= ((color & (1<<j))?1:2)<<(j*2); in hw_cursor_setData2()
Dsm750_accel.c95 u32 color, u32 rop) in hw_fillrect() argument
115 write_dpr(accel, DE_FOREGROUND, color); /* DPR14 */ in hw_fillrect()
Dsm750.c170 u32 color; in lynxfb_ops_fillrect() local
186 color = (Bpp == 1) ? region->color : in lynxfb_ops_fillrect()
187 ((u32 *)info->pseudo_palette)[region->color]; in lynxfb_ops_fillrect()
201 color, rop); in lynxfb_ops_fillrect()
Dreadme10 Use 1280,8bpp index color and 60 hz mode:
Dsm750_accel.h244 u32 color, u32 rop);
/linux-4.4.14/scripts/
Dpnmtologo.c45 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()
Danalyze_suspend.py281 color = 'red'
283 color = 'green'
285 color = 'blue'
291 color = '#%06X' % ((v1*0x10000) + (v2*0x100) + v3)
298 e = TraceEvent(action, name, color, time)
391 def newPhaseWithSingleAction(self, phasename, devname, start, end, color): argument
402 'row': 0, 'color': color, 'order': 0}
404 def newPhase(self, phasename, start, end, color, order): argument
418 'row': 0, 'color': color, 'order': order}
600 color = '#FFFFFF' variable in TraceEvent
[all …]
/linux-4.4.14/drivers/scsi/snic/
Dvnic_cq_fw.h33 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()
Dvnic_cq.h69 u8 type, color; in svnic_cq_service() local
73 cq_desc_dec(cq_desc, &type, &color, in svnic_cq_service()
76 while (color != cq->last_color) { in svnic_cq_service()
90 cq_desc_dec(cq_desc, &type, &color, in svnic_cq_service()
Dcq_enet_desc.h32 u8 *type, u8 *color, u16 *q_number, u16 *completed_index) in cq_enet_wq_desc_dec() argument
35 color, q_number, completed_index); in cq_enet_wq_desc_dec()
Dcq_desc.h55 u8 *type, u8 *color, u16 *q_number, u16 *completed_index) in cq_desc_dec() argument
60 *color = (type_color >> CQ_DESC_COLOR_SHIFT) & CQ_DESC_COLOR_MASK; in cq_desc_dec()
Dsnic_fwint.h500 snic_color_enc(struct snic_fw_req *req, u8 color) in snic_color_enc() argument
504 if (color) in snic_color_enc()
511 snic_color_dec(struct snic_fw_req *req, u8 *color) in snic_color_dec() argument
515 *color = *c >> 7; in snic_color_dec()
Dvnic_dev.c42 int color; member
304 if (result->color == dc2c->color) { in _svnic_dev_cmd2()
308 dc2c->color = dc2c->color ? 0 : 1; in _svnic_dev_cmd2()
360 dc2c->color = 1; in svnic_dev_init_devcmd2()
Dvnic_devcmd.h262 u8 color; /* 0 or 1 as with completion queues */ member
/linux-4.4.14/drivers/scsi/fnic/
Dvnic_cq_copy.h33 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()
Dcq_exch_desc.h48 u8 *color, in cq_exch_wq_desc_dec() argument
54 color, q_number, completed_index); in cq_exch_wq_desc_dec()
88 u8 *color, in cq_fcp_rq_desc_dec() argument
107 color, q_number, completed_index); in cq_fcp_rq_desc_dec()
164 u8 *color, in cq_sgl_desc_dec() argument
174 cq_desc_dec((struct cq_desc *)desc_ptr, type, color, q_number, in cq_sgl_desc_dec()
Dvnic_cq.h79 u8 type, color; in vnic_cq_service() local
83 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
86 while (color != cq->last_color) { in vnic_cq_service()
100 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
Dcq_enet_desc.h32 u8 *type, u8 *color, u16 *q_number, u16 *completed_index) in cq_enet_wq_desc_dec() argument
35 color, q_number, completed_index); in cq_enet_wq_desc_dec()
94 u8 *type, u8 *color, u16 *q_number, u16 *completed_index, in cq_enet_rq_desc_dec() argument
108 color, q_number, completed_index); in cq_enet_rq_desc_dec()
Dcq_desc.h55 u8 *type, u8 *color, u16 *q_number, u16 *completed_index) in cq_desc_dec() argument
60 *color = (type_color >> CQ_DESC_COLOR_SHIFT) & CQ_DESC_COLOR_MASK; in cq_desc_dec()
Dfcpio.h732 static inline void fcpio_color_enc(struct fcpio_fw_req *fw_req, u8 color) in fcpio_color_enc() argument
736 if (color) in fcpio_color_enc()
742 static inline void fcpio_color_dec(struct fcpio_fw_req *fw_req, u8 *color) in fcpio_color_dec() argument
746 *color = *c >> 7; in fcpio_color_dec()
Dfnic_fcs.c800 u8 type, color, eop, sop, ingress_port, vlan_stripped; in fnic_rq_cmpl_frame_recv() local
820 cq_desc_dec(cq_desc, &type, &color, &q_number, &completed_index); in fnic_rq_cmpl_frame_recv()
823 &type, &color, &q_number, &completed_index, in fnic_rq_cmpl_frame_recv()
836 &type, &color, &q_number, &completed_index, in fnic_rq_cmpl_frame_recv()
/linux-4.4.14/samples/bpf/
Dtracex3_user.c30 const char *color[] = { variable
44 const int num_colors = ARRAY_SIZE(color);
99 printf("%s %s", color[c], nocolor); in print_hist()
133 printf(" %s %s", color[num_colors - 1], nocolor); in main()
139 printf(" %s %s", color[0], nocolor); in main()
/linux-4.4.14/drivers/video/fbdev/core/
Dsysimgblt.c57 u32 color = 0, val, shift; in color_imageblit() local
79 color = palette[*src]; in color_imageblit()
81 color = *src; in color_imageblit()
82 color <<= FB_LEFT_POS(p, bpp); in color_imageblit()
83 val |= FB_SHIFT_HIGH(p, color, shift); in color_imageblit()
88 FB_SHIFT_LOW(p, color, 32 - shift); in color_imageblit()
115 u32 shift, color = 0, bpp = p->var.bits_per_pixel; in slow_imageblit() local
144 color = (*s & (1 << l)) ? fgcolor : bgcolor; in slow_imageblit()
145 val |= FB_SHIFT_HIGH(p, color, shift); in slow_imageblit()
151 FB_SHIFT_LOW(p, color, 32 - shift); in slow_imageblit()
Dcfbimgblt.c82 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
173 color = (*s & (1 << l)) ? fgcolor : bgcolor; in slow_imageblit()
174 val |= FB_SHIFT_HIGH(p, color, shift ^ bswapmask); in slow_imageblit()
180 FB_SHIFT_LOW(p, color, 32 - shift); in slow_imageblit()
Dsysfillrect.c257 fg = ((u32 *) (p->pseudo_palette))[rect->color]; in sys_fillrect()
259 fg = rect->color; in sys_fillrect()
Dcfbfillrect.c292 fg = ((u32 *) (p->pseudo_palette))[rect->color]; in cfb_fillrect()
294 fg = rect->color; in cfb_fillrect()
/linux-4.4.14/drivers/media/pci/ttpci/
Dav7110_hw.c810 u16 x, u16 y, u16 dx, u16 dy, u16 color) in DrawLine() argument
813 windownr, x, y, dx, dy, color); in DrawLine()
817 u16 x, u16 y, u16 dx, u16 dy, u16 color) in DrawBlock() argument
820 windownr, x, y, dx, dy, color); in DrawBlock()
964 static int OSDSetColor(struct av7110 *av7110, u8 color, u8 r, u8 g, u8 b, u8 blend) in OSDSetColor() argument
975 color, ch, cl); in OSDSetColor()
978 color, ((blend >> 4) & 0x0f)); in OSDSetColor()
991 u32 color, blend, yuv; in OSDSetPalette() local
993 if (get_user(color, colors + i)) in OSDSetPalette()
995 blend = (color & 0xF0000000) >> 4; in OSDSetPalette()
[all …]
/linux-4.4.14/Documentation/fb/
Dinternals.txt59 Pseudo color (FB_VISUAL_PSEUDOCOLOR and FB_VISUAL_STATIC_PSEUDOCOLOR)
62 color (including red, green, and blue intensities) for each possible pixel
63 value, and that color is displayed.
66 True color (FB_VISUAL_TRUECOLOR)
71 Direct color (FB_VISUAL_DIRECTCOLOR)
79 Grayscale and static grayscale are special variants of pseudo color and static
80 pseudo color, where the red, green and blue components are always equal to
Dpxafb.txt33 color | mono => LCCR0_CMS
115 3) var->nonstd for starting (x, y) and color format
126 4. var->nonstd is used to pass starting (x, y) position and color format,
134 FOR - color format, as defined by OVERLAY_FORMAT_* in pxafb.h
Dcmap_xfbdev.txt28 printf("Can't get color %s\n",colorspec);
52 hand side boundaries of a color range.
Dframebuffer.txt78 the hardware can be queried and set. The color map handling works via ioctls,
87 visible and virtual geometry, depth, color map format, timing, and so on.
92 - You can get and set parts of the color map. Communication is done with 16
93 bits per color part (red, green, blue, transparency) to support all
100 thus doesn't need to know, for example, how the color registers of the concrete
139 still have to specify the color depth (using the Depth keyword) and virtual
159 beams for color models, 1 electron beam for monochrome monitors). The front of
Dsh7760fb.txt8 with color depths ranging from 1 to 16 bits, on STN, DSTN and TFT Panels.
20 a) if you're using 15/16bit color modes at >= 640x480 px resolutions,
Dapi.txt39 specifying color components layout.
53 Visuals describe how color information is encoded and assembled to create
190 __u32 grayscale; /* 0 = color, 1 = grayscale, */
192 struct fb_bitfield red; /* bitfield in fb mem if true color, */
258 color components in memory.
Dcirrusfb.txt55 * Overhaul color register routines.
Darkfb.txt33 limitation). Unfortunately character attributes (like color) in text mode are
Dviafb.txt26 color depth: 8 bpp, 16 bpp, 32 bpp supports.
194 3. Set the color depth,
/linux-4.4.14/drivers/media/platform/exynos-gsc/
Dgsc-core.c38 .color = GSC_RGB,
45 .color = GSC_RGB,
52 .color = GSC_YUV422,
62 .color = GSC_YUV422,
72 .color = GSC_YUV422,
82 .color = GSC_YUV422,
92 .color = GSC_YUV444,
101 .color = GSC_YUV422,
110 .color = GSC_YUV422,
119 .color = GSC_YUV422,
[all …]
Dgsc-regs.c179 if (is_rgb(frame->fmt->color)) { in gsc_hw_set_in_image_format()
299 if (is_rgb(frame->fmt->color)) { in gsc_hw_set_out_image_format()
410 if (!is_rgb(frame->fmt->color)) { in gsc_hw_set_global_alpha()
/linux-4.4.14/drivers/video/fbdev/savage/
Dsavagefb_accel.c68 int cmd, color; in savagefb_fillrect() local
74 color = rect->color; in savagefb_fillrect()
76 color = ((u32 *)info->pseudo_palette)[rect->color]; in savagefb_fillrect()
87 BCI_SEND(color); in savagefb_fillrect()
/linux-4.4.14/arch/sparc/lib/
Dbitext.c32 int i, color; in bit_map_string_get() local
36 color = align; in bit_map_string_get()
39 color = 0; in bit_map_string_get()
50 color &= align1; in bit_map_string_get()
60 off_new = ((off_new + align1) & ~align1) + color; in bit_map_string_get()
/linux-4.4.14/include/drm/
Ddrm_mm.h70 unsigned long color; member
93 void (*color_adjust)(struct drm_mm_node *node, unsigned long color,
227 unsigned long color,
260 unsigned long color,
307 unsigned long color);
311 unsigned long color,
/linux-4.4.14/drivers/video/fbdev/
Datafb.h6 void atafb_mfb_fillrect(struct fb_info *info, u_long next_line, u32 color,
14 void atafb_iplan2p2_fillrect(struct fb_info *info, u_long next_line, u32 color,
22 void atafb_iplan2p4_fillrect(struct fb_info *info, u_long next_line, u32 color,
30 void atafb_iplan2p8_fillrect(struct fb_info *info, u_long next_line, u32 color,
Dpmag-aa-fb.c276 static u16 color[2] = {0x0000, 0x000f}; in aafb_get_cmap() local
277 static struct fb_cmap aafb_cmap = {0, 2, color, color, color, NULL}; in aafb_get_cmap()
286 u16 color[2] = {0x0000, 0x000f}; in aafb_set_cmap() local
290 && memcmp(cmap->red, color, sizeof(color)) == 0 in aafb_set_cmap()
291 && memcmp(cmap->green, color, sizeof(color)) == 0 in aafb_set_cmap()
292 && memcmp(cmap->blue, color, sizeof(color)) == 0 in aafb_set_cmap()
Dtgafb.c836 u32 color, dx, dy, width, height, vxres, vyres; local
867 color = palette[*data++];
868 __raw_writel(color, fb_base + pos + j*4);
924 u32 dx, dy, width, height, vxres, vyres, color; local
959 color = rect->color;
961 color |= color << 8;
962 color |= color << 16;
963 __raw_writel(color, regs_base + TGA_BLOCK_COLOR0_REG);
964 __raw_writel(color, regs_base + TGA_BLOCK_COLOR1_REG);
966 if (color < 16)
[all …]
Datafb_mfb.c54 void atafb_mfb_fillrect(struct fb_info *info, u_long next_line, u32 color, in atafb_mfb_fillrect() argument
63 if (color) in atafb_mfb_fillrect()
69 if (color) in atafb_mfb_fillrect()
Datafb_iplan2p2.c193 void atafb_iplan2p2_fillrect(struct fb_info *info, u_long next_line, u32 color, in atafb_iplan2p2_fillrect() argument
204 expand8_col2mask(color, cval); in atafb_iplan2p2_fillrect()
214 expand16_col2mask(color, cval); in atafb_iplan2p2_fillrect()
230 expand8_col2mask(color, cval); in atafb_iplan2p2_fillrect()
Damifb.c1803 custom.color[0] = rgb2hw8_high(red, green, blue); in ami_do_blank()
1805 custom.color[0] = rgb2hw8_low(red, green, blue); in ami_do_blank()
1811 u_short color, mask; in ami_do_blank() local
1815 color = rgb2hw2(red, green, blue); in ami_do_blank()
1817 custom.color[i] = ecs_palette[i] = (ecs_palette[i] & mask) | color; in ami_do_blank()
1818 mask <<= 2; color >>= 2; in ami_do_blank()
1820 custom.color[i] = ecs_palette[i] = (ecs_palette[i] & mask) | color; in ami_do_blank()
1823 custom.color[0] = rgb2hw4(red, green, blue); in ami_do_blank()
1848 register u_char color; in ami_get_var_cursorinfo() local
1885 : "=d" (color), "=d" (datawords) : "1" (datawords)); in ami_get_var_cursorinfo()
[all …]
Datafb_iplan2p4.c207 void atafb_iplan2p4_fillrect(struct fb_info *info, u_long next_line, u32 color, in atafb_iplan2p4_fillrect() argument
218 expand8_col2mask(color, cval); in atafb_iplan2p4_fillrect()
228 expand16_col2mask(color, cval); in atafb_iplan2p4_fillrect()
244 expand8_col2mask(color, cval); in atafb_iplan2p4_fillrect()
Datafb_iplan2p8.c242 void atafb_iplan2p8_fillrect(struct fb_info *info, u_long next_line, u32 color, in atafb_iplan2p8_fillrect() argument
253 expand8_col2mask(color, cval); in atafb_iplan2p8_fillrect()
263 expand16_col2mask(color, cval); in atafb_iplan2p8_fillrect()
279 expand8_col2mask(color, cval); in atafb_iplan2p8_fillrect()
Djz4740_fb.c246 uint32_t color; in jzfb_setcolreg() local
251 color = jzfb_convert_color_to_hw(red, &fb->var.red); in jzfb_setcolreg()
252 color |= jzfb_convert_color_to_hw(green, &fb->var.green); in jzfb_setcolreg()
253 color |= jzfb_convert_color_to_hw(blue, &fb->var.blue); in jzfb_setcolreg()
254 color |= jzfb_convert_color_to_hw(transp, &fb->var.transp); in jzfb_setcolreg()
256 ((uint32_t *)(fb->pseudo_palette))[regno] = color; in jzfb_setcolreg()
Dwmt_ge_rops.c58 fg = ((u32 *) (p->pseudo_palette))[rect->color]; in wmt_ge_fillrect()
60 fg = rect->color; in wmt_ge_fillrect()
Docfb.c179 u32 color; in ocfb_setcolreg() local
198 color = (red << 16) | (green << 8) | blue; in ocfb_setcolreg()
199 ocfb_writereg(fbdev, OCFB_PALETTE + regno, color); in ocfb_setcolreg()
Dpm3fb.c382 u32 color = (info->fix.visual == FB_VISUAL_TRUECOLOR) ? in pm3fb_fillrect() local
383 ((u32 *)info->pseudo_palette)[region->color] : region->color; in pm3fb_fillrect()
412 color |= color << 8; in pm3fb_fillrect()
414 color |= color << 16; in pm3fb_fillrect()
424 PM3_WRITE_REG(par, PM3ForegroundColor, color); in pm3fb_fillrect()
Dsticore.h285 u32 color : 1; /* change color during move? */ member
395 int height, int width, u8 color);
Dstifb.c246 WRITE_IMAGE_COLOR(struct stifb_info *fb, int index, int color) in WRITE_IMAGE_COLOR() argument
250 WRITE_WORD(color, fb, REG_4); in WRITE_IMAGE_COLOR()
929 u32 color; in stifb_setcolreg() local
944 color = ((red * 77) + in stifb_setcolreg()
948 color = ((red << 16) | in stifb_setcolreg()
962 WRITE_IMAGE_COLOR(fb, regno, color); in stifb_setcolreg()
Dpm2fb.c1049 u32 color = (info->fix.visual == FB_VISUAL_TRUECOLOR) ? in pm2fb_fillrect() local
1050 ((u32 *)info->pseudo_palette)[region->color] : region->color; in pm2fb_fillrect()
1075 color |= color << 8; in pm2fb_fillrect()
1077 color |= color << 16; in pm2fb_fillrect()
1085 pm2_WR(par, PM2R_FB_BLOCK_COLOR, color); in pm2fb_fillrect()
1092 pm2_WR(par, PM2R_CONSTANT_COLOR, color); in pm2fb_fillrect()
Ds1d13xxxfb.c574 fg = ((u32 *)info->pseudo_palette)[rect->color]; in s1d13xxxfb_bitblt_solidfill()
576 dbg_blit("(solidfill) pseudo_palette[%d] = %d\n", rect->color, fg); in s1d13xxxfb_bitblt_solidfill()
578 fg = rect->color; in s1d13xxxfb_bitblt_solidfill()
579 dbg_blit("(solidfill) color = %d\n", rect->color); in s1d13xxxfb_bitblt_solidfill()
Dhitfb.c135 fb_writew(((u32 *) (p->pseudo_palette))[rect->color], in hitfb_fillrect()
141 fb_writew(rect->color, HD64461_GRSCR); in hitfb_fillrect()
Dvga16fb.c166 static inline int setcolor(int color) in setcolor() argument
171 vga_io_w(VGA_GFX_D, color); in setcolor()
855 writeb(rect->color, where); in vga_8planes_fillrect()
916 setcolor(rect->color); in vga16fb_fillrect()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
Dgm107.c55 gm107_ltc_zbc_clear_color(struct nvkm_ltc *ltc, int i, const u32 color[4]) in gm107_ltc_zbc_clear_color()
59 nvkm_wr32(device, 0x17e33c, color[0]); in gm107_ltc_zbc_clear_color()
60 nvkm_wr32(device, 0x17e340, color[1]); in gm107_ltc_zbc_clear_color()
61 nvkm_wr32(device, 0x17e344, color[2]); in gm107_ltc_zbc_clear_color()
62 nvkm_wr32(device, 0x17e348, color[3]); in gm107_ltc_zbc_clear_color()
Dgf100.c56 gf100_ltc_zbc_clear_color(struct nvkm_ltc *ltc, int i, const u32 color[4]) in gf100_ltc_zbc_clear_color()
60 nvkm_wr32(device, 0x17ea48, color[0]); in gf100_ltc_zbc_clear_color()
61 nvkm_wr32(device, 0x17ea4c, color[1]); in gf100_ltc_zbc_clear_color()
62 nvkm_wr32(device, 0x17ea50, color[2]); in gf100_ltc_zbc_clear_color()
63 nvkm_wr32(device, 0x17ea54, color[3]); in gf100_ltc_zbc_clear_color()
Dbase.c55 nvkm_ltc_zbc_color_get(struct nvkm_ltc *ltc, int index, const u32 color[4]) in nvkm_ltc_zbc_color_get()
57 memcpy(ltc->zbc_color[index], color, sizeof(ltc->zbc_color[index])); in nvkm_ltc_zbc_color_get()
58 ltc->func->zbc_clear_color(ltc, index, color); in nvkm_ltc_zbc_color_get()
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-core.c46 .color = FIMC_FMT_RGB565,
54 .color = FIMC_FMT_RGB666,
62 .color = FIMC_FMT_RGB888,
70 .color = FIMC_FMT_RGB555,
78 .color = FIMC_FMT_RGB444,
90 .color = FIMC_FMT_YCBYCR422,
99 .color = FIMC_FMT_CBYCRY422,
108 .color = FIMC_FMT_CRYCBY422,
117 .color = FIMC_FMT_YCRYCB422,
126 .color = FIMC_FMT_YCBYCR422,
[all …]
Dfimc-reg.c114 frame->height, frame->fmt->color); in fimc_hw_set_target_format()
120 switch (frame->fmt->color) { in fimc_hw_set_target_format()
204 if (fmt->color == FIMC_FMT_RGB565) in fimc_hw_set_out_dma()
206 else if (fmt->color == FIMC_FMT_RGB555) in fimc_hw_set_out_dma()
208 else if (fmt->color == FIMC_FMT_RGB444) in fimc_hw_set_out_dma()
282 switch (src_frame->fmt->color) { in fimc_hw_set_scaler()
296 u32 color = dst_frame->fmt->color; in fimc_hw_set_scaler() local
298 if (color >= FIMC_FMT_RGB444 && color <= FIMC_FMT_RGB565) in fimc_hw_set_scaler()
300 else if (color == FIMC_FMT_RGB666) in fimc_hw_set_scaler()
302 else if (color == FIMC_FMT_RGB888) in fimc_hw_set_scaler()
[all …]
Dfimc-capture.c371 else if (fimc_fmt_is_user_defined(fmt->color)) in queue_setup()
594 fimc_fmt_is_user_defined(ctx->s_frame.fmt->color)) in fimc_capture_try_format()
613 max_w = fimc_fmt_is_user_defined(ffmt->color) ? in fimc_capture_try_format()
619 fimc_fmt_is_user_defined(ffmt->color) ? in fimc_capture_try_format()
625 if (fimc_fmt_is_user_defined(ffmt->color)) { in fimc_capture_try_format()
640 align_h = fimc_fmt_is_rgb(ffmt->color) ? 0 : 1; in fimc_capture_try_format()
670 if (fimc_fmt_is_user_defined(ctx->d_frame.fmt->color)) { in fimc_capture_try_selection()
1011 enum fimc_color_fmt color) in fimc_capture_mark_jpeg_xfer() argument
1013 bool jpeg = fimc_fmt_is_user_defined(color); in fimc_capture_mark_jpeg_xfer()
1054 fimc_capture_mark_jpeg_xfer(ctx, ff->fmt->color); in __fimc_capture_set_format()
[all …]
Dfimc-isp.c42 .color = FIMC_FMT_RAW8,
49 .color = FIMC_FMT_RAW10,
56 .color = FIMC_FMT_RAW12,
Dfimc-lite.c49 .color = FIMC_FMT_YCBYCR422,
58 .color = FIMC_FMT_CBYCRY422,
67 .color = FIMC_FMT_CRYCBY422,
76 .color = FIMC_FMT_YCRYCB422,
85 .color = FIMC_FMT_RAW8,
94 .color = FIMC_FMT_RAW10,
103 .color = FIMC_FMT_RAW12,
/linux-4.4.14/Documentation/devicetree/bindings/media/i2c/
Dmt9v032.txt10 (a) "aptina,mt9v022" for MT9V022 color sensor
12 (c) "aptina,mt9v024" for MT9V024 color sensor
14 (e) "aptina,mt9v032" for MT9V032 color sensor
16 (g) "aptina,mt9v034" for MT9V034 color sensor
Dtvp7002.txt4 YPbPr color space.
/linux-4.4.14/drivers/usb/misc/
Dusbled.c82 unsigned char color = 0x07; in change_color() local
85 color &= ~0x04; in change_color()
87 color &= ~0x02; in change_color()
89 color &= ~0x01; in change_color()
92 led->blue, led->red, led->green, color); in change_color()
99 (0x00 * 0x100) + color, in change_color()
/linux-4.4.14/tools/perf/ui/gtk/
Dhists.c78 perf_hpp__format[PERF_HPP__OVERHEAD].color = in __HPP_COLOR_PERCENT_FN()
80 perf_hpp__format[PERF_HPP__OVERHEAD_SYS].color = in __HPP_COLOR_PERCENT_FN()
82 perf_hpp__format[PERF_HPP__OVERHEAD_US].color = in __HPP_COLOR_PERCENT_FN()
84 perf_hpp__format[PERF_HPP__OVERHEAD_GUEST_SYS].color = in __HPP_COLOR_PERCENT_FN()
86 perf_hpp__format[PERF_HPP__OVERHEAD_GUEST_US].color = in __HPP_COLOR_PERCENT_FN()
88 perf_hpp__format[PERF_HPP__OVERHEAD_ACC].color = in __HPP_COLOR_PERCENT_FN()
244 if (fmt->color) in perf_gtk__show_hists()
245 fmt->color(fmt, &hpp, h); in perf_gtk__show_hists()
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
Dvnic_cq.h81 u8 type, color; in vnic_cq_service() local
85 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
88 while (color != cq->last_color) { in vnic_cq_service()
102 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
Dcq_enet_desc.h34 u8 *type, u8 *color, u16 *q_number, u16 *completed_index) in cq_enet_wq_desc_dec() argument
37 color, q_number, completed_index); in cq_enet_wq_desc_dec()
105 u8 *type, u8 *color, u16 *q_number, u16 *completed_index, in cq_enet_rq_desc_dec() argument
118 color, q_number, completed_index); in cq_enet_rq_desc_dec()
Dcq_desc.h57 u8 *type, u8 *color, u16 *q_number, u16 *completed_index) in cq_desc_dec() argument
62 *color = (type_color >> CQ_DESC_COLOR_SHIFT) & CQ_DESC_COLOR_MASK; in cq_desc_dec()
Dvnic_dev.c302 u8 color; in _vnic_dev_cmd2() local
341 color = dc2c->color; in _vnic_dev_cmd2()
346 dc2c->color = dc2c->color ? 0 : 1; in _vnic_dev_cmd2()
350 if (result->color == color) { in _vnic_dev_cmd2()
395 vdev->devcmd2->color = 1; in vnic_dev_init_devcmd2()
Dvnic_wq.h97 int color; member
/linux-4.4.14/Documentation/blockdev/drbd/
Ddrbd-connection-state-overview.dot66 WFReportParams -> Connected [ label="data identical\lno sync needed",color=green,fontcolor=green ]
75 edge [color=green]
78 edge [color=red]
82 edge [color=black]
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dbinding.c89 phyctxt->color)); in iwl_mvm_binding_cmd()
92 phyctxt->color)); in iwl_mvm_binding_cmd()
133 data->colors[data->idx] = mvmvif->color; in iwl_mvm_iface_iterator()
172 data.colors[data.idx] = mvmvif->color; in iwl_mvm_binding_update()
Dtime-event.c596 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color)); in iwl_mvm_protect_session()
690 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color)); in iwl_mvm_remove_aux_roc_te()
720 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color)); in iwl_mvm_remove_time_event()
760 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color)); in iwl_mvm_start_p2p_roc()
861 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color)); in iwl_mvm_schedule_csa_period()
Dquota.c126 data->colors[id] = mvmvif->phy_ctxt->color; in iwl_mvm_quota_iterator()
128 WARN_ON_ONCE(data->colors[id] != mvmvif->phy_ctxt->color); in iwl_mvm_quota_iterator()
Dphy-ctxt.c134 ctxt->color)); in iwl_mvm_phy_ctxt_cmd_hdr()
Dd3.c172 mvmvif->color)), in iwl_mvm_wowlan_program_keys()
643 mvmvif->phy_ctxt->color)); in iwl_mvm_d3_reprogram()
647 mvmvif->phy_ctxt->color)); in iwl_mvm_d3_reprogram()
649 mvmvif->color)); in iwl_mvm_d3_reprogram()
679 mvmvif->phy_ctxt->color)); in iwl_mvm_d3_reprogram()
705 mvmvif->color)), in iwl_mvm_get_last_nonqos_seq()
741 mvmvif->color)), in iwl_mvm_set_last_nonqos_seq()
Dsta.c289 mvmvif->color); in iwl_mvm_add_sta()
611 u16 mac_id, u16 color) in iwl_mvm_add_int_sta_common() argument
622 color)); in iwl_mvm_add_int_sta_common()
705 mvmvif->id, mvmvif->color); in iwl_mvm_send_add_bcast_sta()
1799 FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color)) in iwl_mvm_modify_all_sta_disable_tx()
/linux-4.4.14/Documentation/devicetree/bindings/display/bridge/
Dadi,adv7511.txt5 compatible with HDMI 1.4 and DVI 1.0. They support color space conversion,
14 color depth, color format, clock mode, bit justification and random
19 - adi,input-depth: Number of bits per color component at the input (8, 10 or
21 - adi,input-colorspace: The input color space, one of "rgb", "yuv422" or
/linux-4.4.14/drivers/video/console/
Dsticon.c316 static u8 sticon_build_attr(struct vc_data *conp, u8 color, u8 intens, in sticon_build_attr() argument
319 u8 attr = ((color & 0x70) >> 1) | ((color & 7)); in sticon_build_attr()
322 color = ((color >> 3) & 0x7) | ((color & 0x7) << 3); in sticon_build_attr()
Dsticore.c161 .color = 1,
167 int height, int width, u8 color) in sti_set() argument
171 .fg_color = color, in sti_set()
172 .bg_color = color, in sti_set()
Dfbcon_ccw.c88 region.color = attr_bgcol_ec(bgshift,vc,info); in ccw_clear()
201 region.color = 0; in ccw_clear_margins()
Dbitblit.c67 region.color = attr_bgcol_ec(bgshift, vc, info); in bit_clear()
216 region.color = 0; in bit_clear_margins()
Dfbcon_cw.c73 region.color = attr_bgcol_ec(bgshift,vc,info); in cw_clear()
184 region.color = 0; in cw_clear_margins()
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-tpg-colors.h23 struct color { struct
61 extern const struct color tpg_colors[TPG_COLOR_MAX];
Dvivid-osd.c210 u32 color, *palette; in vivid_fb_setcolreg() local
215 color = ((transp & 0xFF00) << 16) | ((red & 0xFF00) << 8) | in vivid_fb_setcolreg()
224 color = (red & 0xf800) | in vivid_fb_setcolreg()
229 color = ((red & 0xf800) >> 1) | in vivid_fb_setcolreg()
236 palette[regno] = color; in vivid_fb_setcolreg()
Dvivid-tpg.c901 u8 buf[TPG_MAX_PLANES][8], int color, bool odd) in gen_twopix() argument
907 if (tpg->alpha_red_only && color != TPG_COLOR_CSC_RED && in gen_twopix()
908 color != TPG_COLOR_100_RED && in gen_twopix()
909 color != TPG_COLOR_75_RED) in gen_twopix()
911 if (color == TPG_COLOR_RANDOM) in gen_twopix()
912 precalculate_color(tpg, color); in gen_twopix()
913 r_y = tpg->colors[color][0]; /* R or precalculated Y */ in gen_twopix()
914 g_u = tpg->colors[color][1]; /* G or precalculated U */ in gen_twopix()
915 b_v = tpg->colors[color][2]; /* B or precalculated V */ in gen_twopix()
/linux-4.4.14/tools/perf/scripts/python/
Dsched-migration.py36 def color(): member in RunqueueEventUnknown
44 def color(): member in RunqueueEventSleep
55 def color(): member in RunqueueEventWakeup
66 def color(): member in RunqueueEventFork
77 def color(): member in RunqueueMigrateIn
88 def color(): member in RunqueueMigrateOut
289 color = (0xff, red_power, red_power)
294 top_color = rq.event.color()
296 self.root_win.paint_rectangle_zone(cpu, color, top_color, slice.start, slice.end)
/linux-4.4.14/Documentation/devicetree/bindings/display/exynos/
Dexynos_dp.txt34 -samsung,color-space:
43 -samsung,color-depth:
91 samsung,color-space = <0>;
94 samsung,color-depth = <1>;
/linux-4.4.14/drivers/video/fbdev/nvidia/
Dnv_accel.c319 u32 color; in nvidiafb_fillrect() local
330 color = rect->color; in nvidiafb_fillrect()
332 color = ((u32 *) info->pseudo_palette)[rect->color]; in nvidiafb_fillrect()
338 NVDmaNext(par, color); in nvidiafb_fillrect()
/linux-4.4.14/drivers/video/fbdev/i810/
Di810_accel.c301 u32 dx, dy, width, height, dest, rop = 0, color = 0; in i810fb_fillrect() local
310 color = rect->color; in i810fb_fillrect()
312 color = ((u32 *) (info->pseudo_palette))[rect->color]; in i810fb_fillrect()
322 color_blit(width, height, info->fix.line_length, dest, rop, color, in i810fb_fillrect()
/linux-4.4.14/arch/xtensa/mm/
Dhighmem.c34 static inline enum fixed_addresses kmap_idx(int type, unsigned long color) in kmap_idx() argument
37 color; in kmap_idx()
/linux-4.4.14/Documentation/usb/
Diuu_phoenix.txt39 parm: xmas:xmas color enabled or not (bool)
62 so sad to have a nice device like the iuu without seeing all color range available.
63 So I have added this option to permit him to see a lot of color ( each activity change the color
/linux-4.4.14/drivers/media/platform/s3c-camif/
Dcamif-regs.c306 frame->f_height, vp->out_fmt->color); in camif_hw_set_target_format()
315 if (vp->out_fmt->color == IMG_FMT_YCBCR422P) in camif_hw_set_target_format()
319 switch (vp->out_fmt->color) { in camif_hw_set_target_format()
386 unsigned int color = vp->out_fmt->color; in camif_s3c244x_hw_set_scaler() local
418 if (color == IMG_FMT_XRGB8888) in camif_s3c244x_hw_set_scaler()
433 unsigned int color = vp->out_fmt->color; in camif_s3c64xx_hw_set_scaler() local
460 switch (color) { in camif_s3c64xx_hw_set_scaler()
Dcamif-core.c53 .color = IMG_FMT_YCBCR422P,
62 .color = IMG_FMT_YCBCR420,
71 .color = IMG_FMT_YCRCB420,
80 .color = IMG_FMT_RGB565,
89 .color = IMG_FMT_XRGB8888,
98 .color = IMG_FMT_RGB666,
Dcamif-core.h97 u32 color; member
/linux-4.4.14/Documentation/leds/
Dleds-blinkm.txt8 The device accepts RGB and HSB color values through separate commands.
18 blinkm-<i2c-bus-nr>-<i2c-device-nr>-<color>
33 assign triggers on each color.
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dinterval_tree.c415 int color; in interval_erase() local
429 color = node->in_color; in interval_erase()
459 goto color; in interval_erase()
462 color = node->in_color; in interval_erase()
477 color: in interval_erase()
478 if (color == INTERVAL_BLACK) in interval_erase()
/linux-4.4.14/drivers/video/fbdev/aty/
Dmach64_accel.c246 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local
259 color = ((u32 *)(info->pseudo_palette))[rect->color]; in atyfb_fillrect()
261 color = rect->color; in atyfb_fillrect()
272 aty_st_le32(DP_FRGD_CLR, color, par); in atyfb_fillrect()
Dradeon_accel.c52 OUTREG(DP_BRUSH_FRGD_CLR, rinfo->pseudo_palette[region->color]); in radeonfb_prim_fillrect()
54 OUTREG(DP_BRUSH_FRGD_CLR, region->color); in radeonfb_prim_fillrect()
/linux-4.4.14/drivers/media/i2c/
Dmt9v032.c168 bool color; member
202 .color = true,
206 .color = false,
210 .color = true,
214 .color = false,
218 .color = true,
222 .color = false,
226 .color = true,
230 .color = false,
824 if (mt9v032->model->color) in mt9v032_open()
[all …]
/linux-4.4.14/drivers/iio/light/
DKconfig22 tristate "ADJD-S311-CR999 digital color sensor"
28 digital color light sensor.
100 tristate "Capella CM3323 color light sensor"
103 color sensor.
134 tristate "Intersil ISL29125 digital color light sensor"
260 tristate "TAOS TCS3414 digital color sensor"
266 family of digital color sensors.
272 tristate "TAOS TCS3472 color light-to-digital converter"
278 family of color light-to-digital converters with IR filter.
/linux-4.4.14/Documentation/
DVGA-softcursor.txt19 want to always change the background color + 64 if you dislike having the
26 groups, low three bits set color (as in normal color codes used by the console)
/linux-4.4.14/Documentation/video4linux/cx2341x/
Dfw-osd-api.txt258 BLT fill color
276 color fill value
305 color fill value
328 Chroma key switch and color
332 color
/linux-4.4.14/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DSchedGui.py79 def paint_rectangle_zone(self, nr, color, top_color, start, end): argument
97 (r ,g, b) = color
98 color = wx.Colour(r, g, b)
99 brush = wx.Brush(color, wx.SOLID)
/linux-4.4.14/drivers/media/usb/s2255/
Ds2255drv.c149 u32 color; /* output video color format */ member
888 mode.color &= ~MASK_COLOR; in vidioc_s_fmt_vid_cap()
889 mode.color |= COLOR_Y8; in vidioc_s_fmt_vid_cap()
893 mode.color &= ~MASK_COLOR; in vidioc_s_fmt_vid_cap()
894 mode.color |= COLOR_JPG; in vidioc_s_fmt_vid_cap()
895 mode.color |= (vc->jpegqual << 8); in vidioc_s_fmt_vid_cap()
898 mode.color &= ~MASK_COLOR; in vidioc_s_fmt_vid_cap()
899 mode.color |= COLOR_YUVPL; in vidioc_s_fmt_vid_cap()
904 mode.color &= ~MASK_COLOR; in vidioc_s_fmt_vid_cap()
905 mode.color |= COLOR_YUVPK; in vidioc_s_fmt_vid_cap()
[all …]
/linux-4.4.14/drivers/base/
Ddevres.c34 int color; member
429 grp->color = 0; in remove_nodes()
460 grp->color++; in remove_nodes()
462 grp->color++; in remove_nodes()
464 BUG_ON(grp->color <= 0 || grp->color > 2); in remove_nodes()
465 if (grp->color == 2) { in remove_nodes()
/linux-4.4.14/drivers/ps3/
Dps3av.c703 pr_debug("color info red: X %04x Y %04x\n", info->color.red_x, in ps3av_monitor_info_dump()
704 info->color.red_y); in ps3av_monitor_info_dump()
705 pr_debug("color info green: X %04x Y %04x\n", info->color.green_x, in ps3av_monitor_info_dump()
706 info->color.green_y); in ps3av_monitor_info_dump()
707 pr_debug("color info blue: X %04x Y %04x\n", info->color.blue_x, in ps3av_monitor_info_dump()
708 info->color.blue_y); in ps3av_monitor_info_dump()
709 pr_debug("color info white: X %04x Y %04x\n", info->color.white_x, in ps3av_monitor_info_dump()
710 info->color.white_y); in ps3av_monitor_info_dump()
711 pr_debug("color info gamma: %08x\n", info->color.gamma); in ps3av_monitor_info_dump()
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_draw.c269 unsigned flags, unsigned color, in qxl_draw_dirty_fb() argument
449 uint32_t color = qxl_draw_fill_rec->color; in qxl_draw_fill() local
472 drawable->u.fill.brush.u.color = color; in qxl_draw_fill()
Dqxl_drv.h222 uint32_t color; member
513 unsigned flags, unsigned color,
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c65 static void draw_pixel(struct fb_info *fbi, int x, int y, unsigned color) in draw_pixel() argument
73 int r = (color >> 16) & 0xff; in draw_pixel()
74 int g = (color >> 8) & 0xff; in draw_pixel()
75 int b = (color >> 0) & 0xff; in draw_pixel()
96 __raw_writel(color, p); in draw_pixel()
284 struct omapfb_colormode *color) in cmp_var_to_colormode() argument
292 return var->bits_per_pixel == color->bits_per_pixel && in cmp_var_to_colormode()
293 cmp_component(&var->red, &color->red) && in cmp_var_to_colormode()
294 cmp_component(&var->green, &color->green) && in cmp_var_to_colormode()
295 cmp_component(&var->blue, &color->blue) && in cmp_var_to_colormode()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/display/panel/
Davic,tm070ddh03.txt1 Shanghai AVIC Optoelectronics 7" 1024x600 color TFT-LCD panel
Dauo,b116xw03.txt1 AU Optronics Corporation 11.6" HD (1366x768) color TFT-LCD panel
Dauo,b133htn01.txt1 AU Optronics Corporation 13.3" FHD (1920x1080) color TFT-LCD panel
/linux-4.4.14/tools/perf/ui/
Dbrowser.c29 int ui_browser__set_color(struct ui_browser *browser, int color) in ui_browser__set_color() argument
32 browser->current_color = color; in ui_browser__set_color()
33 SLsmg_set_color(color); in ui_browser__set_color()
40 int color = ui_browser__percent_color(browser, percent, current); in ui_browser__set_percent_color() local
41 ui_browser__set_color(browser, color); in ui_browser__set_percent_color()
Dbrowser.h32 int ui_browser__set_color(struct ui_browser *browser, int color);
Dhist.c379 .color = hpp__color_ ## _fn, \
391 .color = hpp__color_ ## _fn, \
/linux-4.4.14/scripts/kconfig/lxdialog/
Dutil.c179 static void init_one_color(struct dialog_color *color) in init_one_color() argument
184 init_pair(pair, color->fg, color->bg); in init_one_color()
185 if (color->hl) in init_one_color()
186 color->atr = A_BOLD | COLOR_PAIR(pair); in init_one_color()
188 color->atr = COLOR_PAIR(pair); in init_one_color()
/linux-4.4.14/include/uapi/linux/dvb/
Dosd.h106 int color; member
/linux-4.4.14/drivers/media/pci/ivtv/
Divtvfb.c876 u32 color, *palette; in ivtvfb_setcolreg() local
882color = ((transp & 0xFF00) << 16) |((red & 0xFF00) << 8) | (green & 0xFF00) | ((blue & 0xFF00) >> … in ivtvfb_setcolreg()
885 write_reg(color, 0x02a34); in ivtvfb_setcolreg()
886 itv->osd_info->palette_cur[regno] = color; in ivtvfb_setcolreg()
896 color = ((red & 0xf000) >> 4) | in ivtvfb_setcolreg()
901 color = ((red & 0xf800) >> 1) | in ivtvfb_setcolreg()
906 color = (red & 0xf800 ) | in ivtvfb_setcolreg()
912 palette[regno] = color; in ivtvfb_setcolreg()
/linux-4.4.14/drivers/video/fbdev/matrox/
Dmatroxfb_accel.c306 static void matroxfb_accel_clear(struct matrox_fb_info *minfo, u_int32_t color, in matroxfb_accel_clear() argument
318 mga_outl(M_FCOL, color); in matroxfb_accel_clear()
331 …matroxfb_accel_clear(minfo, ((u_int32_t *)info->pseudo_palette)[rect->color], rect->dy, rect->dx, … in matroxfb_fillrect()
399 …matroxfb_cfb4_clear(minfo, ((u_int32_t *)info->pseudo_palette)[rect->color], rect->dy, rect->dx, r… in matroxfb_cfb4_fillrect()
/linux-4.4.14/tools/include/linux/
Drbtree_augmented.h118 struct rb_node *p, int color) in rb_set_parent_color() argument
120 rb->__rb_parent_color = (unsigned long)p | color; in rb_set_parent_color()
/linux-4.4.14/include/linux/
Drbtree_augmented.h115 struct rb_node *p, int color) in rb_set_parent_color() argument
117 rb->__rb_parent_color = (unsigned long)p | color; in rb_set_parent_color()
/linux-4.4.14/Documentation/devicetree/bindings/media/
Dexynos5-gsc.txt3 G-Scaler is used for scaling and color space conversion on EXYNOS5 SoCs.
Drenesas,vsp1.txt4 blending, color space conversion and various other image processing features.
/linux-4.4.14/scripts/kconfig/
Dnconf.h84 chtype color);
Dgconf.c55 GdkColor color; variable
1164 GdkColor color; in set_node() local
1171 gdk_color_parse(row[COL_COLOR], &color); in set_node()
1172 gdk_colormap_alloc_colors(gdk_colormap_get_system(), &color, 1, in set_node()
1183 COL_COLOR, &color, in set_node()
Dnconf.gui.c152 chtype color) in print_in_middle() argument
170 (void) wattrset(win, color); in print_in_middle()
/linux-4.4.14/Documentation/devicetree/bindings/display/
Dmarvell,pxa2xx-lcdc.txt16 If the panel is not a TFT color panel, then a "lcd-type" property in
Dcirrus,clps711x-fb.txt14 - cmap-invert : Invert the color levels (Optional).
Darm,pl11x.txt54 color modes, for example:
/linux-4.4.14/arch/mips/include/asm/txx9/
Dgeneric.h86 const char *color, char **deftriggers);
/linux-4.4.14/Documentation/ABI/testing/
Dconfigfs-usb-gadget-uvc140 Description: Default color matching descriptors
144 chroma values from the color primaries
148 bColorPrimaries - color primaries and the reference
217 specify color in the decoded video
/linux-4.4.14/drivers/gpu/drm/vmwgfx/device_include/
Dsvga3d_cmd.h383 uint32 color; member
1217 uint32 color; member
1254 uint32 color; member
1298 uint32 color; member
Dsvga_reg.h1547 uint32 color; /* In the same format as the GFB */ member
1791 SVGAColorBGRX color; member
/linux-4.4.14/tools/perf/ui/browsers/
Dhists.c531 int color, width; in hist_browser__show_callchain_entry() local
535 color = HE_COLORSET_NORMAL; in hist_browser__show_callchain_entry()
539 color = HE_COLORSET_SELECTED; in hist_browser__show_callchain_entry()
543 ui_browser__set_color(&browser->b, color); in hist_browser__show_callchain_entry()
742 perf_hpp__format[PERF_HPP__OVERHEAD].color = in __HPP_COLOR_PERCENT_FN()
744 perf_hpp__format[PERF_HPP__OVERHEAD_SYS].color = in __HPP_COLOR_PERCENT_FN()
746 perf_hpp__format[PERF_HPP__OVERHEAD_US].color = in __HPP_COLOR_PERCENT_FN()
748 perf_hpp__format[PERF_HPP__OVERHEAD_GUEST_SYS].color = in __HPP_COLOR_PERCENT_FN()
750 perf_hpp__format[PERF_HPP__OVERHEAD_GUEST_US].color = in __HPP_COLOR_PERCENT_FN()
752 perf_hpp__format[PERF_HPP__OVERHEAD_ACC].color = in __HPP_COLOR_PERCENT_FN()
[all …]
Dannotate.c98 int color = annotate_browser__jumps_percent_color(browser, nr, current); in annotate_browser__set_jumps_percent_color() local
99 return ui_browser__set_color(&browser->b, color); in annotate_browser__set_jumps_percent_color()
182 int color = -1; in annotate_browser__write() local
211 color = ui_browser__set_color(browser, HE_COLORSET_ADDR); in annotate_browser__write()
214 ui_browser__set_color(browser, color); in annotate_browser__write()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Dmanager-sysfs.c141 u32 color; in manager_default_color_store() local
144 r = kstrtouint(buf, 0, &color); in manager_default_color_store()
150 info.default_color = color; in manager_default_color_store()
/linux-4.4.14/include/media/
Dexynos-fimc.h107 u32 color; member
/linux-4.4.14/arch/sh/cchips/
DKconfig16 CRT color controller, IrDA up to 4 Mbps, and a
/linux-4.4.14/drivers/media/usb/gspca/
Detoms.c631 #define LIMIT(color) \ argument
632 (u8)((color > 0xff) ? 0xff : ((color < 0) ? 0 : color))
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnv50_fbcon.c48 OUT_RING(chan, ((uint32_t *)info->pseudo_palette)[rect->color]); in nv50_fbcon_fillrect()
50 OUT_RING(chan, rect->color); in nv50_fbcon_fillrect()
Dnvc0_fbcon.c48 OUT_RING (chan, ((uint32_t *)info->pseudo_palette)[rect->color]); in nvc0_fbcon_fillrect()
50 OUT_RING (chan, rect->color); in nvc0_fbcon_fillrect()
Dnv04_fbcon.c66 OUT_RING(chan, ((uint32_t *)info->pseudo_palette)[rect->color]); in nv04_fbcon_fillrect()
68 OUT_RING(chan, rect->color); in nv04_fbcon_fillrect()
/linux-4.4.14/drivers/video/fbdev/mb862xx/
Dmb862xxfb_accel.c280 fg = ((u32 *) (info->pseudo_palette))[rect->color]; in mb86290fb_fillrect()
282 fg = rect->color; in mb86290fb_fillrect()
/linux-4.4.14/Documentation/devicetree/bindings/media/xilinx/
Dvideo.txt30 describes the sensor's color filter array pattern. Supported values are
/linux-4.4.14/tools/lib/
Drbtree.c63 struct rb_root *root, int color) in __rb_rotate_set_parents() argument
67 rb_set_parent_color(old, new, color); in __rb_rotate_set_parents()
/linux-4.4.14/drivers/video/fbdev/riva/
Dfbdev.c1393 u_int color, rop = 0; in rivafb_fillrect() local
1401 color = rect->color; in rivafb_fillrect()
1404 color = ((u32 *)info->pseudo_palette)[rect->color]; in rivafb_fillrect()
1406 color = par->palette[rect->color]; in rivafb_fillrect()
1422 NV_WR32(&par->riva.Bitmap->Color1A, 0, color); in rivafb_fillrect()
/linux-4.4.14/Documentation/m68k/
Dkernel-options.txt438 't': "true color" (more or less packed pixels, but without a color
464 cannot read or write any color registers of the video hardware, and
467 address of the VGA register set, so it can change the color lookup
470 aligned address. For read/writing the color registers, the kernel
476 kernel how wide each of the color register is, i.e. the number of bits
477 per single color (red/green/blue). Default is 6, another quite usual
481 about the color register model of your gfx board. Currently, the types
694 OCS, ECS and AGA machines all use the color frame buffer. The following
723 chipset, and that these modes are limited to 2-bit color for the ECS
724 chipset and 8-bit color for the AGA chipset.
[all …]
/linux-4.4.14/Documentation/s390/
D3270.ChangeLog44 * color support and minimal other ESC-sequence support is added.
/linux-4.4.14/lib/
Drbtree.c88 struct rb_root *root, int color) in __rb_rotate_set_parents() argument
92 rb_set_parent_color(old, new, color); in __rb_rotate_set_parents()
/linux-4.4.14/drivers/video/fbdev/intelfb/
Dintelfbdrv.c1467 u32 rop, color; in intelfb_fillrect() local
1484 color = dinfo->pseudo_palette[rect->color]; in intelfb_fillrect()
1486 color = rect->color; in intelfb_fillrect()
1489 rect->width, rect->height, color, in intelfb_fillrect()
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_fb.c104 unsigned color, struct drm_clip_rect *clips, in exynos_drm_fb_dirty() argument
/linux-4.4.14/arch/arm/boot/dts/
Dexynos5250-smdk5250.dts82 samsung,color-space = <0>;
85 samsung,color-depth = <1>;
Dexynos5420-smdk5420.dts95 samsung,color-space = <0>;
98 samsung,color-depth = <1>;
Dexynos5250-arndale.dts126 samsung,color-space = <0>;
129 samsung,color-depth = <1>;
/linux-4.4.14/tools/perf/ui/stdio/
Dhist.c339 if (perf_hpp__use_color() && fmt->color) in hist_entry__snprintf()
340 ret = fmt->color(fmt, hpp, he); in hist_entry__snprintf()
/linux-4.4.14/arch/mips/txx9/generic/
Dsetup.c725 const char *color, char **deftriggers) in txx9_iocled_init() argument
765 "iocled:%s:%u", color, i); in txx9_iocled_init()
789 const char *color, char **deftriggers) in txx9_iocled_init() argument
/linux-4.4.14/tools/perf/
Dbuiltin-diff.c1115 fmt->color = hpp__color_baseline; in data__hpp_register()
1119 fmt->color = hpp__color_delta; in data__hpp_register()
1123 fmt->color = hpp__color_ratio; in data__hpp_register()
1127 fmt->color = hpp__color_wdiff; in data__hpp_register()
/linux-4.4.14/drivers/gpu/drm/r128/
Dr128_state.c278 u32 fb_bpp, color; in r128_clear_box() local
284 color = (((r & 0xf8) << 8) | in r128_clear_box()
289 color = ((r << 16) | (g << 8) | b); in r128_clear_box()
293 color = (((0xff) << 24) | (r << 16) | (g << 8) | b); in r128_clear_box()
313 OUT_RING(color); in r128_clear_box()
/linux-4.4.14/Documentation/video4linux/
Dfimc.txt7 SoC Application Processors is an integrated camera host interface, color
25 - memory-to-memory processing (color space conversion, scaling, mirror
/linux-4.4.14/arch/m68k/include/asm/
Damigahw.h182 unsigned short color[32]; member
/linux-4.4.14/tools/testing/selftests/futex/
DREADME39 ERROR strings in color for easy visual parsing. Output shall conform to the
/linux-4.4.14/include/uapi/linux/
Dfb.h354 __u32 color; member
/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_fb.c60 struct drm_file *file_priv, unsigned flags, unsigned color, in msm_framebuffer_dirty() argument
/linux-4.4.14/drivers/media/rc/keymaps/
DMakefile69 rc-pinnacle-color.o \
/linux-4.4.14/Documentation/kbuild/
Dkconfig.txt186 It is possible to select different color themes using the variable
193 blackbg => selects a color scheme with black background

12