Home
last modified time | relevance | path

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

12345678910>>...14

/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()
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 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/Documentation/userspace-api/media/drivers/
H A Dthp7312.rst21 - 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/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
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/Documentation/userspace-api/media/v4l/
H A Dmetafmt-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/drivers/media/test-drivers/vivid/
H A Dvivid-meta-out.c165 v4l2_ctrl_s_ctrl(dev->contrast, meta->contrast); in vivid_meta_out_process()
169 dprintk(dev, 2, " %s brightness %u contrast %u saturation %u hue %d\n", in vivid_meta_out_process()
170 __func__, meta->brightness, meta->contrast, in vivid_meta_out_process()
/linux/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr2_2/
H A 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/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/media/platform/ti/omap3isp/
H A Disppreview.h74 * @contrast: Contrast.
93 u8 contrast; member
/linux/Documentation/devicetree/bindings/pwm/
H A Datmel,hlcdc-pwm.yaml16 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 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/drivers/media/usb/gspca/
H A 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/drivers/staging/fbtft/
H A Dfb_sh1106.c96 /* Gamma is used to control Contrast */
102 /* Set Contrast Control for BANK0 */ in set_gamma()
161 /* set default contrast to 0xcd = 80% */
H A 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/drivers/gpu/drm/panel/
H A Dpanel-orisetech-ota5601a.c54 { 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 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()
531 "contrast", 0, 0x7fff); in armada_overlay_create_properties()
/linux/drivers/media/i2c/adv748x/
H A Dadv748x.h295 /* 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 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-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/drivers/staging/media/deprecated/atmel/
H A Datmel-isc-regs.h257 /* Contrast And Brightness Control Register */
260 /* Contrast And Brightness Configuration Register */
267 /* Contrast Register */
/linux/drivers/media/platform/microchip/
H A Dmicrochip-isc-regs.h257 /* Contrast And Brightness Control Register */
260 /* Contrast And Brightness Configuration Register */
267 /* Contrast Register */
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-isp.h76 /* Adjust - contrast */
77 struct v4l2_ctrl *contrast; member
/linux/arch/arm/boot/dts/nspire/
H A Dnspire.dtsi213 contrast: contrast@900f0000 { label
/linux/drivers/media/i2c/
H A Dsaa711x_regs.h254 "Luminance contrast control"},
310 "Component contrast control"},
417 "Task A: Luminance contrast control"},
493 "Task B: Luminance contrast control"},

12345678910>>...14