/drivers/media/usb/gspca/gl860/ |
D | gl860-ov9655.c | 312 s32 bright = sd->vcur.brightness; in ov9655_camera_settings() local 315 if (bright != sd->vold.brightness) { in ov9655_camera_settings() 316 sd->vold.brightness = bright; in ov9655_camera_settings() 317 if (bright < 0 || bright > sd->vmax.brightness) in ov9655_camera_settings() 318 bright = 0; in ov9655_camera_settings() 320 dat_bright[3] = bright; in ov9655_camera_settings()
|
D | gl860-mi1320.c | 353 s32 bright = sd->vcur.brightness; in mi1320_camera_settings() local 416 if (bright != sd->vold.brightness) { in mi1320_camera_settings() 417 sd->vold.brightness = bright; in mi1320_camera_settings() 418 if (bright < 0 || bright > sd->vmax.brightness) in mi1320_camera_settings() 419 bright = 0; in mi1320_camera_settings() 421 bright = tbl_bright[bright]; in mi1320_camera_settings() 424 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + bright, 0x0034, 0, NULL); in mi1320_camera_settings() 425 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + bright, 0x00f1, 0, NULL); in mi1320_camera_settings()
|
D | gl860-ov2640.c | 352 s32 bright = sd->vcur.brightness; in ov2640_camera_settings() local 375 if (bright != sd->vold.brightness) { in ov2640_camera_settings() 376 sd->vold.brightness = bright; in ov2640_camera_settings() 377 if (bright < 0 || bright > sd->vmax.brightness) in ov2640_camera_settings() 378 bright = 0; in ov2640_camera_settings() 382 ctrl_out(gspca_dev, 0x40, 1, 0x6000 + bright, 0x007d, 0, NULL); in ov2640_camera_settings()
|
D | gl860-mi2020.c | 639 s32 bright = sd->vcur.brightness; in mi2020_camera_settings() local 732 if (bright != sd->vold.brightness) { in mi2020_camera_settings() 733 sd->vold.brightness = bright; in mi2020_camera_settings() 734 if (bright < 0 || bright > sd->vmax.brightness) in mi2020_camera_settings() 735 bright = 0; in mi2020_camera_settings() 737 dat_bright2[2] = bright; in mi2020_camera_settings()
|
/drivers/platform/x86/ |
D | panasonic-laptop.c | 336 int bright = bd->props.brightness; in bl_set_status() local 342 if (bright < pcc->sinf[SINF_AC_MIN_BRIGHT]) in bl_set_status() 343 bright = pcc->sinf[SINF_AC_MIN_BRIGHT]; in bl_set_status() 345 if (bright < pcc->sinf[SINF_DC_MIN_BRIGHT]) in bl_set_status() 346 bright = pcc->sinf[SINF_DC_MIN_BRIGHT]; in bl_set_status() 348 if (bright < pcc->sinf[SINF_AC_MIN_BRIGHT] || in bl_set_status() 349 bright > pcc->sinf[SINF_AC_MAX_BRIGHT]) in bl_set_status() 352 rc = acpi_pcc_write_sset(pcc, SINF_AC_CUR_BRIGHT, bright); in bl_set_status() 356 return acpi_pcc_write_sset(pcc, SINF_DC_CUR_BRIGHT, bright); in bl_set_status()
|
D | msi-wmi.c | 171 int bright = bd->props.brightness; in bl_set_status() local 172 if (bright >= ARRAY_SIZE(backlight_map) || bright < 0) in bl_set_status() 176 return msi_wmi_set_block(0, backlight_map[bright]); in bl_set_status()
|
/drivers/input/mouse/ |
D | gpio_mouse.c | 34 if (gpio->bright >= 0) in gpio_mouse_scan() 36 gpio_get_value(gpio->bright) ^ gpio->polarity); in gpio_mouse_scan() 121 if (pdata->bright >= 0) in gpio_mouse_probe() 134 pdata->bright < 0 ? "" : "right"); in gpio_mouse_probe()
|
/drivers/macintosh/ |
D | via-pmu68k.c | 782 int bright; in pmu_set_brightness() local 785 bright = LEVEL_TO_BRIGHT(level); in pmu_set_brightness() 790 bright); in pmu_set_brightness() 793 PMU_POW_BACKLIGHT | (bright < 0x7f ? PMU_POW_ON : PMU_POW_OFF)); in pmu_set_brightness()
|
/drivers/media/usb/gspca/ |
D | etoms.c | 629 #define BLIMIT(bright) \ argument 630 (u8)((bright > 0x1f) ? 0x1f : ((bright < 4) ? 3 : bright))
|
/drivers/video/fbdev/ |
D | pxa168fb.h | 340 #define CFG_BRIGHTNESS(bright) ((bright) << 16) argument
|
/drivers/media/pci/bt8xx/ |
D | bttvp.h | 434 int hue, contrast, bright, saturation; member
|
D | bttv-driver.c | 910 static void bt848_bright(struct bttv *btv, int bright) in bt848_bright() argument 915 btv->bright = bright; in bt848_bright() 918 value = (bright >> 8) - 128; in bt848_bright()
|
/drivers/video/fbdev/mmp/hw/ |
D | mmp_ctrl.h | 583 #define CFG_BRIGHTNESS(bright) ((bright)<<16) argument
|
/drivers/media/i2c/ |
D | ks0127.c | 193 int bright; member
|
/drivers/media/usb/s2255/ |
D | s2255drv.c | 151 u32 bright; /* brightness */ member 1004 dev_info(dev, "bright: 0x%x\n", mode->bright); in s2255_print_cfg() 1240 mode.bright = ctrl->val; in s2255_s_ctrl()
|