Searched refs:color (Results 1 - 25 of 367) sorted by relevance

1234567891011>>

/linux-master/tools/perf/util/
H A Dcolor.c7 #include "color.h"
13 static int __color_vsnprintf(char *bf, size_t size, const char *color, argument
28 if (perf_use_color_default && *color)
29 r += scnprintf(bf, size, "%s", color);
31 if (perf_use_color_default && *color)
39 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, argument
54 if (perf_use_color_default && *color)
55 fprintf(fp, "%s", color);
57 if (perf_use_color_default && *color)
62 int color_vsnprintf(char *bf, size_t size, const char *color, argument
68 color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args) argument
73 color_snprintf(char *bf, size_t size, const char *color, const char *fmt, ...) argument
85 color_fprintf(FILE *fp, const char *color, const char *fmt, ...) argument
101 color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf) argument
126 const char *color = PERF_COLOR_NORMAL; local
145 const char *color; local
155 const char *color = get_percent_color(value); local
175 const char *color; local
[all...]
H A Dcolor.h26 * 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-master/drivers/gpu/drm/amd/display/modules/color/
H A DMakefile23 # Makefile for the color sub-module of DAL.
28 AMD_DAL_MOD_COLOR = $(addprefix $(AMDDALPATH)/modules/color/,$(MOD_COLOR))
/linux-master/arch/xtensa/include/asm/
H A Dhighmem.h39 static inline unsigned int get_next_pkmap_nr(unsigned int color) argument
41 last_pkmap_nr_arr[color] =
42 (last_pkmap_nr_arr[color] + DCACHE_N_COLORS) & LAST_PKMAP_MASK;
43 return last_pkmap_nr_arr[color] + color;
46 static inline int no_more_pkmaps(unsigned int pkmap_nr, unsigned int color) argument
51 static inline int get_pkmap_entries_count(unsigned int color) argument
58 static inline wait_queue_head_t *get_pkmap_wait_queue_head(unsigned int color) argument
60 return pkmap_map_wait_arr + color;
/linux-master/drivers/scsi/snic/
H A Dcq_enet_desc.h18 u8 *type, u8 *color, u16 *q_number, u16 *completed_index)
21 color, q_number, completed_index);
17 cq_enet_wq_desc_dec(struct cq_enet_wq_desc *desc, u8 *type, u8 *color, u16 *q_number, u16 *completed_index) argument
H A Dvnic_cq_fw.h19 u8 color; local
23 snic_color_dec(desc, &color);
25 while (color != cq->last_color) {
38 snic_color_dec(desc, &color);
H A Dcq_desc.h41 u8 *type, u8 *color, u16 *q_number, u16 *completed_index)
46 *color = (type_color >> CQ_DESC_COLOR_SHIFT) & CQ_DESC_COLOR_MASK;
49 * Make sure color bit is read from desc *before* other fields
50 * are read from desc. Hardware guarantees color bit is last
40 cq_desc_dec(const struct cq_desc *desc_arg, u8 *type, u8 *color, u16 *q_number, u16 *completed_index) argument
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
H A Dga102.c27 ga102_ltc_zbc_clear_color(struct nvkm_ltc *ltc, int i, const u32 color[4]) argument
32 nvkm_wr32(device, 0x17e33c, color[0]);
33 nvkm_wr32(device, 0x17e340, color[1]);
34 nvkm_wr32(device, 0x17e344, color[2]);
35 nvkm_wr32(device, 0x17e348, color[3]);
/linux-master/drivers/scsi/fnic/
H A Dvnic_cq_copy.h21 u8 color; local
25 fcpio_color_dec(desc, &color);
27 while (color != cq->last_color) {
40 fcpio_color_dec(desc, &color);
H A Dcq_desc.h43 u8 *type, u8 *color, u16 *q_number, u16 *completed_index)
48 *color = (type_color >> CQ_DESC_COLOR_SHIFT) & CQ_DESC_COLOR_MASK;
51 * Make sure color bit is read from desc *before* other fields
52 * are read from desc. Hardware guarantees color bit is last
42 cq_desc_dec(const struct cq_desc *desc_arg, u8 *type, u8 *color, u16 *q_number, u16 *completed_index) argument
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_disp_color.c48 struct mtk_disp_color *color = dev_get_drvdata(dev); local
50 return clk_prepare_enable(color->clk);
55 struct mtk_disp_color *color = dev_get_drvdata(dev); local
57 clk_disable_unprepare(color->clk);
64 struct mtk_disp_color *color = dev_get_drvdata(dev); local
66 mtk_ddp_write(cmdq_pkt, w, &color->cmdq_reg, color->regs, DISP_COLOR_WIDTH(color));
67 mtk_ddp_write(cmdq_pkt, h, &color->cmdq_reg, color
72 struct mtk_disp_color *color = dev_get_drvdata(dev); local
[all...]
/linux-master/tools/perf/util/hisi-ptt-decoder/
H A Dhisi-ptt-pkt-decoder.c15 #include "../color.h"
92 const char *color = PERF_COLOR_BLUE; local
96 color_fprintf(stdout, color, " %08x: ", pos);
98 color_fprintf(stdout, color, "%02x ", buf[pos + i]);
100 color_fprintf(stdout, color, " ");
101 color_fprintf(stdout, color, " %s\n", desc);
124 const char *color = PERF_COLOR_BLUE; local
130 color_fprintf(stdout, color, " %08x: ", pos);
132 color_fprintf(stdout, color, "%02x ", buf[pos + i]);
134 color_fprintf(stdout, color, " ");
[all...]
/linux-master/drivers/video/fbdev/sis/
H A Dsis_accel.h46 #define ENCOLOREXP 0x00000002 /* Enhanced color expand */
61 #define SRCCPUBLITBUF SRCSYSTEM /* source is CPU-driven BitBuffer (for color expand) */
65 #define PATFG 0x00000000 /* foreground color */
96 #define AGP_BASE 0x8206 /* color-depth dependent value */
190 #define SiS300SetupPATFG(color) \
192 MMIO_OUT32(ivideo->mmio_vbase, BR(7), color);\
195 #define SiS300SetupPATBG(color) \
197 MMIO_OUT32(ivideo->mmio_vbase, BR(8), color);\
200 #define SiS300SetupSRCFG(color) \
202 MMIO_OUT32(ivideo->mmio_vbase, BR(9), color);\
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_hw_sequencer.c260 * Remove default and add case for all color space
261 * so when we forget to add new color space
311 struct tg_color *color)
327 *color = pipe_colors[top_pipe->pipe_idx];
332 struct tg_color *color)
338 /* set border color to red */
339 color->color_r_cr = color_value;
341 /* set border color to pink */
342 color->color_b_cb = color_value;
343 color
309 get_mpctree_visual_confirm_color( struct pipe_ctx *pipe_ctx, struct tg_color *color) argument
330 get_surface_visual_confirm_color( const struct pipe_ctx *pipe_ctx, struct tg_color *color) argument
380 get_hdr_visual_confirm_color( struct pipe_ctx *pipe_ctx, struct tg_color *color) argument
428 get_subvp_visual_confirm_color( struct pipe_ctx *pipe_ctx, struct tg_color *color) argument
456 get_mclk_switch_visual_confirm_color( struct pipe_ctx *pipe_ctx, struct tg_color *color) argument
904 get_surface_tile_visual_confirm_color( struct pipe_ctx *pipe_ctx, struct tg_color *color) argument
[all...]
/linux-master/arch/xtensa/mm/
H A Dhighmem.c27 static inline enum fixed_addresses kmap_idx(int type, unsigned long color) argument
32 * The fixmap operates top down, so the color offset needs to be
35 return idx + DCACHE_N_COLORS - 1 - color;
/linux-master/drivers/net/ethernet/cisco/enic/
H A Dcq_desc.h44 u8 *type, u8 *color, u16 *q_number, u16 *completed_index)
49 *color = (type_color >> CQ_DESC_COLOR_SHIFT) & CQ_DESC_COLOR_MASK;
52 * Make sure color bit is read from desc *before* other fields
53 * are read from desc. Hardware guarantees color bit is last
43 cq_desc_dec(const struct cq_desc *desc_arg, u8 *type, u8 *color, u16 *q_number, u16 *completed_index) argument
/linux-master/drivers/video/fbdev/
H A Datafb.h7 void atafb_mfb_fillrect(struct fb_info *info, u_long next_line, u32 color,
15 void atafb_iplan2p2_fillrect(struct fb_info *info, u_long next_line, u32 color,
23 void atafb_iplan2p4_fillrect(struct fb_info *info, u_long next_line, u32 color,
31 void atafb_iplan2p8_fillrect(struct fb_info *info, u_long next_line, u32 color,
/linux-master/drivers/gpu/drm/i915/
H A Di915_gem_evict.h19 unsigned long color,
/linux-master/arch/sparc/lib/
H A Dbitext.c33 int i, color; local
36 /* align is overloaded to be the page color */
37 color = align;
40 color = 0;
51 color &= align1;
61 off_new = ((off_new + align1) & ~align1) + color;
/linux-master/samples/bpf/
H A Dtracex3_user.c28 const char *color[] = { variable
42 const int num_colors = ARRAY_SIZE(color);
102 printf("%s %s", color[c], nocolor);
161 printf(" %s %s", color[num_colors - 1], nocolor);
167 printf(" %s %s", color[0], nocolor);
/linux-master/drivers/firewire/
H A Dcore-topology.c100 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) argument
108 node->color = color;
223 node = fw_node_create(q, port_count, card->color);
243 * temporarily abuse node->color for
251 node->color = i;
260 child->ports[child->color] = node;
261 child->color = card->color;
326 node->color
[all...]
/linux-master/drivers/staging/sm750fb/
H A Dsm750_cursor.c88 u8 color, mask, opr; local
106 color = *pcol++;
113 opr = mask ^ color;
115 opr = mask & color;
138 u8 color, mask; local
156 color = *pcol++;
162 data |= ((color & (1 << j)) ? 1 : 2) << (j * 2);
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_sspp.c333 u8 color; local
344 for (color = 0; color < DPU_MAX_PLANES; color++) {
345 /* color 2 has the same set of registers as color 1 */
346 if (color == 2)
349 lr_pe[color] = ((pe_ext->right_ftch[color] & bytemask) << 24)|
350 ((pe_ext->right_rpt[color]
517 dpu_hw_sspp_setup_solidfill(struct dpu_sw_pipe *pipe, u32 color) argument
[all...]
/linux-master/drivers/video/fbdev/savage/
H A Dsavagefb_accel.c68 int cmd, color; local
74 color = rect->color;
76 color = ((u32 *)info->pseudo_palette)[rect->color];
87 BCI_SEND(color);
/linux-master/tools/leds/
H A Dget_led_device_info.sh122 color=`echo $led_name | cut -d: -f1`
126 color=`echo $led_name | cut -d: -f2`
134 S_CLR="color "
180 if [ ! -z "$color" ]; then
181 color_upper=`echo $color | tr [:lower:] [:upper:]`
184 print_msg_ok "$S_CLR" "$color" "Matching definition: $color_id_definition"
186 print_msg_failed "$S_CLR" "$color" "Definition not found in $led_defs_path"

Completed in 462 milliseconds

1234567891011>>