/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-lcd | 10 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.
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | overlay.c | 45 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()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | wm8505fb.c | 39 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); 342 fbi->contrast = 0x10; in wm8505fb_probe()
|
H A D | ssd1307fb.c | 68 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() 667 par->contrast = 127; in ssd1307fb_probe() 751 bl->props.brightness = par->contrast; in ssd1307fb_probe()
|
/openbmc/linux/drivers/media/usb/gspca/gl860/ |
H A D | gl860-ov2640.c | 178 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 D | gl860-mi1320.c | 207 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 D | gl860-mi2020.c | 358 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 D | gl860-ov9655.c | 197 sd->vcur.contrast = 0; in ov9655_init_settings() 206 sd->vmax.contrast = 0; in ov9655_init_settings()
|
H A D | gl860.c | 60 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()
|
/openbmc/linux/drivers/video/backlight/ |
H A D | lcd.c | 133 unsigned long contrast; in contrast_store() local 135 rc = kstrtoul(buf, 0, &contrast); in contrast_store() 143 pr_debug("set contrast to %lu\n", contrast); in contrast_store() 144 ld->ops->set_contrast(ld, contrast); in contrast_store() 151 static DEVICE_ATTR_RW(contrast);
|
/openbmc/linux/drivers/media/usb/gspca/ |
H A D | spca561.c | 28 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 D | sonixj.c | 27 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 …]
|
/openbmc/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-meta-out.c | 168 v4l2_ctrl_s_ctrl(dev->contrast, meta->contrast); in vivid_meta_out_process() 173 __func__, meta->brightness, meta->contrast, in vivid_meta_out_process()
|
H A D | vivid-meta-out.h | 10 u16 contrast; member
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | metafmt-vivid.rst | 31 * - u16 contrast; 32 - Image contrast, the value is in the range 0 to 255, with the default value as 128.
|
/openbmc/linux/drivers/hid/ |
H A D | hid-picolcd_lcd.c | 26 static int picolcd_set_contrast(struct lcd_device *ldev, int contrast) in picolcd_set_contrast() argument 35 data->lcd_contrast = contrast & 0x0ff; in picolcd_set_contrast()
|
/openbmc/linux/include/media/tpg/ |
H A D | v4l2-tpg.h | 156 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()
|
/openbmc/linux/Documentation/gpu/ |
H A D | kms-properties.csv | 12 ,,“contrast”,RANGE,"Min=0, Max=100",Connector,TBD 29 ,,“contrast”,RANGE,"Min=0, Max= SDVO dependent",Connector,TBD 50 ,,“contrast”,RANGE,"Min=0, Max= SDVO dependent",Connector,TBD 70 ,,"""contrast""",RANGE,"Min=0, Max=0x7fff",Plane,TBD 76 ,,“contrast”,RANGE,"Min=0, Max=8192-1",Plane,TBD
|
/openbmc/linux/Documentation/sphinx-static/ |
H A D | theme_rtd_colors.css | 7 /* Improve contrast and increase size for easier reading. */
|
/openbmc/linux/drivers/gpu/drm/armada/ |
H A D | armada_overlay.c | 38 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()
|
/openbmc/linux/arch/arm/boot/dts/nspire/ |
H A D | nspire.dtsi | 210 contrast: contrast@900f0000 { label
|
/openbmc/linux/include/linux/ |
H A D | lcd.h | 49 int (*set_contrast)(struct lcd_device *, int contrast);
|
/openbmc/linux/drivers/gpu/drm/solomon/ |
H A D | ssd130x.h | 71 u32 contrast; member
|
/openbmc/linux/drivers/media/pci/cx25821/ |
H A D | cx25821-medusa-video.c | 572 int medusa_set_contrast(struct cx25821_dev *dev, int contrast, int decoder) in medusa_set_contrast() argument 578 if ((contrast > VIDEO_PROCAMP_MAX) || (contrast < VIDEO_PROCAMP_MIN)) { in medusa_set_contrast() 582 ret_val = mapM(VIDEO_PROCAMP_MIN, VIDEO_PROCAMP_MAX, contrast, in medusa_set_contrast()
|
/openbmc/linux/drivers/gpu/drm/i2c/ |
H A D | ch7006_mode.c | 334 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()
|