Searched refs:bright (Results 1 - 15 of 15) sorted by relevance
/drivers/input/mouse/ |
H A D | gpio_mouse.c | 35 if (gpio->bright >= 0) 37 gpio_get_value(gpio->bright) ^ gpio->polarity); 122 if (pdata->bright >= 0) 135 pdata->bright < 0 ? "" : "right");
|
/drivers/media/video/gspca/gl860/ |
H A D | gl860-ov9655.c | 312 s32 bright = sd->vcur.brightness; local 315 if (bright != sd->vold.brightness) { 316 sd->vold.brightness = bright; 317 if (bright < 0 || bright > sd->vmax.brightness) 318 bright = 0; 320 dat_bright[3] = bright;
|
H A D | gl860-mi1320.c | 353 s32 bright = sd->vcur.brightness; local 416 if (bright != sd->vold.brightness) { 417 sd->vold.brightness = bright; 418 if (bright < 0 || bright > sd->vmax.brightness) 419 bright = 0; 421 bright = tbl_bright[bright]; 424 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + bright, 0x0034, 0, NULL); 425 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + bright, [all...] |
H A D | gl860-mi2020.c | 567 s32 bright = sd->vcur.brightness; local 660 if (bright != sd->vold.brightness) { 661 sd->vold.brightness = bright; 662 if (bright < 0 || bright > sd->vmax.brightness) 663 bright = 0; 665 dat_bright2[2] = bright;
|
H A D | gl860-ov2640.c | 352 s32 bright = sd->vcur.brightness; local 375 if (bright != sd->vold.brightness) { 376 sd->vold.brightness = bright; 377 if (bright < 0 || bright > sd->vmax.brightness) 378 bright = 0; 382 ctrl_out(gspca_dev, 0x40, 1, 0x6000 + bright, 0x007d, 0, NULL);
|
/drivers/platform/x86/ |
H A D | panasonic-laptop.c | 334 int bright = bd->props.brightness; local 340 if (bright < pcc->sinf[SINF_AC_MIN_BRIGHT]) 341 bright = pcc->sinf[SINF_AC_MIN_BRIGHT]; 343 if (bright < pcc->sinf[SINF_DC_MIN_BRIGHT]) 344 bright = pcc->sinf[SINF_DC_MIN_BRIGHT]; 346 if (bright < pcc->sinf[SINF_AC_MIN_BRIGHT] || 347 bright > pcc->sinf[SINF_AC_MAX_BRIGHT]) 350 rc = acpi_pcc_write_sset(pcc, SINF_AC_CUR_BRIGHT, bright); 354 return acpi_pcc_write_sset(pcc, SINF_DC_CUR_BRIGHT, bright);
|
H A D | msi-wmi.c | 134 int bright = bd->props.brightness; local 135 if (bright >= ARRAY_SIZE(backlight_map) || bright < 0) 139 return msi_wmi_set_block(0, backlight_map[bright]);
|
/drivers/macintosh/ |
H A D | via-pmu68k.c | 759 printk(KERN_DEBUG "pmu: nvram returned bright: %d\n", (int)req.reply[1]); 782 int bright; local 785 bright = LEVEL_TO_BRIGHT(level); 790 bright); 793 PMU_POW_BACKLIGHT | (bright < 0x7f ? PMU_POW_ON : PMU_POW_OFF));
|
/drivers/media/video/gspca/ |
H A D | etoms.c | 714 #define BLIMIT(bright) \ 715 (u8)((bright > 0x1f) ? 0x1f : ((bright < 4) ? 3 : bright))
|
H A D | conex.c | 911 __u8 bright; local 914 bright = sd->brightness; 915 regE5cbx[2] = bright;
|
/drivers/video/ |
H A D | pxa168fb.h | 340 #define CFG_BRIGHTNESS(bright) ((bright) << 16)
|
/drivers/media/video/bt8xx/ |
H A D | bttvp.h | 423 int hue, contrast, bright, saturation; member in struct:bttv
|
H A D | bttv-driver.c | 1081 static void bt848_bright(struct bttv *btv, int bright) argument 1085 // printk("set bright: %d\n", bright); // DEBUG 1086 btv->bright = bright; 1089 value = (bright >> 8) - 128; 1434 bt848_bright(btv, btv->bright); 1467 c->value = btv->bright;
|
/drivers/media/video/ |
H A D | ks0127.c | 194 int bright; member in struct:adjust
|
H A D | s2255drv.c | 148 u32 bright; /* brightness */ member in struct:s2255_mode 1189 dev_info(dev, "bright: 0x%x\n", mode->bright); 1485 ctrl->value = channel->mode.bright; 1522 mode.bright = ctrl->value;
|
Completed in 303 milliseconds