brightness 377 arch/arm/mach-pxa/magician.c static int magician_backlight_notify(struct device *dev, int brightness) brightness 379 arch/arm/mach-pxa/magician.c pr_debug("Brightness = %i\n", brightness); brightness 380 arch/arm/mach-pxa/magician.c gpio_set_value(EGPIO_MAGICIAN_BL_POWER, brightness); brightness 381 arch/arm/mach-pxa/magician.c if (brightness >= 200) { brightness 383 arch/arm/mach-pxa/magician.c return brightness - 72; brightness 386 arch/arm/mach-pxa/magician.c return brightness; brightness 303 arch/arm/mach-pxa/palm27x.c static int palm27x_backlight_notify(struct device *dev, int brightness) brightness 305 arch/arm/mach-pxa/palm27x.c gpio_set_value(palm_bl_power, brightness); brightness 307 arch/arm/mach-pxa/palm27x.c gpio_set_value(palm_lcd_power, brightness); brightness 308 arch/arm/mach-pxa/palm27x.c return brightness; brightness 164 arch/arm/mach-pxa/palmte2.c static int palmte2_backlight_notify(struct device *dev, int brightness) brightness 166 arch/arm/mach-pxa/palmte2.c gpio_set_value(GPIO_NR_PALMTE2_BL_POWER, brightness); brightness 167 arch/arm/mach-pxa/palmte2.c gpio_set_value(GPIO_NR_PALMTE2_LCD_POWER, brightness); brightness 168 arch/arm/mach-pxa/palmte2.c return brightness; brightness 390 arch/arm/mach-pxa/viper.c static int viper_backlight_notify(struct device *dev, int brightness) brightness 392 arch/arm/mach-pxa/viper.c gpio_set_value(VIPER_LCD_EN_GPIO, !!brightness); brightness 393 arch/arm/mach-pxa/viper.c gpio_set_value(VIPER_BCKLIGHT_EN_GPIO, !!brightness); brightness 395 arch/arm/mach-pxa/viper.c return brightness; brightness 495 arch/arm/mach-s3c24xx/mach-h1940.c static int h1940_backlight_notify(struct device *dev, int brightness) brightness 497 arch/arm/mach-s3c24xx/mach-h1940.c if (!brightness) { brightness 506 arch/arm/mach-s3c24xx/mach-h1940.c return brightness; brightness 517 arch/arm/mach-s3c24xx/mach-rx1950.c static int rx1950_backlight_notify(struct device *dev, int brightness) brightness 519 arch/arm/mach-s3c24xx/mach-rx1950.c if (!brightness) { brightness 526 arch/arm/mach-s3c24xx/mach-rx1950.c return brightness; brightness 90 arch/arm/mach-s3c64xx/mach-hmt.c static int hmt_bl_notify(struct device *dev, int brightness) brightness 96 arch/arm/mach-s3c64xx/mach-hmt.c if (brightness < 0x800) { brightness 98 arch/arm/mach-s3c64xx/mach-hmt.c brightness = (100*256 * brightness + 231245/2) / 231245; brightness 101 arch/arm/mach-s3c64xx/mach-hmt.c int t = (brightness*4 + 16*1024 + 58)/116; brightness 102 arch/arm/mach-s3c64xx/mach-hmt.c brightness = 25 * ((t * t * t + 0x100000/2) / 0x100000); brightness 105 arch/arm/mach-s3c64xx/mach-hmt.c gpio_set_value(S3C64XX_GPB(4), brightness); brightness 107 arch/arm/mach-s3c64xx/mach-hmt.c return brightness; brightness 412 arch/mips/alchemy/devboards/db1200.c enum led_brightness brightness) brightness 414 arch/mips/alchemy/devboards/db1200.c if (brightness != LED_OFF) brightness 484 arch/mips/alchemy/devboards/db1200.c enum led_brightness brightness) brightness 486 arch/mips/alchemy/devboards/db1200.c if (brightness != LED_OFF) brightness 523 arch/mips/alchemy/devboards/db1300.c enum led_brightness brightness) brightness 525 arch/mips/alchemy/devboards/db1300.c if (brightness != LED_OFF) brightness 590 arch/mips/alchemy/devboards/db1300.c enum led_brightness brightness) brightness 592 arch/mips/alchemy/devboards/db1300.c if (brightness != LED_OFF) brightness 34 arch/powerpc/include/asm/backlight.h extern void pmac_backlight_set_legacy_brightness_pmu(int brightness); brightness 35 arch/powerpc/include/asm/backlight.h extern int pmac_backlight_set_legacy_brightness(int brightness); brightness 122 arch/powerpc/kernel/traps.c props->brightness = props->max_brightness; brightness 109 arch/powerpc/platforms/powermac/backlight.c int brightness; brightness 113 arch/powerpc/platforms/powermac/backlight.c brightness = props->brightness + brightness 117 arch/powerpc/platforms/powermac/backlight.c if (brightness < 0) brightness 118 arch/powerpc/platforms/powermac/backlight.c brightness = 0; brightness 119 arch/powerpc/platforms/powermac/backlight.c else if (brightness > props->max_brightness) brightness 120 arch/powerpc/platforms/powermac/backlight.c brightness = props->max_brightness; brightness 122 arch/powerpc/platforms/powermac/backlight.c props->brightness = brightness; brightness 141 arch/powerpc/platforms/powermac/backlight.c static int __pmac_backlight_set_legacy_brightness(int brightness) brightness 150 arch/powerpc/platforms/powermac/backlight.c props->brightness = brightness * brightness 154 arch/powerpc/platforms/powermac/backlight.c if (props->brightness > props->max_brightness) brightness 155 arch/powerpc/platforms/powermac/backlight.c props->brightness = props->max_brightness; brightness 156 arch/powerpc/platforms/powermac/backlight.c else if (props->brightness < 0) brightness 157 arch/powerpc/platforms/powermac/backlight.c props->brightness = 0; brightness 177 arch/powerpc/platforms/powermac/backlight.c void pmac_backlight_set_legacy_brightness_pmu(int brightness) { brightness 181 arch/powerpc/platforms/powermac/backlight.c pmac_backlight_set_legacy_queued = brightness; brightness 185 arch/powerpc/platforms/powermac/backlight.c int pmac_backlight_set_legacy_brightness(int brightness) brightness 187 arch/powerpc/platforms/powermac/backlight.c return __pmac_backlight_set_legacy_brightness(brightness); brightness 200 arch/powerpc/platforms/powermac/backlight.c result = props->brightness * brightness 174 arch/sh/boards/mach-ap325rxa/setup.c static int ap320_wvga_set_brightness(int brightness) brightness 176 arch/sh/boards/mach-ap325rxa/setup.c if (brightness) { brightness 232 arch/x86/platform/ts5500/ts5500.c enum led_brightness brightness) brightness 234 arch/x86/platform/ts5500/ts5500.c outb(!!brightness, TS5500_LED_JP_ADDR); brightness 209 drivers/acpi/acpi_video.c struct acpi_video_device_brightness *brightness; brightness 237 drivers/acpi/acpi_video.c for (i = ACPI_VIDEO_FIRST_LEVEL; i < vd->brightness->count; i++) { brightness 238 drivers/acpi/acpi_video.c if (vd->brightness->levels[i] == cur_level) brightness 246 drivers/acpi/acpi_video.c int request_level = bd->props.brightness + ACPI_VIDEO_FIRST_LEVEL; brightness 251 drivers/acpi/acpi_video.c vd->brightness->levels[request_level]); brightness 266 drivers/acpi/acpi_video.c *state = video->brightness->count - ACPI_VIDEO_FIRST_LEVEL - 1; brightness 280 drivers/acpi/acpi_video.c for (offset = ACPI_VIDEO_FIRST_LEVEL; offset < video->brightness->count; brightness 282 drivers/acpi/acpi_video.c if (level == video->brightness->levels[offset]) { brightness 283 drivers/acpi/acpi_video.c *state = video->brightness->count - offset - 1; brightness 297 drivers/acpi/acpi_video.c if (state >= video->brightness->count - ACPI_VIDEO_FIRST_LEVEL) brightness 300 drivers/acpi/acpi_video.c state = video->brightness->count - state; brightness 301 drivers/acpi/acpi_video.c level = video->brightness->levels[state - 1]; brightness 361 drivers/acpi/acpi_video.c device->brightness->curr = level; brightness 362 drivers/acpi/acpi_video.c for (state = ACPI_VIDEO_FIRST_LEVEL; state < device->brightness->count; brightness 364 drivers/acpi/acpi_video.c if (level == device->brightness->levels[state]) { brightness 366 drivers/acpi/acpi_video.c device->backlight->props.brightness = brightness 570 drivers/acpi/acpi_video.c if (device->brightness->flags._BQC_use_index) { brightness 576 drivers/acpi/acpi_video.c if (device->brightness->flags._BCL_reversed) brightness 577 drivers/acpi/acpi_video.c bqc_value = device->brightness->count - brightness 580 drivers/acpi/acpi_video.c level = device->brightness->levels[bqc_value + brightness 616 drivers/acpi/acpi_video.c i < device->brightness->count; i++) brightness 617 drivers/acpi/acpi_video.c if (device->brightness->levels[i] == *level) { brightness 618 drivers/acpi/acpi_video.c device->brightness->curr = *level; brightness 643 drivers/acpi/acpi_video.c *level = device->brightness->curr; brightness 748 drivers/acpi/acpi_video.c struct acpi_video_device_brightness *br = device->brightness; brightness 947 drivers/acpi/acpi_video.c device->brightness = br; brightness 996 drivers/acpi/acpi_video.c device->brightness = NULL; brightness 1381 drivers/acpi/acpi_video.c for (i = ACPI_VIDEO_FIRST_LEVEL; i < device->brightness->count; i++) { brightness 1382 drivers/acpi/acpi_video.c l = device->brightness->levels[i]; brightness 1391 drivers/acpi/acpi_video.c for (i = ACPI_VIDEO_FIRST_LEVEL; i < device->brightness->count; i++) { brightness 1392 drivers/acpi/acpi_video.c l = device->brightness->levels[i]; brightness 1431 drivers/acpi/acpi_video.c if (!device->brightness) brightness 1711 drivers/acpi/acpi_video.c if (video_device && video_device->brightness) brightness 1713 drivers/acpi/acpi_video.c video_device->brightness->curr); brightness 1773 drivers/acpi/acpi_video.c device->brightness->count - ACPI_VIDEO_FIRST_LEVEL - 1; brightness 1789 drivers/acpi/acpi_video.c device->backlight->props.brightness = brightness 1879 drivers/acpi/acpi_video.c if (device->brightness) { brightness 1880 drivers/acpi/acpi_video.c kfree(device->brightness->levels); brightness 1881 drivers/acpi/acpi_video.c kfree(device->brightness); brightness 1882 drivers/acpi/acpi_video.c device->brightness = NULL; brightness 197 drivers/auxdisplay/ht16k33.c int brightness = bl->props.brightness; brightness 202 drivers/auxdisplay/ht16k33.c bl->props.state & BL_CORE_FBBLANK || brightness == 0) { brightness 208 drivers/auxdisplay/ht16k33.c REG_BRIGHTNESS | (brightness - 1)); brightness 491 drivers/auxdisplay/ht16k33.c bl->props.brightness = dft_brightness; brightness 128 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (bd->props.brightness < 0) brightness 130 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c else if (bd->props.brightness > AMDGPU_MAX_BL_LEVEL) brightness 133 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c level = bd->props.brightness; brightness 215 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bd->props.brightness = amdgpu_atombios_encoder_get_backlight_brightness(bd); brightness 2088 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c uint32_t brightness = bd->props.brightness; brightness 2101 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c brightness = brightness 2102 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c brightness brightness 2109 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c brightness, 0)) brightness 2121 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c return bd->props.brightness; brightness 2140 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c props.brightness = AMDGPU_MAX_BL_LEVEL; brightness 377 drivers/gpu/drm/amd/display/dc/dc_types.h struct fixed31_32 brightness; brightness 35 drivers/gpu/drm/armada/armada_overlay.c s16 brightness; brightness 44 drivers/gpu/drm/armada/armada_overlay.c return drm_to_overlay_state(state)->brightness << 16 | brightness 319 drivers/gpu/drm/armada/armada_overlay.c state->brightness = DEFAULT_BRIGHTNESS; brightness 400 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->brightness = val - 256; brightness 452 drivers/gpu/drm/armada/armada_overlay.c *val = drm_to_overlay_state(state)->brightness + 256; brightness 287 drivers/gpu/drm/bridge/parade-ps8622.c ps8622->bl->props.brightness); brightness 333 drivers/gpu/drm/bridge/parade-ps8622.c int ret, brightness = bl->props.brightness; brightness 337 drivers/gpu/drm/bridge/parade-ps8622.c brightness = 0; brightness 342 drivers/gpu/drm/bridge/parade-ps8622.c ret = ps8622_set(ps8622->client, 0x01, 0xa7, brightness); brightness 587 drivers/gpu/drm/bridge/parade-ps8622.c ps8622->bl->props.brightness = PS8622_MAX_BRIGHTNESS; brightness 706 drivers/gpu/drm/drm_atomic_uapi.c state->tv.brightness = val; brightness 810 drivers/gpu/drm/drm_atomic_uapi.c *val = state->tv.brightness; brightness 1053 drivers/gpu/drm/drm_mipi_dsi.c u16 brightness) brightness 1055 drivers/gpu/drm/drm_mipi_dsi.c u8 payload[2] = { brightness & 0xff, brightness >> 8 }; brightness 1076 drivers/gpu/drm/drm_mipi_dsi.c u16 *brightness) brightness 1081 drivers/gpu/drm/drm_mipi_dsi.c brightness, sizeof(*brightness)); brightness 275 drivers/gpu/drm/exynos/exynos_drm_dsi.c struct drm_property *brightness; brightness 30 drivers/gpu/drm/gma500/backlight.c dev_priv->backlight_device->props.brightness = dev_priv->backlight_level; brightness 42 drivers/gpu/drm/gma500/backlight.c dev_priv->backlight_device->props.brightness = 0; brightness 54 drivers/gpu/drm/gma500/backlight.c dev_priv->backlight_device->props.brightness = v; brightness 76 drivers/gpu/drm/gma500/backlight.c dev_priv->backlight_device->props.brightness = 0; brightness 114 drivers/gpu/drm/gma500/cdv_device.c int level = bd->props.brightness; brightness 159 drivers/gpu/drm/gma500/cdv_device.c cdv_backlight_device->props.brightness = brightness 45 drivers/gpu/drm/gma500/mdfld_device.c int level = bd->props.brightness; brightness 82 drivers/gpu/drm/gma500/mdfld_device.c dev_priv->brightness = level; brightness 92 drivers/gpu/drm/gma500/mdfld_device.c DRM_DEBUG_DRIVER("brightness = 0x%x \n", dev_priv->brightness); brightness 95 drivers/gpu/drm/gma500/mdfld_device.c return dev_priv->brightness; brightness 132 drivers/gpu/drm/gma500/mdfld_device.c mdfld_backlight_device->props.brightness = BRIGHTNESS_MAX_LEVEL; brightness 58 drivers/gpu/drm/gma500/oaktrail_device.c int level = bd->props.brightness; brightness 158 drivers/gpu/drm/gma500/oaktrail_device.c oaktrail_backlight_device->props.brightness = 100; brightness 95 drivers/gpu/drm/gma500/psb_device.c int level = bd->props.brightness; brightness 132 drivers/gpu/drm/gma500/psb_device.c psb_backlight_device->props.brightness = 100; brightness 404 drivers/gpu/drm/gma500/psb_drv.c bd->props.brightness = bd->ops->get_brightness(bd); brightness 581 drivers/gpu/drm/gma500/psb_drv.h int brightness; brightness 174 drivers/gpu/drm/gma500/psb_intel_sdvo.c struct drm_property *brightness; brightness 1784 drivers/gpu/drm/gma500/psb_intel_sdvo.c CHECK_PROPERTY(brightness, BRIGHTNESS) brightness 2408 drivers/gpu/drm/gma500/psb_intel_sdvo.c ENHANCEMENT(brightness, BRIGHTNESS); brightness 2444 drivers/gpu/drm/gma500/psb_intel_sdvo.c ENHANCEMENT(brightness, BRIGHTNESS); brightness 594 drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h unsigned int brightness:1; brightness 270 drivers/gpu/drm/i2c/ch7006_drv.c priv->brightness); brightness 327 drivers/gpu/drm/i2c/ch7006_drv.c priv->brightness = val; brightness 459 drivers/gpu/drm/i2c/ch7006_drv.c priv->brightness = 50; brightness 224 drivers/gpu/drm/i2c/ch7006_mode.c black_level = interpolate(90, black_level, 208, priv->brightness); brightness 93 drivers/gpu/drm/i2c/ch7006_priv.h int brightness; brightness 187 drivers/gpu/drm/i915/display/intel_overlay.c u32 brightness, contrast, saturation; brightness 1172 drivers/gpu/drm/i915/display/intel_overlay.c iowrite32((overlay->contrast << 18) | (overlay->brightness & 0xff), brightness 1241 drivers/gpu/drm/i915/display/intel_overlay.c attrs->brightness = overlay->brightness; brightness 1254 drivers/gpu/drm/i915/display/intel_overlay.c if (attrs->brightness < -128 || attrs->brightness > 127) brightness 1262 drivers/gpu/drm/i915/display/intel_overlay.c overlay->brightness = attrs->brightness; brightness 1366 drivers/gpu/drm/i915/display/intel_overlay.c overlay->brightness = -19; brightness 718 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.device->props.brightness = brightness 1174 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.device->props.brightness = brightness 1259 drivers/gpu/drm/i915/display/intel_panel.c bd->props.brightness, bd->props.max_brightness); brightness 1260 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_set_backlight(connector->base.state, bd->props.brightness, brightness 1272 drivers/gpu/drm/i915/display/intel_panel.c bd->props.brightness != 0; brightness 1332 drivers/gpu/drm/i915/display/intel_panel.c props.brightness = scale_hw_to_user(connector, brightness 156 drivers/gpu/drm/i915/display/intel_sdvo.c struct drm_property *brightness; brightness 1400 drivers/gpu/drm/i915/display/intel_sdvo.c if (intel_sdvo_conn->brightness) brightness 1401 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(conn_state->tv.brightness, BRIGHTNESS); brightness 2299 drivers/gpu/drm/i915/display/intel_sdvo.c else if (property == intel_sdvo_connector->brightness) brightness 2300 drivers/gpu/drm/i915/display/intel_sdvo.c *val = state->tv.brightness; brightness 2357 drivers/gpu/drm/i915/display/intel_sdvo.c else if (property == intel_sdvo_connector->brightness) brightness 2358 drivers/gpu/drm/i915/display/intel_sdvo.c state->tv.brightness = val; brightness 3094 drivers/gpu/drm/i915/display/intel_sdvo.c ENHANCEMENT(&conn_state->tv, brightness, BRIGHTNESS); brightness 3129 drivers/gpu/drm/i915/display/intel_sdvo.c ENHANCEMENT(&connector->state->tv, brightness, BRIGHTNESS); brightness 605 drivers/gpu/drm/i915/display/intel_sdvo_regs.h unsigned int brightness:1; brightness 797 drivers/gpu/drm/i915/display/intel_sprite.c int contrast, brightness, sh_scale, sh_sin, sh_cos; brightness 808 drivers/gpu/drm/i915/display/intel_sprite.c brightness = -DIV_ROUND_CLOSEST(16 * 255, 235 - 16); brightness 815 drivers/gpu/drm/i915/display/intel_sprite.c brightness = 0; brightness 823 drivers/gpu/drm/i915/display/intel_sprite.c SP_CONTRAST(contrast) | SP_BRIGHTNESS(brightness)); brightness 45 drivers/gpu/drm/nouveau/dispnv04/overlay.c struct drm_property *brightness; brightness 52 drivers/gpu/drm/nouveau/dispnv04/overlay.c int brightness; brightness 218 drivers/gpu/drm/nouveau/dispnv04/overlay.c u32 luma = (plane->brightness - 512) << 16 | plane->contrast; brightness 253 drivers/gpu/drm/nouveau/dispnv04/overlay.c else if (property == nv_plane->props.brightness) brightness 254 drivers/gpu/drm/nouveau/dispnv04/overlay.c nv_plane->brightness = value; brightness 308 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.brightness = drm_property_create_range( brightness 316 drivers/gpu/drm/nouveau/dispnv04/overlay.c !plane->props.brightness || brightness 329 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->brightness = 512; brightness 331 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.brightness, plane->brightness); brightness 374 drivers/gpu/drm/nouveau/dispnv04/overlay.c int brightness = (nv_plane->brightness - 512) * 62 / 512; brightness 410 drivers/gpu/drm/nouveau/dispnv04/overlay.c nvif_wr32(dev, NV_PVIDEO_RED_CSC_OFFSET, 0x69 - brightness); brightness 411 drivers/gpu/drm/nouveau/dispnv04/overlay.c nvif_wr32(dev, NV_PVIDEO_GREEN_CSC_OFFSET, 0x3e + brightness); brightness 412 drivers/gpu/drm/nouveau/dispnv04/overlay.c nvif_wr32(dev, NV_PVIDEO_BLUE_CSC_OFFSET, 0x89 - brightness); brightness 484 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.brightness = drm_property_create_range( brightness 487 drivers/gpu/drm/nouveau/dispnv04/overlay.c !plane->props.brightness) brightness 494 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->brightness = 512; brightness 496 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.brightness, plane->brightness); brightness 83 drivers/gpu/drm/nouveau/nouveau_backlight.c int val = bd->props.brightness; brightness 138 drivers/gpu/drm/nouveau/nouveau_backlight.c u32 val = (bd->props.brightness * div) / 100; brightness 179 drivers/gpu/drm/nouveau/nouveau_backlight.c val = (bd->props.brightness * div) / 100; brightness 289 drivers/gpu/drm/nouveau/nouveau_backlight.c bl->dev->props.brightness = bl->dev->ops->get_brightness(bl->dev); brightness 370 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c level = dev->props.brightness; brightness 397 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c return dev->props.brightness; brightness 331 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c u16 brightness = bl->props.brightness; brightness 335 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c ret = mipi_dsi_dcs_get_display_brightness(dsi, &brightness); brightness 341 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c return brightness & 0xff; brightness 351 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c ret = mipi_dsi_dcs_set_display_brightness(dsi, bl->props.brightness); brightness 373 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c props.brightness = 255; brightness 403 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c data[1] = bd->props.brightness; brightness 473 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c ctx->bl_dev->props.brightness = OTM8009A_BACKLIGHT_DEFAULT; brightness 470 drivers/gpu/drm/panel/panel-raydium-rm67191.c u16 brightness; brightness 478 drivers/gpu/drm/panel/panel-raydium-rm67191.c ret = mipi_dsi_dcs_get_display_brightness(dsi, &brightness); brightness 482 drivers/gpu/drm/panel/panel-raydium-rm67191.c bl->props.brightness = brightness; brightness 484 drivers/gpu/drm/panel/panel-raydium-rm67191.c return brightness & 0xff; brightness 498 drivers/gpu/drm/panel/panel-raydium-rm67191.c ret = mipi_dsi_dcs_set_display_brightness(dsi, bl->props.brightness); brightness 593 drivers/gpu/drm/panel/panel-raydium-rm67191.c bl_props.brightness = 255; brightness 103 drivers/gpu/drm/panel/panel-samsung-ld9040.c int brightness; brightness 174 drivers/gpu/drm/panel/panel-samsung-ld9040.c ld9040_dcs_write(ctx, ld9040_gammas[ctx->brightness], brightness 175 drivers/gpu/drm/panel/panel-samsung-ld9040.c ARRAY_SIZE(ld9040_gammas[ctx->brightness])); brightness 327 drivers/gpu/drm/panel/panel-samsung-ld9040.c ctx->brightness = ARRAY_SIZE(ld9040_gammas) - 1; brightness 413 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c return bl_dev->props.brightness; brightness 419 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c unsigned int brightness = bl_dev->props.brightness; brightness 421 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c vint_table[brightness * (S6E3HA2_VINT_STATUS_MAX - 1) / brightness 427 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c static unsigned int s6e3ha2_get_brightness_index(unsigned int brightness) brightness 429 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c return (brightness * (S6E3HA2_NUM_GAMMA_STEPS - 1)) / brightness 433 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c static int s6e3ha2_update_gamma(struct s6e3ha2 *ctx, unsigned int brightness) brightness 436 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c unsigned int index = s6e3ha2_get_brightness_index(brightness); brightness 445 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c bl_dev->props.brightness = brightness; brightness 453 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c unsigned int brightness = bl_dev->props.brightness; brightness 456 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c if (brightness < S6E3HA2_MIN_BRIGHTNESS || brightness 457 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c brightness > bl_dev->props.max_brightness) { brightness 458 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c dev_err(ctx->dev, "Invalid brightness: %u\n", brightness); brightness 466 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c s6e3ha2_call_write_func(ret, s6e3ha2_update_gamma(ctx, brightness)); brightness 732 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c ctx->bl_dev->props.brightness = S6E3HA2_DEFAULT_BRIGHTNESS; brightness 172 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c static unsigned int s6e63j0x03_get_brightness_index(unsigned int brightness) brightness 176 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c index = brightness / (MAX_BRIGHTNESS / NUM_GAMMA_STEPS); brightness 185 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c unsigned int brightness) brightness 188 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c unsigned int index = s6e63j0x03_get_brightness_index(brightness); brightness 203 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c bl_dev->props.brightness = brightness; brightness 211 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c unsigned int brightness = bl_dev->props.brightness; brightness 213 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c return s6e63j0x03_update_gamma(ctx, brightness); brightness 481 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ctx->bl_dev->props.brightness = DEFAULT_BRIGHTNESS; brightness 398 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c int brightness = bd->props.brightness; brightness 401 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c s6e63m0_dcs_write(ctx, s6e63m0_gamma_22[brightness], brightness 402 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c ARRAY_SIZE(s6e63m0_gamma_22[brightness])); brightness 418 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c .brightness = MAX_BRIGHTNESS, brightness 113 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c int brightness; brightness 326 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c switch (ctx->brightness) { brightness 772 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c gamma = ctx->variant->gamma_tables[ctx->brightness]; brightness 1018 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c ctx->brightness = GAMMA_LEVEL_NUM - 1; brightness 305 drivers/gpu/drm/panel/panel-sony-acx565akm.c level = dev->props.brightness; brightness 381 drivers/gpu/drm/panel/panel-sony-acx565akm.c lcd->backlight->props.brightness = acx565akm_get_actual_brightness(lcd); brightness 150 drivers/gpu/drm/radeon/atombios_encoders.c if (bd->props.brightness < 0) brightness 152 drivers/gpu/drm/radeon/atombios_encoders.c else if (bd->props.brightness > RADEON_MAX_BL_LEVEL) brightness 155 drivers/gpu/drm/radeon/atombios_encoders.c level = bd->props.brightness; brightness 235 drivers/gpu/drm/radeon/atombios_encoders.c bd->props.brightness = radeon_atom_backlight_get_brightness(bd); brightness 241 drivers/gpu/drm/radeon/atombios_encoders.c if (bd->props.brightness == 0) brightness 242 drivers/gpu/drm/radeon/atombios_encoders.c bd->props.brightness = RADEON_MAX_BL_LEVEL; brightness 328 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (bd->props.brightness < 0) brightness 330 drivers/gpu/drm/radeon/radeon_legacy_encoders.c else if (bd->props.brightness > RADEON_MAX_BL_LEVEL) brightness 333 drivers/gpu/drm/radeon/radeon_legacy_encoders.c level = bd->props.brightness; brightness 446 drivers/gpu/drm/radeon/radeon_legacy_encoders.c bd->props.brightness = radeon_legacy_backlight_get_brightness(bd); brightness 21 drivers/gpu/drm/shmobile/shmob_drm_backlight.c int brightness = bdev->props.brightness; brightness 25 drivers/gpu/drm/shmobile/shmob_drm_backlight.c brightness = 0; brightness 27 drivers/gpu/drm/shmobile/shmob_drm_backlight.c return bdata->set_brightness(brightness); brightness 75 drivers/gpu/drm/shmobile/shmob_drm_backlight.c backlight->props.brightness = bdata->max_brightness; brightness 94 drivers/hid/hid-asus.c unsigned int brightness; brightness 350 drivers/hid/hid-asus.c enum led_brightness brightness) brightness 354 drivers/hid/hid-asus.c if (led->brightness == brightness) brightness 357 drivers/hid/hid-asus.c led->brightness = brightness; brightness 366 drivers/hid/hid-asus.c return led->brightness; brightness 378 drivers/hid/hid-asus.c buf[4] = led->brightness; brightness 433 drivers/hid/hid-asus.c drvdata->kbd_backlight->brightness = 0; brightness 378 drivers/hid/hid-bigbenff.c led->brightness = (n == 0) ? LED_ON : LED_OFF; brightness 31 drivers/hid/hid-corsair.c int brightness; brightness 152 drivers/hid/hid-corsair.c int brightness; brightness 170 drivers/hid/hid-corsair.c brightness = data[4]; brightness 171 drivers/hid/hid-corsair.c if (brightness < 0 || brightness > 3) { brightness 178 drivers/hid/hid-corsair.c ret = brightness; brightness 189 drivers/hid/hid-corsair.c return led->brightness; brightness 193 drivers/hid/hid-corsair.c enum led_brightness brightness) brightness 197 drivers/hid/hid-corsair.c led->brightness = brightness; brightness 219 drivers/hid/hid-corsair.c USB_RECIP_DEVICE, led->brightness, 0, brightness 242 drivers/hid/hid-corsair.c if (led->brightness > 0) brightness 496 drivers/hid/hid-corsair.c k90->record_led.brightness = 0; brightness 610 drivers/hid/hid-corsair.c drvdata->k90->record_led.brightness = 1; brightness 613 drivers/hid/hid-corsair.c drvdata->k90->record_led.brightness = 0; brightness 59 drivers/hid/hid-gt683r.c enum led_brightness brightness) brightness 72 drivers/hid/hid-gt683r.c led->brightnesses[i] = brightness; brightness 179 drivers/hid/hid-led.c r = rgb->red.cdev.brightness; brightness 180 drivers/hid/hid-led.c g = rgb->green.cdev.brightness; brightness 181 drivers/hid/hid-led.c b = rgb->blue.cdev.brightness; brightness 206 drivers/hid/hid-led.c buf[1] = rgb->red.cdev.brightness; brightness 207 drivers/hid/hid-led.c buf[2] = rgb->green.cdev.brightness; brightness 208 drivers/hid/hid-led.c buf[3] = rgb->blue.cdev.brightness; brightness 235 drivers/hid/hid-led.c buf[2] = led->rgb->red.cdev.brightness; brightness 236 drivers/hid/hid-led.c buf[3] = led->rgb->green.cdev.brightness; brightness 237 drivers/hid/hid-led.c buf[4] = led->rgb->blue.cdev.brightness; brightness 304 drivers/hid/hid-led.c dp.tx.data_msb = led->cdev.brightness; brightness 347 drivers/hid/hid-led.c buf[3] = led->rgb->red.cdev.brightness; brightness 348 drivers/hid/hid-led.c buf[4] = led->rgb->green.cdev.brightness; brightness 349 drivers/hid/hid-led.c buf[5] = led->rgb->blue.cdev.brightness; brightness 1413 drivers/hid/hid-lg4ff.c led->brightness = 0; brightness 32 drivers/hid/hid-picolcd_backlight.c data->lcd_brightness = bdev->props.brightness & 0x0ff; brightness 75 drivers/hid/hid-picolcd_backlight.c bdev->props.brightness = 0xff; brightness 122 drivers/hid/hid-picolcd_leds.c led->brightness = 0; brightness 2049 drivers/hid/hid-sony.c led->brightness = sc->led_state[n]; brightness 278 drivers/hid/hid-steelseries.c led->brightness = 0; brightness 299 drivers/hid/hid-steelseries.c led->brightness = 0; brightness 167 drivers/hid/hid-u2fzero.c enum led_brightness brightness) brightness 169 drivers/hid/hid-u2fzero.c ldev->brightness = LED_OFF; brightness 170 drivers/hid/hid-u2fzero.c if (brightness) brightness 355 drivers/hid/hid-wiimote-modules.c led->brightness = 0; brightness 1299 drivers/hid/wacom_sys.c enum led_brightness brightness) brightness 1307 drivers/hid/wacom_sys.c if (!wacom->led.groups || (brightness == LED_OFF && brightness 1313 drivers/hid/wacom_sys.c led->llv = wacom->led.llv = wacom->led.max_llv * brightness / LED_FULL; brightness 1314 drivers/hid/wacom_sys.c led->hlv = wacom->led.hlv = wacom->led.max_hlv * brightness / LED_FULL; brightness 1327 drivers/hid/wacom_sys.c enum led_brightness brightness) brightness 300 drivers/hwmon/pmbus/ibm-cffps.c enum led_brightness brightness) brightness 306 drivers/hwmon/pmbus/ibm-cffps.c if (brightness == LED_OFF) { brightness 309 drivers/hwmon/pmbus/ibm-cffps.c brightness = LED_FULL; brightness 318 drivers/hwmon/pmbus/ibm-cffps.c brightness, next_led_state); brightness 328 drivers/hwmon/pmbus/ibm-cffps.c led_cdev->brightness = brightness; brightness 350 drivers/hwmon/pmbus/ibm-cffps.c led_cdev->brightness = LED_FULL; brightness 59 drivers/input/input-leds.c enum led_brightness brightness) brightness 63 drivers/input/input-leds.c input_inject_event(led->handle, EV_LED, led->code, !!brightness); brightness 290 drivers/input/keyboard/cap11xx.c led->cdev.brightness = LED_OFF; brightness 122 drivers/input/keyboard/lm8323.c int brightness; brightness 355 drivers/input/keyboard/lm8323.c if (pwm->desired_brightness != pwm->brightness) brightness 456 drivers/input/keyboard/lm8323.c if (pwm->running || pwm->desired_brightness == pwm->brightness) brightness 460 drivers/input/keyboard/lm8323.c up = (pwm->desired_brightness > pwm->brightness); brightness 461 drivers/input/keyboard/lm8323.c steps = abs(pwm->desired_brightness - pwm->brightness); brightness 491 drivers/input/keyboard/lm8323.c pwm->brightness = pwm->desired_brightness; brightness 498 drivers/input/keyboard/lm8323.c enum led_brightness brightness) brightness 504 drivers/input/keyboard/lm8323.c pwm->desired_brightness = brightness; brightness 566 drivers/input/keyboard/lm8323.c pwm->brightness = 0; brightness 50 drivers/input/keyboard/qt2160.c enum led_brightness brightness; brightness 78 drivers/input/keyboard/qt2160.c if (value != led->brightness) { brightness 99 drivers/input/keyboard/qt2160.c led->brightness = value; brightness 272 drivers/input/keyboard/qt2160.c led->cdev.brightness = LED_OFF; brightness 87 drivers/input/keyboard/tm2-touchkey.c enum led_brightness brightness) brightness 94 drivers/input/keyboard/tm2-touchkey.c if (brightness == LED_OFF) { brightness 174 drivers/input/keyboard/tm2-touchkey.c if (touchkey->led_dev.brightness == LED_OFF) brightness 275 drivers/input/keyboard/tm2-touchkey.c touchkey->led_dev.brightness = LED_ON; brightness 978 drivers/input/misc/ims-pcu.c int brightness; brightness 989 drivers/input/misc/ims-pcu.c brightness = LED_OFF; brightness 991 drivers/input/misc/ims-pcu.c brightness = brightness 997 drivers/input/misc/ims-pcu.c return brightness; brightness 1067 drivers/input/misc/wistron_btns.c wistron_wifi_led.brightness = (wifi & 2) ? LED_FULL : LED_OFF; brightness 1071 drivers/input/misc/wistron_btns.c bios_set_state(WIFI, wistron_wifi_led.brightness); brightness 1079 drivers/input/misc/wistron_btns.c wistron_mail_led.brightness = LED_OFF; brightness 1083 drivers/input/misc/wistron_btns.c bios_set_state(MAIL_LED, wistron_mail_led.brightness); brightness 612 drivers/input/touchscreen/stmfts.c sdata->led_cdev.brightness = LED_OFF; brightness 170 drivers/input/touchscreen/sur40.c static uint brightness = SUR40_BRIGHTNESS_DEF; brightness 171 drivers/input/touchscreen/sur40.c module_param(brightness, uint, 0644); brightness 172 drivers/input/touchscreen/sur40.c MODULE_PARM_DESC(brightness, "set initial brightness" brightness 756 drivers/input/touchscreen/sur40.c SUR40_BRIGHTNESS_MIN, SUR40_BRIGHTNESS_MAX, 1, clamp(brightness, brightness 75 drivers/leds/led-class-flash.c return sprintf(buf, "%u\n", fled_cdev->brightness.val); brightness 85 drivers/leds/led-class-flash.c return sprintf(buf, "%u\n", fled_cdev->brightness.max); brightness 259 drivers/leds/led-class-flash.c fled_cdev->brightness.val); brightness 363 drivers/leds/led-class-flash.c u32 brightness) brightness 366 drivers/leds/led-class-flash.c struct led_flash_setting *s = &fled_cdev->brightness; brightness 368 drivers/leds/led-class-flash.c s->val = brightness; brightness 380 drivers/leds/led-class-flash.c struct led_flash_setting *s = &fled_cdev->brightness; brightness 381 drivers/leds/led-class-flash.c u32 brightness; brightness 385 drivers/leds/led-class-flash.c &brightness); brightness 389 drivers/leds/led-class-flash.c s->val = brightness; brightness 34 drivers/leds/led-class.c return sprintf(buf, "%u\n", led_cdev->brightness); brightness 65 drivers/leds/led-class.c static DEVICE_ATTR_RW(brightness); brightness 148 drivers/leds/led-class.c enum led_brightness brightness) brightness 153 drivers/leds/led-class.c led_cdev->brightness_hw_changed = brightness; brightness 184 drivers/leds/led-class.c led_set_brightness_nopm(led_cdev, led_cdev->brightness); brightness 63 drivers/leds/led-core.c unsigned long brightness; brightness 78 drivers/leds/led-core.c brightness = led_get_brightness(led_cdev); brightness 79 drivers/leds/led-core.c if (!brightness) { brightness 83 drivers/leds/led-core.c brightness = led_cdev->new_blink_brightness; brightness 85 drivers/leds/led-core.c brightness = led_cdev->blink_brightness; brightness 91 drivers/leds/led-core.c led_cdev->blink_brightness = brightness; brightness 92 drivers/leds/led-core.c brightness = LED_OFF; brightness 96 drivers/leds/led-core.c led_set_brightness_nosleep(led_cdev, brightness); brightness 104 drivers/leds/led-core.c if (brightness) brightness 108 drivers/leds/led-core.c if (!brightness) brightness 242 drivers/leds/led-core.c enum led_brightness brightness) brightness 254 drivers/leds/led-core.c if (brightness == LED_OFF) { brightness 260 drivers/leds/led-core.c led_cdev->new_blink_brightness = brightness; brightness 265 drivers/leds/led-core.c led_set_brightness_nosleep(led_cdev, brightness); brightness 285 drivers/leds/led-core.c led_cdev->brightness = min(value, led_cdev->max_brightness); brightness 290 drivers/leds/led-core.c led_set_brightness_nopm(led_cdev, led_cdev->brightness); brightness 300 drivers/leds/led-core.c led_cdev->brightness = min(value, led_cdev->max_brightness); brightness 305 drivers/leds/led-core.c return __led_set_brightness_blocking(led_cdev, led_cdev->brightness); brightness 316 drivers/leds/led-core.c led_cdev->brightness = ret; brightness 318 drivers/leds/led-triggers.c enum led_brightness brightness) brightness 327 drivers/leds/led-triggers.c led_set_brightness(led_cdev, brightness); brightness 37 drivers/leds/leds-88pm860x.c unsigned char brightness; brightness 76 drivers/leds/leds-88pm860x.c led->brightness = value >> 3; brightness 78 drivers/leds/leds-88pm860x.c if ((led->current_brightness == 0) && led->brightness) { brightness 90 drivers/leds/leds-88pm860x.c led->brightness); brightness 92 drivers/leds/leds-88pm860x.c if (led->brightness == 0) { brightness 106 drivers/leds/leds-88pm860x.c led->current_brightness = led->brightness; brightness 108 drivers/leds/leds-88pm860x.c led->reg_control, led->brightness); brightness 141 drivers/leds/leds-aat1290.c enum led_brightness brightness) brightness 148 drivers/leds/leds-aat1290.c if (brightness == 0) { brightness 161 drivers/leds/leds-aat1290.c AAT1290_MAX_MM_CURR_PERCENT_0 - brightness); brightness 195 drivers/leds/leds-aat1290.c led_cdev->brightness = 0; brightness 389 drivers/leds/leds-aat1290.c enum led_brightness brightness) brightness 394 drivers/leds/leds-aat1290.c return led->mm_current_scale[brightness - 1]; brightness 409 drivers/leds/leds-aat1290.c led_cdev->brightness = 0; brightness 128 drivers/leds/leds-adp5520.c led_dat->cdev.brightness = LED_OFF; brightness 82 drivers/leds/leds-an30259a.c enum led_brightness brightness) brightness 95 drivers/leds/leds-an30259a.c switch (brightness) { brightness 119 drivers/leds/leds-an30259a.c brightness); brightness 268 drivers/leds/leds-an30259a.c led->cdev.brightness = LED_FULL; brightness 276 drivers/leds/leds-an30259a.c led->cdev.brightness = LED_OFF; brightness 280 drivers/leds/leds-an30259a.c &led->cdev.brightness); brightness 283 drivers/leds/leds-an30259a.c led->cdev.brightness = LED_OFF; brightness 286 drivers/leds/leds-an30259a.c an30259a_brightness_set(&led->cdev, led->cdev.brightness); brightness 67 drivers/leds/leds-apu.c enum led_brightness brightness; brightness 123 drivers/leds/leds-apu.c led_cdev->brightness = apu1_led_profile[i].brightness; brightness 139 drivers/leds/leds-apu.c apu1_led_brightness_set(led_cdev, apu1_led_profile[i].brightness); brightness 312 drivers/leds/leds-as3645a.c enum led_brightness brightness) brightness 317 drivers/leds/leds-as3645a.c flash->indicator_current = brightness; brightness 323 drivers/leds/leds-as3645a.c return as3645a_set_control(flash, AS_MODE_INDICATOR, brightness); brightness 327 drivers/leds/leds-as3645a.c enum led_brightness brightness) brightness 333 drivers/leds/leds-as3645a.c if (brightness) { brightness 335 drivers/leds/leds-as3645a.c flash->assist_current = brightness - 1; brightness 342 drivers/leds/leds-as3645a.c return as3645a_set_control(flash, AS_MODE_ASSIST, brightness); brightness 591 drivers/leds/leds-as3645a.c cfg = &flash->fled.brightness; brightness 304 drivers/leds/leds-bcm6328.c led->cdev.brightness = LED_FULL; brightness 320 drivers/leds/leds-bcm6328.c led->cdev.brightness = LED_FULL; brightness 322 drivers/leds/leds-bcm6328.c led->cdev.brightness = LED_OFF; brightness 324 drivers/leds/leds-bcm6328.c led->cdev.brightness = LED_OFF; brightness 327 drivers/leds/leds-bcm6328.c led->cdev.brightness = LED_OFF; brightness 330 drivers/leds/leds-bcm6328.c bcm6328_led_set(&led->cdev, led->cdev.brightness); brightness 119 drivers/leds/leds-bcm6358.c led->cdev.brightness = LED_FULL; brightness 126 drivers/leds/leds-bcm6358.c led->cdev.brightness = LED_FULL; brightness 128 drivers/leds/leds-bcm6358.c led->cdev.brightness = LED_OFF; brightness 130 drivers/leds/leds-bcm6358.c led->cdev.brightness = LED_OFF; brightness 133 drivers/leds/leds-bcm6358.c led->cdev.brightness = LED_OFF; brightness 136 drivers/leds/leds-bcm6358.c bcm6358_led_set(&led->cdev, led->cdev.brightness); brightness 559 drivers/leds/leds-bd2802.c led->cdev_led1r.brightness = LED_OFF; brightness 571 drivers/leds/leds-bd2802.c led->cdev_led1g.brightness = LED_OFF; brightness 583 drivers/leds/leds-bd2802.c led->cdev_led1b.brightness = LED_OFF; brightness 595 drivers/leds/leds-bd2802.c led->cdev_led2r.brightness = LED_OFF; brightness 607 drivers/leds/leds-bd2802.c led->cdev_led2g.brightness = LED_OFF; brightness 619 drivers/leds/leds-bd2802.c led->cdev_led2b.brightness = LED_OFF; brightness 53 drivers/leds/leds-blinkm.c u8 brightness; /* HSB brightness */ brightness 373 drivers/leds/leds-blinkm.c data->brightness = data->next_brightness; brightness 21 drivers/leds/leds-cobalt-qube.c enum led_brightness brightness) brightness 23 drivers/leds/leds-cobalt-qube.c if (brightness) brightness 32 drivers/leds/leds-cobalt-qube.c .brightness = LED_FULL, brightness 24 drivers/leds/leds-cobalt-raq.c enum led_brightness brightness) brightness 30 drivers/leds/leds-cobalt-raq.c if (brightness) brightness 45 drivers/leds/leds-cobalt-raq.c enum led_brightness brightness) brightness 51 drivers/leds/leds-cobalt-raq.c if (brightness) brightness 106 drivers/leds/leds-cpcap.c int brightness; brightness 126 drivers/leds/leds-cpcap.c brightness = cpcap_led_val(value, LED_OFF); brightness 128 drivers/leds/leds-cpcap.c brightness = cpcap_led_val(value, LED_ON); brightness 132 drivers/leds/leds-cpcap.c brightness); brightness 47 drivers/leds/leds-cr0014114.c u8 brightness; brightness 134 drivers/leds/leds-cr0014114.c priv->buf[i + 1] = priv->leds[i].brightness; brightness 163 drivers/leds/leds-cr0014114.c enum led_brightness brightness) brightness 170 drivers/leds/leds-cr0014114.c dev_dbg(led->priv->dev, "Set brightness to %d\n", brightness); brightness 173 drivers/leds/leds-cr0014114.c led->brightness = (u8)brightness; brightness 107 drivers/leds/leds-da903x.c led->cdev.brightness = LED_OFF; brightness 40 drivers/leds/leds-da9052.c enum led_brightness brightness) brightness 45 drivers/leds/leds-da9052.c val = (brightness & 0x7f) | DA9052_LED_CONT_DIM; brightness 122 drivers/leds/leds-da9052.c led[i].cdev.brightness = LED_OFF; brightness 135 drivers/leds/leds-da9052.c led[i].cdev.brightness); brightness 34 drivers/leds/leds-dac124s085.c enum led_brightness brightness) brightness 43 drivers/leds/leds-dac124s085.c (brightness & 0xfff)); brightness 69 drivers/leds/leds-dac124s085.c led->ldev.brightness = LED_OFF; brightness 99 drivers/leds/leds-gpio.c led_dat->cdev.brightness = state ? LED_FULL : LED_OFF; brightness 108 drivers/leds/leds-is31fl319x.c enum led_brightness brightness) brightness 118 drivers/leds/leds-is31fl319x.c dev_dbg(&is31->client->dev, "%s %d: %d\n", __func__, chan, brightness); brightness 123 drivers/leds/leds-is31fl319x.c ret = regmap_write(is31->regmap, IS31FL319X_PWM(chan), brightness); brightness 223 drivers/leds/leds-is31fl32xx.c enum led_brightness brightness) brightness 231 drivers/leds/leds-is31fl32xx.c dev_dbg(led_cdev->dev, "%s: %d\n", __func__, brightness); brightness 241 drivers/leds/leds-is31fl32xx.c brightness); brightness 157 drivers/leds/leds-ktd2692.c enum led_brightness brightness) brightness 164 drivers/leds/leds-ktd2692.c if (brightness == LED_OFF) { brightness 168 drivers/leds/leds-ktd2692.c ktd2692_expresswire_write(led, brightness | brightness 202 drivers/leds/leds-ktd2692.c fled_cdev->led_cdev.brightness = LED_OFF; brightness 111 drivers/leds/leds-lm3530.c enum led_brightness brightness; brightness 229 drivers/leds/leds-lm3530.c u8 brightness; brightness 258 drivers/leds/leds-lm3530.c if (drvdata->brightness) brightness 259 drivers/leds/leds-lm3530.c brightness = drvdata->brightness; brightness 261 drivers/leds/leds-lm3530.c brightness = drvdata->brightness = pdata->brt_val; brightness 263 drivers/leds/leds-lm3530.c if (brightness > drvdata->led_dev.max_brightness) brightness 264 drivers/leds/leds-lm3530.c brightness = drvdata->led_dev.max_brightness; brightness 270 drivers/leds/leds-lm3530.c reg_val[4] = brightness; /* LM3530_BRT_CTRL_REG */ brightness 333 drivers/leds/leds-lm3530.c drvdata->brightness = brt_val; brightness 439 drivers/leds/leds-lm3530.c drvdata->brightness = LED_OFF; brightness 681 drivers/leds/leds-lm3533.c led->cdev.brightness = LED_OFF; brightness 196 drivers/leds/leds-lm355x.c u8 brightness, enum lm355x_mode opmode) brightness 211 drivers/leds/leds-lm355x.c if (!brightness) brightness 219 drivers/leds/leds-lm355x.c (brightness - 1) brightness 244 drivers/leds/leds-lm355x.c (brightness - 1) brightness 272 drivers/leds/leds-lm355x.c (brightness - 1) brightness 309 drivers/leds/leds-lm355x.c enum led_brightness brightness) brightness 316 drivers/leds/leds-lm355x.c ret = lm355x_control(chip, brightness, MODE_TORCH); brightness 324 drivers/leds/leds-lm355x.c enum led_brightness brightness) brightness 331 drivers/leds/leds-lm355x.c ret = lm355x_control(chip, brightness, MODE_FLASH); brightness 339 drivers/leds/leds-lm355x.c enum led_brightness brightness) brightness 346 drivers/leds/leds-lm355x.c ret = lm355x_control(chip, brightness, MODE_INDIC); brightness 171 drivers/leds/leds-lm3601x.c enum led_brightness brightness) brightness 188 drivers/leds/leds-lm3601x.c if (brightness == LED_OFF) { brightness 194 drivers/leds/leds-lm3601x.c ret = regmap_write(led->regmap, LM3601X_LED_TORCH_REG, brightness); brightness 244 drivers/leds/leds-lm3601x.c u32 brightness) brightness 255 drivers/leds/leds-lm3601x.c if (brightness == LED_OFF) { brightness 261 drivers/leds/leds-lm3601x.c brightness_val = brightness / LM3601X_STROBE_REG_DIV; brightness 337 drivers/leds/leds-lm3601x.c setting = &led->fled_cdev.brightness; brightness 102 drivers/leds/leds-lm3642.c u8 brightness, enum lm3642_mode opmode) brightness 116 drivers/leds/leds-lm3642.c if (!brightness) brightness 123 drivers/leds/leds-lm3642.c (brightness - 1) << TORCH_I_SHIFT); brightness 132 drivers/leds/leds-lm3642.c (brightness - 1) << FLASH_I_SHIFT); brightness 141 drivers/leds/leds-lm3642.c (brightness - 1) << TORCH_I_SHIFT); brightness 204 drivers/leds/leds-lm3642.c enum led_brightness brightness) brightness 211 drivers/leds/leds-lm3642.c chip->br_torch = brightness; brightness 255 drivers/leds/leds-lm3642.c enum led_brightness brightness) brightness 262 drivers/leds/leds-lm3642.c chip->br_flash = brightness; brightness 270 drivers/leds/leds-lm3642.c enum led_brightness brightness) brightness 277 drivers/leds/leds-lm3642.c chip->br_indicator = brightness; brightness 280 drivers/leds/leds-lp3944.c enum led_brightness brightness) brightness 285 drivers/leds/leds-lp3944.c __func__, led_cdev->name, brightness); brightness 287 drivers/leds/leds-lp3944.c return lp3944_led_set(led, !!brightness); brightness 323 drivers/leds/leds-lp3944.c led->ldev.brightness = brightness 127 drivers/leds/leds-lp3952.c priv->leds[i].cdev.brightness = LED_OFF; brightness 359 drivers/leds/leds-lp5521.c led->brightness); brightness 801 drivers/leds/leds-lp5523.c led->brightness); brightness 327 drivers/leds/leds-lp5562.c ret = lp55xx_write(chip, addr[led->chan_nr], led->brightness); brightness 135 drivers/leds/leds-lp55xx-common.c enum led_brightness brightness) brightness 140 drivers/leds/leds-lp55xx-common.c led->brightness = (u8)brightness; brightness 172 drivers/leds/leds-lp55xx-common.h u8 brightness; brightness 278 drivers/leds/leds-lp8501.c led->brightness); brightness 99 drivers/leds/leds-lt3593.c led_data->cdev.brightness = state ? LED_FULL : LED_OFF; brightness 48 drivers/leds/leds-max77650.c enum led_brightness brightness) brightness 55 drivers/leds/leds-max77650.c if (brightness == LED_OFF) brightness 58 drivers/leds/leds-max77650.c val = MAX77650_LED_ENABLE | brightness; brightness 501 drivers/leds/leds-max77693.c u32 brightness) brightness 508 drivers/leds/leds-max77693.c ret = max77693_set_flash_current(led, sub_led->fled_id, brightness); brightness 801 drivers/leds/leds-max77693.c setting = &fled_cdev->brightness; brightness 256 drivers/leds/leds-max8997.c led->cdev.brightness = 0; brightness 262 drivers/leds/leds-max8997.c u8 mode = 0, brightness = 0; brightness 265 drivers/leds/leds-max8997.c brightness = pdata->led_pdata->brightness[led->id]; brightness 269 drivers/leds/leds-max8997.c if (brightness > led->cdev.max_brightness) brightness 270 drivers/leds/leds-max8997.c brightness = led->cdev.max_brightness; brightness 271 drivers/leds/leds-max8997.c max8997_led_set_current(led, brightness); brightness 272 drivers/leds/leds-max8997.c led->cdev.brightness = brightness; brightness 102 drivers/leds/leds-mlxcpld.c enum led_brightness brightness; brightness 341 drivers/leds/leds-mlxcpld.c cpld->pled[i].cdev.brightness = cpld->profile[i].brightness; brightness 355 drivers/leds/leds-mlxcpld.c if (mlxcpld_led->profile[i].brightness) brightness 357 drivers/leds/leds-mlxcpld.c mlxcpld_led->profile[i].brightness); brightness 190 drivers/leds/leds-mlxreg.c enum led_brightness brightness; brightness 222 drivers/leds/leds-mlxreg.c brightness = LED_OFF; brightness 225 drivers/leds/leds-mlxreg.c brightness = LED_OFF; brightness 228 drivers/leds/leds-mlxreg.c brightness = LED_OFF; brightness 234 drivers/leds/leds-mlxreg.c led_cdev->brightness = brightness; brightness 246 drivers/leds/leds-mlxreg.c if (led_cdev->brightness) brightness 248 drivers/leds/leds-mlxreg.c led_cdev->brightness); brightness 108 drivers/leds/leds-mt6323.c enum led_brightness brightness) brightness 123 drivers/leds/leds-mt6323.c con2_val |= MT6323_ISINK_CH_STEP(brightness - 1) | brightness 188 drivers/leds/leds-mt6323.c enum led_brightness brightness) brightness 221 drivers/leds/leds-mt6323.c ret = mt6323_led_hw_brightness(cdev, brightness); brightness 309 drivers/leds/leds-mt6323.c enum led_brightness brightness) brightness 317 drivers/leds/leds-mt6323.c if (!led->current_brightness && brightness) { brightness 318 drivers/leds/leds-mt6323.c ret = mt6323_led_hw_on(cdev, brightness); brightness 321 drivers/leds/leds-mt6323.c } else if (brightness) { brightness 322 drivers/leds/leds-mt6323.c ret = mt6323_led_hw_brightness(cdev, brightness); brightness 331 drivers/leds/leds-mt6323.c led->current_brightness = brightness; brightness 332 drivers/leds/leds-netxbig.c led_dat->cdev.brightness = LED_OFF; brightness 45 drivers/leds/leds-nic78bx.c enum led_brightness brightness) brightness 54 drivers/leds/leds-nic78bx.c if (brightness) { brightness 223 drivers/leds/leds-ns2.c led_dat->cdev.brightness = brightness 123 drivers/leds/leds-pca9532.c b += data->leds[i].ldev.brightness; brightness 212 drivers/leds/leds-pca9532.c err = pca9532_calcpwm(client, 0, psc, led_cdev->brightness); brightness 387 drivers/leds/leds-pca9532.c led->ldev.brightness = LED_OFF; brightness 119 drivers/leds/leds-pca963x.c enum led_brightness brightness) brightness 129 drivers/leds/leds-pca963x.c switch (brightness) { brightness 142 drivers/leds/leds-pca963x.c brightness); brightness 187 drivers/leds/leds-pca963x.c if (pca963x->led_cdev.brightness) brightness 131 drivers/leds/leds-pm8058.c led->cdev.brightness = pm8058_led_get(&led->cdev); brightness 133 drivers/leds/leds-pm8058.c led->cdev.brightness = maxbright; brightness 136 drivers/leds/leds-pm8058.c led->cdev.brightness = LED_OFF; brightness 228 drivers/leds/leds-powernv.c powernv_led->cdev.brightness = LED_OFF; brightness 48 drivers/leds/leds-pwm.c enum led_brightness brightness) brightness 55 drivers/leds/leds-pwm.c duty *= brightness; brightness 78 drivers/leds/leds-pwm.c led_data->cdev.brightness = LED_OFF; brightness 111 drivers/leds/leds-pwm.c led_pwm_set(&led_data->cdev, led_data->cdev.brightness); brightness 20 drivers/leds/leds-rb532.c enum led_brightness brightness) brightness 22 drivers/leds/leds-rb532.c if (brightness) brightness 49 drivers/leds/leds-regulator.c enum led_brightness brightness) brightness 51 drivers/leds/leds-regulator.c if (brightness == 0) brightness 54 drivers/leds/leds-regulator.c return regulator_list_voltage(supply, brightness - 1); brightness 146 drivers/leds/leds-regulator.c if (pdata->brightness > led->cdev.max_brightness) { brightness 148 drivers/leds/leds-regulator.c pdata->brightness); brightness 170 drivers/leds/leds-regulator.c led->cdev.brightness = pdata->brightness; brightness 173 drivers/leds/leds-regulator.c regulator_led_brightness_set(&led->cdev, led->cdev.brightness); brightness 164 drivers/leds/leds-sc27xx-bltc.c ldev->brightness = LED_OFF; brightness 223 drivers/leds/leds-sc27xx-bltc.c (pattern[1].brightness << SC27XX_DUTY_SHIFT) | brightness 233 drivers/leds/leds-sc27xx-bltc.c ldev->brightness = pattern[1].brightness; brightness 66 drivers/leds/leds-spi-byte.c enum led_brightness brightness) brightness 72 drivers/leds/leds-spi-byte.c value = (u8) brightness + led->cdef->off_value; brightness 111 drivers/leds/leds-spi-byte.c led->ldev.brightness = LED_OFF; brightness 118 drivers/leds/leds-spi-byte.c led->ldev.brightness = led->ldev.max_brightness; brightness 126 drivers/leds/leds-spi-byte.c led->ldev.brightness); brightness 220 drivers/leds/leds-ss4200.c enum led_brightness brightness) brightness 223 drivers/leds/leds-ss4200.c if (brightness >= LED_HALF) brightness 235 drivers/leds/leds-ss4200.c if (brightness == 0) brightness 486 drivers/leds/leds-ss4200.c led->brightness = LED_OFF; brightness 488 drivers/leds/leds-ss4200.c led->brightness = LED_FULL; brightness 147 drivers/leds/leds-sunfire.c lp->brightness = LED_FULL; brightness 151 drivers/leds/leds-tca6507.c static inline int TO_LEVEL(int brightness) brightness 153 drivers/leds/leds-tca6507.c return brightness >> 4; brightness 394 drivers/leds/leds-tca6507.c int level = TO_LEVEL(led->led_cdev.brightness); brightness 401 drivers/leds/leds-tca6507.c led->led_cdev.brightness = TO_BRIGHT(level); brightness 438 drivers/leds/leds-tca6507.c led->led_cdev.brightness = LED_FULL; brightness 448 drivers/leds/leds-tca6507.c led->led_cdev.brightness = TO_BRIGHT(tca->bank[best].level); brightness 527 drivers/leds/leds-tca6507.c led->led_cdev.brightness = TO_BRIGHT(b->level); brightness 558 drivers/leds/leds-tca6507.c enum led_brightness brightness) brightness 562 drivers/leds/leds-tca6507.c led->led_cdev.brightness = brightness; brightness 592 drivers/leds/leds-tca6507.c if (led->led_cdev.brightness == LED_OFF) brightness 593 drivers/leds/leds-tca6507.c led->led_cdev.brightness = LED_FULL; brightness 597 drivers/leds/leds-tca6507.c led->led_cdev.brightness = LED_OFF; brightness 20 drivers/leds/leds-ti-lmu-common.c int brightness) brightness 37 drivers/leds/leds-ti-lmu-common.c brightness); brightness 41 drivers/leds/leds-ti-lmu-common.c val = brightness >> LMU_11BIT_MSB_SHIFT; brightness 43 drivers/leds/leds-ti-lmu-common.c val = brightness; brightness 51 drivers/leds/leds-ti-lmu-common.c int ti_lmu_common_set_brightness(struct ti_lmu_bank *lmu_bank, int brightness) brightness 53 drivers/leds/leds-ti-lmu-common.c return ti_lmu_common_update_brightness(lmu_bank, brightness); brightness 101 drivers/leds/leds-tlc591xx.c u8 brightness) brightness 105 drivers/leds/leds-tlc591xx.c return regmap_write(priv->regmap, pwm, brightness); brightness 110 drivers/leds/leds-tlc591xx.c enum led_brightness brightness) brightness 116 drivers/leds/leds-tlc591xx.c switch ((int)brightness) { brightness 126 drivers/leds/leds-tlc591xx.c err = tlc591xx_set_pwm(priv, led, brightness); brightness 32 drivers/leds/leds-wm831x-status.c enum led_brightness brightness; brightness 55 drivers/leds/leds-wm831x-status.c if (led->brightness != LED_OFF) brightness 73 drivers/leds/leds-wm831x-status.c led->brightness = value; brightness 251 drivers/leds/leds-wm831x-status.c drvdata->brightness = LED_FULL; brightness 253 drivers/leds/leds-wm831x-status.c drvdata->brightness = LED_OFF; brightness 17 drivers/leds/leds.h return led_cdev->brightness; brightness 22 drivers/leds/trigger/ledtrig-backlight.c int brightness; brightness 49 drivers/leds/trigger/ledtrig-backlight.c n->brightness = led->brightness; brightness 52 drivers/leds/trigger/ledtrig-backlight.c led_set_brightness_nosleep(led, n->brightness); brightness 89 drivers/leds/trigger/ledtrig-backlight.c led_set_brightness_nosleep(led, n->brightness); brightness 113 drivers/leds/trigger/ledtrig-backlight.c n->brightness = led->brightness; brightness 37 drivers/leds/trigger/ledtrig-heartbeat.c unsigned long brightness = LED_OFF; brightness 66 drivers/leds/trigger/ledtrig-heartbeat.c brightness = led_cdev->blink_brightness; brightness 72 drivers/leds/trigger/ledtrig-heartbeat.c brightness = led_cdev->blink_brightness; brightness 78 drivers/leds/trigger/ledtrig-heartbeat.c brightness = led_cdev->blink_brightness; brightness 85 drivers/leds/trigger/ledtrig-heartbeat.c brightness = led_cdev->blink_brightness; brightness 89 drivers/leds/trigger/ledtrig-heartbeat.c led_set_brightness_nosleep(led_cdev, brightness); brightness 70 drivers/leds/trigger/ledtrig-netdev.c current_brightness = led_cdev->brightness; brightness 63 drivers/leds/trigger/ledtrig-pattern.c return data->curr->brightness; brightness 65 drivers/leds/trigger/ledtrig-pattern.c step_brightness = abs(data->next->brightness - data->curr->brightness); brightness 68 drivers/leds/trigger/ledtrig-pattern.c if (data->next->brightness > data->curr->brightness) brightness 69 drivers/leds/trigger/ledtrig-pattern.c return data->curr->brightness + step_brightness; brightness 71 drivers/leds/trigger/ledtrig-pattern.c return data->curr->brightness - step_brightness; brightness 82 drivers/leds/trigger/ledtrig-pattern.c if (data->curr->brightness == data->next->brightness) { brightness 85 drivers/leds/trigger/ledtrig-pattern.c data->curr->brightness); brightness 212 drivers/leds/trigger/ledtrig-pattern.c data->patterns[i].brightness, brightness 231 drivers/leds/trigger/ledtrig-pattern.c &data->patterns[data->npatterns].brightness, brightness 251 drivers/leds/trigger/ledtrig-pattern.c data->patterns[data->npatterns].brightness = buf[i]; brightness 33 drivers/leds/uleds.c int brightness; brightness 40 drivers/leds/uleds.c enum led_brightness brightness) brightness 45 drivers/leds/uleds.c if (udev->brightness != brightness) { brightness 46 drivers/leds/uleds.c udev->brightness = brightness; brightness 137 drivers/leds/uleds.c if (count < sizeof(udev->brightness)) brightness 150 drivers/leds/uleds.c retval = copy_to_user(buffer, &udev->brightness, brightness 151 drivers/leds/uleds.c sizeof(udev->brightness)); brightness 153 drivers/leds/uleds.c retval = sizeof(udev->brightness); brightness 75 drivers/macintosh/via-pmu-backlight.c int level = bd->props.brightness; brightness 185 drivers/macintosh/via-pmu-backlight.c bd->props.brightness = level; brightness 51 drivers/macintosh/via-pmu-led.c enum led_brightness brightness) brightness 56 drivers/macintosh/via-pmu-led.c switch (brightness) { brightness 2388 drivers/macintosh/via-pmu.c int brightness; brightness 2390 drivers/macintosh/via-pmu.c brightness = pmac_backlight_get_legacy_brightness(); brightness 2391 drivers/macintosh/via-pmu.c if (brightness < 0) brightness 2392 drivers/macintosh/via-pmu.c return brightness; brightness 2394 drivers/macintosh/via-pmu.c return put_user(brightness, argp); brightness 2399 drivers/macintosh/via-pmu.c int brightness; brightness 2401 drivers/macintosh/via-pmu.c error = get_user(brightness, argp); brightness 2405 drivers/macintosh/via-pmu.c return pmac_backlight_set_legacy_brightness(brightness); brightness 98 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->brightness = 128; brightness 927 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if ((tpg->brightness != 128 || tpg->contrast != 128 || brightness 938 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c y += (tpg->brightness << 4) - (128 << 4); brightness 951 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c } else if ((tpg->brightness != 128 || tpg->contrast != 128) && brightness 954 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c r += (tpg->brightness << 4) - (128 << 4); brightness 63 drivers/media/i2c/m5mols/m5mols.h u32 brightness; brightness 79 drivers/media/i2c/m5mols/m5mols_capture.c &exif->brightness); brightness 209 drivers/media/i2c/ov5640.c struct v4l2_ctrl *brightness; brightness 119 drivers/media/i2c/ov7740.c struct v4l2_ctrl *brightness; brightness 996 drivers/media/i2c/ov7740.c ov7740->brightness = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, brightness 221 drivers/media/i2c/ov9650.c struct v4l2_ctrl *brightness; brightness 802 drivers/media/i2c/ov9650.c v4l2_ctrl_activate(ov965x->ctrls.brightness, !exp); brightness 1025 drivers/media/i2c/ov9650.c ctrls->brightness = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_BRIGHTNESS, brightness 551 drivers/media/pci/cx25821/cx25821-medusa-video.c int medusa_set_brightness(struct cx25821_dev *dev, int brightness, int decoder) brightness 557 drivers/media/pci/cx25821/cx25821-medusa-video.c if ((brightness > VIDEO_PROCAMP_MAX) || brightness 558 drivers/media/pci/cx25821/cx25821-medusa-video.c (brightness < VIDEO_PROCAMP_MIN)) { brightness 561 drivers/media/pci/cx25821/cx25821-medusa-video.c ret_val = mapM(VIDEO_PROCAMP_MIN, VIDEO_PROCAMP_MAX, brightness, brightness 383 drivers/media/pci/cx25821/cx25821.h extern int medusa_set_brightness(struct cx25821_dev *dev, int brightness, brightness 1051 drivers/media/pci/meye/meye.c meye.brightness = ctrl->val << 10; brightness 302 drivers/media/pci/meye/meye.h u16 brightness; brightness 673 drivers/media/platform/atmel/atmel-isc-base.c regmap_write(regmap, ISC_CBC_BRIGHT, ctrls->brightness); brightness 1812 drivers/media/platform/atmel/atmel-isc-base.c ctrls->brightness = ctrl->val & ISC_CBC_BRIGHT_MASK; brightness 1874 drivers/media/platform/atmel/atmel-isc-base.c ctrls->brightness = 0; brightness 126 drivers/media/platform/atmel/atmel-isc.h u32 brightness; brightness 384 drivers/media/platform/exynos4-is/fimc-is-param.c isp->adjust.brightness = val; brightness 394 drivers/media/platform/exynos4-is/fimc-is-param.c isp->adjust.brightness = 0; brightness 577 drivers/media/platform/exynos4-is/fimc-is-param.h s32 brightness; brightness 866 drivers/media/platform/exynos4-is/fimc-is-param.h struct srational brightness; brightness 715 drivers/media/platform/exynos4-is/fimc-isp.c ctrls->brightness = v4l2_ctrl_new_std(handler, ops, V4L2_CID_BRIGHTNESS, brightness 83 drivers/media/platform/exynos4-is/fimc-isp.h struct v4l2_ctrl *brightness; brightness 623 drivers/media/platform/omap3isp/isppreview.c params->brightness << ISPPRV_CNT_BRT_BRT_SHIFT); brightness 655 drivers/media/platform/omap3isp/isppreview.c preview_update_brightness(struct isp_prev_device *prev, u8 brightness) brightness 664 drivers/media/platform/omap3isp/isppreview.c if (params->brightness != (brightness * ISPPRV_BRIGHT_UNITS)) { brightness 665 drivers/media/platform/omap3isp/isppreview.c params->brightness = brightness * ISPPRV_BRIGHT_UNITS; brightness 1314 drivers/media/platform/omap3isp/isppreview.c params->brightness = ISPPRV_BRIGHT_DEF * ISPPRV_BRIGHT_UNITS; brightness 94 drivers/media/platform/omap3isp/isppreview.h u8 brightness; brightness 196 drivers/media/platform/vivid/vivid-core.h struct v4l2_ctrl *brightness; brightness 1496 drivers/media/platform/vivid/vivid-ctrls.c dev->brightness = v4l2_ctrl_new_std(hdl_user_vid, &vivid_user_vid_ctrl_ops, brightness 500 drivers/media/platform/vivid/vivid-kthread-cap.c dev->brightness->cur.val, brightness 1351 drivers/media/platform/vivid/vivid-vid-cap.c unsigned brightness; brightness 1400 drivers/media/platform/vivid/vivid-vid-cap.c brightness = 128 * i + dev->input_brightness[i]; brightness 1401 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_ctrl_modify_range(dev->brightness, brightness 1403 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_ctrl_s_ctrl(dev->brightness, brightness); brightness 70 drivers/media/radio/radio-shark.c atomic_t brightness[NO_LEDS]; brightness 159 drivers/media/radio/radio-shark.c int i, res, brightness, actual_len; brightness 165 drivers/media/radio/radio-shark.c brightness = atomic_read(&shark->brightness[i]); brightness 169 drivers/media/radio/radio-shark.c shark->transfer_buffer[1] = brightness; brightness 171 drivers/media/radio/radio-shark.c shark->transfer_buffer[0] = brightness ? 0xA9 : 0xA8; brightness 188 drivers/media/radio/radio-shark.c atomic_set(&shark->brightness[BLUE_LED], value); brightness 200 drivers/media/radio/radio-shark.c atomic_set(&shark->brightness[BLUE_PULSE_LED], 256 - value); brightness 212 drivers/media/radio/radio-shark.c atomic_set(&shark->brightness[RED_LED], value); brightness 220 drivers/media/radio/radio-shark.c .brightness = LED_OFF, brightness 226 drivers/media/radio/radio-shark.c .brightness = LED_OFF, brightness 232 drivers/media/radio/radio-shark.c .brightness = LED_OFF, brightness 242 drivers/media/radio/radio-shark.c atomic_set(&shark->brightness[BLUE_LED], 127); brightness 66 drivers/media/radio/radio-shark2.c atomic_t brightness[NO_LEDS]; brightness 146 drivers/media/radio/radio-shark2.c int i, res, brightness, actual_len; brightness 152 drivers/media/radio/radio-shark2.c brightness = atomic_read(&shark->brightness[i]); brightness 155 drivers/media/radio/radio-shark2.c shark->transfer_buffer[1] = brightness; brightness 173 drivers/media/radio/radio-shark2.c atomic_set(&shark->brightness[BLUE_LED], value); brightness 184 drivers/media/radio/radio-shark2.c atomic_set(&shark->brightness[RED_LED], value); brightness 192 drivers/media/radio/radio-shark2.c .brightness = LED_OFF, brightness 198 drivers/media/radio/radio-shark2.c .brightness = LED_OFF, brightness 208 drivers/media/radio/radio-shark2.c atomic_set(&shark->brightness[BLUE_LED], 127); brightness 854 drivers/media/rc/redrat3.c led_brightness brightness) brightness 859 drivers/media/rc/redrat3.c if (brightness != LED_OFF && atomic_cmpxchg(&rr3->flash, 0, 1) == 0) { brightness 923 drivers/media/rc/redrat3.c rr3->led.brightness = LED_OFF; brightness 69 drivers/media/rc/ttusbir.c led_brightness brightness) brightness 73 drivers/media/rc/ttusbir.c tt->led_on = brightness != LED_OFF; brightness 273 drivers/media/rc/winbond-cir.c enum led_brightness brightness) brightness 280 drivers/media/rc/winbond-cir.c brightness == LED_OFF ? 0x00 : WBCIR_LED_ENABLE, brightness 268 drivers/media/usb/cpia2/cpia2.h u8 brightness; /* CPIA2_VP_EXPOSURE_TARGET */ brightness 116 drivers/media/usb/go7007/s2250-board.c int brightness; brightness 543 drivers/media/usb/go7007/s2250-board.c state->brightness = 50; brightness 26 drivers/media/usb/gspca/conex.c struct v4l2_ctrl *brightness; brightness 884 drivers/media/usb/gspca/conex.c setbrightness(gspca_dev, sd->brightness->cur.val, ctrl->val); brightness 902 drivers/media/usb/gspca/conex.c sd->brightness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, brightness 260 drivers/media/usb/gspca/cpia1.c u8 brightness; brightness 508 drivers/media/usb/gspca/cpia1.c sd->params.colourParams.brightness = gspca_dev->usb_buf[0]; brightness 598 drivers/media/usb/gspca/cpia1.c static int find_over_exposure(int brightness) brightness 602 drivers/media/usb/gspca/cpia1.c MaxAllowableOverExposure = FLICKER_MAX_EXPOSURE - brightness - brightness 625 drivers/media/usb/gspca/cpia1.c params->colourParams.brightness = BRIGHTNESS_DEF; brightness 674 drivers/media/usb/gspca/cpia1.c find_over_exposure(params->colourParams.brightness); brightness 805 drivers/media/usb/gspca/cpia1.c sd->params.colourParams.brightness, brightness 1160 drivers/media/usb/gspca/cpia1.c light_exp = sd->params.colourParams.brightness + brightness 1164 drivers/media/usb/gspca/cpia1.c dark_exp = sd->params.colourParams.brightness + brightness 1763 drivers/media/usb/gspca/cpia1.c sd->params.colourParams.brightness = ctrl->val; brightness 1765 drivers/media/usb/gspca/cpia1.c find_over_exposure(sd->params.colourParams.brightness); brightness 178 drivers/media/usb/gspca/gl860/gl860-mi1320.c sd->vcur.brightness = 0; brightness 190 drivers/media/usb/gspca/gl860/gl860-mi1320.c sd->vmax.brightness = 8; brightness 255 drivers/media/usb/gspca/gl860/gl860-mi1320.c sd->vold.brightness = -1; brightness 341 drivers/media/usb/gspca/gl860/gl860-mi1320.c s32 bright = sd->vcur.brightness; brightness 404 drivers/media/usb/gspca/gl860/gl860-mi1320.c if (bright != sd->vold.brightness) { brightness 405 drivers/media/usb/gspca/gl860/gl860-mi1320.c sd->vold.brightness = bright; brightness 406 drivers/media/usb/gspca/gl860/gl860-mi1320.c if (bright < 0 || bright > sd->vmax.brightness) brightness 356 drivers/media/usb/gspca/gl860/gl860-mi2020.c sd->vcur.brightness = 70; brightness 368 drivers/media/usb/gspca/gl860/gl860-mi2020.c sd->vmax.brightness = 128; brightness 426 drivers/media/usb/gspca/gl860/gl860-mi2020.c sd->vold.brightness = -1; brightness 627 drivers/media/usb/gspca/gl860/gl860-mi2020.c s32 bright = sd->vcur.brightness; brightness 720 drivers/media/usb/gspca/gl860/gl860-mi2020.c if (bright != sd->vold.brightness) { brightness 721 drivers/media/usb/gspca/gl860/gl860-mi2020.c sd->vold.brightness = bright; brightness 722 drivers/media/usb/gspca/gl860/gl860-mi2020.c if (bright < 0 || bright > sd->vmax.brightness) brightness 176 drivers/media/usb/gspca/gl860/gl860-ov2640.c sd->vcur.brightness = 0; brightness 187 drivers/media/usb/gspca/gl860/gl860-ov2640.c sd->vmax.brightness = 255; brightness 240 drivers/media/usb/gspca/gl860/gl860-ov2640.c sd->vold.brightness = -1; brightness 340 drivers/media/usb/gspca/gl860/gl860-ov2640.c s32 bright = sd->vcur.brightness; brightness 363 drivers/media/usb/gspca/gl860/gl860-ov2640.c if (bright != sd->vold.brightness) { brightness 364 drivers/media/usb/gspca/gl860/gl860-ov2640.c sd->vold.brightness = bright; brightness 365 drivers/media/usb/gspca/gl860/gl860-ov2640.c if (bright < 0 || bright > sd->vmax.brightness) brightness 146 drivers/media/usb/gspca/gl860/gl860-ov9655.c sd->vcur.brightness = 128; brightness 155 drivers/media/usb/gspca/gl860/gl860-ov9655.c sd->vmax.brightness = 255; brightness 189 drivers/media/usb/gspca/gl860/gl860-ov9655.c sd->vold.brightness = -1; brightness 300 drivers/media/usb/gspca/gl860/gl860-ov9655.c s32 bright = sd->vcur.brightness; brightness 303 drivers/media/usb/gspca/gl860/gl860-ov9655.c if (bright != sd->vold.brightness) { brightness 304 drivers/media/usb/gspca/gl860/gl860-ov9655.c sd->vold.brightness = bright; brightness 305 drivers/media/usb/gspca/gl860/gl860-ov9655.c if (bright < 0 || bright > sd->vmax.brightness) brightness 57 drivers/media/usb/gspca/gl860/gl860.c sd->vcur.brightness = ctrl->val; brightness 111 drivers/media/usb/gspca/gl860/gl860.c if (sd->vmax.brightness) brightness 113 drivers/media/usb/gspca/gl860/gl860.c 0, sd->vmax.brightness, 1, brightness 114 drivers/media/usb/gspca/gl860/gl860.c sd->vcur.brightness); brightness 35 drivers/media/usb/gspca/gl860/gl860.h u16 brightness; brightness 26 drivers/media/usb/gspca/mars.c struct v4l2_ctrl *brightness; brightness 197 drivers/media/usb/gspca/mars.c sd->brightness = v4l2_ctrl_new_std(hdl, &mars_ctrl_ops, brightness 300 drivers/media/usb/gspca/mars.c data[4] = v4l2_ctrl_g_ctrl(sd->brightness); /* reg 0x61 = brightness */ brightness 61 drivers/media/usb/gspca/ov519.c struct v4l2_ctrl *brightness; brightness 4855 drivers/media/usb/gspca/ov519.c if (!ctrl->val && sd->brightness->is_new) brightness 4856 drivers/media/usb/gspca/ov519.c setbrightness(gspca_dev, sd->brightness->val); brightness 4889 drivers/media/usb/gspca/ov519.c sd->brightness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, brightness 54 drivers/media/usb/gspca/ov534.c struct v4l2_ctrl *brightness; brightness 1261 drivers/media/usb/gspca/ov534.c sd->brightness = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, brightness 1426 drivers/media/usb/gspca/ov534.c setbrightness(gspca_dev, v4l2_ctrl_g_ctrl(sd->brightness)); brightness 1255 drivers/media/usb/gspca/ov534_9.c static void setbrightness(struct gspca_dev *gspca_dev, s32 brightness) brightness 1262 drivers/media/usb/gspca/ov534_9.c sval = brightness; brightness 1277 drivers/media/usb/gspca/ov534_9.c val = brightness; brightness 53 drivers/media/usb/gspca/pac207.c struct v4l2_ctrl *brightness; brightness 253 drivers/media/usb/gspca/pac207.c sd->brightness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, brightness 293 drivers/media/usb/gspca/pac207.c pac207_write_reg(gspca_dev, 0x08, v4l2_ctrl_g_ctrl(sd->brightness)); brightness 103 drivers/media/usb/gspca/pac7302.c struct v4l2_ctrl *brightness; brightness 383 drivers/media/usb/gspca/pac7302.c v += (sd->brightness->val - (s32)sd->brightness->maximum) brightness 384 drivers/media/usb/gspca/pac7302.c * 150 / (s32)sd->brightness->maximum; /* 200 ? */ brightness 639 drivers/media/usb/gspca/pac7302.c sd->brightness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, brightness 682 drivers/media/usb/gspca/pac7302.c v4l2_ctrl_cluster(2, &sd->brightness); brightness 698 drivers/media/usb/gspca/pac7302.c atomic_set(&sd->avg_lum, 270 + sd->brightness->val); brightness 737 drivers/media/usb/gspca/pac7302.c desired_lum = 270 + sd->brightness->val; brightness 59 drivers/media/usb/gspca/sn9c20x.c struct v4l2_ctrl *brightness; brightness 1292 drivers/media/usb/gspca/sn9c20x.c s32 brightness, s32 contrast, s32 satur, s32 hue) brightness 1301 drivers/media/usb/gspca/sn9c20x.c cmatrix[18] = brightness - 0x80; brightness 1670 drivers/media/usb/gspca/sn9c20x.c set_cmatrix(gspca_dev, sd->brightness->val, brightness 1718 drivers/media/usb/gspca/sn9c20x.c sd->brightness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, brightness 1765 drivers/media/usb/gspca/sn9c20x.c v4l2_ctrl_cluster(4, &sd->brightness); brightness 2028 drivers/media/usb/gspca/sn9c20x.c set_cmatrix(gspca_dev, v4l2_ctrl_g_ctrl(sd->brightness), brightness 50 drivers/media/usb/gspca/sonixb.c struct v4l2_ctrl *brightness; brightness 545 drivers/media/usb/gspca/sonixb.c i2cOV[3] = sd->brightness->val; brightness 562 drivers/media/usb/gspca/sonixb.c if (sd->brightness->val < 127) { brightness 566 drivers/media/usb/gspca/sonixb.c i2cpbright[4] = 127 - sd->brightness->val; brightness 568 drivers/media/usb/gspca/sonixb.c i2cpbright[4] = sd->brightness->val - 127; brightness 900 drivers/media/usb/gspca/sonixb.c if (sd->brightness) brightness 901 drivers/media/usb/gspca/sonixb.c desired_avg_lum = sd->brightness->val * desired_avg_lum / 127; brightness 1008 drivers/media/usb/gspca/sonixb.c sd->brightness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, brightness 26 drivers/media/usb/gspca/sonixj.c struct v4l2_ctrl *brightness; brightness 1625 drivers/media/usb/gspca/sonixj.c sd->brightness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, brightness 1801 drivers/media/usb/gspca/sonixj.c int brightness = sd->brightness->val; brightness 1804 drivers/media/usb/gspca/sonixj.c k2 = (brightness - 0x80) >> 2; brightness 1811 drivers/media/usb/gspca/sonixj.c expo = brightness << 12; brightness 1820 drivers/media/usb/gspca/sonixj.c expo = brightness << 4; brightness 1824 drivers/media/usb/gspca/sonixj.c expo = brightness << 2; brightness 1828 drivers/media/usb/gspca/sonixj.c expo = brightness; brightness 1832 drivers/media/usb/gspca/sonixj.c expo = brightness << 2; brightness 1836 drivers/media/usb/gspca/sonixj.c expo = brightness << 2; brightness 23 drivers/media/usb/gspca/spca501.c __u8 brightness; brightness 617 drivers/media/usb/gspca/spca505.c static void setbrightness(struct gspca_dev *gspca_dev, s32 brightness) brightness 619 drivers/media/usb/gspca/spca505.c reg_write(gspca_dev, 0x05, 0x00, (255 - brightness) >> 6); brightness 620 drivers/media/usb/gspca/spca505.c reg_write(gspca_dev, 0x05, 0x01, (255 - brightness) << 2); brightness 1436 drivers/media/usb/gspca/spca508.c static void setbrightness(struct gspca_dev *gspca_dev, s32 brightness) brightness 1439 drivers/media/usb/gspca/spca508.c reg_write(gspca_dev, 0x8651, brightness); brightness 1440 drivers/media/usb/gspca/spca508.c reg_write(gspca_dev, 0x8652, brightness); brightness 1441 drivers/media/usb/gspca/spca508.c reg_write(gspca_dev, 0x8653, brightness); brightness 1442 drivers/media/usb/gspca/spca508.c reg_write(gspca_dev, 0x8654, brightness); brightness 448 drivers/media/usb/gspca/t613.c static void setbrightness(struct gspca_dev *gspca_dev, s32 brightness) brightness 452 drivers/media/usb/gspca/t613.c if (brightness < 7) { brightness 454 drivers/media/usb/gspca/t613.c set6[3] = 0x70 - brightness * 0x10; brightness 456 drivers/media/usb/gspca/t613.c set6[3] = 0x00 + ((brightness - 7) * 0x10); brightness 30 drivers/media/usb/gspca/zc3xx.c struct v4l2_ctrl *brightness; brightness 5710 drivers/media/usb/gspca/zc3xx.c s32 gamma, s32 brightness, s32 contrast) brightness 5739 drivers/media/usb/gspca/zc3xx.c brightness -= 128; /* -128 / 92 */ brightness 5743 drivers/media/usb/gspca/zc3xx.c g = Tgamma[i] + delta_b[i] * brightness / 256 brightness 6389 drivers/media/usb/gspca/zc3xx.c sd->brightness->val, sd->contrast->val); brightness 6443 drivers/media/usb/gspca/zc3xx.c sd->brightness = v4l2_ctrl_new_std(hdl, &zcxx_ctrl_ops, brightness 6784 drivers/media/usb/gspca/zc3xx.c v4l2_ctrl_g_ctrl(sd->brightness), brightness 170 drivers/media/usb/hdpvr/hdpvr-control.c hdpvr_config_call(dev, CTRL_BRIGHTNESS, dev->options.brightness); brightness 145 drivers/media/usb/hdpvr/hdpvr-core.c dev->options.brightness = 0x80; brightness 257 drivers/media/usb/hdpvr/hdpvr-core.c .brightness = 0x86, brightness 906 drivers/media/usb/hdpvr/hdpvr-video.c dev->options.brightness = ctrl->val; brightness 55 drivers/media/usb/hdpvr/hdpvr.h u8 brightness; brightness 350 drivers/media/usb/pvrusb2/pvrusb2-hdw-internal.h VCREATE_DATA(brightness); brightness 971 drivers/media/usb/pvrusb2/pvrusb2-hdw.c VCREATE_FUNCS(brightness) brightness 996 drivers/media/usb/pvrusb2/pvrusb2-hdw.c DEFREF(brightness), brightness 2872 drivers/media/usb/pvrusb2/pvrusb2-hdw.c PVR2_SUBDEV_SET_CONTROL(hdw, V4L2_CID_BRIGHTNESS, brightness); brightness 165 drivers/media/usb/pwc/pwc-v4l.c pdev->brightness = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, brightness 286 drivers/media/usb/pwc/pwc.h struct v4l2_ctrl *brightness; brightness 202 drivers/media/usb/usbvision/usbvision-video.c static DEVICE_ATTR(brightness, S_IRUGO, show_brightness, NULL); brightness 62 drivers/media/v4l2-core/v4l2-flash-led-class.c enum led_brightness brightness) brightness 74 drivers/media/v4l2-core/v4l2-flash-led-class.c --brightness; brightness 76 drivers/media/v4l2-core/v4l2-flash-led-class.c return (brightness * ctrl->step) + ctrl->minimum; brightness 83 drivers/media/v4l2-core/v4l2-flash-led-class.c enum led_brightness brightness; brightness 86 drivers/media/v4l2-core/v4l2-flash-led-class.c brightness = call_flash_op(v4l2_flash, brightness 90 drivers/media/v4l2-core/v4l2-flash-led-class.c brightness = __intensity_to_led_brightness(ctrl, ctrl->val); brightness 101 drivers/media/v4l2-core/v4l2-flash-led-class.c brightness); brightness 108 drivers/media/v4l2-core/v4l2-flash-led-class.c brightness); brightness 111 drivers/media/v4l2-core/v4l2-flash-led-class.c brightness); brightness 143 drivers/media/v4l2-core/v4l2-flash-led-class.c led_cdev->brightness); brightness 146 drivers/media/v4l2-core/v4l2-flash-led-class.c led_cdev->brightness); brightness 170 drivers/media/v4l2-core/v4l2-flash-led-class.c c->val = fled_cdev->brightness.val; brightness 396 drivers/media/v4l2-core/v4l2-flash-led-class.c __lfs_to_v4l2_ctrl_config(&fled_cdev->brightness, ctrl_cfg); brightness 125 drivers/mfd/lm3533-ctrlbank.c lm3533_ctrlbank_set(brightness, BRIGHTNESS); brightness 126 drivers/mfd/lm3533-ctrlbank.c lm3533_ctrlbank_get(brightness, BRIGHTNESS); brightness 1075 drivers/mmc/host/au1xmmc.c led->brightness = LED_OFF; brightness 1272 drivers/mmc/host/rtsx_usb_sdmmc.c enum led_brightness brightness) brightness 1280 drivers/mmc/host/rtsx_usb_sdmmc.c host->led.brightness = brightness; brightness 1296 drivers/mmc/host/rtsx_usb_sdmmc.c if (host->led.brightness == LED_OFF) brightness 1366 drivers/mmc/host/rtsx_usb_sdmmc.c host->led.brightness = LED_OFF; brightness 370 drivers/mmc/host/sdhci.c enum led_brightness brightness) brightness 380 drivers/mmc/host/sdhci.c if (brightness == LED_OFF) brightness 399 drivers/mmc/host/sdhci.c host->led.brightness = LED_OFF; brightness 114 drivers/net/wireless/ath/ath5k/led.c enum led_brightness brightness) brightness 119 drivers/net/wireless/ath/ath5k/led.c if (brightness == LED_OFF) brightness 52 drivers/net/wireless/ath/ath9k/gpio.c enum led_brightness brightness) brightness 55 drivers/net/wireless/ath/ath9k/gpio.c u32 val = (brightness == LED_OFF); brightness 514 drivers/net/wireless/ath/ath9k/htc.h enum led_brightness brightness; brightness 233 drivers/net/wireless/ath/ath9k/htc_drv_gpio.c (priv->brightness == LED_OFF)); brightness 237 drivers/net/wireless/ath/ath9k/htc_drv_gpio.c enum led_brightness brightness) brightness 244 drivers/net/wireless/ath/ath9k/htc_drv_gpio.c priv->brightness = brightness; brightness 107 drivers/net/wireless/ath/carl9170/led.c enum led_brightness brightness) brightness 115 drivers/net/wireless/ath/carl9170/led.c if (arl->last_state != !!brightness) { brightness 117 drivers/net/wireless/ath/carl9170/led.c arl->last_state = !!brightness; brightness 135 drivers/net/wireless/ath/carl9170/led.c ar->leds[i].l.brightness = 0; brightness 97 drivers/net/wireless/broadcom/b43/leds.c enum led_brightness brightness) brightness 103 drivers/net/wireless/broadcom/b43/leds.c atomic_set(&led->state, brightness); brightness 57 drivers/net/wireless/broadcom/b43legacy/leds.c enum led_brightness brightness) brightness 69 drivers/net/wireless/broadcom/b43legacy/leds.c if (brightness == LED_OFF || !radio_enabled) brightness 37 drivers/net/wireless/broadcom/brcm80211/brcmsmac/led.c enum led_brightness brightness) brightness 41 drivers/net/wireless/broadcom/brcm80211/brcmsmac/led.c brcms_radio_led_ctrl(wl, brightness); brightness 513 drivers/net/wireless/intel/iwlegacy/common.c enum led_brightness brightness) brightness 518 drivers/net/wireless/intel/iwlegacy/common.c if (brightness > 0) brightness 137 drivers/net/wireless/intel/iwlwifi/dvm/led.c enum led_brightness brightness) brightness 143 drivers/net/wireless/intel/iwlwifi/dvm/led.c if (brightness > 0) brightness 103 drivers/net/wireless/intel/iwlwifi/mvm/led.c enum led_brightness brightness) brightness 107 drivers/net/wireless/intel/iwlwifi/mvm/led.c iwl_mvm_led_set(mvm, brightness > 0); brightness 165 drivers/net/wireless/intel/iwlwifi/mvm/led.c iwl_mvm_led_set(mvm, mvm->led.brightness > 0); brightness 46 drivers/net/wireless/intersil/p54/led.c if (priv->leds[i].led_dev.brightness == LED_OFF) brightness 50 drivers/net/wireless/intersil/p54/led.c !!priv->leds[i].led_dev.brightness; brightness 65 drivers/net/wireless/intersil/p54/led.c enum led_brightness brightness) brightness 75 drivers/net/wireless/intersil/p54/led.c if ((brightness) && (led->registered)) { brightness 397 drivers/net/wireless/mediatek/mt76/mt7603/init.c enum led_brightness brightness) brightness 402 drivers/net/wireless/mediatek/mt76/mt7603/init.c if (!brightness) brightness 132 drivers/net/wireless/mediatek/mt76/mt76x02_util.c enum led_brightness brightness) brightness 137 drivers/net/wireless/mediatek/mt76/mt76x02_util.c if (!brightness) brightness 203 drivers/net/wireless/ralink/rt2x00/rt2400pci.c enum led_brightness brightness) brightness 207 drivers/net/wireless/ralink/rt2x00/rt2400pci.c unsigned int enabled = brightness != LED_OFF; brightness 203 drivers/net/wireless/ralink/rt2x00/rt2500pci.c enum led_brightness brightness) brightness 207 drivers/net/wireless/ralink/rt2x00/rt2500pci.c unsigned int enabled = brightness != LED_OFF; brightness 266 drivers/net/wireless/ralink/rt2x00/rt2500usb.c enum led_brightness brightness) brightness 270 drivers/net/wireless/ralink/rt2x00/rt2500usb.c unsigned int enabled = brightness != LED_OFF; brightness 1507 drivers/net/wireless/ralink/rt2x00/rt2800lib.c enum led_brightness brightness) brightness 1511 drivers/net/wireless/ralink/rt2x00/rt2800lib.c unsigned int enabled = brightness != LED_OFF; brightness 1560 drivers/net/wireless/ralink/rt2x00/rt2800lib.c (1 << brightness / (LED_FULL / 6)) - 1, brightness 22 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c unsigned int brightness; brightness 55 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c brightness = ((LED_FULL / 6) * rssi) + 1; brightness 56 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c if (brightness != led->led_dev.brightness) { brightness 57 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c led->led_dev.brightness_set(&led->led_dev, brightness); brightness 58 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c led->led_dev.brightness = brightness; brightness 64 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c unsigned int brightness = enabled ? LED_FULL : LED_OFF; brightness 69 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c led->led_dev.brightness_set(&led->led_dev, brightness); brightness 70 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c led->led_dev.brightness = brightness; brightness 99 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c led->led_dev.brightness = LED_OFF; brightness 203 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c led->led_dev.brightness = LED_OFF; brightness 222 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c led->led_dev.brightness = LED_OFF; brightness 241 drivers/net/wireless/ralink/rt2x00/rt61pci.c enum led_brightness brightness) brightness 245 drivers/net/wireless/ralink/rt2x00/rt61pci.c unsigned int enabled = brightness != LED_OFF; brightness 274 drivers/net/wireless/ralink/rt2x00/rt61pci.c brightness / (LED_FULL / 6), 0); brightness 186 drivers/net/wireless/ralink/rt2x00/rt73usb.c enum led_brightness brightness) brightness 190 drivers/net/wireless/ralink/rt2x00/rt73usb.c unsigned int enabled = brightness != LED_OFF; brightness 219 drivers/net/wireless/ralink/rt2x00/rt73usb.c brightness / (LED_FULL / 6), brightness 100 drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c enum led_brightness brightness) brightness 112 drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c if (brightness == LED_FULL) { brightness 121 drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c if (brightness == LED_OFF) { brightness 534 drivers/platform/chrome/cros_ec_lightbar.c static DEVICE_ATTR_WO(brightness); brightness 24 drivers/platform/chrome/cros_kbd_led_backlight.c enum led_brightness brightness) brightness 31 drivers/platform/chrome/cros_kbd_led_backlight.c param.integer.value = brightness; brightness 45 drivers/platform/chrome/cros_kbd_led_backlight.c unsigned long long brightness; brightness 49 drivers/platform/chrome/cros_kbd_led_backlight.c NULL, &brightness); brightness 56 drivers/platform/chrome/cros_kbd_led_backlight.c return brightness; brightness 235 drivers/platform/x86/acer-wmi.c static int brightness = -1; brightness 244 drivers/platform/x86/acer-wmi.c module_param(brightness, int, 0444); brightness 249 drivers/platform/x86/acer-wmi.c MODULE_PARM_DESC(brightness, "Set initial LCD backlight brightness"); brightness 257 drivers/platform/x86/acer-wmi.c int brightness; brightness 297 drivers/platform/x86/acer-wmi.c s8 brightness; brightness 311 drivers/platform/x86/acer-wmi.c if (quirks->brightness) brightness 325 drivers/platform/x86/acer-wmi.c .brightness = -1, brightness 750 drivers/platform/x86/acer-wmi.c switch (quirks->brightness) { brightness 792 drivers/platform/x86/acer-wmi.c switch (quirks->brightness) { brightness 926 drivers/platform/x86/acer-wmi.c if (quirks->brightness >= 0) brightness 1402 drivers/platform/x86/acer-wmi.c if (brightness >= 0) brightness 1403 drivers/platform/x86/acer-wmi.c set_u32(brightness, ACER_CAP_BRIGHTNESS); brightness 1445 drivers/platform/x86/acer-wmi.c int intensity = bd->props.brightness; brightness 1481 drivers/platform/x86/acer-wmi.c bd->props.brightness = read_brightness(bd); brightness 2063 drivers/platform/x86/acer-wmi.c data->brightness = value; brightness 2080 drivers/platform/x86/acer-wmi.c set_u32(data->brightness, ACER_CAP_BRIGHTNESS); brightness 207 drivers/platform/x86/alienware-wmi.c u8 brightness; brightness 299 drivers/platform/x86/alienware-wmi.c legacy_args.brightness = global_brightness; brightness 353 drivers/platform/x86/alienware-wmi.c static int wmax_brightness(int brightness) brightness 359 drivers/platform/x86/alienware-wmi.c .percentage = brightness, brightness 371 drivers/platform/x86/alienware-wmi.c enum led_brightness brightness) brightness 374 drivers/platform/x86/alienware-wmi.c global_brightness = brightness; brightness 376 drivers/platform/x86/alienware-wmi.c ret = wmax_brightness(brightness); brightness 294 drivers/platform/x86/apple-gmux.c u32 brightness = bd->props.brightness; brightness 299 drivers/platform/x86/apple-gmux.c gmux_write32(gmux_data, GMUX_PORT_BRIGHTNESS, brightness); brightness 691 drivers/platform/x86/apple-gmux.c bdev->props.brightness = gmux_get_brightness(bdev); brightness 574 drivers/platform/x86/asus-laptop.c return led_cdev->brightness; brightness 784 drivers/platform/x86/asus-laptop.c int value = bd->props.brightness; brightness 797 drivers/platform/x86/asus-laptop.c int old = bd->props.brightness; brightness 827 drivers/platform/x86/asus-laptop.c bd->props.brightness = asus_read_brightness(bd); brightness 1778 drivers/platform/x86/asus-wmi.c if ((asus->driver->brightness < bd->props.brightness) || brightness 1779 drivers/platform/x86/asus-wmi.c bd->props.brightness == bd->props.max_brightness) brightness 1781 drivers/platform/x86/asus-wmi.c else if ((asus->driver->brightness > bd->props.brightness) || brightness 1782 drivers/platform/x86/asus-wmi.c bd->props.brightness == 0) brightness 1785 drivers/platform/x86/asus-wmi.c asus->driver->brightness = bd->props.brightness; brightness 1813 drivers/platform/x86/asus-wmi.c ctrl_param = bd->props.brightness; brightness 1829 drivers/platform/x86/asus-wmi.c int old = bd->props.brightness; brightness 1837 drivers/platform/x86/asus-wmi.c bd->props.brightness = new; brightness 1877 drivers/platform/x86/asus-wmi.c bd->props.brightness = read_brightness(bd); brightness 1881 drivers/platform/x86/asus-wmi.c asus->driver->brightness = bd->props.brightness; brightness 51 drivers/platform/x86/asus-wmi.h int brightness; brightness 814 drivers/platform/x86/classmate-laptop.c unsigned long long brightness; brightness 817 drivers/platform/x86/classmate-laptop.c status = cmpc_get_brightness(handle, &brightness); brightness 819 drivers/platform/x86/classmate-laptop.c return brightness; brightness 830 drivers/platform/x86/classmate-laptop.c status = cmpc_set_brightness(handle, bd->props.brightness); brightness 323 drivers/platform/x86/compal-laptop.c int ret = set_backlight_level(b->props.brightness); brightness 912 drivers/platform/x86/dell-laptop.c token->location, bd->props.brightness, 0, 0); brightness 2137 drivers/platform/x86/dell-laptop.c enum led_brightness brightness) brightness 2141 drivers/platform/x86/dell-laptop.c int state = brightness != LED_OFF; brightness 2207 drivers/platform/x86/dell-laptop.c micmute_led_cdev.brightness = ledtrig_audio_get(LED_AUDIO_MICMUTE); brightness 2243 drivers/platform/x86/dell-laptop.c dell_backlight_device->props.brightness = brightness 2245 drivers/platform/x86/dell-laptop.c if (dell_backlight_device->props.brightness < 0) { brightness 2246 drivers/platform/x86/dell-laptop.c ret = dell_backlight_device->props.brightness; brightness 157 drivers/platform/x86/dell-wmi-led.c .brightness = LED_OFF, brightness 1106 drivers/platform/x86/eeepc-laptop.c return set_brightness(bd, bd->props.brightness); brightness 1117 drivers/platform/x86/eeepc-laptop.c int old = bd->props.brightness; brightness 1141 drivers/platform/x86/eeepc-laptop.c bd->props.brightness = read_brightness(bd); brightness 264 drivers/platform/x86/fujitsu-laptop.c return set_lcd_level(device, b->props.brightness); brightness 368 drivers/platform/x86/fujitsu-laptop.c .brightness = priv->brightness_level, brightness 581 drivers/platform/x86/fujitsu-laptop.c enum led_brightness brightness) brightness 587 drivers/platform/x86/fujitsu-laptop.c if (brightness < LED_HALF) brightness 590 drivers/platform/x86/fujitsu-laptop.c if (brightness < LED_FULL) brightness 617 drivers/platform/x86/fujitsu-laptop.c enum led_brightness brightness) brightness 621 drivers/platform/x86/fujitsu-laptop.c if (brightness >= LED_FULL) brightness 632 drivers/platform/x86/fujitsu-laptop.c enum led_brightness brightness = LED_OFF; brightness 636 drivers/platform/x86/fujitsu-laptop.c brightness = LED_FULL; brightness 638 drivers/platform/x86/fujitsu-laptop.c return brightness; brightness 642 drivers/platform/x86/fujitsu-laptop.c enum led_brightness brightness) brightness 646 drivers/platform/x86/fujitsu-laptop.c if (brightness >= LED_FULL) brightness 657 drivers/platform/x86/fujitsu-laptop.c enum led_brightness brightness = LED_OFF; brightness 660 drivers/platform/x86/fujitsu-laptop.c brightness = LED_FULL; brightness 662 drivers/platform/x86/fujitsu-laptop.c return brightness; brightness 666 drivers/platform/x86/fujitsu-laptop.c enum led_brightness brightness) brightness 672 drivers/platform/x86/fujitsu-laptop.c if (brightness >= LED_FULL) brightness 683 drivers/platform/x86/fujitsu-laptop.c enum led_brightness brightness = LED_OFF; brightness 686 drivers/platform/x86/fujitsu-laptop.c brightness = LED_FULL; brightness 688 drivers/platform/x86/fujitsu-laptop.c return brightness; brightness 55 drivers/platform/x86/hp_accel.c enum led_brightness brightness) brightness 59 drivers/platform/x86/hp_accel.c data->new_brightness = brightness; brightness 48 drivers/platform/x86/huawei-wmi.c enum led_brightness brightness) brightness 63 drivers/platform/x86/huawei-wmi.c args[2].integer.value = brightness ? 1 : 0; brightness 66 drivers/platform/x86/huawei-wmi.c args[2].integer.value = brightness ? 0 : 1; brightness 97 drivers/platform/x86/huawei-wmi.c priv->cdev.brightness = ledtrig_audio_get(LED_AUDIO_MICMUTE); brightness 784 drivers/platform/x86/ideapad-laptop.c blightdev->props.brightness)) brightness 825 drivers/platform/x86/ideapad-laptop.c blightdev->props.brightness = now; brightness 216 drivers/platform/x86/intel_oaktrail.c u8 percent = (u8) b->props.brightness; brightness 252 drivers/platform/x86/intel_oaktrail.c bd->props.brightness = get_backlight_brightness(bd); brightness 521 drivers/platform/x86/lg-laptop.c enum led_brightness brightness) brightness 525 drivers/platform/x86/lg-laptop.c r = lg_wmab(WM_TLED, WM_SET, brightness > LED_OFF); brightness 537 drivers/platform/x86/lg-laptop.c enum led_brightness brightness) brightness 543 drivers/platform/x86/lg-laptop.c if (brightness <= LED_OFF) brightness 545 drivers/platform/x86/lg-laptop.c if (brightness >= LED_FULL) brightness 295 drivers/platform/x86/msi-laptop.c return set_lcd_level(b->props.brightness); brightness 158 drivers/platform/x86/msi-wmi.c int bright = bd->props.brightness; brightness 247 drivers/platform/x86/msi-wmi.c backlight->props.brightness = err; brightness 319 drivers/platform/x86/panasonic-laptop.c int bright = bd->props.brightness; brightness 599 drivers/platform/x86/panasonic-laptop.c pcc->backlight->props.brightness = pcc->sinf[SINF_AC_CUR_BRIGHT]; brightness 565 drivers/platform/x86/samsung-laptop.c set_brightness(samsung, bd->props.brightness); brightness 1096 drivers/platform/x86/samsung-laptop.c static int kbd_backlight_write(struct samsung_laptop *samsung, int brightness) brightness 1102 drivers/platform/x86/samsung-laptop.c data.d0 = 0x82 | ((brightness & 0xFF) << 8); brightness 1204 drivers/platform/x86/samsung-laptop.c samsung->backlight_device->props.brightness = read_brightness(samsung); brightness 36 drivers/platform/x86/samsung-q10.c for (i = 0; i < bd->props.brightness; i++) { brightness 1026 drivers/platform/x86/sony-laptop.c int arg = bd->props.brightness + 1; brightness 1057 drivers/platform/x86/sony-laptop.c value = bd->props.brightness + sdev->offset; brightness 3155 drivers/platform/x86/sony-laptop.c sony_bl_props.dev->props.brightness = brightness 4173 drivers/platform/x86/sony-laptop.c sony_bl_props.dev->props.brightness = brightness 5380 drivers/platform/x86/thinkpad_acpi.c enum led_brightness brightness) brightness 5382 drivers/platform/x86/thinkpad_acpi.c return kbdlight_set_level(brightness); brightness 5450 drivers/platform/x86/thinkpad_acpi.c led_cdev->brightness = level; brightness 5568 drivers/platform/x86/thinkpad_acpi.c enum led_brightness brightness) brightness 5570 drivers/platform/x86/thinkpad_acpi.c return light_set_status((brightness != LED_OFF) ? brightness 5898 drivers/platform/x86/thinkpad_acpi.c enum led_brightness brightness) brightness 5904 drivers/platform/x86/thinkpad_acpi.c if (brightness == LED_OFF) brightness 6805 drivers/platform/x86/thinkpad_acpi.c bd->props.brightness : 0; brightness 7037 drivers/platform/x86/thinkpad_acpi.c props.brightness = b & TP_EC_BACKLIGHT_LVLMSK; brightness 9234 drivers/platform/x86/thinkpad_acpi.c enum led_brightness brightness) brightness 9236 drivers/platform/x86/thinkpad_acpi.c return tpacpi_led_set(LED_AUDIO_MUTE, brightness != LED_OFF); brightness 9240 drivers/platform/x86/thinkpad_acpi.c enum led_brightness brightness) brightness 9242 drivers/platform/x86/thinkpad_acpi.c return tpacpi_led_set(LED_AUDIO_MICMUTE, brightness != LED_OFF); brightness 9272 drivers/platform/x86/thinkpad_acpi.c mute_led_cdev[i].brightness = ledtrig_audio_get(i); brightness 9845 drivers/platform/x86/thinkpad_acpi.c enum led_brightness brightness; brightness 9853 drivers/platform/x86/thinkpad_acpi.c brightness = kbdlight_sysfs_get(NULL); brightness 9854 drivers/platform/x86/thinkpad_acpi.c if (kbdlight_brightness != brightness) { brightness 9855 drivers/platform/x86/thinkpad_acpi.c kbdlight_brightness = brightness; brightness 9857 drivers/platform/x86/thinkpad_acpi.c &tpacpi_led_kbdlight.led_classdev, brightness); brightness 10390 drivers/platform/x86/thinkpad_acpi.c TPACPI_PARAM(brightness); brightness 40 drivers/platform/x86/topstar-laptop.c return led->brightness; brightness 480 drivers/platform/x86/toshiba_acpi.c enum led_brightness brightness) brightness 492 drivers/platform/x86/toshiba_acpi.c state = brightness ? 1 : 0; brightness 619 drivers/platform/x86/toshiba_acpi.c enum led_brightness brightness) brightness 627 drivers/platform/x86/toshiba_acpi.c state = brightness ? 1 : 0; brightness 730 drivers/platform/x86/toshiba_acpi.c enum led_brightness brightness) brightness 739 drivers/platform/x86/toshiba_acpi.c in[2] = (brightness) ? 1 : 0; brightness 1321 drivers/platform/x86/toshiba_acpi.c int brightness = 0; brightness 1332 drivers/platform/x86/toshiba_acpi.c brightness++; brightness 1342 drivers/platform/x86/toshiba_acpi.c brightness + (value >> HCI_LCD_BRIGHTNESS_SHIFT) : brightness 1407 drivers/platform/x86/toshiba_acpi.c return set_lcd_brightness(dev, bd->props.brightness); brightness 2868 drivers/platform/x86/toshiba_acpi.c int brightness; brightness 2877 drivers/platform/x86/toshiba_acpi.c brightness = __get_lcd_brightness(dev); brightness 2878 drivers/platform/x86/toshiba_acpi.c if (brightness < 0) brightness 2886 drivers/platform/x86/toshiba_acpi.c if (dev->tr_backlight_supported && brightness == 0) brightness 2887 drivers/platform/x86/toshiba_acpi.c brightness++; brightness 2888 drivers/platform/x86/toshiba_acpi.c ret = set_lcd_brightness(dev, brightness); brightness 2925 drivers/platform/x86/toshiba_acpi.c dev->backlight_dev->props.brightness = brightness; brightness 222 drivers/staging/fbtft/fb_watterott.c int brightness = bd->props.brightness; brightness 226 drivers/staging/fbtft/fb_watterott.c bd->props.brightness, bd->props.power, brightness 230 drivers/staging/fbtft/fb_watterott.c brightness = 0; brightness 233 drivers/staging/fbtft/fb_watterott.c brightness = 0; brightness 235 drivers/staging/fbtft/fb_watterott.c write_reg(par, CMD_LCD_LED, brightness); brightness 252 drivers/staging/fbtft/fb_watterott.c bl_props.brightness = DEFAULT_BRIGHTNESS; brightness 161 drivers/staging/fbtft/fbtft-core.c return bd->props.brightness; brightness 152 drivers/staging/greybus/light.c (channel->intensity_uA.step * channel->led->brightness); brightness 386 drivers/staging/greybus/light.c req.brightness = (u8)channel->led->brightness; brightness 393 drivers/staging/greybus/light.c if (channel->led->brightness) brightness 437 drivers/staging/greybus/light.c channel->led->brightness = value; brightness 447 drivers/staging/greybus/light.c return channel->led->brightness; brightness 607 drivers/staging/greybus/light.c u32 brightness) brightness 613 drivers/staging/greybus/light.c ret = __gb_lights_flash_intensity_set(channel, brightness); brightness 617 drivers/staging/greybus/light.c fcdev->brightness.val = brightness; brightness 623 drivers/staging/greybus/light.c u32 *brightness) brightness 625 drivers/staging/greybus/light.c *brightness = fcdev->brightness.val; brightness 779 drivers/staging/greybus/light.c fset = &fled->brightness; brightness 39 drivers/staging/nvec/nvec_paz00.c led->cdev.brightness = value; brightness 66 drivers/staging/nvec/nvec_paz00.c led->cdev.brightness = 0; brightness 519 drivers/staging/olpc_dcon/olpc_dcon.c u8 level = dev->props.brightness & 0x0F; brightness 644 drivers/staging/olpc_dcon/olpc_dcon.c dcon_bl_props.brightness = dcon->bl_val; brightness 75 drivers/thermal/intel/int340x_thermal/int3406_thermal.c acpi_level = RAW_TO_ACPI(d->raw_bd->props.brightness, d); brightness 133 drivers/usb/misc/appledisplay.c pdata->msgdata[1] = bd->props.brightness; brightness 155 drivers/usb/misc/appledisplay.c int retval, brightness; brightness 171 drivers/usb/misc/appledisplay.c brightness = pdata->msgdata[1]; brightness 178 drivers/usb/misc/appledisplay.c return brightness; brightness 194 drivers/usb/misc/appledisplay.c pdata->bd->props.brightness = retval; brightness 209 drivers/usb/misc/appledisplay.c int retval, brightness; brightness 284 drivers/usb/misc/appledisplay.c brightness = appledisplay_bl_get_brightness(pdata->bd); brightness 286 drivers/usb/misc/appledisplay.c if (brightness < 0) { brightness 287 drivers/usb/misc/appledisplay.c retval = brightness; brightness 294 drivers/usb/misc/appledisplay.c pdata->bd->props.brightness = brightness; brightness 35 drivers/usb/misc/cytherm.c int brightness; brightness 72 drivers/usb/misc/cytherm.c return sprintf(buf, "%i", cytherm->brightness); brightness 88 drivers/usb/misc/cytherm.c cytherm->brightness = simple_strtoul(buf, NULL, 10); brightness 90 drivers/usb/misc/cytherm.c if (cytherm->brightness > 0xFF) brightness 91 drivers/usb/misc/cytherm.c cytherm->brightness = 0xFF; brightness 92 drivers/usb/misc/cytherm.c else if (cytherm->brightness < 0) brightness 93 drivers/usb/misc/cytherm.c cytherm->brightness = 0; brightness 97 drivers/usb/misc/cytherm.c cytherm->brightness, buffer, 8); brightness 110 drivers/usb/misc/cytherm.c static DEVICE_ATTR_RW(brightness); brightness 318 drivers/usb/misc/cytherm.c dev->brightness = 0xFF; brightness 59 drivers/video/backlight/88pm860x_bl.c static int pm860x_backlight_set(struct backlight_device *bl, int brightness) brightness 66 drivers/video/backlight/88pm860x_bl.c if (brightness > MAX_BRIGHTNESS) brightness 69 drivers/video/backlight/88pm860x_bl.c value = brightness; brightness 71 drivers/video/backlight/88pm860x_bl.c if (brightness) brightness 78 drivers/video/backlight/88pm860x_bl.c if ((data->current_brightness == 0) && brightness) { brightness 91 drivers/video/backlight/88pm860x_bl.c if (brightness == MAX_BRIGHTNESS) { brightness 97 drivers/video/backlight/88pm860x_bl.c if (brightness == MAX_BRIGHTNESS) { brightness 110 drivers/video/backlight/88pm860x_bl.c if (brightness == 0) brightness 124 drivers/video/backlight/88pm860x_bl.c int brightness = bl->props.brightness; brightness 127 drivers/video/backlight/88pm860x_bl.c brightness = 0; brightness 130 drivers/video/backlight/88pm860x_bl.c brightness = 0; brightness 133 drivers/video/backlight/88pm860x_bl.c brightness = 0; brightness 135 drivers/video/backlight/88pm860x_bl.c return pm860x_backlight_set(bl, brightness); brightness 247 drivers/video/backlight/88pm860x_bl.c bl->props.brightness = MAX_BRIGHTNESS; brightness 25 drivers/video/backlight/aat2870_bl.c int brightness; /* current brightness */ brightness 29 drivers/video/backlight/aat2870_bl.c int brightness) brightness 34 drivers/video/backlight/aat2870_bl.c val = brightness * (aat2870_bl->max_current - 1); brightness 62 drivers/video/backlight/aat2870_bl.c int brightness = bd->props.brightness; brightness 65 drivers/video/backlight/aat2870_bl.c if ((brightness < 0) || (bd->props.max_brightness < brightness)) { brightness 66 drivers/video/backlight/aat2870_bl.c dev_err(&bd->dev, "invalid brightness, %d\n", brightness); brightness 71 drivers/video/backlight/aat2870_bl.c bd->props.brightness, bd->props.power, bd->props.state); brightness 76 drivers/video/backlight/aat2870_bl.c brightness = 0; brightness 79 drivers/video/backlight/aat2870_bl.c (u8)aat2870_brightness(aat2870_bl, brightness)); brightness 83 drivers/video/backlight/aat2870_bl.c if (brightness == 0) { brightness 87 drivers/video/backlight/aat2870_bl.c } else if (aat2870_bl->brightness == 0) { brightness 93 drivers/video/backlight/aat2870_bl.c aat2870_bl->brightness = brightness; brightness 170 drivers/video/backlight/aat2870_bl.c aat2870_bl->brightness = 0; brightness 172 drivers/video/backlight/aat2870_bl.c bd->props.brightness = bd->props.max_brightness; brightness 192 drivers/video/backlight/aat2870_bl.c bd->props.brightness = 0; brightness 26 drivers/video/backlight/adp5520_bl.c static int adp5520_bl_set(struct backlight_device *bl, int brightness) brightness 33 drivers/video/backlight/adp5520_bl.c if ((brightness > 0) && (brightness < ADP5020_MAX_BRIGHTNESS)) { brightness 38 drivers/video/backlight/adp5520_bl.c brightness); brightness 50 drivers/video/backlight/adp5520_bl.c ret |= adp5520_write(master, ADP5520_DAYLIGHT_MAX, brightness); brightness 53 drivers/video/backlight/adp5520_bl.c if (data->current_brightness && brightness == 0) brightness 56 drivers/video/backlight/adp5520_bl.c else if (data->current_brightness == 0 && brightness) brightness 61 drivers/video/backlight/adp5520_bl.c data->current_brightness = brightness; brightness 68 drivers/video/backlight/adp5520_bl.c int brightness = bl->props.brightness; brightness 71 drivers/video/backlight/adp5520_bl.c brightness = 0; brightness 74 drivers/video/backlight/adp5520_bl.c brightness = 0; brightness 76 drivers/video/backlight/adp5520_bl.c return adp5520_bl_set(bl, brightness); brightness 323 drivers/video/backlight/adp5520_bl.c bl->props.brightness = ADP5020_MAX_BRIGHTNESS; brightness 264 drivers/video/backlight/adp8860_bl.c led_dat->cdev.brightness = LED_OFF; brightness 324 drivers/video/backlight/adp8860_bl.c static int adp8860_bl_set(struct backlight_device *bl, int brightness) brightness 331 drivers/video/backlight/adp8860_bl.c if ((brightness > 0) && (brightness < ADP8860_MAX_BRIGHTNESS)) { brightness 335 drivers/video/backlight/adp8860_bl.c ret |= adp8860_write(client, ADP8860_BLMX1, brightness); brightness 347 drivers/video/backlight/adp8860_bl.c ret |= adp8860_write(client, ADP8860_BLMX1, brightness); brightness 349 drivers/video/backlight/adp8860_bl.c if (data->current_brightness && brightness == 0) brightness 352 drivers/video/backlight/adp8860_bl.c else if (data->current_brightness == 0 && brightness) brightness 357 drivers/video/backlight/adp8860_bl.c data->current_brightness = brightness; brightness 364 drivers/video/backlight/adp8860_bl.c int brightness = bl->props.brightness; brightness 367 drivers/video/backlight/adp8860_bl.c brightness = 0; brightness 370 drivers/video/backlight/adp8860_bl.c brightness = 0; brightness 372 drivers/video/backlight/adp8860_bl.c return adp8860_bl_set(bl, brightness); brightness 727 drivers/video/backlight/adp8860_bl.c bl->props.brightness = ADP8860_MAX_BRIGHTNESS; brightness 290 drivers/video/backlight/adp8870_bl.c led_dat->cdev.brightness = LED_OFF; brightness 350 drivers/video/backlight/adp8870_bl.c static int adp8870_bl_set(struct backlight_device *bl, int brightness) brightness 357 drivers/video/backlight/adp8870_bl.c if ((brightness > 0) && (brightness < ADP8870_MAX_BRIGHTNESS)) { brightness 363 drivers/video/backlight/adp8870_bl.c ret = adp8870_write(client, ADP8870_BLMX1, brightness); brightness 382 drivers/video/backlight/adp8870_bl.c ret = adp8870_write(client, ADP8870_BLMX1, brightness); brightness 387 drivers/video/backlight/adp8870_bl.c if (data->current_brightness && brightness == 0) brightness 390 drivers/video/backlight/adp8870_bl.c else if (data->current_brightness == 0 && brightness) brightness 395 drivers/video/backlight/adp8870_bl.c data->current_brightness = brightness; brightness 402 drivers/video/backlight/adp8870_bl.c int brightness = bl->props.brightness; brightness 405 drivers/video/backlight/adp8870_bl.c brightness = 0; brightness 408 drivers/video/backlight/adp8870_bl.c brightness = 0; brightness 410 drivers/video/backlight/adp8870_bl.c return adp8870_bl_set(bl, brightness); brightness 893 drivers/video/backlight/adp8870_bl.c props.max_brightness = props.brightness = ADP8870_MAX_BRIGHTNESS; brightness 229 drivers/video/backlight/ams369fg06.c static int ams369fg06_gamma_ctl(struct ams369fg06 *lcd, int brightness) brightness 234 drivers/video/backlight/ams369fg06.c if ((brightness >= 0) && (brightness <= 50)) brightness 236 drivers/video/backlight/ams369fg06.c else if ((brightness > 50) && (brightness <= 100)) brightness 238 drivers/video/backlight/ams369fg06.c else if ((brightness > 100) && (brightness <= 150)) brightness 240 drivers/video/backlight/ams369fg06.c else if ((brightness > 150) && (brightness <= 200)) brightness 242 drivers/video/backlight/ams369fg06.c else if ((brightness > 200) && (brightness <= 255)) brightness 342 drivers/video/backlight/ams369fg06.c ret = ams369fg06_gamma_ctl(lcd, bd->props.brightness); brightness 412 drivers/video/backlight/ams369fg06.c int brightness = bd->props.brightness; brightness 415 drivers/video/backlight/ams369fg06.c if (brightness < MIN_BRIGHTNESS || brightness 416 drivers/video/backlight/ams369fg06.c brightness > bd->props.max_brightness) { brightness 422 drivers/video/backlight/ams369fg06.c ret = ams369fg06_gamma_ctl(lcd, bd->props.brightness); brightness 487 drivers/video/backlight/ams369fg06.c bd->props.brightness = DEFAULT_BRIGHTNESS; brightness 58 drivers/video/backlight/apple_bl.c int intensity = bd->props.brightness; brightness 103 drivers/video/backlight/apple_bl.c int intensity = bd->props.brightness; brightness 189 drivers/video/backlight/apple_bl.c apple_backlight_device->props.brightness = brightness 112 drivers/video/backlight/arcxcnn_bl.c static int arcxcnn_set_brightness(struct arcxcnn *lp, u32 brightness) brightness 118 drivers/video/backlight/arcxcnn_bl.c val = (brightness & 0xF) << ARCXCNN_WLED_ISET_LSB_SHIFT; brightness 125 drivers/video/backlight/arcxcnn_bl.c val = (brightness >> 4); brightness 133 drivers/video/backlight/arcxcnn_bl.c u32 brightness = bl->props.brightness; brightness 137 drivers/video/backlight/arcxcnn_bl.c brightness = 0; brightness 139 drivers/video/backlight/arcxcnn_bl.c ret = arcxcnn_set_brightness(lp, brightness); brightness 168 drivers/video/backlight/arcxcnn_bl.c props->brightness = lp->pdata->initial_brightness; brightness 376 drivers/video/backlight/arcxcnn_bl.c lp->bl->props.brightness = 0; brightness 29 drivers/video/backlight/as3711_bl.c int brightness; brightness 52 drivers/video/backlight/as3711_bl.c unsigned int brightness) brightness 62 drivers/video/backlight/as3711_bl.c brightness); brightness 65 drivers/video/backlight/as3711_bl.c brightness); brightness 68 drivers/video/backlight/as3711_bl.c brightness); brightness 74 drivers/video/backlight/as3711_bl.c unsigned int brightness, brightness 77 drivers/video/backlight/as3711_bl.c if (brightness > 31) brightness 81 drivers/video/backlight/as3711_bl.c brightness << 4); brightness 107 drivers/video/backlight/as3711_bl.c int brightness = bl->props.brightness; brightness 111 drivers/video/backlight/as3711_bl.c __func__, bl->props.brightness, bl->props.power, brightness 117 drivers/video/backlight/as3711_bl.c brightness = 0; brightness 120 drivers/video/backlight/as3711_bl.c ret = as3711_set_brightness_v(as3711, brightness, brightness 127 drivers/video/backlight/as3711_bl.c ret = as3711_set_brightness_v(as3711, brightness, brightness 131 drivers/video/backlight/as3711_bl.c ret = as3711_set_brightness_auto_i(data, brightness / 4); brightness 134 drivers/video/backlight/as3711_bl.c if (brightness) { brightness 139 drivers/video/backlight/as3711_bl.c ret = as3711_set_brightness_auto_i(data, brightness); brightness 148 drivers/video/backlight/as3711_bl.c brightness); brightness 152 drivers/video/backlight/as3711_bl.c brightness); brightness 156 drivers/video/backlight/as3711_bl.c brightness); brightness 163 drivers/video/backlight/as3711_bl.c data->brightness = brightness; brightness 172 drivers/video/backlight/as3711_bl.c return data->brightness; brightness 248 drivers/video/backlight/as3711_bl.c bl->props.brightness = props.max_brightness; brightness 177 drivers/video/backlight/backlight.c return sprintf(buf, "%d\n", bd->props.brightness); brightness 181 drivers/video/backlight/backlight.c unsigned long brightness) brightness 187 drivers/video/backlight/backlight.c if (brightness > bd->props.max_brightness) brightness 190 drivers/video/backlight/backlight.c pr_debug("set brightness to %lu\n", brightness); brightness 191 drivers/video/backlight/backlight.c bd->props.brightness = brightness; brightness 208 drivers/video/backlight/backlight.c unsigned long brightness; brightness 210 drivers/video/backlight/backlight.c rc = kstrtoul(buf, 0, &brightness); brightness 214 drivers/video/backlight/backlight.c rc = backlight_device_set_brightness(bd, brightness); brightness 218 drivers/video/backlight/backlight.c static DEVICE_ATTR_RW(brightness); brightness 248 drivers/video/backlight/backlight.c rc = sprintf(buf, "%d\n", bd->props.brightness); brightness 332 drivers/video/backlight/backlight.c bd->props.brightness = bd->ops->get_brightness(bd); brightness 637 drivers/video/backlight/backlight.c if (!bd->props.brightness) brightness 638 drivers/video/backlight/backlight.c bd->props.brightness = bd->props.max_brightness; brightness 84 drivers/video/backlight/bd6107.c int brightness = backlight->props.brightness; brightness 89 drivers/video/backlight/bd6107.c brightness = 0; brightness 91 drivers/video/backlight/bd6107.c if (brightness) { brightness 94 drivers/video/backlight/bd6107.c bd6107_write(bd, BD6107_MAINCNT1, brightness); brightness 157 drivers/video/backlight/bd6107.c props.brightness = clamp_t(unsigned int, pdata->def_value, 0, brightness 179 drivers/video/backlight/bd6107.c backlight->props.brightness = 0; brightness 424 drivers/video/backlight/corgi_lcd.c int intensity = bd->props.brightness; brightness 565 drivers/video/backlight/corgi_lcd.c lcd->bl_dev->props.brightness = pdata->default_intensity; brightness 588 drivers/video/backlight/corgi_lcd.c lcd->bl_dev->props.brightness = 0; brightness 62 drivers/video/backlight/cr_bllcd.c int intensity = bd->props.brightness; brightness 212 drivers/video/backlight/cr_bllcd.c crp->cr_backlight_device->props.brightness = 0; brightness 226 drivers/video/backlight/cr_bllcd.c crp->cr_backlight_device->props.brightness = 0; brightness 40 drivers/video/backlight/da903x_bl.c static int da903x_backlight_set(struct backlight_device *bl, int brightness) brightness 50 drivers/video/backlight/da903x_bl.c brightness, 0x7f); brightness 54 drivers/video/backlight/da903x_bl.c if (data->current_brightness && brightness == 0) brightness 59 drivers/video/backlight/da903x_bl.c if (data->current_brightness == 0 && brightness) brightness 65 drivers/video/backlight/da903x_bl.c val = DA9030_WLED_TRIM(brightness); brightness 66 drivers/video/backlight/da903x_bl.c val |= brightness ? DA9030_WLED_CP_EN : 0; brightness 74 drivers/video/backlight/da903x_bl.c data->current_brightness = brightness; brightness 80 drivers/video/backlight/da903x_bl.c int brightness = bl->props.brightness; brightness 83 drivers/video/backlight/da903x_bl.c brightness = 0; brightness 86 drivers/video/backlight/da903x_bl.c brightness = 0; brightness 89 drivers/video/backlight/da903x_bl.c brightness = 0; brightness 91 drivers/video/backlight/da903x_bl.c return da903x_backlight_set(bl, brightness); brightness 152 drivers/video/backlight/da903x_bl.c bl->props.brightness = max_brightness; brightness 40 drivers/video/backlight/da9052_bl.c uint brightness; brightness 72 drivers/video/backlight/da9052_bl.c if (wleds->brightness) { brightness 74 drivers/video/backlight/da9052_bl.c wleds->brightness); brightness 84 drivers/video/backlight/da9052_bl.c int brightness = bl->props.brightness; brightness 87 drivers/video/backlight/da9052_bl.c wleds->brightness = brightness; brightness 97 drivers/video/backlight/da9052_bl.c return wleds->brightness; brightness 116 drivers/video/backlight/da9052_bl.c wleds->brightness = 0; brightness 132 drivers/video/backlight/da9052_bl.c bl->props.brightness = 0; brightness 143 drivers/video/backlight/da9052_bl.c wleds->brightness = 0; brightness 23 drivers/video/backlight/ep93xx_bl.c int brightness; brightness 26 drivers/video/backlight/ep93xx_bl.c static int ep93xxbl_set(struct backlight_device *bl, int brightness) brightness 30 drivers/video/backlight/ep93xx_bl.c writel((brightness << 8) | EP93XX_MAX_COUNT, ep93xxbl->mmio); brightness 32 drivers/video/backlight/ep93xx_bl.c ep93xxbl->brightness = brightness; brightness 39 drivers/video/backlight/ep93xx_bl.c int brightness = bl->props.brightness; brightness 43 drivers/video/backlight/ep93xx_bl.c brightness = 0; brightness 45 drivers/video/backlight/ep93xx_bl.c return ep93xxbl_set(bl, brightness); brightness 52 drivers/video/backlight/ep93xx_bl.c return ep93xxbl->brightness; brightness 97 drivers/video/backlight/ep93xx_bl.c bl->props.brightness = EP93XX_DEF_BRIGHT; brightness 22 drivers/video/backlight/generic_bl.c int intensity = bd->props.brightness; brightness 77 drivers/video/backlight/generic_bl.c bd->props.brightness = machinfo->default_intensity; brightness 91 drivers/video/backlight/generic_bl.c bd->props.brightness = 0; brightness 32 drivers/video/backlight/gpio_backlight.c int brightness = bl->props.brightness; brightness 37 drivers/video/backlight/gpio_backlight.c brightness = 0; brightness 39 drivers/video/backlight/gpio_backlight.c gpiod_set_value_cansleep(gbl->gpiod, brightness); brightness 154 drivers/video/backlight/gpio_backlight.c bl->props.brightness = 1; brightness 36 drivers/video/backlight/hp680_bl.c int intensity = bd->props.brightness; brightness 120 drivers/video/backlight/hp680_bl.c bd->props.brightness = HP680_DEFAULT_INTENSITY; brightness 130 drivers/video/backlight/hp680_bl.c bd->props.brightness = 0; brightness 19 drivers/video/backlight/ipaq_micro_bl.c int intensity = bd->props.brightness; brightness 51 drivers/video/backlight/ipaq_micro_bl.c .brightness = 64, brightness 83 drivers/video/backlight/jornada720_bl.c if (jornada_ssp_byte(BL_MAX_BRIGHT - bd->props.brightness) brightness 125 drivers/video/backlight/jornada720_bl.c bd->props.brightness = BL_DEF_BRIGHT; brightness 90 drivers/video/backlight/kb3886_bl.c int intensity = bd->props.brightness; brightness 159 drivers/video/backlight/kb3886_bl.c kb3886_backlight_device->props.brightness = machinfo->default_intensity; brightness 42 drivers/video/backlight/lm3533_bl.c int brightness = bd->props.brightness; brightness 45 drivers/video/backlight/lm3533_bl.c brightness = 0; brightness 47 drivers/video/backlight/lm3533_bl.c brightness = 0; brightness 49 drivers/video/backlight/lm3533_bl.c return lm3533_ctrlbank_set_brightness(&bl->cb, (u8)brightness); brightness 308 drivers/video/backlight/lm3533_bl.c props.brightness = pdata->default_brightness; brightness 354 drivers/video/backlight/lm3533_bl.c bd->props.brightness = 0; brightness 189 drivers/video/backlight/lm3630a_bl.c lm3630a_pwm_ctrl(pchip, bl->props.brightness, brightness 191 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; brightness 200 drivers/video/backlight/lm3630a_bl.c ret = lm3630a_write(pchip, REG_BRT_A, bl->props.brightness); brightness 201 drivers/video/backlight/lm3630a_bl.c if (bl->props.brightness < 0x4) brightness 212 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; brightness 217 drivers/video/backlight/lm3630a_bl.c int brightness, rval; brightness 225 drivers/video/backlight/lm3630a_bl.c brightness = (rval & 0x01) << 8; brightness 229 drivers/video/backlight/lm3630a_bl.c brightness |= rval; brightness 241 drivers/video/backlight/lm3630a_bl.c brightness = rval; brightness 244 drivers/video/backlight/lm3630a_bl.c bl->props.brightness = brightness; brightness 245 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; brightness 266 drivers/video/backlight/lm3630a_bl.c lm3630a_pwm_ctrl(pchip, bl->props.brightness, brightness 268 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; brightness 277 drivers/video/backlight/lm3630a_bl.c ret = lm3630a_write(pchip, REG_BRT_B, bl->props.brightness); brightness 278 drivers/video/backlight/lm3630a_bl.c if (bl->props.brightness < 0x4) brightness 289 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; brightness 294 drivers/video/backlight/lm3630a_bl.c int brightness, rval; brightness 302 drivers/video/backlight/lm3630a_bl.c brightness = (rval & 0x01) << 8; brightness 306 drivers/video/backlight/lm3630a_bl.c brightness |= rval; brightness 318 drivers/video/backlight/lm3630a_bl.c brightness = rval; brightness 321 drivers/video/backlight/lm3630a_bl.c bl->props.brightness = brightness; brightness 322 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; brightness 342 drivers/video/backlight/lm3630a_bl.c props.brightness = pdata->leda_init_brt; brightness 355 drivers/video/backlight/lm3630a_bl.c props.brightness = pdata->ledb_init_brt; brightness 111 drivers/video/backlight/lm3639_bl.c pdata->pwm_set_intensity(bl->props.brightness, brightness 116 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; brightness 120 drivers/video/backlight/lm3639_bl.c ret = regmap_write(pchip->regmap, REG_BL_CONF_4, bl->props.brightness); brightness 123 drivers/video/backlight/lm3639_bl.c ret = regmap_write(pchip->regmap, REG_BL_CONF_3, bl->props.brightness); brightness 127 drivers/video/backlight/lm3639_bl.c if (!bl->props.brightness) brightness 134 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; brightness 137 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; brightness 149 drivers/video/backlight/lm3639_bl.c bl->props.brightness = pdata->pwm_get_intensity(); brightness 153 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; brightness 165 drivers/video/backlight/lm3639_bl.c bl->props.brightness = reg_val; brightness 167 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; brightness 170 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; brightness 220 drivers/video/backlight/lm3639_bl.c enum led_brightness brightness) brightness 235 drivers/video/backlight/lm3639_bl.c if (!brightness) { brightness 243 drivers/video/backlight/lm3639_bl.c REG_FL_CONF_1, 0x70, (brightness - 1) << 4); brightness 257 drivers/video/backlight/lm3639_bl.c enum led_brightness brightness) brightness 277 drivers/video/backlight/lm3639_bl.c if (!brightness) brightness 281 drivers/video/backlight/lm3639_bl.c REG_FL_CONF_1, 0x0F, brightness - 1); brightness 343 drivers/video/backlight/lm3639_bl.c props.brightness = pdata->init_brt_led; brightness 114 drivers/video/backlight/locomolcd.c int intensity = bd->props.brightness; brightness 209 drivers/video/backlight/locomolcd.c locomolcd_bl_device->props.brightness = 2; brightness 219 drivers/video/backlight/locomolcd.c locomolcd_bl_device->props.brightness = 0; brightness 265 drivers/video/backlight/lp855x_bl.c int brightness = bl->props.brightness; brightness 268 drivers/video/backlight/lp855x_bl.c brightness = 0; brightness 271 drivers/video/backlight/lp855x_bl.c lp855x_pwm_ctrl(lp, brightness, bl->props.max_brightness); brightness 273 drivers/video/backlight/lp855x_bl.c lp855x_write_byte(lp, lp->cfg->reg_brightness, (u8)brightness); brightness 297 drivers/video/backlight/lp855x_bl.c props.brightness = pdata->initial_brightness; brightness 498 drivers/video/backlight/lp855x_bl.c lp->bl->props.brightness = 0; brightness 165 drivers/video/backlight/lp8788_bl.c bl_dev->props.brightness = 0; brightness 168 drivers/video/backlight/lp8788_bl.c int brt = bl_dev->props.brightness; brightness 173 drivers/video/backlight/lp8788_bl.c u8 brt = bl_dev->props.brightness; brightness 204 drivers/video/backlight/lp8788_bl.c props.brightness = init_brt; brightness 306 drivers/video/backlight/lp8788_bl.c bl_dev->props.brightness = 0; brightness 49 drivers/video/backlight/lv5207lp.c int brightness = backlight->props.brightness; brightness 54 drivers/video/backlight/lv5207lp.c brightness = 0; brightness 56 drivers/video/backlight/lv5207lp.c if (brightness) { brightness 61 drivers/video/backlight/lv5207lp.c (brightness - 1)); brightness 115 drivers/video/backlight/lv5207lp.c props.brightness = clamp_t(unsigned int, pdata->def_value, 0, brightness 136 drivers/video/backlight/lv5207lp.c backlight->props.brightness = 0; brightness 32 drivers/video/backlight/max8925_bl.c static int max8925_backlight_set(struct backlight_device *bl, int brightness) brightness 39 drivers/video/backlight/max8925_bl.c if (brightness > MAX_BRIGHTNESS) brightness 42 drivers/video/backlight/max8925_bl.c value = brightness; brightness 48 drivers/video/backlight/max8925_bl.c if (!data->current_brightness && brightness) brightness 51 drivers/video/backlight/max8925_bl.c else if (!brightness) brightness 67 drivers/video/backlight/max8925_bl.c int brightness = bl->props.brightness; brightness 70 drivers/video/backlight/max8925_bl.c brightness = 0; brightness 73 drivers/video/backlight/max8925_bl.c brightness = 0; brightness 76 drivers/video/backlight/max8925_bl.c brightness = 0; brightness 78 drivers/video/backlight/max8925_bl.c return max8925_backlight_set(bl, brightness); brightness 172 drivers/video/backlight/max8925_bl.c bl->props.brightness = MAX_BRIGHTNESS; brightness 95 drivers/video/backlight/omap1_bl.c if (bl->current_intensity != dev->props.brightness) { brightness 97 drivers/video/backlight/omap1_bl.c omapbl_send_intensity(dev->props.brightness); brightness 98 drivers/video/backlight/omap1_bl.c bl->current_intensity = dev->props.brightness; brightness 153 drivers/video/backlight/omap1_bl.c dev->props.brightness = pdata->default_intensity; brightness 44 drivers/video/backlight/ot200_bl.c int brightness = bl->props.brightness; brightness 47 drivers/video/backlight/ot200_bl.c brightness = 0; brightness 50 drivers/video/backlight/ot200_bl.c if (brightness == 0) brightness 60 drivers/video/backlight/ot200_bl.c MAX_COMP2 - dim_table[brightness]); brightness 61 drivers/video/backlight/ot200_bl.c data->current_brightness = brightness; brightness 115 drivers/video/backlight/ot200_bl.c props.brightness = 100; brightness 42 drivers/video/backlight/pandora_bl.c int brightness = bl->props.brightness; brightness 47 drivers/video/backlight/pandora_bl.c brightness = 0; brightness 49 drivers/video/backlight/pandora_bl.c brightness = 0; brightness 51 drivers/video/backlight/pandora_bl.c brightness = 0; brightness 53 drivers/video/backlight/pandora_bl.c if ((unsigned int)brightness > MAX_USER_VALUE) brightness 54 drivers/video/backlight/pandora_bl.c brightness = MAX_USER_VALUE; brightness 56 drivers/video/backlight/pandora_bl.c if (brightness == 0) { brightness 93 drivers/video/backlight/pandora_bl.c twl_i2c_write_u8(TWL_MODULE_PWM, MIN_VALUE + brightness, TWL_PWM0_OFF); brightness 96 drivers/video/backlight/pandora_bl.c if (brightness != 0) brightness 138 drivers/video/backlight/pandora_bl.c bl->props.brightness = MAX_USER_VALUE; brightness 22 drivers/video/backlight/pcf50633-backlight.c unsigned int brightness; brightness 58 drivers/video/backlight/pcf50633-backlight.c else if (bl->props.brightness < pcf_bl->brightness_limit) brightness 59 drivers/video/backlight/pcf50633-backlight.c new_brightness = bl->props.brightness; brightness 64 drivers/video/backlight/pcf50633-backlight.c if (pcf_bl->brightness == new_brightness) brightness 70 drivers/video/backlight/pcf50633-backlight.c if (!pcf_bl->brightness) brightness 76 drivers/video/backlight/pcf50633-backlight.c pcf_bl->brightness = new_brightness; brightness 85 drivers/video/backlight/pcf50633-backlight.c return pcf_bl->brightness; brightness 112 drivers/video/backlight/pcf50633-backlight.c bl_props.brightness = pdata->default_brightness; brightness 115 drivers/video/backlight/pcf50633-backlight.c bl_props.brightness = 0x3f; brightness 136 drivers/video/backlight/pcf50633-backlight.c pcf_bl->brightness = pcf_bl->bl->props.brightness + 1; brightness 84 drivers/video/backlight/pm8941-wled.c u16 val = bl->props.brightness; brightness 399 drivers/video/backlight/pm8941-wled.c props.brightness = val; brightness 36 drivers/video/backlight/pwm_bl.c int brightness); brightness 38 drivers/video/backlight/pwm_bl.c int brightness); brightness 90 drivers/video/backlight/pwm_bl.c static int compute_duty_cycle(struct pwm_bl_data *pb, int brightness) brightness 99 drivers/video/backlight/pwm_bl.c duty_cycle = pb->levels[brightness]; brightness 101 drivers/video/backlight/pwm_bl.c duty_cycle = brightness; brightness 112 drivers/video/backlight/pwm_bl.c int brightness = bl->props.brightness; brightness 118 drivers/video/backlight/pwm_bl.c brightness = 0; brightness 121 drivers/video/backlight/pwm_bl.c brightness = pb->notify(pb->dev, brightness); brightness 123 drivers/video/backlight/pwm_bl.c if (brightness > 0) { brightness 125 drivers/video/backlight/pwm_bl.c state.duty_cycle = compute_duty_cycle(pb, brightness); brightness 132 drivers/video/backlight/pwm_bl.c pb->notify_after(pb->dev, brightness); brightness 640 drivers/video/backlight/pwm_bl.c bl->props.brightness = data->dft_brightness; brightness 22 drivers/video/backlight/rave-sp-backlight.c (p->power == FB_BLANK_UNBLANK) ? p->brightness : 0; brightness 43 drivers/video/backlight/rave-sp-backlight.c .brightness = 50, brightness 51 drivers/video/backlight/sky81452-backlight.c const unsigned int brightness = (unsigned int)bd->props.brightness; brightness 55 drivers/video/backlight/sky81452-backlight.c if (brightness > 0) { brightness 56 drivers/video/backlight/sky81452-backlight.c ret = regmap_write(regmap, SKY81452_REG0, brightness - 1); brightness 312 drivers/video/backlight/sky81452-backlight.c bd->props.brightness = 0; brightness 35 drivers/video/backlight/tosa_bl.c static void tosa_bl_set_backlight(struct tosa_bl_data *data, int brightness) brightness 42 drivers/video/backlight/tosa_bl.c i2c_smbus_write_byte_data(data->i2c, DAC_CH2, (u8)(brightness & 0xff)); brightness 45 drivers/video/backlight/tosa_bl.c gpio_set_value(TOSA_GPIO_BL_C20MA, brightness & 0x100); brightness 47 drivers/video/backlight/tosa_bl.c tosa_bl_enable(spi, brightness); brightness 55 drivers/video/backlight/tosa_bl.c int brightness = props->brightness; brightness 58 drivers/video/backlight/tosa_bl.c brightness = 0; brightness 60 drivers/video/backlight/tosa_bl.c tosa_bl_set_backlight(data, brightness); brightness 69 drivers/video/backlight/tosa_bl.c return props->brightness; brightness 112 drivers/video/backlight/tosa_bl.c data->bl->props.brightness = 69; brightness 80 drivers/video/backlight/tps65217_bl.c int brightness = bl->props.brightness; brightness 83 drivers/video/backlight/tps65217_bl.c brightness = 0; brightness 88 drivers/video/backlight/tps65217_bl.c brightness = 0; brightness 90 drivers/video/backlight/tps65217_bl.c if (brightness > 0) { brightness 93 drivers/video/backlight/tps65217_bl.c brightness - 1, brightness 101 drivers/video/backlight/tps65217_bl.c dev_dbg(tps65217_bl->dev, "brightness set to %d\n", brightness); brightness 307 drivers/video/backlight/tps65217_bl.c tps65217_bl->bl->props.brightness = pdata->dft_brightness; brightness 26 drivers/video/backlight/wm831x_bl.c static int wm831x_backlight_set(struct backlight_device *bl, int brightness) brightness 30 drivers/video/backlight/wm831x_bl.c int power_up = !data->current_brightness && brightness; brightness 31 drivers/video/backlight/wm831x_bl.c int power_down = data->current_brightness && !brightness; brightness 64 drivers/video/backlight/wm831x_bl.c WM831X_CS1_ISEL_MASK, brightness); brightness 76 drivers/video/backlight/wm831x_bl.c data->current_brightness = brightness; brightness 94 drivers/video/backlight/wm831x_bl.c int brightness = bl->props.brightness; brightness 97 drivers/video/backlight/wm831x_bl.c brightness = 0; brightness 100 drivers/video/backlight/wm831x_bl.c brightness = 0; brightness 103 drivers/video/backlight/wm831x_bl.c brightness = 0; brightness 105 drivers/video/backlight/wm831x_bl.c return wm831x_backlight_set(bl, brightness); brightness 203 drivers/video/backlight/wm831x_bl.c bl->props.brightness = max_isel; brightness 113 drivers/video/fbdev/atmel_lcdfb.c int brightness = bl->props.brightness; brightness 124 drivers/video/fbdev/atmel_lcdfb.c if (brightness < 0 && power == FB_BLANK_UNBLANK) brightness 125 drivers/video/fbdev/atmel_lcdfb.c brightness = lcdc_readl(sinfo, ATMEL_LCDC_CONTRAST_VAL); brightness 127 drivers/video/fbdev/atmel_lcdfb.c brightness = 0; brightness 129 drivers/video/fbdev/atmel_lcdfb.c lcdc_writel(sinfo, ATMEL_LCDC_CONTRAST_VAL, brightness); brightness 132 drivers/video/fbdev/atmel_lcdfb.c brightness ? contrast_ctr : 0); brightness 177 drivers/video/fbdev/atmel_lcdfb.c bl->props.brightness = atmel_bl_get_brightness(bl); brightness 1779 drivers/video/fbdev/aty/aty128fb.c level = bd->props.brightness; brightness 1869 drivers/video/fbdev/aty/aty128fb.c bd->props.brightness = bd->props.max_brightness; brightness 2188 drivers/video/fbdev/aty/atyfb_base.c level = bd->props.brightness; brightness 2237 drivers/video/fbdev/aty/atyfb_base.c bd->props.brightness = bd->props.max_brightness; brightness 64 drivers/video/fbdev/aty/radeon_backlight.c level = bd->props.brightness; brightness 185 drivers/video/fbdev/aty/radeon_backlight.c bd->props.brightness = bd->props.max_brightness; brightness 88 drivers/video/fbdev/au1200fb.c unsigned int brightness; brightness 1253 drivers/video/fbdev/au1200fb.c if (pdata->brightness < 30) { brightness 1254 drivers/video/fbdev/au1200fb.c pdata->brightness = 30; brightness 1257 drivers/video/fbdev/au1200fb.c hi1 = (((pdata->brightness & 0xFF)+1) * divider >> 8); brightness 1284 drivers/video/fbdev/au1200fb.c pdata->brightness = ((hi1 << 8) / divider) - 1; brightness 373 drivers/video/fbdev/matrox/matroxfb_base.h int brightness, contrast, saturation, hue, gamma; brightness 39 drivers/video/fbdev/matrox/matroxfb_g450.c }, offsetof(struct matrox_fb_info, altout.tvo_params.brightness) }, brightness 135 drivers/video/fbdev/matrox/matroxfb_g450.c const int b = minfo->altout.tvo_params.brightness + BLMIN; brightness 73 drivers/video/fbdev/matrox/matroxfb_maven.c }, offsetof(struct matrox_fb_info, altout.tvo_params.brightness) }, brightness 360 drivers/video/fbdev/matrox/matroxfb_maven.c const int b = md->primary_head->altout.tvo_params.brightness + BLMIN; brightness 286 drivers/video/fbdev/mx3fb.c int brightness = bl->props.brightness; brightness 289 drivers/video/fbdev/mx3fb.c brightness = 0; brightness 291 drivers/video/fbdev/mx3fb.c brightness = 0; brightness 293 drivers/video/fbdev/mx3fb.c fbd->backlight_level = (fbd->backlight_level & ~0xFF) | brightness; brightness 329 drivers/video/fbdev/mx3fb.c bl->props.brightness = mx3fb_bl_get_brightness(bl); brightness 695 drivers/video/fbdev/mx3fb.c u32 brightness; brightness 697 drivers/video/fbdev/mx3fb.c brightness = mx3fb_read_reg(mx3fb, SDC_PWM_CTRL); brightness 698 drivers/video/fbdev/mx3fb.c brightness = (brightness >> 16) & 0xFF; brightness 700 drivers/video/fbdev/mx3fb.c return brightness; brightness 61 drivers/video/fbdev/nvidia/nv_backlight.c level = bd->props.brightness; brightness 120 drivers/video/fbdev/nvidia/nv_backlight.c bd->props.brightness = bd->props.max_brightness; brightness 338 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c level = dev->props.brightness; brightness 367 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c return dev->props.brightness; brightness 1256 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c bldev->props.brightness = 255; brightness 346 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c level = dev->props.brightness; brightness 372 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c return dev->props.brightness; brightness 743 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c int max_brightness, brightness; brightness 827 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c brightness = acx565akm_get_actual_brightness(ddata); brightness 829 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c brightness = 0; brightness 832 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c bldev->props.brightness = brightness; brightness 305 drivers/video/fbdev/riva/fbdev.c level = bd->props.brightness; brightness 358 drivers/video/fbdev/riva/fbdev.c bd->props.brightness = bd->props.max_brightness; brightness 2127 drivers/video/fbdev/sh_mobile_lcdcfb.c int brightness = bdev->props.brightness; brightness 2131 drivers/video/fbdev/sh_mobile_lcdcfb.c brightness = 0; brightness 2133 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->bl_brightness = brightness; brightness 2134 drivers/video/fbdev/sh_mobile_lcdcfb.c return ch->cfg->bl_info.set_brightness(brightness); brightness 2171 drivers/video/fbdev/sh_mobile_lcdcfb.c bl->props.brightness = bl->props.max_brightness; brightness 509 drivers/video/fbdev/ssd1307fb.c int brightness = bdev->props.brightness; brightness 511 drivers/video/fbdev/ssd1307fb.c par->contrast = brightness; brightness 755 drivers/video/fbdev/ssd1307fb.c bl->props.brightness = par->contrast; brightness 514 include/drm/drm_connector.h unsigned int brightness; brightness 279 include/drm/drm_mipi_dsi.h u16 brightness); brightness 281 include/drm/drm_mipi_dsi.h u16 *brightness); brightness 76 include/linux/backlight.h int brightness; brightness 193 include/linux/backlight.h extern int backlight_device_set_brightness(struct backlight_device *bd, unsigned long brightness); brightness 1727 include/linux/greybus/greybus_protocols.h __u8 brightness; brightness 36 include/linux/led-class-flash.h u32 brightness); brightness 39 include/linux/led-class-flash.h u32 *brightness); brightness 73 include/linux/led-class-flash.h struct led_flash_setting brightness; brightness 160 include/linux/led-class-flash.h u32 brightness); brightness 76 include/linux/led-lm3530.h void (*pwm_set_intensity) (int brightness, int max_brightness); brightness 39 include/linux/leds-regulator.h enum led_brightness brightness; /* initial brightness value */ brightness 36 include/linux/leds-ti-lmu-common.h int ti_lmu_common_set_brightness(struct ti_lmu_bank *lmu_bank, int brightness); brightness 60 include/linux/leds.h enum led_brightness brightness; brightness 92 include/linux/leds.h enum led_brightness brightness); brightness 98 include/linux/leds.h enum led_brightness brightness); brightness 245 include/linux/leds.h enum led_brightness brightness); brightness 563 include/linux/leds.h struct led_classdev *led_cdev, enum led_brightness brightness); brightness 566 include/linux/leds.h struct led_classdev *led_cdev, enum led_brightness brightness) { } brightness 576 include/linux/leds.h int brightness; brightness 162 include/linux/mfd/max8997.h u8 brightness[2]; brightness 2124 include/linux/platform_data/cros_ec_commands.h uint8_t brightness[EC_LED_COLOR_COUNT]; brightness 62 include/linux/platform_data/lm3639_bl.h void (*pwm_set_intensity) (int brightness, int max_brightness); brightness 49 include/linux/platform_data/shmob_drm.h int (*set_brightness)(int brightness); brightness 22 include/linux/pwm_backlight.h int (*notify)(struct device *dev, int brightness); brightness 23 include/linux/pwm_backlight.h void (*notify_after)(struct device *dev, int brightness); brightness 155 include/media/tpg/v4l2-tpg.h u8 brightness; brightness 298 include/media/tpg/v4l2-tpg.h u8 brightness) brightness 300 include/media/tpg/v4l2-tpg.h if (tpg->brightness == brightness) brightness 302 include/media/tpg/v4l2-tpg.h tpg->brightness = brightness; brightness 1427 include/uapi/drm/i915_drm.h __s32 brightness; brightness 165 include/video/sh_mobile_lcdc.h int (*set_brightness)(int brightness); brightness 176 net/rfkill/core.c enum led_brightness brightness = LED_OFF; brightness 182 net/rfkill/core.c brightness = LED_FULL; brightness 188 net/rfkill/core.c led_trigger_event(&rfkill_any_led_trigger, brightness); brightness 190 net/rfkill/core.c brightness == LED_OFF ? LED_FULL : LED_OFF); brightness 291 sound/usb/line6/toneport.c (toneport->leds[0].dev.brightness << 8) | 0x0002, brightness 292 sound/usb/line6/toneport.c toneport->leds[1].dev.brightness); brightness 296 sound/usb/line6/toneport.c enum led_brightness brightness) brightness 316 sound/usb/line6/toneport.c leddev->brightness = toneport_led_init_vals[i]; brightness 1427 tools/include/uapi/drm/i915_drm.h __s32 brightness; brightness 26 tools/leds/uledmon.c int brightness; brightness 51 tools/leds/uledmon.c ret = read(fd, &brightness, sizeof(brightness)); brightness 58 tools/leds/uledmon.c printf("[%ld.%09ld] %u\n", ts.tv_sec, ts.tv_nsec, brightness);