/drivers/hid/ |
H A D | hid-picolcd_lcd.c | 36 static int picolcd_set_contrast(struct lcd_device *ldev, int contrast) argument 45 data->lcd_contrast = contrast & 0x0ff;
|
/drivers/media/platform/vivid/ |
H A D | vivid-tpg.h | 116 u8 contrast; member in struct:tpg_data 232 u8 contrast) 234 if (tpg->contrast == contrast) 236 tpg->contrast = contrast; 231 tpg_s_contrast(struct tpg_data *tpg, u8 contrast) argument
|
H A D | vivid-tpg.c | 104 tpg->contrast = 128; 497 if (tpg->brightness != 128 || tpg->contrast != 128 || 507 y = (16 << 4) + ((y - (16 << 4)) * tpg->contrast) / 128; 515 cb = (128 << 4) + (tmp_cb * tpg->contrast * tpg->saturation) / (128 * 128); 516 cr = (128 << 4) + (tmp_cr * tpg->contrast * tpg->saturation) / (128 * 128); 875 enum tpg_color contrast; local 882 contrast = TPG_COLOR_100_RED; 885 contrast = TPG_COLOR_CSC_GREEN; 888 contrast = TPG_COLOR_100_GREEN; 938 gen_twopix(tpg, pix, contrast, [all...] |
/drivers/video/fbdev/ |
H A D | wm8505fb.c | 47 unsigned int contrast; member in struct:wm8505fb_info 153 writel(fbi->contrast<<16 | fbi->contrast<<8 | fbi->contrast, 165 return sprintf(buf, "%u\n", fbi->contrast); 178 fbi->contrast = tmp; 185 static DEVICE_ATTR(contrast, 0644, contrast_show, contrast_store); 349 fbi->contrast = 0x10;
|
H A D | bf537-lq035.c | 660 static int bfin_lcd_set_contrast(struct lcd_device *dev, int contrast) argument 662 if (contrast > 255) 663 contrast = 255; 664 if (contrast < 0) 665 contrast = 0; 667 vcomm_value = (unsigned char)contrast;
|
H A D | imxfb.c | 738 static int imxfb_lcd_set_contrast(struct lcd_device *lcddev, int contrast) argument 743 if (contrast > 255) 744 contrast = 255; 745 else if (contrast < 0) 746 contrast = 0; 749 fbi->pwmr |= contrast;
|
/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | overlay.c | 45 struct drm_property *contrast; member in struct:nouveau_plane::__anon876 53 int contrast; member in struct:nouveau_plane 201 u32 luma = (plane->brightness - 512) << 16 | plane->contrast; 234 else if (property == nv_plane->props.contrast) 235 nv_plane->contrast = value; 289 plane->props.contrast = drm_property_create_range( 290 device, 0, "contrast", 0, 8192 - 1); 300 !plane->props.contrast || 311 plane->contrast = 0x1000; 313 plane->props.contrast, plan [all...] |
/drivers/video/backlight/ |
H A D | lcd.c | 152 unsigned long contrast; local 154 rc = kstrtoul(buf, 0, &contrast); 162 pr_debug("set contrast to %lu\n", contrast); 163 ld->ops->set_contrast(ld, contrast); 170 static DEVICE_ATTR_RW(contrast);
|
/drivers/media/platform/omap3isp/ |
H A D | isppreview.h | 77 * @contrast: Contrast. 96 u8 contrast; member in struct:prev_params
|
/drivers/media/usb/gspca/gl860/ |
H A D | gl860.h | 49 u16 contrast; member in struct:sd_gl860
|
H A D | gl860-mi1320.c | 192 sd->vcur.contrast = 10; 204 sd->vmax.contrast = 0; /* 10 but not working with this driver */ 269 sd->vold.contrast = -1; 355 s32 cntr = sd->vcur.contrast; 514 if (cntr != sd->vold.contrast) { 515 sd->vold.contrast = cntr; 516 if (cntr < 0 || cntr > sd->vmax.contrast)
|
H A D | gl860-ov2640.c | 190 sd->vcur.contrast = 0; 201 sd->vmax.contrast = 255; 254 sd->vold.contrast = -1; 355 s32 cntr = sd->vcur.contrast; 395 if (cntr != sd->vold.contrast) { 396 sd->vold.contrast = cntr; 397 if (cntr < 0 || cntr > sd->vmax.contrast)
|
H A D | gl860.c | 72 sd->vcur.contrast = ctrl->val; 128 if (sd->vmax.contrast) 130 0, sd->vmax.contrast, 1, 131 sd->vcur.contrast);
|
H A D | gl860-ov9655.c | 160 sd->vcur.contrast = 0; 169 sd->vmax.contrast = 0;
|
/drivers/media/platform/exynos4-is/ |
H A D | fimc-isp.h | 79 /* Adjust - contrast */ 80 struct v4l2_ctrl *contrast; member in struct:fimc_isp_ctrls
|
/drivers/media/usb/gspca/ |
H A D | spca561.c | 40 struct { /* hue/contrast control cluster */ 41 struct v4l2_ctrl *contrast; member in struct:sd::__anon2451 482 static void setwhite(struct gspca_dev *gspca_dev, s32 white, s32 contrast) argument 495 red += contrast - 0x20; 496 blue += contrast - 0x20; 497 reg_w_val(gspca_dev, 0x8652, contrast + 0x20); /* Gr */ 498 reg_w_val(gspca_dev, 0x8654, contrast + 0x20); /* Gb */ 634 v4l2_ctrl_g_ctrl(sd->contrast)); 786 /* hue/contrast control cluster for 72a */ 839 sd->contrast [all...] |
H A D | pac7311.c | 79 struct v4l2_ctrl *contrast; member in struct:sd 422 sd->contrast = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, 453 setcontrast(gspca_dev, v4l2_ctrl_g_ctrl(sd->contrast));
|
/drivers/staging/media/davinci_vpfe/ |
H A D | dm365_ipipe.h | 69 /* contrast adjustments */ 70 unsigned char contrast; member in struct:ipipe_lum_adj
|
/drivers/gpu/drm/armada/ |
H A D | armada_overlay.c | 26 uint16_t contrast; member in struct:armada_plane_properties 57 writel_relaxed(prop->brightness << 16 | prop->contrast, 339 dplane->prop.contrast = val; 416 "contrast", 0, 0x7fff); 454 dplane->prop.contrast = 0x4000; 472 dplane->prop.contrast);
|
/drivers/gpu/drm/i2c/ |
H A D | ch7006_drv.c | 270 priv->contrast); 332 priv->contrast = val; 461 priv->contrast = 50;
|
H A D | ch7006_mode.c | 335 int flicker, contrast, hpos, vpos; local 343 contrast = interpolate(0, 5, 7, priv->contrast); 344 regs[CH7006_CONTRAST] = bitf(CH7006_CONTRAST_0, contrast);
|
/drivers/media/usb/hdpvr/ |
H A D | hdpvr.h | 60 u8 contrast; member in struct:hdpvr_options
|
H A D | hdpvr-core.c | 155 dev->options.contrast = 0x40; 268 .contrast = 0x80,
|
/drivers/gpu/drm/i915/ |
H A D | intel_overlay.c | 179 u32 brightness, contrast, saturation; member in struct:intel_overlay 1186 iowrite32((overlay->contrast << 18) | (overlay->brightness & 0xff), 1258 attrs->contrast = overlay->contrast; 1272 if (attrs->contrast > 255) 1279 overlay->contrast = attrs->contrast; 1377 overlay->contrast = 75;
|
/drivers/media/parport/ |
H A D | w9966.c | 120 signed char contrast; member in struct:w9966 541 saa7111_regs[0x0b] = cam->contrast; 615 cam->contrast = ctrl->val; 632 w9966_write_reg_i2c(cam, 0x0b, cam->contrast) == -1 || 838 cam->contrast = 64;
|