Home
last modified time | relevance | path

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

/drivers/media/usb/gspca/gl860/
Dgl860-ov9655.c312 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()
Dgl860-mi1320.c353 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()
Dgl860-ov2640.c352 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()
Dgl860-mi2020.c639 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/
Dpanasonic-laptop.c336 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()
Dmsi-wmi.c171 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/
Dgpio_mouse.c34 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/
Dvia-pmu68k.c782 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/
Detoms.c629 #define BLIMIT(bright) \ argument
630 (u8)((bright > 0x1f) ? 0x1f : ((bright < 4) ? 3 : bright))
/drivers/video/fbdev/
Dpxa168fb.h340 #define CFG_BRIGHTNESS(bright) ((bright) << 16) argument
/drivers/media/pci/bt8xx/
Dbttvp.h434 int hue, contrast, bright, saturation; member
Dbttv-driver.c910 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/
Dmmp_ctrl.h583 #define CFG_BRIGHTNESS(bright) ((bright)<<16) argument
/drivers/media/i2c/
Dks0127.c193 int bright; member
/drivers/media/usb/s2255/
Ds2255drv.c151 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()