Searched refs:color (Results 151 - 175 of 367) sorted by relevance

1234567891011>>

/linux-master/drivers/leds/rgb/
H A Dleds-mt6370-rgb.c118 * If the color of the LED in DT is set to
728 u32 reg, color; local
736 ret = fwnode_property_read_u32(child, "color", &color);
739 return dev_err_probe(dev, ret, "LED %d, no color specified\n", led->index);
743 sub_led[num_color].color_index = color;
943 u32 reg, color; local
957 ret = fwnode_property_read_u32(child, "color", &color);
959 dev_err(dev, "Failed to parse color propert
[all...]
H A Dleds-qcom-lpg.c143 * @color: color of the LED attached to this channel
174 int color; member in struct:lpg_channel
1338 u32 color = LED_COLOR_ID_GREEN; local
1349 ret = of_property_read_u32(np, "color", &color);
1352 "failed to parse \"color\" of %pOF\n", np);
1354 chan->color = color;
1370 u32 color local
[all...]
/linux-master/mm/
H A Dkmemleak.c322 * (min_count == -1). No function defined for this color.
323 * Newly created objects don't have any color assigned (object->count == -1)
339 * Objects are considered unreferenced only if their color is white, they have
658 object->count = 0; /* white color initially */
877 static void __paint_it(struct kmemleak_object *object, int color) argument
879 object->min_count = color;
880 if (color == KMEMLEAK_BLACK)
884 static void paint_it(struct kmemleak_object *object, int color) argument
889 __paint_it(object, color);
893 static void paint_ptr(unsigned long ptr, int color, unsigne argument
[all...]
/linux-master/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-regs.c175 if (is_rgb(frame->fmt->color)) {
295 if (is_rgb(frame->fmt->color)) {
406 if (!is_rgb(frame->fmt->color)) {
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/
H A Dmanager-sysfs.c131 u32 color; local
134 r = kstrtouint(buf, 0, &color);
140 info.default_color = color;
/linux-master/drivers/gpu/drm/i915/selftests/
H A Di915_gem_evict.c235 unsigned long color,
249 .color = i915_gem_get_pat_index(gt->i915, I915_CACHE_LLC),
260 * color adjust will work just fine for our purposes.
312 target.color = i915_gem_get_pat_index(gt->i915, I915_CACHE_L3_LLC);
234 mock_color_adjust(const struct drm_mm_node *node, unsigned long color, u64 *start, u64 *end) argument
/linux-master/drivers/video/fbdev/
H A Docfb.c179 u32 color; local
198 color = (red << 16) | (green << 8) | blue;
199 ocfb_writereg(fbdev, OCFB_PALETTE + regno, color);
345 /* Allocate color map */
/linux-master/drivers/leds/
H A Dleds-turris-omnia.c118 /* Send the color change command */
162 * Send color command only if brightness is non-zero and the RGB
203 * configured color was not necessarily sent to the MCU.
260 int ret, color; local
270 ret = of_property_read_u32(np, "color", &color);
271 if (ret || color != LED_COLOR_ID_RGB) {
273 "Node %pOF: must contain 'color' property with value LED_COLOR_ID_RGB\n",
282 /* Initial color is white */
322 /* Set initial color an
[all...]
/linux-master/tools/perf/util/
H A Dstat-display.c8 #include "color.h"
403 void *ctx, const char *color, const char *fmt,
422 if (color)
423 n += color_fprintf(out, color, fmt, val);
441 const char *color __maybe_unused,
462 const char *color __maybe_unused,
557 void *ctx, const char *color, const char *fmt,
571 if (color)
572 mlen += strlen(color) + sizeof(PERF_COLOR_RESET) - 1;
574 color_snprintf(str, sizeof(str), color
402 print_metric_std(struct perf_stat_config *config, void *ctx, const char *color, const char *fmt, const char *unit, double val) argument
556 print_metric_only(struct perf_stat_config *config, void *ctx, const char *color, const char *fmt, const char *unit, double val) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_timing_generator.h206 /* Combine with below and move YUV/RGB color conversion to SW layer */
210 /* Combine with above and move YUV/RGB color conversion to SW layer */
213 const struct tg_color *color);
/linux-master/drivers/staging/sm750fb/
H A Dsm750.h65 u32 color, u32 rop);
/linux-master/drivers/net/ethernet/cisco/enic/
H A Dvnic_wq.h84 int color; member in struct:devcmd2_controller
H A Dvnic_dev.c289 u8 color; local
328 color = dc2c->color;
333 dc2c->color = dc2c->color ? 0 : 1;
337 if (result->color == color) {
382 vdev->devcmd2->color = 1;
/linux-master/drivers/scsi/snic/
H A Dvnic_devcmd.h248 u8 color; /* 0 or 1 as with completion queues */ member in struct:devcmd2_result
/linux-master/drivers/video/fbdev/matrox/
H A Dmatroxfb_accel.c307 static void matroxfb_accel_clear(struct matrox_fb_info *minfo, u_int32_t color, argument
319 mga_outl(M_FCOL, color);
332 matroxfb_accel_clear(minfo, ((u_int32_t *)info->pseudo_palette)[rect->color], rect->dy, rect->dx, rect->height, rect->width);
400 matroxfb_cfb4_clear(minfo, ((u_int32_t *)info->pseudo_palette)[rect->color], rect->dy, rect->dx, rect->height, rect->width);
512 passes framebuffer color depth here, although logo data are
514 logo palette to be used (but only for true/direct-color... sic...).
/linux-master/drivers/video/fbdev/core/
H A Dbitblit.c67 region.color = attr_bgcol_ec(bgshift, vc, info);
206 int color, int bottom_only)
216 region.color = color;
205 bit_clear_margins(struct vc_data *vc, struct fb_info *info, int color, int bottom_only) argument
H A Dfbcon_ud.c75 region.color = attr_bgcol_ec(bgshift,vc,info);
223 int color, int bottom_only)
231 region.color = color;
222 ud_clear_margins(struct vc_data *vc, struct fb_info *info, int color, int bottom_only) argument
H A Dfbcon_ccw.c88 region.color = attr_bgcol_ec(bgshift,vc,info);
192 int color, int bottom_only)
201 region.color = color;
191 ccw_clear_margins(struct vc_data *vc, struct fb_info *info, int color, int bottom_only) argument
H A Dfbcon_cw.c73 region.color = attr_bgcol_ec(bgshift,vc,info);
175 int color, int bottom_only)
184 region.color = color;
174 cw_clear_margins(struct vc_data *vc, struct fb_info *info, int color, int bottom_only) argument
/linux-master/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_opp.h166 const struct tg_color *color);
/linux-master/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dopp.h65 enum dc_color_depth c_depth; /* Deep color use. */
345 const struct tg_color *color);
/linux-master/drivers/media/platform/qcom/venus/
H A Dhfi_cmds.c771 struct hfi_conceal_color *color = prop_data; local
774 color->conceal_color = *in & 0xff;
775 color->conceal_color |= ((*in >> 10) & 0xff) << 8;
776 color->conceal_color |= ((*in >> 20) & 0xff) << 16;
777 pkt->shdr.hdr.size += sizeof(u32) + sizeof(*color);
1243 struct hfi_conceal_color_v4 *color = prop_data; local
1246 color->conceal_color_8bit = *in & 0xff;
1247 color->conceal_color_8bit |= ((*in >> 10) & 0xff) << 8;
1248 color->conceal_color_8bit |= ((*in >> 20) & 0xff) << 16;
1249 color
[all...]
/linux-master/drivers/video/fbdev/aty/
H A Dradeon_accel.c53 OUTREG(DP_BRUSH_FRGD_CLR, rinfo->pseudo_palette[region->color]);
55 OUTREG(DP_BRUSH_FRGD_CLR, region->color);
317 /* set brush color regs */
321 /* set source color regs */
/linux-master/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c272 fg = ((u32 *) (info->pseudo_palette))[rect->color];
274 fg = rect->color;
/linux-master/include/linux/
H A Drbtree_augmented.h189 struct rb_node *p, int color)
191 rb->__rb_parent_color = (unsigned long)p + color;
188 rb_set_parent_color(struct rb_node *rb, struct rb_node *p, int color) argument

Completed in 267 milliseconds

1234567891011>>