/linux-master/drivers/gpu/drm/panfrost/ |
H A D | panfrost_gem.c | 120 unsigned long color = bo->noexec ? PANFROST_BO_NOEXEC : 0; local 147 size >> PAGE_SHIFT, align, color, 0);
|
/linux-master/drivers/video/fbdev/core/ |
H A D | sysfillrect.c | 250 fg = ((u32 *) (p->pseudo_palette))[rect->color]; 252 fg = rect->color;
|
/linux-master/include/video/ |
H A D | sticore.h | 262 u8 fg_color; /* foreground color of character */ 263 u8 bg_color; /* background color of character */ 285 u32 color : 1; /* change color during move? */ member in struct:sti_blkmv_flags 293 u8 fg_color; /* foreground color after move */ 294 u8 bg_color; /* background color after move */ 399 int height, int width, u8 color);
|
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtvfb.c | 8 mode, there is a choice of a three color depths (12, 15 or 16 bits), but no 509 /* Select color space */ 515 /* Set the color mode */ 861 u32 color, *palette; local 867 color = ((transp & 0xFF00) << 16) |((red & 0xFF00) << 8) | (green & 0xFF00) | ((blue & 0xFF00) >> 8); 870 write_reg(color, 0x02a34); 871 itv->osd_info->palette_cur[regno] = color; 881 color = ((red & 0xf000) >> 4) | 886 color = ((red & 0xf800) >> 1) | 891 color [all...] |
/linux-master/include/linux/ |
H A D | leds.h | 65 * default <color:function> tuple, for backward compatibility 95 unsigned int color; member in struct:led_classdev 422 * The name can have <devicename:color:function> or <color:function>. 603 u32 color; member in struct:led_properties
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_fb.c | 37 unsigned int color, struct drm_clip_rect *clips, 48 return drm_atomic_helper_dirtyfb(fb, file_priv, flags, color, 35 msm_framebuffer_dirtyfb(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned int flags, unsigned int color, struct drm_clip_rect *clips, unsigned int num_clips) argument
|
/linux-master/tools/perf/ui/stdio/ |
H A D | hist.c | 440 if (perf_hpp__use_color() && fmt->color) 441 ret = fmt->color(fmt, hpp, he); 490 if (perf_hpp__use_color() && fmt->color) 491 ret = fmt->color(fmt, hpp, he); 514 if (perf_hpp__use_color() && fmt->color) 515 fmt->color(fmt, hpp, he);
|
/linux-master/tools/power/pm-graph/ |
H A D | sleepgraph.py | 618 if name not in self.kprobes or 'color' not in self.kprobes[name]: 620 return self.kprobes[name]['color'] 882 def colorText(self, str, color=31): 885 return '\x1B[%d;40m%s\x1B[m' % (color, str) 1443 # contents: times for phase start/end, order/color data for html 1459 'suspend_prepare': {'order': 0, 'color': '#CCFFCC'}, 1460 'suspend': {'order': 1, 'color': '#88FF88'}, 1461 'suspend_late': {'order': 2, 'color': '#00AA00'}, 1462 'suspend_noirq': {'order': 3, 'color': '#008888'}, 1463 'suspend_machine': {'order': 4, 'color' [all...] |
/linux-master/drivers/gpu/drm/tidss/ |
H A D | tidss_dispc.c | 99 .vp_feat = { .color = { 174 .vp_feat = { .color = { 264 .vp_feat = { .color = { 311 .vp_feat = { .color = { 365 .vp_feat = { .color = { 2159 /* enable YUV->RGB color conversion */ 2349 u32 hwlen = dispc->feat->vp_feat.color.gamma_size; 2354 if (WARN_ON(dispc->feat->vp_feat.color.gamma_type != TIDSS_GAMMA_8BIT)) 2371 u32 hwlen = dispc->feat->vp_feat.color.gamma_size; 2376 if (WARN_ON(dispc->feat->vp_feat.color [all...] |
/linux-master/tools/perf/util/ |
H A D | arm-spe.c | 20 #include "color.h" 108 const char *color = PERF_COLOR_BLUE; local 110 color_fprintf(stdout, color, 121 color_fprintf(stdout, color, " %08x: ", pos); 123 color_fprintf(stdout, color, " %02x", buf[i]); 125 color_fprintf(stdout, color, " "); 130 color_fprintf(stdout, color, " %s\n", desc); 132 color_fprintf(stdout, color, " Bad packet!\n");
|
/linux-master/drivers/video/fbdev/ |
H A D | stifb.c | 20 * HPA4070A known as "HCRX", a 1280x1024 color device with 8 planes 21 * HPA4071A known as "HCRX24", a 1280x1024 color device with 24 planes, 23 * HPA1659A known as "CRX", a 1280x1024 color device with 8 planes 24 * HPA1439A known as "CRX24", a 1280x1024 color device with 24 planes, 27 * HPA2269A known as "Dual CRX", a 1280x1024 color device with 8 planes, 30 * supports 1280x1024 color displays with 8 planes. 32 * HP710L same as HP710C, 1024x768 color only 34 * 1024x768 or 1280x1024 color displays on 8 planes (Artist) 246 WRITE_IMAGE_COLOR(struct stifb_info *fb, int index, int color) argument 250 WRITE_WORD(color, f 951 u32 color; local [all...] |
H A D | pm2fb.c | 859 * pm2fb_setcolreg - Sets a color register. 867 * Set a single color register. The values supplied have a 16 bit 891 * var->{color}.offset contains start of bitfield 892 * var->{color}.length contains length of bitfield 900 * var->{color}.offset is 0 901 * var->{color}.length contains width of DAC 906 * var->{color}.offset contains start of bitfield 907 * var->{color}.length contains length of bitfield 1058 u32 color = (info->fix.visual == FB_VISUAL_TRUECOLOR) ? local 1059 ((u32 *)info->pseudo_palette)[region->color] [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_vma.c | 740 bool i915_gem_valid_gtt_space(struct i915_vma *vma, unsigned long color) argument 760 if (i915_node_color_differs(other, color) && 765 if (i915_node_color_differs(other, color) && 791 unsigned long color, guard; local 847 color = 0; 850 color = vma->obj->pat_index; 869 color, flags); 909 size, alignment, color, 918 GEM_BUG_ON(!i915_gem_valid_gtt_space(vma, color));
|
/linux-master/tools/perf/ui/ |
H A D | browser.c | 16 #include "../util/color.h" 32 int ui_browser__set_color(struct ui_browser *browser, int color) argument 35 browser->current_color = color; 36 SLsmg_set_color(color); 43 int color = ui_browser__percent_color(browser, percent, current); local 44 ui_browser__set_color(browser, color);
|
/linux-master/drivers/staging/sm750fb/ |
H A D | sm750.c | 133 /* get the 16bit color of kernel means */ 166 u32 color; local 182 color = (Bpp == 1) ? region->color : 183 ((u32 *)info->pseudo_palette)[region->color]; 198 color, rop);
|
/linux-master/drivers/video/console/ |
H A D | newport_con.c | 361 (vc->state.color & 0xf0) >> 4); 364 (vc->state.color & 0xf0) >> 4); 366 (vc->state.color & 0xf0) >> 4); 383 /* Set the color and drawing mode. */ 420 /* Set the color and drawing mode. */ 593 (vc->state.color & 0xf0) >> 4); 597 (vc->state.color & 0xf0) >> 4);
|
/linux-master/drivers/leds/rgb/ |
H A D | leds-ktd202x.c | 413 ret = of_property_read_u32(child, "color", &mono_color); 415 dev_err(chip->dev, "failed to parse 'color' of %pOF\n", child); 462 u32 color; local 465 /* Color property is optional in single color case */ 466 ret = of_property_read_u32(np, "color", &color); 468 dev_err(chip->dev, "failed to parse 'color' of %pOF\n", np); 475 if (color == LED_COLOR_ID_RGB) {
|
/linux-master/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-isp.c | 38 .color = FIMC_FMT_RAW8, 44 .color = FIMC_FMT_RAW10, 50 .color = FIMC_FMT_RAW12, 57 * fimc_isp_find_format - lookup color format by fourcc or media bus code
|
/linux-master/drivers/leds/ |
H A D | leds-sun50i-a100.c | 408 u32 addr, color; local 417 ret = fwnode_property_read_u32(child, "color", &color); 418 if (ret || color != LED_COLOR_ID_RGB) { 420 return dev_err_probe(dev, -EINVAL, "'color' must be LED_COLOR_ID_RGB\n");
|
/linux-master/arch/mips/txx9/generic/ |
H A D | setup.c | 635 const char *color, char **deftriggers) 675 "iocled:%s:%u", color, i); 699 const char *color, char **deftriggers) 633 txx9_iocled_init(unsigned long baseaddr, int basenum, unsigned int num, int lowactive, const char *color, char **deftriggers) argument 697 txx9_iocled_init(unsigned long baseaddr, int basenum, unsigned int num, int lowactive, const char *color, char **deftriggers) argument
|
/linux-master/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-mipi-dsi.c | 696 u32 val = 0, color = 0; local 700 color = DPI_COLOR_CODING_24BIT; 703 color = DPI_COLOR_CODING_18BIT_2 | LOOSELY18_EN; 706 color = DPI_COLOR_CODING_18BIT_1; 709 color = DPI_COLOR_CODING_16BIT_1; 719 dsi_write(dsi, DSI_DPI_COLOR_CODING, color);
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_ggtt.c | 38 unsigned long color, 42 if (i915_node_color_differs(node, color)) 47 * GTT and any objects within the GTT, i.e. we use the color adjustment 52 if (node->color != color) 873 ggtt->error_capture.color = I915_COLOR_UNEVICTABLE; 878 ggtt->error_capture.color, 37 i915_ggtt_color_adjust(const struct drm_mm_node *node, unsigned long color, u64 *start, u64 *end) argument
|
/linux-master/tools/lib/ |
H A D | rbtree.c | 30 * We shall indicate color with case, where black nodes are uppercase and red 31 * nodes will be lowercase. Unknown color nodes shall be drawn as red within 71 * - old's parent and color get assigned to new 72 * - old gets assigned new as a parent and 'color' as a color. 76 struct rb_root *root, int color) 80 rb_set_parent_color(old, new, color); 119 * Case 1 - node's uncle is red (color flips). 186 /* Case 1 - color flips */ 266 * Case 2 - sibling color fli 75 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new, struct rb_root *root, int color) argument [all...] |
/linux-master/tools/bpf/bpftool/ |
H A D | cfg.c | 416 const char *color = "black"; local 425 printf("\tfn_%d_bb_%d:s -> fn_%d_bb_%d:n [style=%s, color=%s, weight=%d, constraint=true", 427 style, color, weight);
|
/linux-master/lib/ |
H A D | rbtree.c | 30 * We shall indicate color with case, where black nodes are uppercase and red 31 * nodes will be lowercase. Unknown color nodes shall be drawn as red within 71 * - old's parent and color get assigned to new 72 * - old gets assigned new as a parent and 'color' as a color. 76 struct rb_root *root, int color) 80 rb_set_parent_color(old, new, color); 119 * Case 1 - node's uncle is red (color flips). 186 /* Case 1 - color flips */ 266 * Case 2 - sibling color fli 75 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new, struct rb_root *root, int color) argument [all...] |