Home
last modified time | relevance | path

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

123

/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c47 struct drm_property *saturation; member
54 int saturation; member
219 u32 chroma = ((sin_mul(plane->hue, plane->saturation) & 0xffff) << 16) | in nv10_set_params()
220 (cos_mul(plane->hue, plane->saturation) & 0xffff); in nv10_set_params()
257 else if (property == nv_plane->props.saturation) in nv_set_property()
258 nv_plane->saturation = value; in nv_set_property()
312 plane->props.saturation = drm_property_create_range( in nv10_overlay_init()
318 !plane->props.saturation) in nv10_overlay_init()
337 plane->saturation = 0x1000; in nv10_overlay_init()
339 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()
Dtvmodesnv17.c514 255, tv_enc->saturation); in nv17_tv_update_properties()
516 255, tv_enc->saturation); in nv17_tv_update_properties()
/drivers/media/usb/gspca/gl860/
Dgl860-ov2640.c181 sd->vcur.saturation = 128; in ov2640_init_settings()
192 sd->vmax.saturation = 255; in ov2640_init_settings()
243 sd->vold.saturation = -1; in ov2640_init_pre_alt()
344 s32 sat = sd->vcur.saturation; in ov2640_camera_settings()
393 if (sat != sd->vold.saturation) { in ov2640_camera_settings()
394 sd->vold.saturation = sat; in ov2640_camera_settings()
395 if (sat < 0 || sat > sd->vmax.saturation) in ov2640_camera_settings()
Dgl860-mi1320.c183 sd->vcur.saturation = 6; in mi1320_init_settings()
195 sd->vmax.saturation = 8; in mi1320_init_settings()
258 sd->vold.saturation = -1; in mi1320_init_pre_alt()
346 s32 sat = sd->vcur.saturation; in mi1320_camera_settings()
416 if (sat != sd->vold.saturation) { in mi1320_camera_settings()
417 sd->vold.saturation = sat; in mi1320_camera_settings()
418 if (sat < 0 || sat > sd->vmax.saturation) in mi1320_camera_settings()
Dgl860.c63 sd->vcur.saturation = ctrl->val; in sd_s_ctrl()
121 if (sd->vmax.saturation) in sd_init_controls()
123 0, sd->vmax.saturation, 1, in sd_init_controls()
124 sd->vcur.saturation); in sd_init_controls()
Dgl860-ov9655.c151 sd->vcur.saturation = 0; in ov9655_init_settings()
160 sd->vmax.saturation = 0; in ov9655_init_settings()
Dgl860.h40 u16 saturation; member
Dgl860-mi2020.c361 sd->vcur.saturation = 60; in mi2020_init_settings()
373 sd->vmax.saturation = 0; /* 100, not done by hardware */ in mi2020_init_settings()
/drivers/media/usb/gspca/
Dmars.c27 struct v4l2_ctrl *saturation; member
199 sd->saturation = v4l2_ctrl_new_std(hdl, &mars_ctrl_ops, in sd_init_controls()
298 data[2] = v4l2_ctrl_g_ctrl(sd->saturation) << 3; in sd_start()
299 data[3] = ((v4l2_ctrl_g_ctrl(sd->saturation) >> 2) & 0xf8) | 0x04; in sd_start()
Dpac7302.c106 struct v4l2_ctrl *saturation; member
408 v = a[i] * sd->saturation->val / (s32)sd->saturation->maximum; in setcolors()
644 sd->saturation = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
Dov534.c53 struct v4l2_ctrl *saturation; member
1258 sd->saturation = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls()
1418 setsaturation(gspca_dev, v4l2_ctrl_g_ctrl(sd->saturation)); in sd_start()
/drivers/gpu/drm/armada/
Darmada_overlay.c37 u16 saturation; member
51 return drm_to_overlay_state(state)->saturation << 16; in armada_spu_saturation()
321 state->saturation = DEFAULT_SATURATION; in armada_overlay_reset()
404 drm_to_overlay_state(state)->saturation = val; in armada_overlay_set_property()
456 *val = drm_to_overlay_state(state)->saturation; in armada_overlay_get_property()
/drivers/gpu/drm/i915/display/
Dintel_overlay.c187 u32 brightness, contrast, saturation; member
1174 iowrite32(overlay->saturation, &regs->OCLRC1); in update_reg_attrs()
1243 attrs->saturation = overlay->saturation; in intel_overlay_attrs_ioctl()
1258 if (attrs->saturation > 1023) in intel_overlay_attrs_ioctl()
1264 overlay->saturation = attrs->saturation; in intel_overlay_attrs_ioctl()
1368 overlay->saturation = 146; in intel_overlay_setup()
/drivers/media/pci/cx25821/
Dcx25821-medusa-video.c617 int medusa_set_saturation(struct cx25821_dev *dev, int saturation, int decoder) in medusa_set_saturation() argument
623 if ((saturation > VIDEO_PROCAMP_MAX) || in medusa_set_saturation()
624 (saturation < VIDEO_PROCAMP_MIN)) { in medusa_set_saturation()
628 ret_val = mapM(VIDEO_PROCAMP_MIN, VIDEO_PROCAMP_MAX, saturation, in medusa_set_saturation()
/drivers/gpu/drm/nouveau/
Dnouveau_crtc.h42 int saturation; member
/drivers/media/platform/exynos4-is/
Dfimc-isp.h79 struct v4l2_ctrl *saturation; member
/drivers/media/usb/hdpvr/
Dhdpvr-core.c148 dev->options.saturation = 0x40; in device_authorization()
260 .saturation = 0x80,
Dhdpvr.h58 u8 saturation; member
Dhdpvr-control.c173 hdpvr_config_call(dev, CTRL_SATURATION, dev->options.saturation); in hdpvr_set_options()
/drivers/media/i2c/m5mols/
Dm5mols.h218 struct v4l2_ctrl *saturation; member
/drivers/media/usb/go7007/
Ds2250-board.c118 int saturation; member
545 state->saturation = 50; in s2250_probe()
/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw-internal.h352 VCREATE_DATA(saturation);
/drivers/video/fbdev/matrox/
Dmatroxfb_g450.c49 }, offsetof(struct matrox_fb_info, altout.tvo_params.saturation) },
540 minfo->hw.maven.regs[0x22] = minfo->altout.tvo_params.saturation; in matroxfb_g450_compute()

123