/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() 310 device, 0, "contrast", 0, 8192 - 1); 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() [all …]
|
/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.
|
/linux/Documentation/userspace-api/media/drivers/ |
H A D | thp7312.rst | 21 - Contrast-based auto-focus 25 - Hybrid of contrast-based and PDAF 31 contrast-based auto-focus value will be valid. Otherwise all values for the
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | metafmt-vivid.rst | 17 It sets Brightness, Saturation, Contrast and Hue, each of which maps to 31 * - u16 contrast; 32 - Image contrast, the value is in the range 0 to 255, with the default value as 128.
|
/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); 344 fbi->contrast = 0x10; in wm8505fb_probe()
|
H A D | ssd1307fb.c | 68 u32 contrast; member 359 /* Set initial contrast */ in ssd1307fb_init() 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()
|
/linux/include/linux/ |
H A D | lcd.h | 39 /* The maximum value for contrast (read-only) */ 49 /* Get the current contrast setting (0-max_contrast) */ 51 /* Set LCD panel contrast */ 52 int (*set_contrast)(struct lcd_device *, int contrast);
|
/linux/drivers/video/backlight/ |
H A D | lcd.c | 159 unsigned long contrast; in contrast_store() local 161 rc = kstrtoul(buf, 0, &contrast); in contrast_store() 169 pr_debug("set contrast to %lu\n", contrast); in contrast_store() 170 ld->ops->set_contrast(ld, contrast); in contrast_store() 177 static DEVICE_ATTR_RW(contrast);
|
H A D | jornada720_lcd.c | 43 dev_err(&ld->dev, "failed to set contrast\n"); in jornada_lcd_get_contrast() 57 /* start by sending our set contrast cmd to mcu */ in jornada_lcd_set_contrast() 64 dev_err(&ld->dev, "failed to set contrast\n"); in jornada_lcd_set_contrast()
|
/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() 58 dev_err(dev, "unsupported CONTRAST report"); in picolcd_init_lcd()
|
/linux/Documentation/gpu/ |
H A D | kms-properties.csv | 12 ,,“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/media/platform/ti/omap3isp/ |
H A D | isppreview.h | 74 * @contrast: Contrast. 93 u8 contrast; member
|
/linux/Documentation/devicetree/bindings/pwm/ |
H A D | atmel,hlcdc-pwm.yaml | 16 generates the LCD contrast control signal (LCD_PWM) that controls the 17 display's contrast by software. LCDC_PWM is an 8-bit PWM signal that can be
|
/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()
|
/linux/drivers/media/usb/gspca/ |
H A D | spca561.c | 27 struct { /* hue/contrast control cluster */ 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() 765 /* hue/contrast control cluster for 72a */ in sd_s_ctrl() 818 sd->contrast = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls_72a() [all …]
|
/linux/drivers/staging/fbtft/ |
H A D | fb_sh1106.c | 96 /* Gamma is used to control Contrast */ 102 /* Set Contrast Control for BANK0 */ in set_gamma() 161 /* set default contrast to 0xcd = 80% */
|
H A D | fb_ssd1331.c | 52 write_reg(par, 0x81, 0x91); /* Contrast A */ in init_display() 53 write_reg(par, 0x82, 0x50); /* Contrast B */ in init_display() 54 write_reg(par, 0x83, 0x7d); /* Contrast C */ in init_display()
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-orisetech-ota5601a.c | 54 { 0x0c, 0x01 }, /* Contrast set by CMD1 == within page 0x00 */ 58 { 0x07, 0x40 }, /* R Contrast */ 59 { 0x08, 0x33 }, /* G Contrast */ 60 { 0x09, 0x3a }, /* B Contrast */
|
/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() 531 "contrast", 0, 0x7fff); in armada_overlay_create_properties()
|
/linux/drivers/media/i2c/adv748x/ |
H A D | adv748x.h | 295 /* Contrast - Unsigned*/ 340 /* Contrast Control - Unsigned */ 342 #define ADV748X_CP_CON_MIN 0 /* Minimum contrast */ 344 #define ADV748X_CP_CON_MAX 255 /* Maximum contrast */
|
/linux/drivers/media/usb/gspca/gl860/ |
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-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()
|
/linux/drivers/staging/media/deprecated/atmel/ |
H A D | atmel-isc-regs.h | 257 /* Contrast And Brightness Control Register */ 260 /* Contrast And Brightness Configuration Register */ 267 /* Contrast Register */
|
/linux/drivers/media/platform/microchip/ |
H A D | microchip-isc-regs.h | 257 /* Contrast And Brightness Control Register */ 260 /* Contrast And Brightness Configuration Register */ 267 /* Contrast Register */
|
/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-isp.h | 76 /* Adjust - contrast */ 77 struct v4l2_ctrl *contrast; member
|