/Linux-v6.1/Documentation/ABI/testing/ |
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.
|
/Linux-v6.1/drivers/gpu/drm/nouveau/dispnv04/ |
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()
|
/Linux-v6.1/drivers/video/fbdev/ |
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); 345 fbi->contrast = 0x10; in wm8505fb_probe()
|
D | ssd1307fb.c | 68 u32 contrast; member 408 ret = ssd1307fb_write_cmd(par->client, par->contrast); in ssd1307fb_init() 559 par->contrast = brightness; in ssd1307fb_update_bl() 564 ret = ssd1307fb_write_cmd(par->client, par->contrast); in ssd1307fb_update_bl() 574 return par->contrast; in ssd1307fb_get_brightness() 711 par->contrast = 127; in ssd1307fb_probe() 795 bl->props.brightness = par->contrast; in ssd1307fb_probe()
|
D | imxfb.c | 780 static int imxfb_lcd_set_contrast(struct lcd_device *lcddev, int contrast) in imxfb_lcd_set_contrast() argument 785 if (contrast > 255) in imxfb_lcd_set_contrast() 786 contrast = 255; in imxfb_lcd_set_contrast() 787 else if (contrast < 0) in imxfb_lcd_set_contrast() 788 contrast = 0; in imxfb_lcd_set_contrast() 791 fbi->pwmr |= contrast; in imxfb_lcd_set_contrast()
|
/Linux-v6.1/drivers/media/usb/gspca/gl860/ |
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()
|
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()
|
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()
|
D | gl860-ov9655.c | 197 sd->vcur.contrast = 0; in ov9655_init_settings() 206 sd->vmax.contrast = 0; in ov9655_init_settings()
|
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()
|
/Linux-v6.1/drivers/video/backlight/ |
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);
|
/Linux-v6.1/drivers/media/usb/gspca/ |
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()
|
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 …]
|
D | pac7302.c | 104 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-v6.1/drivers/media/test-drivers/vivid/ |
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()
|
D | vivid-meta-out.h | 10 u16 contrast; member
|
/Linux-v6.1/include/media/tpg/ |
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()
|
/Linux-v6.1/Documentation/userspace-api/media/v4l/ |
D | pixfmt-meta-vivid.rst | 31 * - u16 contrast; 32 - Image contrast, the value is in the range 0 to 255, with the default value as 128.
|
/Linux-v6.1/drivers/hid/ |
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()
|
/Linux-v6.1/Documentation/gpu/ |
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
|
/Linux-v6.1/drivers/gpu/drm/armada/ |
D | armada_overlay.c | 36 u16 contrast; member 45 drm_to_overlay_state(state)->contrast; in armada_spu_contrast() 319 state->contrast = DEFAULT_CONTRAST; in armada_overlay_reset() 401 drm_to_overlay_state(state)->contrast = val; in armada_overlay_set_property() 453 *val = drm_to_overlay_state(state)->contrast; in armada_overlay_get_property()
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | nspire.dtsi | 194 contrast: contrast@900f0000 { label
|
/Linux-v6.1/Documentation/sphinx-static/ |
D | theme_rtd_colors.css | 7 /* Improve contrast and increase size for easier reading. */
|
/Linux-v6.1/drivers/media/pci/cx25821/ |
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()
|
/Linux-v6.1/drivers/gpu/drm/i2c/ |
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()
|