Home
last modified time | relevance | path

Searched full:contrast (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/Linux-v5.10/Documentation/ABI/testing/
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-v5.10/drivers/gpu/drm/nouveau/dispnv04/
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()
308 plane->props.contrast = drm_property_create_range( in nv10_overlay_init()
309 device, 0, "contrast", 0, 8192 - 1); in nv10_overlay_init()
317 !plane->props.contrast || in nv10_overlay_init()
327 plane->contrast = 0x1000; in nv10_overlay_init()
329 plane->props.contrast, plane->contrast); in nv10_overlay_init()
[all …]
/Linux-v5.10/Documentation/userspace-api/media/v4l/
Dpixfmt-meta-vivid.rst17 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-v5.10/drivers/video/fbdev/
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);
345 fbi->contrast = 0x10; in wm8505fb_probe()
Dssd1307fb.c68 u32 contrast; member
320 /* Set initial contrast */ in ssd1307fb_init()
325 ret = ssd1307fb_write_cmd(par->client, par->contrast); in ssd1307fb_init()
502 par->contrast = brightness; in ssd1307fb_update_bl()
507 ret = ssd1307fb_write_cmd(par->client, par->contrast); in ssd1307fb_update_bl()
517 return par->contrast; in ssd1307fb_get_brightness()
655 par->contrast = 127; in ssd1307fb_probe()
739 bl->props.brightness = par->contrast; in ssd1307fb_probe()
/Linux-v5.10/include/linux/
Dlcd.h36 /* The maximum value for contrast (read-only) */
46 /* Get the current contrast setting (0-max_contrast) */
48 /* Set LCD panel contrast */
49 int (*set_contrast)(struct lcd_device *, int contrast);
/Linux-v5.10/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr2_2/
Dia_css_bnr2_2_types.h63 s32 detail_gain; /** Gain for low contrast texture control */
64 s32 detail_gain_divisor; /** Gain divisor for low contrast texture control */
65 s32 detail_level_offset; /** Bias value for low contrast texture control */
/Linux-v5.10/drivers/media/test-drivers/vivid/
Dvivid-meta-out.c168 v4l2_ctrl_s_ctrl(dev->contrast, meta->contrast); in vivid_meta_out_process()
172 dprintk(dev, 2, " %s brightness %u contrast %u saturation %u hue %d\n", in vivid_meta_out_process()
173 __func__, meta->brightness, meta->contrast, in vivid_meta_out_process()
/Linux-v5.10/drivers/video/backlight/
Dlcd.c133 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);
Djornada720_lcd.c43 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-v5.10/drivers/hid/
Dhid-picolcd_lcd.c26 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()
64 dev_err(dev, "unsupported CONTRAST report"); in picolcd_init_lcd()
/Linux-v5.10/drivers/media/platform/omap3isp/
Disppreview.h74 * @contrast: Contrast.
93 u8 contrast; member
/Linux-v5.10/Documentation/gpu/
Dkms-properties.csv12 ,,“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-v5.10/include/media/tpg/
Dv4l2-tpg.h156 u8 contrast; member
308 u8 contrast) in tpg_s_contrast() argument
310 if (tpg->contrast == contrast) in tpg_s_contrast()
312 tpg->contrast = contrast; in tpg_s_contrast()
/Linux-v5.10/Documentation/devicetree/bindings/display/imx/
Dfsl,imx-fb.txt23 - fsl,lpccr: Contrast Control Register value. This property provides the
24 default value for the contrast control register.
/Linux-v5.10/drivers/staging/fbtft/
Dfb_sh1106.c100 /* Gamma is used to control Contrast */
106 /* Set Contrast Control for BANK0 */ in set_gamma()
165 /* set default contrast to 0xcd = 80% */
Dfb_ssd1331.c52 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-v5.10/drivers/media/usb/gspca/
Dspca561.c27 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-v5.10/drivers/media/platform/atmel/
Datmel-isc-regs.h177 /* Contrast And Brightness Control Register */
180 /* Contrast And Brightness Configuration Register */
187 /* Contrast Register */
/Linux-v5.10/drivers/gpu/drm/armada/
Darmada_overlay.c36 u16 contrast; member
45 drm_to_overlay_state(state)->contrast; in armada_spu_contrast()
320 state->contrast = DEFAULT_CONTRAST; in armada_overlay_reset()
402 drm_to_overlay_state(state)->contrast = val; in armada_overlay_set_property()
454 *val = drm_to_overlay_state(state)->contrast; in armada_overlay_get_property()
530 "contrast", 0, 0x7fff); in armada_overlay_create_properties()
/Linux-v5.10/drivers/media/usb/gspca/gl860/
Dgl860-mi1320.c180 sd->vcur.contrast = 10; in mi1320_init_settings()
192 sd->vmax.contrast = 0; /* 10 but not working with this driver */ in mi1320_init_settings()
257 sd->vold.contrast = -1; in mi1320_init_pre_alt()
343 s32 cntr = sd->vcur.contrast; in mi1320_camera_settings()
502 if (cntr != sd->vold.contrast) { in mi1320_camera_settings()
503 sd->vold.contrast = cntr; in mi1320_camera_settings()
504 if (cntr < 0 || cntr > sd->vmax.contrast) in mi1320_camera_settings()
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()
/Linux-v5.10/drivers/media/i2c/adv748x/
Dadv748x.h297 /* Contrast - Unsigned*/
342 /* Contrast Control - Unsigned */
344 #define ADV748X_CP_CON_MIN 0 /* Minimum contrast */
346 #define ADV748X_CP_CON_MAX 255 /* Maximum contrast */
/Linux-v5.10/arch/arm/boot/dts/
Dnspire.dtsi194 contrast: contrast@900F0000 { label
/Linux-v5.10/drivers/media/platform/exynos4-is/
Dfimc-isp.h76 /* Adjust - contrast */
77 struct v4l2_ctrl *contrast; member

12345678910>>...12