Searched defs:contrast (Results 1 - 25 of 51) sorted by relevance

123

/drivers/hid/
H A Dhid-picolcd_lcd.c36 static int picolcd_set_contrast(struct lcd_device *ldev, int contrast) argument
45 data->lcd_contrast = contrast & 0x0ff;
/drivers/gpu/drm/i2c/
H A Dch7006_mode.c335 int flicker, contrast, hpos, vpos; local
343 contrast = interpolate(0, 5, 7, priv->contrast);
344 regs[CH7006_CONTRAST] = bitf(CH7006_CONTRAST_0, contrast);
/drivers/gpu/drm/nouveau/dispnv04/
H A Doverlay.c45 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/media/pci/cx25821/
H A Dcx25821-medusa-video.c586 int medusa_set_contrast(struct cx25821_dev *dev, int contrast, int decoder) argument
592 if ((contrast > VIDEO_PROCAMP_MAX) || (contrast < VIDEO_PROCAMP_MIN)) {
596 ret_val = mapM(VIDEO_PROCAMP_MIN, VIDEO_PROCAMP_MAX, contrast,
/drivers/media/platform/omap3isp/
H A Disppreview.h77 * @contrast: Contrast.
96 u8 contrast; member in struct:prev_params
/drivers/media/usb/gspca/gl860/
H A Dgl860.h49 u16 contrast; member in struct:sd_gl860
/drivers/video/backlight/
H A Dlcd.c152 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/video/fbdev/
H A Dwm8505fb.c47 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 Dbf54x-lq043fb.c455 static int bfin_lcd_set_contrast(struct lcd_device *dev, int contrast) argument
H A Dbfin-t350mcqb-fb.c377 static int bfin_lcd_set_contrast(struct lcd_device *dev, int contrast) argument
/drivers/gpu/drm/armada/
H A Darmada_overlay.c26 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/media/platform/exynos4-is/
H A Dfimc-isp.h79 /* Adjust - contrast */
80 struct v4l2_ctrl *contrast; member in struct:fimc_isp_ctrls
/drivers/media/usb/gspca/
H A Dconex.c40 struct v4l2_ctrl *contrast; member in struct:sd
897 setcontrast(gspca_dev, sd->contrast->cur.val, ctrl->val);
916 sd->contrast = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
H A Dpac7311.c79 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));
H A Dpac7302.c39 * 0xa2-0xab Brightness, contrast and gamma control
116 struct { /* brightness / contrast cluster */
118 struct v4l2_ctrl *contrast; member in struct:sd::__anon2441
399 v -= delta[i] * sd->contrast->val / (s32)sd->contrast->maximum;
655 sd->contrast = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
H A Dspca501.c36 unsigned short contrast; member in struct:sd
H A Dt613.c475 static void setcontrast(struct gspca_dev *gspca_dev, s32 contrast) argument
479 if (contrast < 7)
480 reg_to_write = 0x8ea9 - contrast * 0x200;
482 reg_to_write = 0x00a9 + (contrast - 7) * 0x200;
/drivers/staging/media/davinci_vpfe/
H A Ddm365_ipipe.h69 /* contrast adjustments */
70 unsigned char contrast; member in struct:ipipe_lum_adj
/drivers/media/usb/go7007/
H A Ds2250-board.c125 int contrast; member in struct:s2250
540 state->contrast = 50;
/drivers/media/parport/
H A Dbw-qcam.c119 int contrast, brightness, whitebal; member in struct:qcam
416 /* Reset the QuickCam and program for brightness, contrast,
458 qc_command(q, q->contrast);
872 qcam->contrast = ctrl->val;
999 qcam->contrast = 192;
H A Dc-qcam.c56 int contrast, brightness, whitebal; member in struct:qcam
276 /* Reset the QuickCam and program for brightness, contrast,
295 /* Set contrast and white balance. */
296 qcam_set(qcam, 0x19, qcam->contrast);
666 qcam->contrast = ctrl->val;
770 qcam->contrast = 192;
H A Dpms.c261 static void pms_contrast(struct pms *dev, short contrast) argument
265 pms_i2c_write(dev, 0x8a, 0x00, contrast);
268 pms_i2c_write(dev, 0x42, 0x13, contrast);
H A Dw9966.c120 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;
/drivers/media/platform/vivid/
H A Dvivid-tpg.c104 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...]
H A Dvivid-tpg.h116 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

Completed in 392 milliseconds

123