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.c567 s32 bright = sd->vcur.brightness; in mi2020_camera_settings() local
660 if (bright != sd->vold.brightness) { in mi2020_camera_settings()
661 sd->vold.brightness = bright; in mi2020_camera_settings()
662 if (bright < 0 || bright > sd->vmax.brightness) in mi2020_camera_settings()
663 bright = 0; in mi2020_camera_settings()
665 dat_bright2[2] = bright; in mi2020_camera_settings()
/drivers/platform/x86/
Dpanasonic-laptop.c338 int bright = bd->props.brightness; in bl_set_status() local
344 if (bright < pcc->sinf[SINF_AC_MIN_BRIGHT]) in bl_set_status()
345 bright = pcc->sinf[SINF_AC_MIN_BRIGHT]; in bl_set_status()
347 if (bright < pcc->sinf[SINF_DC_MIN_BRIGHT]) in bl_set_status()
348 bright = pcc->sinf[SINF_DC_MIN_BRIGHT]; in bl_set_status()
350 if (bright < pcc->sinf[SINF_AC_MIN_BRIGHT] || in bl_set_status()
351 bright > pcc->sinf[SINF_AC_MAX_BRIGHT]) in bl_set_status()
354 rc = acpi_pcc_write_sset(pcc, SINF_AC_CUR_BRIGHT, bright); in bl_set_status()
358 return acpi_pcc_write_sset(pcc, SINF_DC_CUR_BRIGHT, bright); in bl_set_status()
Dmsi-wmi.c170 int bright = bd->props.brightness; in bl_set_status() local
171 if (bright >= ARRAY_SIZE(backlight_map) || bright < 0) in bl_set_status()
175 return msi_wmi_set_block(0, backlight_map[bright]); in bl_set_status()
/drivers/input/mouse/
Dgpio_mouse.c35 if (gpio->bright >= 0) in gpio_mouse_scan()
37 gpio_get_value(gpio->bright) ^ gpio->polarity); in gpio_mouse_scan()
122 if (pdata->bright >= 0) in gpio_mouse_probe()
135 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/
Dpxa168fb.h340 #define CFG_BRIGHTNESS(bright) ((bright) << 16) argument
/drivers/media/pci/bt8xx/
Dbttvp.h431 int hue, contrast, bright, saturation; member
Dbttv-driver.c911 static void bt848_bright(struct bttv *btv, int bright) in bt848_bright() argument
916 btv->bright = bright; in bt848_bright()
919 value = (bright >> 8) - 128; in bt848_bright()
/drivers/video/mmp/hw/
Dmmp_ctrl.h595 #define CFG_BRIGHTNESS(bright) ((bright)<<16) argument
/drivers/media/i2c/
Dks0127.c194 int bright; member
/drivers/media/usb/s2255/
Ds2255drv.c150 u32 bright; /* brightness */ member
1141 dev_info(dev, "bright: 0x%x\n", mode->bright); in s2255_print_cfg()
1420 mode.bright = ctrl->val; in s2255_s_ctrl()