Home
last modified time | relevance | path

Searched refs:saturation (Results 1 – 25 of 61) sorted by relevance

123

/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c48 struct drm_property *saturation; member
56 int saturation; member
221 u32 chroma = ((sin_mul(plane->hue, plane->saturation) & 0xffff) << 16) | in nv10_set_params()
222 (cos_mul(plane->hue, plane->saturation) & 0xffff); in nv10_set_params()
259 else if (property == nv_plane->props.saturation) in nv_set_property()
260 nv_plane->saturation = value; in nv_set_property()
314 plane->props.saturation = drm_property_create_range( in nv10_overlay_init()
322 !plane->props.saturation || in nv10_overlay_init()
342 plane->saturation = 0x1000; in nv10_overlay_init()
344 plane->props.saturation, plane->saturation); in nv10_overlay_init()
Dtvnv17.h78 int saturation; member
Dtvnv17.c675 tv_enc->saturation); in nv17_tv_create_resources()
710 tv_enc->saturation = val; in nv17_tv_set_property()
802 tv_enc->saturation = 50; in nv17_tv_create()
Dcrtc.c64 regp->CRTC[NV_CIO_CRE_CSB] = nv_crtc->saturation = level; in nv_crtc_set_digital_vibrance()
65 if (nv_crtc->saturation && nv_gf4_disp_arch(crtc->dev)) { in nv_crtc_set_digital_vibrance()
67 regp->CRTC[NV_CIO_CRE_5B] = nv_crtc->saturation << 2; in nv_crtc_set_digital_vibrance()
529 nv_crtc_set_digital_vibrance(crtc, nv_crtc->saturation); in nv_crtc_mode_set_regs()
/drivers/media/usb/gspca/gl860/
Dgl860-ov2640.c193 sd->vcur.saturation = 128; in ov2640_init_settings()
204 sd->vmax.saturation = 255; in ov2640_init_settings()
255 sd->vold.saturation = -1; in ov2640_init_pre_alt()
356 s32 sat = sd->vcur.saturation; in ov2640_camera_settings()
405 if (sat != sd->vold.saturation) { in ov2640_camera_settings()
406 sd->vold.saturation = sat; in ov2640_camera_settings()
407 if (sat < 0 || sat > sd->vmax.saturation) in ov2640_camera_settings()
Dgl860-mi1320.c195 sd->vcur.saturation = 6; in mi1320_init_settings()
207 sd->vmax.saturation = 8; in mi1320_init_settings()
270 sd->vold.saturation = -1; in mi1320_init_pre_alt()
358 s32 sat = sd->vcur.saturation; in mi1320_camera_settings()
428 if (sat != sd->vold.saturation) { in mi1320_camera_settings()
429 sd->vold.saturation = sat; in mi1320_camera_settings()
430 if (sat < 0 || sat > sd->vmax.saturation) in mi1320_camera_settings()
Dgl860.c75 sd->vcur.saturation = ctrl->val; in sd_s_ctrl()
133 if (sd->vmax.saturation) in sd_init_controls()
135 0, sd->vmax.saturation, 1, in sd_init_controls()
136 sd->vcur.saturation); in sd_init_controls()
Dgl860-ov9655.c163 sd->vcur.saturation = 0; in ov9655_init_settings()
172 sd->vmax.saturation = 0; in ov9655_init_settings()
Dgl860.h52 u16 saturation; member
Dgl860-mi2020.c373 sd->vcur.saturation = 60; in mi2020_init_settings()
385 sd->vmax.saturation = 0; /* 100, not done by hardware */ in mi2020_init_settings()
/drivers/media/usb/gspca/
Dmars.c36 struct v4l2_ctrl *saturation; member
208 sd->saturation = v4l2_ctrl_new_std(hdl, &mars_ctrl_ops, in sd_init_controls()
307 data[2] = v4l2_ctrl_g_ctrl(sd->saturation) << 3; in sd_start()
308 data[3] = ((v4l2_ctrl_g_ctrl(sd->saturation) >> 2) & 0xf8) | 0x04; in sd_start()
Dpac7302.c115 struct v4l2_ctrl *saturation; member
417 v = a[i] * sd->saturation->val / (s32)sd->saturation->maximum; in setcolors()
653 sd->saturation = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
/drivers/gpu/drm/armada/
Darmada_overlay.c29 uint16_t saturation; member
58 writel_relaxed(prop->saturation << 16, in armada_ovl_update_attr()
364 dplane->prop.saturation = val; in armada_ovl_plane_set_property()
490 dplane->prop.saturation = 0x4000; in armada_overlay_plane_create()
509 dplane->prop.saturation); in armada_overlay_plane_create()
/drivers/gpu/drm/i915/
Dintel_overlay.c181 u32 brightness, contrast, saturation; member
1253 iowrite32(overlay->saturation, &regs->OCLRC1); in update_reg_attrs()
1323 attrs->saturation = overlay->saturation; in intel_overlay_attrs_ioctl()
1338 if (attrs->saturation > 1023) in intel_overlay_attrs_ioctl()
1344 overlay->saturation = attrs->saturation; in intel_overlay_attrs_ioctl()
1446 overlay->saturation = 146; in intel_setup_overlay()
/drivers/media/pci/cx25821/
Dcx25821-medusa-video.c627 int medusa_set_saturation(struct cx25821_dev *dev, int saturation, int decoder) in medusa_set_saturation() argument
633 if ((saturation > VIDEO_PROCAMP_MAX) || in medusa_set_saturation()
634 (saturation < VIDEO_PROCAMP_MIN)) { in medusa_set_saturation()
638 ret_val = mapM(VIDEO_PROCAMP_MIN, VIDEO_PROCAMP_MAX, saturation, in medusa_set_saturation()
/drivers/gpu/drm/nouveau/
Dnouveau_crtc.h40 int saturation; member
/drivers/media/platform/exynos4-is/
Dfimc-isp.h82 struct v4l2_ctrl *saturation; member
/drivers/media/usb/hdpvr/
Dhdpvr-core.c152 dev->options.saturation = 0x40; in device_authorization()
264 .saturation = 0x80,
Dhdpvr.h62 u8 saturation; member
Dhdpvr-control.c177 hdpvr_config_call(dev, CTRL_SATURATION, dev->options.saturation); in hdpvr_set_options()
/drivers/media/i2c/m5mols/
Dm5mols.h222 struct v4l2_ctrl *saturation; member
/drivers/media/usb/go7007/
Ds2250-board.c126 int saturation; member
553 state->saturation = 50; in s2250_probe()
/drivers/media/i2c/
Dov7670.c229 struct v4l2_ctrl *saturation; member
1459 info->saturation->val, info->hue->val); in ov7670_s_ctrl()
1666 info->saturation = v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops, in ov7670_probe()
1692 v4l2_ctrl_cluster(2, &info->saturation); in ov7670_probe()
/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw-internal.h362 VCREATE_DATA(saturation);
/drivers/video/fbdev/matrox/
Dmatroxfb_g450.c48 }, offsetof(struct matrox_fb_info, altout.tvo_params.saturation) },
539 minfo->hw.maven.regs[0x22] = minfo->altout.tvo_params.saturation; in matroxfb_g450_compute()

123