Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/input/mouse/
Dgpio_mouse.c39 struct gpio_desc *bright; member
57 if (gpio->bright) in gpio_mouse_scan()
59 gpiod_get_value(gpio->bright)); in gpio_mouse_scan()
108 gmouse->bright = devm_gpiod_get_optional(dev, "button-right", in gpio_mouse_probe()
110 if (IS_ERR(gmouse->bright)) in gpio_mouse_probe()
111 return PTR_ERR(gmouse->bright); in gpio_mouse_probe()
128 if (gmouse->bright) in gpio_mouse_probe()
147 gmouse->bright ? "" : "right"); in gpio_mouse_probe()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/media/usb/gspca/gl860/
Dgl860-ov9655.c349 s32 bright = sd->vcur.brightness; in ov9655_camera_settings() local
352 if (bright != sd->vold.brightness) { in ov9655_camera_settings()
353 sd->vold.brightness = bright; in ov9655_camera_settings()
354 if (bright < 0 || bright > sd->vmax.brightness) in ov9655_camera_settings()
355 bright = 0; in ov9655_camera_settings()
357 dat_bright[3] = bright; in ov9655_camera_settings()
Dgl860-mi1320.c368 s32 bright = sd->vcur.brightness; in mi1320_camera_settings() local
431 if (bright != sd->vold.brightness) { in mi1320_camera_settings()
432 sd->vold.brightness = bright; in mi1320_camera_settings()
433 if (bright < 0 || bright > sd->vmax.brightness) in mi1320_camera_settings()
434 bright = 0; in mi1320_camera_settings()
436 bright = tbl_bright[bright]; in mi1320_camera_settings()
439 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + bright, 0x0034, 0, NULL); in mi1320_camera_settings()
440 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-6.1.9/drivers/platform/x86/
Dmsi-wmi.c160 int bright = bd->props.brightness; in bl_set_status() local
161 if (bright >= ARRAY_SIZE(backlight_map) || bright < 0) in bl_set_status()
165 return msi_wmi_set_block(0, backlight_map[bright]); in bl_set_status()
Dpanasonic-laptop.c379 int bright = bd->props.brightness; in bl_set_status() local
385 if (bright < pcc->sinf[SINF_AC_MIN_BRIGHT]) in bl_set_status()
386 bright = pcc->sinf[SINF_AC_MIN_BRIGHT]; in bl_set_status()
388 if (bright < pcc->sinf[SINF_DC_MIN_BRIGHT]) in bl_set_status()
389 bright = pcc->sinf[SINF_DC_MIN_BRIGHT]; in bl_set_status()
391 if (bright < pcc->sinf[SINF_AC_MIN_BRIGHT] || in bl_set_status()
392 bright > pcc->sinf[SINF_AC_MAX_BRIGHT]) in bl_set_status()
395 rc = acpi_pcc_write_sset(pcc, SINF_AC_CUR_BRIGHT, bright); in bl_set_status()
399 return acpi_pcc_write_sset(pcc, SINF_DC_CUR_BRIGHT, bright); in bl_set_status()
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-class-led-driver-turris-omnia7 LEDs at once, so that if they are too bright, user can dim them.
Dsysfs-class-backlight66 2 Level 2: bright
75 2 Level 2: bright
/linux-6.1.9/drivers/media/usb/gspca/
Detoms.c616 #define BLIMIT(bright) \ argument
617 (u8)((bright > 0x1f) ? 0x1f : ((bright < 4) ? 3 : bright))
/linux-6.1.9/Documentation/devicetree/bindings/leds/backlight/
Dcommon.yaml32 that a LED can be made so bright that it gets damaged or causes damage
/linux-6.1.9/drivers/video/fbdev/
Dpxa168fb.h341 #define CFG_BRIGHTNESS(bright) ((bright) << 16) argument
/linux-6.1.9/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-6.1.9/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h569 #define CFG_BRIGHTNESS(bright) ((bright)<<16) argument
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dext-ctrls-camera.rst324 there are simultaneously very dark and very bright areas. It is most
402 - Beach and snow. This mode compensates for all-white or bright
434 out bright objects. The camera generally sets itself to a
/linux-6.1.9/drivers/media/i2c/
Dks0127.c180 int bright; member
/linux-6.1.9/drivers/media/usb/s2255/
Ds2255drv.c138 u32 bright; /* brightness */ member
969 dev_info(dev, "bright: 0x%x\n", mode->bright); in s2255_print_cfg()
1205 mode.bright = ctrl->val; in s2255_s_ctrl()
/linux-6.1.9/Documentation/doc-guide/
Dcontributing.rst258 yet begun. If you have bright ideas on how we could proceed on that front,
/linux-6.1.9/Documentation/gpu/
Dtodo.rst49 really want an atomic modeset interface, so this is all about the bright