Home
last modified time | relevance | path

Searched refs:bright (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.4/drivers/input/mouse/
Dgpio_mouse.c39 struct gpio_desc *bright; member
58 if (gpio->bright) in gpio_mouse_scan()
60 gpiod_get_value(gpio->bright)); in gpio_mouse_scan()
110 gmouse->bright = devm_gpiod_get_optional(dev, "button-right", in gpio_mouse_probe()
112 if (IS_ERR(gmouse->bright)) in gpio_mouse_probe()
113 return PTR_ERR(gmouse->bright); in gpio_mouse_probe()
139 if (gmouse->bright) in gpio_mouse_probe()
152 gmouse->bright ? "" : "right"); in gpio_mouse_probe()
/Linux-v5.4/Documentation/devicetree/bindings/leds/
Dleds-netxbig.txt18 - bright-addr: Brightness register address on gpio-ext bus.
42 bright-addr = <1>;
51 bright-addr = <1>;
61 bright-addr = <2>;
70 bright-addr = <2>;
80 bright-addr = <2>;
89 bright-addr = <2>;
/Linux-v5.4/arch/arm/boot/dts/
Dkirkwood-net5big.dts96 bright-addr = <2>;
105 bright-addr = <2>;
115 bright-addr = <2>;
124 bright-addr = <2>;
134 bright-addr = <2>;
143 bright-addr = <2>;
Dkirkwood-netxbig.dtsi135 bright-addr = <1>;
144 bright-addr = <1>;
154 bright-addr = <2>;
163 bright-addr = <2>;
173 bright-addr = <2>;
182 bright-addr = <2>;
/Linux-v5.4/drivers/media/usb/gspca/gl860/
Dgl860-ov9655.c300 s32 bright = sd->vcur.brightness; in ov9655_camera_settings() local
303 if (bright != sd->vold.brightness) { in ov9655_camera_settings()
304 sd->vold.brightness = bright; in ov9655_camera_settings()
305 if (bright < 0 || bright > sd->vmax.brightness) in ov9655_camera_settings()
306 bright = 0; in ov9655_camera_settings()
308 dat_bright[3] = bright; in ov9655_camera_settings()
Dgl860-mi1320.c341 s32 bright = sd->vcur.brightness; in mi1320_camera_settings() local
404 if (bright != sd->vold.brightness) { in mi1320_camera_settings()
405 sd->vold.brightness = bright; in mi1320_camera_settings()
406 if (bright < 0 || bright > sd->vmax.brightness) in mi1320_camera_settings()
407 bright = 0; in mi1320_camera_settings()
409 bright = tbl_bright[bright]; in mi1320_camera_settings()
412 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + bright, 0x0034, 0, NULL); in mi1320_camera_settings()
413 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + bright, 0x00f1, 0, NULL); in mi1320_camera_settings()
Dgl860-ov2640.c340 s32 bright = sd->vcur.brightness; in ov2640_camera_settings() local
363 if (bright != sd->vold.brightness) { in ov2640_camera_settings()
364 sd->vold.brightness = bright; in ov2640_camera_settings()
365 if (bright < 0 || bright > sd->vmax.brightness) in ov2640_camera_settings()
366 bright = 0; in ov2640_camera_settings()
370 ctrl_out(gspca_dev, 0x40, 1, 0x6000 + bright, 0x007d, 0, NULL); in ov2640_camera_settings()
Dgl860-mi2020.c627 s32 bright = sd->vcur.brightness; in mi2020_camera_settings() local
720 if (bright != sd->vold.brightness) { in mi2020_camera_settings()
721 sd->vold.brightness = bright; in mi2020_camera_settings()
722 if (bright < 0 || bright > sd->vmax.brightness) in mi2020_camera_settings()
723 bright = 0; in mi2020_camera_settings()
725 dat_bright2[2] = bright; in mi2020_camera_settings()
/Linux-v5.4/drivers/platform/x86/
Dpanasonic-laptop.c319 int bright = bd->props.brightness; in bl_set_status() local
325 if (bright < pcc->sinf[SINF_AC_MIN_BRIGHT]) in bl_set_status()
326 bright = pcc->sinf[SINF_AC_MIN_BRIGHT]; in bl_set_status()
328 if (bright < pcc->sinf[SINF_DC_MIN_BRIGHT]) in bl_set_status()
329 bright = pcc->sinf[SINF_DC_MIN_BRIGHT]; in bl_set_status()
331 if (bright < pcc->sinf[SINF_AC_MIN_BRIGHT] || in bl_set_status()
332 bright > pcc->sinf[SINF_AC_MAX_BRIGHT]) in bl_set_status()
335 rc = acpi_pcc_write_sset(pcc, SINF_AC_CUR_BRIGHT, bright); in bl_set_status()
339 return acpi_pcc_write_sset(pcc, SINF_DC_CUR_BRIGHT, bright); in bl_set_status()
Dmsi-wmi.c158 int bright = bd->props.brightness; in bl_set_status() local
159 if (bright >= ARRAY_SIZE(backlight_map) || bright < 0) in bl_set_status()
163 return msi_wmi_set_block(0, backlight_map[bright]); in bl_set_status()
/Linux-v5.4/drivers/media/usb/gspca/
Detoms.c616 #define BLIMIT(bright) \ argument
617 (u8)((bright > 0x1f) ? 0x1f : ((bright < 4) ? 3 : bright))
/Linux-v5.4/drivers/video/fbdev/
Dpxa168fb.h341 #define CFG_BRIGHTNESS(bright) ((bright) << 16) argument
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-backlight-driver-adp887047 integer between 1..5 (1 = daylight, 2 = bright, ..., 5 = dark).
/Linux-v5.4/drivers/media/pci/bt8xx/
Dbttvp.h422 int hue, contrast, bright, saturation; member
Dbttv-driver.c879 static void bt848_bright(struct bttv *btv, int bright) in bt848_bright() argument
884 btv->bright = bright; in bt848_bright()
887 value = (bright >> 8) - 128; in bt848_bright()
/Linux-v5.4/Documentation/media/uapi/v4l/
Dext-ctrls-camera.rst330 there are simultaneously very dark and very bright areas. It is most
406 - Beach and snow. This mode compensates for all-white or bright
438 out bright objects. The camera generally sets itself to a
/Linux-v5.4/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h569 #define CFG_BRIGHTNESS(bright) ((bright)<<16) argument
/Linux-v5.4/drivers/media/i2c/
Dks0127.c180 int bright; member
/Linux-v5.4/drivers/media/usb/s2255/
Ds2255drv.c138 u32 bright; /* brightness */ member
971 dev_info(dev, "bright: 0x%x\n", mode->bright); in s2255_print_cfg()
1207 mode.bright = ctrl->val; in s2255_s_ctrl()
/Linux-v5.4/Documentation/gpu/
Dtodo.rst28 really want an atomic modeset interface, so this is all about the bright