Home
last modified time | relevance | path

Searched refs:contrast (Results 1 – 25 of 178) sorted by relevance

12345678

/linux/Documentation/ABI/testing/
H A Dsysfs-class-lcd10 What: /sys/class/lcd/<lcd>/contrast
15 Current contrast of this LCD device. Value is between 0 and
23 Maximum contrast for this LCD device.
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Doverlay.c45 struct drm_property *contrast; member
52 int contrast; member
220 u32 luma = (plane->brightness - 512) << 16 | plane->contrast; in nv10_set_params()
253 else if (property == nv_plane->props.contrast) in nv_set_property()
254 nv_plane->contrast = value; in nv_set_property()
309 plane->props.contrast = drm_property_create_range( in nv10_overlay_init()
318 !plane->props.contrast || in nv10_overlay_init()
328 plane->contrast = 0x1000; in nv10_overlay_init()
330 plane->props.contrast, plane->contrast); in nv10_overlay_init()
/linux/drivers/video/fbdev/
H A Dwm8505fb.c39 unsigned int contrast; member
145 writel(fbi->contrast<<16 | fbi->contrast<<8 | fbi->contrast, in wm8505fb_set_par()
157 return sprintf(buf, "%u\n", fbi->contrast); in contrast_show()
170 fbi->contrast = tmp; in contrast_store()
177 static DEVICE_ATTR_RW(contrast);
344 fbi->contrast = 0x10; in wm8505fb_probe()
H A Dssd1307fb.c68 u32 contrast; member
364 ret = ssd1307fb_write_cmd(par->client, par->contrast); in ssd1307fb_init()
515 par->contrast = brightness; in ssd1307fb_update_bl()
520 ret = ssd1307fb_write_cmd(par->client, par->contrast); in ssd1307fb_update_bl()
530 return par->contrast; in ssd1307fb_get_brightness()
659 par->contrast = 127; in ssd1307fb_probe()
743 bl->props.brightness = par->contrast; in ssd1307fb_probe()
H A Dimxfb.c802 static int imxfb_lcd_set_contrast(struct lcd_device *lcddev, int contrast) in imxfb_lcd_set_contrast() argument
807 if (contrast > 255) in imxfb_lcd_set_contrast()
808 contrast = 255; in imxfb_lcd_set_contrast()
809 else if (contrast < 0) in imxfb_lcd_set_contrast()
810 contrast = 0; in imxfb_lcd_set_contrast()
813 fbi->pwmr |= contrast; in imxfb_lcd_set_contrast()
/linux/drivers/media/usb/gspca/gl860/
H A Dgl860-ov2640.c178 sd->vcur.contrast = 0; in ov2640_init_settings()
189 sd->vmax.contrast = 255; in ov2640_init_settings()
242 sd->vold.contrast = -1; in ov2640_init_pre_alt()
343 s32 cntr = sd->vcur.contrast; in ov2640_camera_settings()
383 if (cntr != sd->vold.contrast) { in ov2640_camera_settings()
384 sd->vold.contrast = cntr; in ov2640_camera_settings()
385 if (cntr < 0 || cntr > sd->vmax.contrast) in ov2640_camera_settings()
H A Dgl860-mi1320.c207 sd->vcur.contrast = 10; in mi1320_init_settings()
219 sd->vmax.contrast = 0; /* 10 but not working with this driver */ in mi1320_init_settings()
284 sd->vold.contrast = -1; in mi1320_init_pre_alt()
370 s32 cntr = sd->vcur.contrast; in mi1320_camera_settings()
529 if (cntr != sd->vold.contrast) { in mi1320_camera_settings()
530 sd->vold.contrast = cntr; in mi1320_camera_settings()
531 if (cntr < 0 || cntr > sd->vmax.contrast) in mi1320_camera_settings()
H A Dgl860-mi2020.c358 sd->vcur.contrast = 0; in mi2020_init_settings()
370 sd->vmax.contrast = 3; in mi2020_init_settings()
430 sd->vold.contrast = 0; in mi2020_init_pre_alt()
629 s32 cntr = sd->vcur.contrast; in mi2020_camera_settings()
734 if (cntr != sd->vold.contrast || gam != sd->vold.gamma) { in mi2020_camera_settings()
735 sd->vold.contrast = cntr; in mi2020_camera_settings()
736 if (cntr < 0 || cntr > sd->vmax.contrast) in mi2020_camera_settings()
H A Dgl860.c60 sd->vcur.contrast = ctrl->val; in sd_s_ctrl()
116 if (sd->vmax.contrast) in sd_init_controls()
118 0, sd->vmax.contrast, 1, in sd_init_controls()
119 sd->vcur.contrast); in sd_init_controls()
/linux/drivers/media/usb/gspca/
H A Dspca561.c28 struct v4l2_ctrl *contrast; member
470 static void setwhite(struct gspca_dev *gspca_dev, s32 white, s32 contrast) in setwhite() argument
483 red += contrast - 0x20; in setwhite()
484 blue += contrast - 0x20; in setwhite()
485 reg_w_val(gspca_dev, 0x8652, contrast + 0x20); /* Gr */ in setwhite()
486 reg_w_val(gspca_dev, 0x8654, contrast + 0x20); /* Gb */ in setwhite()
622 v4l2_ctrl_g_ctrl(sd->contrast)); in sd_start_72a()
818 sd->contrast = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls_72a()
831 v4l2_ctrl_cluster(2, &sd->contrast); in sd_init_controls_72a()
H A Dsonixj.c27 struct v4l2_ctrl *contrast; member
1628 sd->contrast = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
1848 u8 contrast[6]; in setcontrast() local
1850 k2 = sd->contrast->val * 37 / (CONTRAST_MAX + 1) in setcontrast()
1852 contrast[0] = (k2 + 1) / 2; /* red */ in setcontrast()
1853 contrast[1] = 0; in setcontrast()
1854 contrast[2] = k2; /* green */ in setcontrast()
1855 contrast[3] = 0; in setcontrast()
1856 contrast[4] = k2 / 5; /* blue */ in setcontrast()
1857 contrast[5] = 0; in setcontrast()
[all …]
H A Dpac7302.c104 struct v4l2_ctrl *contrast; member
385 v -= delta[i] * sd->contrast->val / (s32)sd->contrast->maximum; in setbrightcont()
641 sd->contrast = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
/linux/drivers/media/test-drivers/vivid/
H A Dvivid-meta-out.c165 v4l2_ctrl_s_ctrl(dev->contrast, meta->contrast); in vivid_meta_out_process()
170 __func__, meta->brightness, meta->contrast, in vivid_meta_out_process()
H A Dvivid-meta-out.h10 u16 contrast; member
/linux/include/media/tpg/
H A Dv4l2-tpg.h156 u8 contrast; member
309 u8 contrast) in tpg_s_contrast() argument
311 if (tpg->contrast == contrast) in tpg_s_contrast()
313 tpg->contrast = contrast; in tpg_s_contrast()
/linux/Documentation/userspace-api/media/v4l/
H A Dmetafmt-vivid.rst31 * - u16 contrast;
32 - Image contrast, the value is in the range 0 to 255, with the default value as 128.
/linux/Documentation/userspace-api/media/drivers/
H A Dthp7312.rst25 - Hybrid of contrast-based and PDAF
31 contrast-based auto-focus value will be valid. Otherwise all values for the
/linux/Documentation/gpu/
H A Dkms-properties.csv12 ,,“contrast”,RANGE,"Min=0, Max=100",Connector,TBD
28 ,,“contrast”,RANGE,"Min=0, Max= SDVO dependent",Connector,TBD
48 ,,“contrast”,RANGE,"Min=0, Max= SDVO dependent",Connector,TBD
68 ,,"""contrast""",RANGE,"Min=0, Max=0x7fff",Plane,TBD
74 ,,“contrast”,RANGE,"Min=0, Max=8192-1",Plane,TBD
/linux/drivers/gpu/drm/armada/
H A Darmada_overlay.c38 u16 contrast; member
47 drm_to_overlay_state(state)->contrast; in armada_spu_contrast()
321 state->contrast = DEFAULT_CONTRAST; in armada_overlay_reset()
403 drm_to_overlay_state(state)->contrast = val; in armada_overlay_set_property()
455 *val = drm_to_overlay_state(state)->contrast; in armada_overlay_get_property()
/linux/Documentation/litmus-tests/atomic/
H A Dcmpxchg-fail-unordered-2.litmus7 * an acquire release operation. (In contrast, a successful cmpxchg()
H A Dcmpxchg-fail-unordered-1.litmus7 * full barrier. (In contrast, a successful cmpxchg() does act as a
/linux/arch/arm/boot/dts/nspire/
H A Dnspire.dtsi213 contrast: contrast@900f0000 { label
/linux/Documentation/sphinx-static/
H A Dtheme_rtd_colors.css7 /* Improve contrast and increase size for easier reading. */
/linux/drivers/gpu/drm/i915/display/
H A Dintel_overlay.c197 u32 brightness, contrast, saturation; member
1228 iowrite32((overlay->contrast << 18) | (overlay->brightness & 0xff), in update_reg_attrs()
1297 attrs->contrast = overlay->contrast; in intel_overlay_attrs_ioctl()
1311 if (attrs->contrast > 255) in intel_overlay_attrs_ioctl()
1318 overlay->contrast = attrs->contrast; in intel_overlay_attrs_ioctl()
1415 overlay->contrast = 75; in intel_overlay_setup()
/linux/drivers/gpu/drm/i2c/
H A Dch7006_mode.c334 int flicker, contrast, hpos, vpos; in ch7006_setup_properties() local
342 contrast = interpolate(0, 5, 7, priv->contrast); in ch7006_setup_properties()
343 regs[CH7006_CONTRAST] = bitf(CH7006_CONTRAST_0, contrast); in ch7006_setup_properties()

12345678