Home
last modified time | relevance | path

Searched refs:intensity (Results 1 – 25 of 29) sorted by relevance

12

/linux-2.6.39/drivers/video/backlight/
Dapple_bl.c51 static void intel_chipset_set_brightness(int intensity) in intel_chipset_set_brightness() argument
53 outb(0x04 | (intensity << 4), 0xb3); in intel_chipset_set_brightness()
59 int intensity = bd->props.brightness; in intel_chipset_send_intensity() local
63 intensity); in intel_chipset_send_intensity()
65 intel_chipset_set_brightness(intensity); in intel_chipset_send_intensity()
71 int intensity; in intel_chipset_get_intensity() local
75 intensity = inb(0xb3) >> 4; in intel_chipset_get_intensity()
79 intensity); in intel_chipset_get_intensity()
81 return intensity; in intel_chipset_get_intensity()
98 static void nvidia_chipset_set_brightness(int intensity) in nvidia_chipset_set_brightness() argument
[all …]
Dhp680_bl.c36 int intensity = bd->props.brightness; in hp680bl_send_intensity() local
39 intensity = 0; in hp680bl_send_intensity()
41 intensity = 0; in hp680bl_send_intensity()
43 intensity = 0; in hp680bl_send_intensity()
46 if (intensity && current_intensity == 0) { in hp680bl_send_intensity()
51 sh_dac_output(255-(u8)intensity, DAC_LCD_BRIGHTNESS); in hp680bl_send_intensity()
52 } else if (intensity == 0 && current_intensity != 0) { in hp680bl_send_intensity()
53 sh_dac_output(255-(u8)intensity, DAC_LCD_BRIGHTNESS); in hp680bl_send_intensity()
58 } else if (intensity) { in hp680bl_send_intensity()
59 sh_dac_output(255-(u8)intensity, DAC_LCD_BRIGHTNESS); in hp680bl_send_intensity()
[all …]
Dkb3886_bl.c32 static void kb3886_bl_set_intensity(int intensity) in kb3886_bl_set_intensity() argument
35 intensity = intensity&0xff; in kb3886_bl_set_intensity()
40 outb(intensity, KB3886_IO); in kb3886_bl_set_intensity()
48 void (*set_bl_intensity)(int intensity);
94 int intensity = bd->props.brightness; in kb3886bl_send_intensity() local
97 intensity = 0; in kb3886bl_send_intensity()
99 intensity = 0; in kb3886bl_send_intensity()
101 intensity = 0; in kb3886bl_send_intensity()
103 bl_machinfo->set_bl_intensity(intensity); in kb3886bl_send_intensity()
105 kb3886bl_intensity = intensity; in kb3886bl_send_intensity()
Dcr_bllcd.c74 int intensity = bd->props.brightness; in cr_backlight_set_intensity() local
79 intensity = FB_BLANK_UNBLANK; in cr_backlight_set_intensity()
81 intensity = FB_BLANK_UNBLANK; in cr_backlight_set_intensity()
83 intensity = FB_BLANK_POWERDOWN; in cr_backlight_set_intensity()
85 intensity = FB_BLANK_POWERDOWN; in cr_backlight_set_intensity()
87 if (intensity == FB_BLANK_UNBLANK) { /* FULL ON */ in cr_backlight_set_intensity()
90 } else if (intensity == FB_BLANK_POWERDOWN) { /* OFF */ in cr_backlight_set_intensity()
102 u8 intensity; in cr_backlight_get_intensity() local
105 intensity = FB_BLANK_POWERDOWN; in cr_backlight_get_intensity()
107 intensity = FB_BLANK_UNBLANK; in cr_backlight_get_intensity()
[all …]
Dprogear_bl.c37 int intensity = bd->props.brightness; in progearbl_set_intensity() local
40 intensity = 0; in progearbl_set_intensity()
42 intensity = 0; in progearbl_set_intensity()
44 pci_write_config_byte(pmu_dev, PMU_LPCR, intensity + HW_LEVEL_MIN); in progearbl_set_intensity()
51 u8 intensity; in progearbl_get_intensity() local
52 pci_read_config_byte(pmu_dev, PMU_LPCR, &intensity); in progearbl_get_intensity()
54 return intensity - HW_LEVEL_MIN; in progearbl_get_intensity()
Dgeneric_bl.c29 int intensity = bd->props.brightness; in genericbl_send_intensity() local
32 intensity = 0; in genericbl_send_intensity()
34 intensity = 0; in genericbl_send_intensity()
36 intensity = 0; in genericbl_send_intensity()
38 intensity &= bl_machinfo->limit_mask; in genericbl_send_intensity()
40 bl_machinfo->set_bl_intensity(intensity); in genericbl_send_intensity()
42 genericbl_intensity = intensity; in genericbl_send_intensity()
Datmel-pwm-bl.c33 int intensity = bd->props.brightness; in atmel_pwm_bl_set_intensity() local
37 intensity = 0; in atmel_pwm_bl_set_intensity()
39 intensity = 0; in atmel_pwm_bl_set_intensity()
42 pwm_duty = pwmbl->pdata->pwm_duty_min + intensity; in atmel_pwm_bl_set_intensity()
44 pwm_duty = pwmbl->pdata->pwm_duty_max - intensity; in atmel_pwm_bl_set_intensity()
51 if (!intensity) { in atmel_pwm_bl_set_intensity()
73 u8 intensity; in atmel_pwm_bl_get_intensity() local
76 intensity = pwm_channel_readl(&pwmbl->pwmc, PWM_CDTY) - in atmel_pwm_bl_get_intensity()
79 intensity = pwmbl->pdata->pwm_duty_max - in atmel_pwm_bl_get_intensity()
83 return intensity; in atmel_pwm_bl_get_intensity()
Dcorgi_lcd.c92 int intensity; member
396 return lcd->intensity; in corgi_bl_get_intensity()
399 static int corgi_bl_set_intensity(struct corgi_lcd *lcd, int intensity) in corgi_bl_set_intensity() argument
403 if (intensity > 0x10) in corgi_bl_set_intensity()
404 intensity += 0x10; in corgi_bl_set_intensity()
406 corgi_ssp_lcdtg_send(lcd, DUTYCTRL_ADRS, intensity); in corgi_bl_set_intensity()
409 cont = !!(intensity & 0x20) ^ lcd->gpio_backlight_cont_inverted; in corgi_bl_set_intensity()
415 gpio_set_value(lcd->gpio_backlight_on, intensity); in corgi_bl_set_intensity()
420 lcd->intensity = intensity; in corgi_bl_set_intensity()
427 int intensity = bd->props.brightness; in corgi_bl_update_status() local
[all …]
Dlocomolcd.c115 int intensity = bd->props.brightness; in locomolcd_set_intensity() local
118 intensity = 0; in locomolcd_set_intensity()
120 intensity = 0; in locomolcd_set_intensity()
122 intensity = 0; in locomolcd_set_intensity()
124 switch (intensity) { in locomolcd_set_intensity()
135 current_intensity = intensity; in locomolcd_set_intensity()
Domap1_bl.c43 static void inline omapbl_send_intensity(int intensity) in omapbl_send_intensity() argument
45 omap_writeb(intensity, OMAP_PWL_ENABLE); in omapbl_send_intensity()
/linux-2.6.39/include/linux/spi/
Dcorgi_lcd.h16 void (*notify)(int intensity);
/linux-2.6.39/arch/arm/mach-imx/
Deukrea_mbimx27-baseboard.c205 static void eukrea_mbimx27_bl_set_intensity(int intensity) in eukrea_mbimx27_bl_set_intensity() argument
207 if (intensity) in eukrea_mbimx27_bl_set_intensity()
/linux-2.6.39/firmware/matrox/
Dg200_warp.H166 * - G stands for computation of triangle intensity (Gouraud interpolation)
Dg400_warp.H166 * - G stands for computation of triangle intensity (Gouraud interpolation)
/linux-2.6.39/include/linux/
Dbacklight.h133 void (*set_bl_intensity)(int intensity);
/linux-2.6.39/drivers/staging/iio/light/
DKconfig23 This driver will provide the measurements of ambient light intensity
/linux-2.6.39/arch/s390/include/asm/
Ddasd.h176 unsigned int intensity; member
/linux-2.6.39/drivers/video/console/
Dmdacon.c387 static u8 mdacon_build_attr(struct vc_data *c, u8 color, u8 intensity, in mdacon_build_attr() argument
398 return (intensity & 3) | in mdacon_build_attr()
Dvgacon.c605 static u8 vgacon_build_attr(struct vc_data *c, u8 color, u8 intensity, in vgacon_build_attr() argument
615 else if (intensity == 0) in vgacon_build_attr()
624 if (intensity == 2) in vgacon_build_attr()
631 else if (intensity == 0) in vgacon_build_attr()
/linux-2.6.39/drivers/platform/x86/
Dacer-wmi.c1009 int intensity = bd->props.brightness; in update_bl_status() local
1012 intensity = 0; in update_bl_status()
1014 intensity = 0; in update_bl_status()
1016 set_u32(intensity, ACER_CAP_BRIGHTNESS); in update_bl_status()
/linux-2.6.39/drivers/s390/block/
Ddasd_eckd.c1783 int intensity = 0; in dasd_eckd_format_device() local
1820 if (fdata->intensity & 0x10) { in dasd_eckd_format_device()
1822 intensity = fdata->intensity & ~0x10; in dasd_eckd_format_device()
1825 intensity = fdata->intensity; in dasd_eckd_format_device()
1827 switch (intensity) { in dasd_eckd_format_device()
1852 "incorrect flags 0x%x\n", fdata->intensity); in dasd_eckd_format_device()
1863 switch (intensity & ~0x08) { in dasd_eckd_format_device()
1904 if (intensity & 0x01) { /* write record zero */ in dasd_eckd_format_device()
1919 if ((intensity & ~0x08) & 0x04) { /* erase track */ in dasd_eckd_format_device()
1942 if ((intensity & 0x08) && in dasd_eckd_format_device()
[all …]
Ddasd_ioctl.c167 fdata->stop_unit, fdata->blksize, fdata->intensity); in dasd_format()
/linux-2.6.39/drivers/usb/misc/sisusbvga/
Dsisusb_con.c310 sisusbcon_build_attr(struct vc_data *c, u8 color, u8 intensity, in sisusbcon_build_attr() argument
317 else if (intensity == 0) in sisusbcon_build_attr()
328 if (intensity == 2) in sisusbcon_build_attr()
/linux-2.6.39/Documentation/sound/alsa/
DSB-Live-mixer.txt220 This control sets the bass intensity. There is no neutral value!!
226 This control sets the treble intensity. There is no neutral value!!
DAudigy-mixer.txt196 This control sets the bass intensity. There is no neutral value!!
202 This control sets the treble intensity. There is no neutral value!!

12