backlight         866 arch/arm/mach-davinci/board-da850-evm.c 	struct platform_device *backlight;
backlight         872 arch/arm/mach-davinci/board-da850-evm.c 	backlight = platform_device_register_full(&da850_lcd_backlight_info);
backlight         873 arch/arm/mach-davinci/board-da850-evm.c 	if (IS_ERR(backlight))
backlight         874 arch/arm/mach-davinci/board-da850-evm.c 		return PTR_ERR(backlight);
backlight         139 arch/arm/mach-mmp/jasper.c 	.backlight		= &jasper_backlight_data,
backlight         113 arch/arm/mach-omap1/board-sx1.c int sx1_setbacklight(u8 backlight)
backlight         115 arch/arm/mach-omap1/board-sx1.c 	if (backlight > SOFIA_MAX_LIGHT_VAL)
backlight         116 arch/arm/mach-omap1/board-sx1.c 		backlight = SOFIA_MAX_LIGHT_VAL;
backlight         118 arch/arm/mach-omap1/board-sx1.c 				  backlight);
backlight         121 arch/arm/mach-omap1/board-sx1.c int sx1_getbacklight (u8 * backlight)
backlight         124 arch/arm/mach-omap1/board-sx1.c 				 backlight);
backlight          37 arch/arm/mach-omap1/board-sx1.h int sx1_setbacklight(u8 backlight);
backlight          38 arch/arm/mach-omap1/board-sx1.h int sx1_getbacklight(u8 *backlight);
backlight        1158 arch/arm/mach-pxa/em-x270.c 	DA9030_SUBDEV(backlight, WLED, &em_x270_led_info),
backlight         563 arch/arm/mach-pxa/hx4700.c static struct platform_device backlight = {
backlight         840 arch/arm/mach-pxa/hx4700.c 	&backlight,
backlight         411 arch/arm/mach-pxa/magician.c static struct platform_device backlight = {
backlight         962 arch/arm/mach-pxa/magician.c 	&backlight,
backlight         564 arch/arm/mach-s3c64xx/mach-smdk6410.c 	.backlight = &wm1192_backlight_pdata,
backlight         210 drivers/acpi/acpi_video.c 	struct backlight_device *backlight;
backlight         365 drivers/acpi/acpi_video.c 			if (device->backlight)
backlight         366 drivers/acpi/acpi_video.c 				device->backlight->props.brightness =
backlight        1428 drivers/acpi/acpi_video.c 	if (!device->backlight)
backlight        1445 drivers/acpi/acpi_video.c 		backlight_force_update(device->backlight,
backlight        1645 drivers/acpi/acpi_video.c 		if (video_device->backlight)
backlight        1646 drivers/acpi/acpi_video.c 			backlight_force_update(video_device->backlight,
backlight        1774 drivers/acpi/acpi_video.c 	device->backlight = backlight_device_register(name,
backlight        1780 drivers/acpi/acpi_video.c 	if (IS_ERR(device->backlight)) {
backlight        1781 drivers/acpi/acpi_video.c 		device->backlight = NULL;
backlight        1789 drivers/acpi/acpi_video.c 	device->backlight->props.brightness =
backlight        1790 drivers/acpi/acpi_video.c 			acpi_video_get_brightness(device->backlight);
backlight        1875 drivers/acpi/acpi_video.c 	if (device->backlight) {
backlight        1876 drivers/acpi/acpi_video.c 		backlight_device_unregister(device->backlight);
backlight        1877 drivers/acpi/acpi_video.c 		device->backlight = NULL;
backlight         373 drivers/acpi/video_detect.c 	struct backlight_device *backlight = bd;
backlight         376 drivers/acpi/video_detect.c 	if (backlight->props.type == BACKLIGHT_RAW &&
backlight         110 drivers/auxdisplay/charlcd.c 	if (!lcd->ops->backlight)
backlight         115 drivers/auxdisplay/charlcd.c 		lcd->ops->backlight(lcd, on);
backlight         129 drivers/auxdisplay/charlcd.c 			priv->lcd.ops->backlight(&priv->lcd, 0);
backlight         139 drivers/auxdisplay/charlcd.c 	if (!lcd->ops->backlight)
backlight         146 drivers/auxdisplay/charlcd.c 		lcd->ops->backlight(lcd, 1);
backlight         786 drivers/auxdisplay/charlcd.c 	if (lcd->ops->backlight) {
backlight         890 drivers/auxdisplay/charlcd.c 	if (lcd->ops->backlight) {
backlight         892 drivers/auxdisplay/charlcd.c 		priv->lcd.ops->backlight(&priv->lcd, 0);
backlight          33 drivers/auxdisplay/charlcd.h 	void (*backlight)(struct charlcd *lcd, int on);
backlight         128 drivers/auxdisplay/hd44780.c 	.backlight	= hd44780_backlight,
backlight         174 drivers/auxdisplay/hd44780.c 	.backlight	= hd44780_backlight,
backlight         879 drivers/auxdisplay/panel.c 	.backlight	= lcd_backlight,
backlight         886 drivers/auxdisplay/panel.c 	.backlight	= lcd_backlight,
backlight         893 drivers/auxdisplay/panel.c 	.backlight	= lcd_backlight,
backlight        1033 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 	unsigned int backlight = dc_get_current_backlight_pwm(dc);
backlight        1035 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 	seq_printf(m, "0x%x\n", backlight);
backlight        1050 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 	unsigned int backlight = dc_get_target_backlight_pwm(dc);
backlight        1052 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 	seq_printf(m, "0x%x\n", backlight);
backlight         254 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c 	unsigned int backlight = calculate_16_bit_backlight_from_pwm(abm_dce);
backlight         273 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c 			BL1_PWM_CURRENT_ABM_LEVEL, backlight);
backlight         276 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c 			BL1_PWM_TARGET_ABM_LEVEL, backlight);
backlight         279 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c 			BL1_PWM_USER_LEVEL, backlight);
backlight         294 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c 	unsigned int backlight = REG_READ(BL1_PWM_CURRENT_ABM_LEVEL);
backlight         299 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c 	return backlight;
backlight         305 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c 	unsigned int backlight = REG_READ(BL1_PWM_TARGET_ABM_LEVEL);
backlight         310 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c 	return backlight;
backlight         349 drivers/gpu/drm/drm_mipi_dbi.c 	backlight_enable(dbidev->backlight);
backlight         398 drivers/gpu/drm/drm_mipi_dbi.c 	if (dbidev->backlight)
backlight         399 drivers/gpu/drm/drm_mipi_dbi.c 		backlight_disable(dbidev->backlight);
backlight         346 drivers/gpu/drm/i915/display/dvo_ivch.c 	u16 vr01, vr30, backlight;
backlight         355 drivers/gpu/drm/i915/display/dvo_ivch.c 		backlight = 1;
backlight         357 drivers/gpu/drm/i915/display/dvo_ivch.c 		backlight = 0;
backlight         359 drivers/gpu/drm/i915/display/dvo_ivch.c 	ivch_write(dvo, VR80, backlight);
backlight         322 drivers/gpu/drm/i915/display/intel_bios.c 	dev_priv->vbt.backlight.present = entry->type == BDB_BACKLIGHT_TYPE_PWM;
backlight         323 drivers/gpu/drm/i915/display/intel_bios.c 	if (!dev_priv->vbt.backlight.present) {
backlight         329 drivers/gpu/drm/i915/display/intel_bios.c 	dev_priv->vbt.backlight.type = INTEL_BACKLIGHT_DISPLAY_DDI;
backlight         335 drivers/gpu/drm/i915/display/intel_bios.c 		dev_priv->vbt.backlight.type = method->type;
backlight         336 drivers/gpu/drm/i915/display/intel_bios.c 		dev_priv->vbt.backlight.controller = method->controller;
backlight         339 drivers/gpu/drm/i915/display/intel_bios.c 	dev_priv->vbt.backlight.pwm_freq_hz = entry->pwm_freq_hz;
backlight         340 drivers/gpu/drm/i915/display/intel_bios.c 	dev_priv->vbt.backlight.active_low_pwm = entry->active_low_pwm;
backlight         341 drivers/gpu/drm/i915/display/intel_bios.c 	dev_priv->vbt.backlight.min_brightness = entry->min_brightness;
backlight         344 drivers/gpu/drm/i915/display/intel_bios.c 		      dev_priv->vbt.backlight.pwm_freq_hz,
backlight         345 drivers/gpu/drm/i915/display/intel_bios.c 		      dev_priv->vbt.backlight.active_low_pwm ? "low" : "high",
backlight         346 drivers/gpu/drm/i915/display/intel_bios.c 		      dev_priv->vbt.backlight.min_brightness,
backlight         348 drivers/gpu/drm/i915/display/intel_bios.c 		      dev_priv->vbt.backlight.controller);
backlight        1699 drivers/gpu/drm/i915/display/intel_bios.c 	dev_priv->vbt.backlight.present = true;
backlight         228 drivers/gpu/drm/i915/display/intel_display_types.h 	} backlight;
backlight         879 drivers/gpu/drm/i915/display/intel_dp.c 	int backlight_controller = dev_priv->vbt.backlight.controller;
backlight        7091 drivers/gpu/drm/i915/display/intel_dp.c 	intel_connector->panel.backlight.power = intel_edp_backlight_power;
backlight         121 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	freq = dev_priv->vbt.backlight.pwm_freq_hz;
backlight         220 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	intel_dp_aux_set_backlight(conn_state, connector->panel.backlight.level);
backlight         235 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 		panel->backlight.max = 0xFFFF;
backlight         237 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 		panel->backlight.max = 0xFF;
backlight         239 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.min = 0;
backlight         240 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.level = intel_dp_aux_get_backlight(connector);
backlight         242 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.enabled = panel->backlight.level != 0;
backlight         271 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	    dev_priv->vbt.backlight.type != INTEL_BACKLIGHT_VESA_EDP_AUX_INTERFACE))
backlight         277 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.setup = intel_dp_aux_setup_backlight;
backlight         278 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.enable = intel_dp_aux_enable_backlight;
backlight         279 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.disable = intel_dp_aux_disable_backlight;
backlight         280 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.set = intel_dp_aux_set_backlight;
backlight         281 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.get = intel_dp_aux_get_backlight;
backlight         145 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	dcs_set_backlight(conn_state, panel->backlight.level);
backlight         153 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	panel->backlight.max = PANEL_PWM_MAX_VALUE;
backlight         154 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	panel->backlight.level = PANEL_PWM_MAX_VALUE;
backlight         166 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	if (dev_priv->vbt.backlight.type != INTEL_BACKLIGHT_DSI_DCS)
backlight         172 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	panel->backlight.setup = dcs_setup_backlight;
backlight         173 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	panel->backlight.enable = dcs_enable_backlight;
backlight         174 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	panel->backlight.disable = dcs_disable_backlight;
backlight         175 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	panel->backlight.set = dcs_set_backlight;
backlight         176 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	panel->backlight.get = dcs_get_backlight;
backlight         490 drivers/gpu/drm/i915/display/intel_panel.c 		     panel->backlight.min, panel->backlight.max);
backlight         501 drivers/gpu/drm/i915/display/intel_panel.c 	hw_level = scale(user_level, 0, user_max, 0, panel->backlight.max);
backlight         502 drivers/gpu/drm/i915/display/intel_panel.c 	hw_level = clamp(hw_level, panel->backlight.min, panel->backlight.max);
backlight         513 drivers/gpu/drm/i915/display/intel_panel.c 	return scale(hw_level, panel->backlight.min, panel->backlight.max,
backlight         523 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
backlight         530 drivers/gpu/drm/i915/display/intel_panel.c 		return panel->backlight.max - val + panel->backlight.min;
backlight         560 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode) {
backlight         591 drivers/gpu/drm/i915/display/intel_panel.c 	return I915_READ(BXT_BLC_PWM_DUTY(panel->backlight.controller));
backlight         599 drivers/gpu/drm/i915/display/intel_panel.c 	duty_ns = pwm_get_duty_cycle(panel->backlight.pwm);
backlight         629 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
backlight         631 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode) {
backlight         634 drivers/gpu/drm/i915/display/intel_panel.c 		lbpc = level * 0xfe / panel->backlight.max + 1;
backlight         667 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_DUTY(panel->backlight.controller), level);
backlight         675 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_config(panel->backlight.pwm, duty_ns, CRC_PMIC_PWM_PERIOD_NS);
backlight         687 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.set(conn_state, level);
backlight         707 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.present || !conn_state->crtc)
backlight         712 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
backlight         715 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = hw_level;
backlight         717 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.device)
backlight         718 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.device->props.brightness =
backlight         720 drivers/gpu/drm/i915/display/intel_panel.c 					 panel->backlight.level,
backlight         721 drivers/gpu/drm/i915/display/intel_panel.c 					 panel->backlight.device->props.max_brightness);
backlight         723 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.enabled)
backlight         808 drivers/gpu/drm/i915/display/intel_panel.c 	tmp = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
backlight         809 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller),
backlight         812 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.controller == 1) {
backlight         828 drivers/gpu/drm/i915/display/intel_panel.c 	tmp = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
backlight         829 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller),
backlight         841 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_disable(panel->backlight.pwm);
backlight         850 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.present)
backlight         866 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.device)
backlight         867 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.device->props.power = FB_BLANK_POWERDOWN;
backlight         868 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = false;
backlight         869 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.disable(old_conn_state);
backlight         891 drivers/gpu/drm/i915/display/intel_panel.c 		if (panel->backlight.alternate_pwm_increment)
backlight         898 drivers/gpu/drm/i915/display/intel_panel.c 		if (panel->backlight.alternate_pwm_increment)
backlight         905 drivers/gpu/drm/i915/display/intel_panel.c 	pch_ctl2 = panel->backlight.max << 16;
backlight         909 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.active_low_pwm)
backlight         921 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
backlight         956 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
backlight         958 drivers/gpu/drm/i915/display/intel_panel.c 	pch_ctl2 = panel->backlight.max << 16;
backlight         962 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.active_low_pwm)
backlight         984 drivers/gpu/drm/i915/display/intel_panel.c 	freq = panel->backlight.max;
backlight         985 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode)
backlight         989 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode)
backlight         991 drivers/gpu/drm/i915/display/intel_panel.c 	if (IS_PINEVIEW(dev_priv) && panel->backlight.active_low_pwm)
backlight         998 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
backlight        1025 drivers/gpu/drm/i915/display/intel_panel.c 	freq = panel->backlight.max;
backlight        1026 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode)
backlight        1033 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode)
backlight        1035 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.active_low_pwm)
backlight        1041 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
backlight        1060 drivers/gpu/drm/i915/display/intel_panel.c 	ctl = panel->backlight.max << 16;
backlight        1064 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
backlight        1067 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.active_low_pwm)
backlight        1084 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.controller == 1) {
backlight        1093 drivers/gpu/drm/i915/display/intel_panel.c 		if (panel->backlight.util_pin_active_low)
backlight        1099 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_ctl = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
backlight        1103 drivers/gpu/drm/i915/display/intel_panel.c 		I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller),
backlight        1107 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_FREQ(panel->backlight.controller),
backlight        1108 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.max);
backlight        1110 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
backlight        1113 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.active_low_pwm)
backlight        1116 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller), pwm_ctl);
backlight        1117 drivers/gpu/drm/i915/display/intel_panel.c 	POSTING_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
backlight        1118 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller),
backlight        1130 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_ctl = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
backlight        1134 drivers/gpu/drm/i915/display/intel_panel.c 		I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller),
backlight        1138 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_FREQ(panel->backlight.controller),
backlight        1139 drivers/gpu/drm/i915/display/intel_panel.c 		   panel->backlight.max);
backlight        1141 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
backlight        1144 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.active_low_pwm)
backlight        1147 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller), pwm_ctl);
backlight        1148 drivers/gpu/drm/i915/display/intel_panel.c 	POSTING_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
backlight        1149 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller),
backlight        1159 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_enable(panel->backlight.pwm);
backlight        1160 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
backlight        1169 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
backlight        1171 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.level <= panel->backlight.min) {
backlight        1172 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.level = panel->backlight.max;
backlight        1173 drivers/gpu/drm/i915/display/intel_panel.c 		if (panel->backlight.device)
backlight        1174 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.device->props.brightness =
backlight        1176 drivers/gpu/drm/i915/display/intel_panel.c 						 panel->backlight.level,
backlight        1177 drivers/gpu/drm/i915/display/intel_panel.c 						 panel->backlight.device->props.max_brightness);
backlight        1180 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enable(crtc_state, conn_state);
backlight        1181 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = true;
backlight        1182 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.device)
backlight        1183 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.device->props.power = FB_BLANK_UNBLANK;
backlight        1194 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.present)
backlight        1215 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.enabled) {
backlight        1216 drivers/gpu/drm/i915/display/intel_panel.c 		val = panel->backlight.get(connector);
backlight        1235 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.present)
backlight        1240 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
backlight        1243 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = hw_level;
backlight        1245 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.enabled)
backlight        1269 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.enabled) {
backlight        1270 drivers/gpu/drm/i915/display/intel_panel.c 		if (panel->backlight.power) {
backlight        1273 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.power(connector, enable);
backlight        1316 drivers/gpu/drm/i915/display/intel_panel.c 	if (WARN_ON(panel->backlight.device))
backlight        1319 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.present)
backlight        1322 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
backlight        1331 drivers/gpu/drm/i915/display/intel_panel.c 	props.max_brightness = panel->backlight.max;
backlight        1333 drivers/gpu/drm/i915/display/intel_panel.c 					    panel->backlight.level,
backlight        1336 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.enabled)
backlight        1345 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.device =
backlight        1351 drivers/gpu/drm/i915/display/intel_panel.c 	if (IS_ERR(panel->backlight.device)) {
backlight        1353 drivers/gpu/drm/i915/display/intel_panel.c 			  PTR_ERR(panel->backlight.device));
backlight        1354 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.device = NULL;
backlight        1368 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.device) {
backlight        1369 drivers/gpu/drm/i915/display/intel_panel.c 		backlight_device_unregister(panel->backlight.device);
backlight        1370 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.device = NULL;
backlight        1404 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.alternate_pwm_increment)
backlight        1423 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.alternate_pwm_increment)
backlight        1514 drivers/gpu/drm/i915/display/intel_panel.c 	u16 pwm_freq_hz = dev_priv->vbt.backlight.pwm_freq_hz;
backlight        1517 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.hz_to_pwm) {
backlight        1531 drivers/gpu/drm/i915/display/intel_panel.c 	pwm = panel->backlight.hz_to_pwm(connector, pwm_freq_hz);
backlight        1549 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
backlight        1558 drivers/gpu/drm/i915/display/intel_panel.c 	min = clamp_t(int, dev_priv->vbt.backlight.min_brightness, 0, 64);
backlight        1559 drivers/gpu/drm/i915/display/intel_panel.c 	if (min != dev_priv->vbt.backlight.min_brightness) {
backlight        1561 drivers/gpu/drm/i915/display/intel_panel.c 			      dev_priv->vbt.backlight.min_brightness, min);
backlight        1565 drivers/gpu/drm/i915/display/intel_panel.c 	return scale(min, 0, 255, 0, panel->backlight.max);
backlight        1579 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.alternate_pwm_increment = alt;
backlight        1582 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.active_low_pwm = pch_ctl1 & BLM_PCH_POLARITY;
backlight        1585 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = pch_ctl2 >> 16;
backlight        1589 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
backlight        1590 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
backlight        1592 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
backlight        1595 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = get_backlight_min_vbt(connector);
backlight        1597 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = pch_ctl1 & BLM_PCH_PWM_ENABLE;
backlight        1599 drivers/gpu/drm/i915/display/intel_panel.c 	cpu_mode = panel->backlight.enabled && HAS_PCH_LPT(dev_priv) &&
backlight        1607 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = clamp(val, panel->backlight.min,
backlight        1608 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
backlight        1614 drivers/gpu/drm/i915/display/intel_panel.c 		lpt_set_backlight(connector->base.state, panel->backlight.level);
backlight        1630 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.active_low_pwm = pch_ctl1 & BLM_PCH_POLARITY;
backlight        1633 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = pch_ctl2 >> 16;
backlight        1635 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
backlight        1636 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
backlight        1638 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
backlight        1641 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = get_backlight_min_vbt(connector);
backlight        1645 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = clamp(val, panel->backlight.min,
backlight        1646 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
backlight        1649 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = (cpu_ctl2 & BLM_PWM_ENABLE) &&
backlight        1664 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.combination_mode = ctl & BLM_LEGACY_MODE;
backlight        1667 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.active_low_pwm = ctl & BLM_POLARITY_PNV;
backlight        1669 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = ctl >> 17;
backlight        1671 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max) {
backlight        1672 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
backlight        1673 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max >>= 1;
backlight        1676 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
backlight        1679 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode)
backlight        1680 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max *= 0xff;
backlight        1682 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = get_backlight_min_vbt(connector);
backlight        1686 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = clamp(val, panel->backlight.min,
backlight        1687 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
backlight        1689 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = val != 0;
backlight        1701 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.combination_mode = ctl2 & BLM_COMBINATION_MODE;
backlight        1702 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.active_low_pwm = ctl2 & BLM_POLARITY_I965;
backlight        1705 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = ctl >> 16;
backlight        1707 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
backlight        1708 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
backlight        1710 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
backlight        1713 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode)
backlight        1714 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max *= 0xff;
backlight        1716 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = get_backlight_min_vbt(connector);
backlight        1720 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = clamp(val, panel->backlight.min,
backlight        1721 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
backlight        1723 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = ctl2 & BLM_PWM_ENABLE;
backlight        1738 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.active_low_pwm = ctl2 & BLM_POLARITY_I965;
backlight        1741 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = ctl >> 16;
backlight        1743 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
backlight        1744 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
backlight        1746 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
backlight        1749 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = get_backlight_min_vbt(connector);
backlight        1753 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = clamp(val, panel->backlight.min,
backlight        1754 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
backlight        1756 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = ctl2 & BLM_PWM_ENABLE;
backlight        1768 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.controller = dev_priv->vbt.backlight.controller;
backlight        1770 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_ctl = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
backlight        1773 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.controller == 1) {
backlight        1775 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.util_pin_active_low =
backlight        1779 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.active_low_pwm = pwm_ctl & BXT_BLC_PWM_POLARITY;
backlight        1780 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max =
backlight        1781 drivers/gpu/drm/i915/display/intel_panel.c 		I915_READ(BXT_BLC_PWM_FREQ(panel->backlight.controller));
backlight        1783 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
backlight        1784 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
backlight        1786 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
backlight        1789 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = get_backlight_min_vbt(connector);
backlight        1793 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = clamp(val, panel->backlight.min,
backlight        1794 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
backlight        1796 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = pwm_ctl & BXT_BLC_PWM_ENABLE;
backlight        1813 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.controller = 0;
backlight        1815 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_ctl = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
backlight        1817 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.active_low_pwm = pwm_ctl & BXT_BLC_PWM_POLARITY;
backlight        1818 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max =
backlight        1819 drivers/gpu/drm/i915/display/intel_panel.c 		I915_READ(BXT_BLC_PWM_FREQ(panel->backlight.controller));
backlight        1821 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
backlight        1822 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
backlight        1824 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
backlight        1827 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = get_backlight_min_vbt(connector);
backlight        1831 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = clamp(val, panel->backlight.min,
backlight        1832 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
backlight        1834 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = pwm_ctl & BXT_BLC_PWM_ENABLE;
backlight        1847 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.pwm = pwm_get(dev->dev, "pwm_backlight");
backlight        1848 drivers/gpu/drm/i915/display/intel_panel.c 	if (IS_ERR(panel->backlight.pwm)) {
backlight        1850 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.pwm = NULL;
backlight        1858 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_apply_args(panel->backlight.pwm);
backlight        1860 drivers/gpu/drm/i915/display/intel_panel.c 	retval = pwm_config(panel->backlight.pwm, CRC_PMIC_PWM_PERIOD_NS,
backlight        1864 drivers/gpu/drm/i915/display/intel_panel.c 		pwm_put(panel->backlight.pwm);
backlight        1865 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.pwm = NULL;
backlight        1869 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = 0; /* 0% */
backlight        1870 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = 100; /* 100% */
backlight        1871 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = DIV_ROUND_UP(
backlight        1872 drivers/gpu/drm/i915/display/intel_panel.c 				 pwm_get_duty_cycle(panel->backlight.pwm) * 100,
backlight        1874 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = panel->backlight.level != 0;
backlight        1887 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.present)
backlight        1891 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.enabled)
backlight        1904 drivers/gpu/drm/i915/display/intel_panel.c 	if (!dev_priv->vbt.backlight.present) {
backlight        1914 drivers/gpu/drm/i915/display/intel_panel.c 	if (WARN_ON(!panel->backlight.setup))
backlight        1919 drivers/gpu/drm/i915/display/intel_panel.c 	ret = panel->backlight.setup(intel_connector, pipe);
backlight        1928 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.present = true;
backlight        1932 drivers/gpu/drm/i915/display/intel_panel.c 		      enableddisabled(panel->backlight.enabled),
backlight        1933 drivers/gpu/drm/i915/display/intel_panel.c 		      panel->backlight.level, panel->backlight.max);
backlight        1941 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.pwm)
backlight        1942 drivers/gpu/drm/i915/display/intel_panel.c 		pwm_put(panel->backlight.pwm);
backlight        1944 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.present = false;
backlight        1964 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.setup = bxt_setup_backlight;
backlight        1965 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.enable = bxt_enable_backlight;
backlight        1966 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.disable = bxt_disable_backlight;
backlight        1967 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.set = bxt_set_backlight;
backlight        1968 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.get = bxt_get_backlight;
backlight        1969 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.hz_to_pwm = bxt_hz_to_pwm;
backlight        1971 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.setup = cnp_setup_backlight;
backlight        1972 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.enable = cnp_enable_backlight;
backlight        1973 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.disable = cnp_disable_backlight;
backlight        1974 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.set = bxt_set_backlight;
backlight        1975 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.get = bxt_get_backlight;
backlight        1976 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.hz_to_pwm = cnp_hz_to_pwm;
backlight        1978 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.setup = lpt_setup_backlight;
backlight        1979 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.enable = lpt_enable_backlight;
backlight        1980 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.disable = lpt_disable_backlight;
backlight        1981 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.set = lpt_set_backlight;
backlight        1982 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.get = lpt_get_backlight;
backlight        1984 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.hz_to_pwm = lpt_hz_to_pwm;
backlight        1986 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.hz_to_pwm = spt_hz_to_pwm;
backlight        1988 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.setup = pch_setup_backlight;
backlight        1989 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.enable = pch_enable_backlight;
backlight        1990 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.disable = pch_disable_backlight;
backlight        1991 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.set = pch_set_backlight;
backlight        1992 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.get = pch_get_backlight;
backlight        1993 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.hz_to_pwm = pch_hz_to_pwm;
backlight        1996 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.setup = pwm_setup_backlight;
backlight        1997 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.enable = pwm_enable_backlight;
backlight        1998 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.disable = pwm_disable_backlight;
backlight        1999 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.set = pwm_set_backlight;
backlight        2000 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.get = pwm_get_backlight;
backlight        2002 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.setup = vlv_setup_backlight;
backlight        2003 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.enable = vlv_enable_backlight;
backlight        2004 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.disable = vlv_disable_backlight;
backlight        2005 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.set = vlv_set_backlight;
backlight        2006 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.get = vlv_get_backlight;
backlight        2007 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.hz_to_pwm = vlv_hz_to_pwm;
backlight        2010 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.setup = i965_setup_backlight;
backlight        2011 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.enable = i965_enable_backlight;
backlight        2012 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.disable = i965_disable_backlight;
backlight        2013 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.set = i9xx_set_backlight;
backlight        2014 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.get = i9xx_get_backlight;
backlight        2015 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.hz_to_pwm = i965_hz_to_pwm;
backlight        2017 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.setup = i9xx_setup_backlight;
backlight        2018 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.enable = i9xx_enable_backlight;
backlight        2019 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.disable = i9xx_disable_backlight;
backlight        2020 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.set = i9xx_set_backlight;
backlight        2021 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.get = i9xx_get_backlight;
backlight        2022 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.hz_to_pwm = i9xx_hz_to_pwm;
backlight         797 drivers/gpu/drm/i915/i915_drv.h 	} backlight;
backlight         288 drivers/gpu/drm/nouveau/nouveau_backlight.c 	nouveau_connector(connector)->backlight = bl;
backlight         303 drivers/gpu/drm/nouveau/nouveau_backlight.c 	struct nouveau_backlight *bl = nv_conn->backlight;
backlight         312 drivers/gpu/drm/nouveau/nouveau_backlight.c 	nv_conn->backlight = NULL;
backlight         119 drivers/gpu/drm/nouveau/nouveau_connector.h 	struct nouveau_backlight *backlight;
backlight         104 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 	struct backlight_device *backlight;
backlight         107 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 		backlight = ddata->bldev;
backlight         109 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 		backlight = ddata->extbldev;
backlight         114 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 		backlight->props.fb_blank = FB_BLANK_UNBLANK;
backlight         115 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 		backlight->props.state = ~(BL_CORE_FBBLANK | BL_CORE_SUSPENDED);
backlight         116 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 		backlight->props.power = FB_BLANK_UNBLANK;
backlight         118 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 		backlight->props.fb_blank = FB_BLANK_NORMAL;
backlight         119 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 		backlight->props.power = FB_BLANK_POWERDOWN;
backlight         120 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 		backlight->props.state |= BL_CORE_FBBLANK | BL_CORE_SUSPENDED;
backlight         123 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 	backlight_update_status(backlight);
backlight        1166 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 	struct device_node *backlight;
backlight        1219 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 	backlight = of_parse_phandle(node, "backlight", 0);
backlight        1220 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 	if (backlight) {
backlight        1221 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 		ddata->extbldev = of_find_backlight_by_node(backlight);
backlight        1222 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 		of_node_put(backlight);
backlight          25 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	struct backlight_device	*backlight;
backlight         105 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	backlight_enable(ctx->backlight);
backlight         114 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	backlight_disable(ctx->backlight);
backlight         229 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	ctx->backlight = devm_of_find_backlight(&dsi->dev);
backlight         230 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	if (IS_ERR(ctx->backlight))
backlight         231 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 		return PTR_ERR(ctx->backlight);
backlight          28 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	struct backlight_device *backlight;
backlight         351 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	backlight_enable(ctx->backlight);
backlight         360 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	backlight_disable(ctx->backlight);
backlight         454 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 		ctx->backlight = of_find_backlight_by_node(np);
backlight         457 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 		if (!ctx->backlight)
backlight         479 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	if (ctx->backlight)
backlight         480 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 		put_device(&ctx->backlight->dev);
backlight          55 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	struct backlight_device *backlight;
backlight          75 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	backlight_disable(innolux->backlight);
backlight         212 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	ret = backlight_enable(innolux->backlight);
backlight         486 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	innolux->backlight = devm_of_find_backlight(dev);
backlight         487 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	if (IS_ERR(innolux->backlight))
backlight         488 drivers/gpu/drm/panel/panel-innolux-p079zca.c 		return PTR_ERR(innolux->backlight);
backlight          42 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 	struct backlight_device *backlight;
backlight         186 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 	backlight_disable(jdi->backlight);
backlight         282 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 	backlight_enable(jdi->backlight);
backlight         433 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 	jdi->backlight = drm_panel_create_dsi_backlight(jdi->dsi);
backlight         434 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 	if (IS_ERR(jdi->backlight)) {
backlight         435 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 		ret = PTR_ERR(jdi->backlight);
backlight          26 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 	struct backlight_device *backlight;
backlight         194 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 	backlight_disable(kingdisplay->backlight);
backlight         311 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 	ret = backlight_enable(kingdisplay->backlight);
backlight         390 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 	kingdisplay->backlight = devm_of_find_backlight(dev);
backlight         391 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 	if (IS_ERR(kingdisplay->backlight))
backlight         392 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 		return PTR_ERR(kingdisplay->backlight);
backlight          37 drivers/gpu/drm/panel/panel-lvds.c 	struct backlight_device *backlight;
backlight          53 drivers/gpu/drm/panel/panel-lvds.c 	if (lvds->backlight) {
backlight          54 drivers/gpu/drm/panel/panel-lvds.c 		lvds->backlight->props.power = FB_BLANK_POWERDOWN;
backlight          55 drivers/gpu/drm/panel/panel-lvds.c 		lvds->backlight->props.state |= BL_CORE_FBBLANK;
backlight          56 drivers/gpu/drm/panel/panel-lvds.c 		backlight_update_status(lvds->backlight);
backlight         100 drivers/gpu/drm/panel/panel-lvds.c 	if (lvds->backlight) {
backlight         101 drivers/gpu/drm/panel/panel-lvds.c 		lvds->backlight->props.state &= ~BL_CORE_FBBLANK;
backlight         102 drivers/gpu/drm/panel/panel-lvds.c 		lvds->backlight->props.power = FB_BLANK_UNBLANK;
backlight         103 drivers/gpu/drm/panel/panel-lvds.c 		backlight_update_status(lvds->backlight);
backlight         245 drivers/gpu/drm/panel/panel-lvds.c 	lvds->backlight = devm_of_find_backlight(lvds->dev);
backlight         246 drivers/gpu/drm/panel/panel-lvds.c 	if (IS_ERR(lvds->backlight))
backlight         247 drivers/gpu/drm/panel/panel-lvds.c 		return PTR_ERR(lvds->backlight);
backlight          66 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	struct backlight_device *backlight;
backlight         182 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	if (panel->backlight) {
backlight         186 drivers/gpu/drm/panel/panel-novatek-nt39016.c 		ret = backlight_enable(panel->backlight);
backlight         197 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	backlight_disable(panel->backlight);
backlight         287 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	panel->backlight = devm_of_find_backlight(dev);
backlight         288 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	if (IS_ERR(panel->backlight)) {
backlight         289 drivers/gpu/drm/panel/panel-novatek-nt39016.c 		err = PTR_ERR(panel->backlight);
backlight          71 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	struct backlight_device *backlight;
backlight          90 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	backlight_disable(lcd->backlight);
backlight         137 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	backlight_enable(lcd->backlight);
backlight         287 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	lcd->backlight = devm_of_find_backlight(dev);
backlight         288 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	if (IS_ERR(lcd->backlight))
backlight         289 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 		return PTR_ERR(lcd->backlight);
backlight          23 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 	struct backlight_device *backlight;
backlight          45 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 	backlight_disable(osd101t2587->backlight);
backlight          94 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 	backlight_enable(osd101t2587->backlight);
backlight         165 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 	osd101t2587->backlight = devm_of_find_backlight(dev);
backlight         166 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 	if (IS_ERR(osd101t2587->backlight))
backlight         167 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 		return PTR_ERR(osd101t2587->backlight);
backlight          34 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 	struct backlight_device *backlight;
backlight          65 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 	if (wuxga_nt->backlight) {
backlight          66 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 		wuxga_nt->backlight->props.power = FB_BLANK_POWERDOWN;
backlight          67 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 		wuxga_nt->backlight->props.state |= BL_CORE_FBBLANK;
backlight          68 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 		bl_ret = backlight_update_status(wuxga_nt->backlight);
backlight         145 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 	if (wuxga_nt->backlight) {
backlight         146 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 		wuxga_nt->backlight->props.power = FB_BLANK_UNBLANK;
backlight         147 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 		wuxga_nt->backlight->props.state &= ~BL_CORE_FBBLANK;
backlight         148 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 		backlight_update_status(wuxga_nt->backlight);
backlight         219 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 		wuxga_nt->backlight = of_find_backlight_by_node(np);
backlight         222 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 		if (!wuxga_nt->backlight)
backlight         237 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 	if (wuxga_nt->backlight)
backlight         238 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 		put_device(&wuxga_nt->backlight->dev);
backlight         248 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 	if (wuxga_nt->backlight)
backlight         249 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 		put_device(&wuxga_nt->backlight->dev);
backlight         202 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	struct backlight_device *backlight;
backlight         392 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	backlight_enable(rad->backlight);
backlight         416 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	backlight_disable(rad->backlight);
backlight         596 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	panel->backlight = devm_backlight_device_register(dev, dev_name(dev),
backlight         599 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	if (IS_ERR(panel->backlight)) {
backlight         600 drivers/gpu/drm/panel/panel-raydium-rm67191.c 		ret = PTR_ERR(panel->backlight);
backlight          81 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	struct backlight_device *backlight;
backlight         245 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	backlight_disable(ctx->backlight);
backlight         331 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	backlight_enable(ctx->backlight);
backlight         394 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	ctx->backlight = devm_of_find_backlight(dev);
backlight         395 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	if (IS_ERR(ctx->backlight))
backlight         396 drivers/gpu/drm/panel/panel-raydium-rm68200.c 		return PTR_ERR(ctx->backlight);
backlight          50 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	struct backlight_device *backlight;
backlight         155 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	return backlight_enable(ctx->backlight);
backlight         163 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	backlight_disable(ctx->backlight);
backlight         323 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	ctx->backlight = devm_of_find_backlight(dev);
backlight         324 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	if (IS_ERR(ctx->backlight))
backlight         325 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 		return PTR_ERR(ctx->backlight);
backlight          32 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	struct backlight_device *backlight;
backlight          87 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	ret = backlight_enable(ctx->backlight);
backlight         102 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	backlight_disable(ctx->backlight);
backlight         212 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	ctx->backlight = devm_of_find_backlight(&dsi->dev);
backlight         213 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	if (IS_ERR(ctx->backlight)) {
backlight         215 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 		return PTR_ERR(ctx->backlight);
backlight          49 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	struct backlight_device *backlight;
backlight         131 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	if (p->backlight) {
backlight         132 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		p->backlight->props.power = FB_BLANK_POWERDOWN;
backlight         133 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		p->backlight->props.state |= BL_CORE_FBBLANK;
backlight         134 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		backlight_update_status(p->backlight);
backlight         200 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	if (p->backlight) {
backlight         201 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		p->backlight->props.state &= ~BL_CORE_FBBLANK;
backlight         202 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		p->backlight->props.power = FB_BLANK_UNBLANK;
backlight         203 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		backlight_update_status(p->backlight);
backlight         248 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	struct device_node *backlight;
backlight         268 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	backlight = of_parse_phandle(dev->of_node, "backlight", 0);
backlight         269 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	if (backlight) {
backlight         270 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		panel->backlight = of_find_backlight_by_node(backlight);
backlight         271 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		of_node_put(backlight);
backlight         273 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		if (!panel->backlight)
backlight         298 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	if (panel->backlight)
backlight         299 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		put_device(&panel->backlight->dev);
backlight          26 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	struct backlight_device *backlight;
backlight          97 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	backlight_disable(sharp->backlight);
backlight         261 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	backlight_enable(sharp->backlight);
backlight         327 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	sharp->backlight = devm_of_find_backlight(dev);
backlight         329 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	if (IS_ERR(sharp->backlight))
backlight         330 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		return PTR_ERR(sharp->backlight);
backlight          28 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 	struct backlight_device *backlight;
backlight         110 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 	backlight_disable(sharp_nt->backlight);
backlight         193 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 	backlight_enable(sharp_nt->backlight);
backlight         262 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 	sharp_nt->backlight = devm_of_find_backlight(dev);
backlight         264 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 	if (IS_ERR(sharp_nt->backlight))
backlight         265 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 		return PTR_ERR(sharp_nt->backlight);
backlight         107 drivers/gpu/drm/panel/panel-simple.c 	struct backlight_device *backlight;
backlight         238 drivers/gpu/drm/panel/panel-simple.c 	if (p->backlight) {
backlight         239 drivers/gpu/drm/panel/panel-simple.c 		p->backlight->props.power = FB_BLANK_POWERDOWN;
backlight         240 drivers/gpu/drm/panel/panel-simple.c 		p->backlight->props.state |= BL_CORE_FBBLANK;
backlight         241 drivers/gpu/drm/panel/panel-simple.c 		backlight_update_status(p->backlight);
backlight         309 drivers/gpu/drm/panel/panel-simple.c 	if (p->backlight) {
backlight         310 drivers/gpu/drm/panel/panel-simple.c 		p->backlight->props.state &= ~BL_CORE_FBBLANK;
backlight         311 drivers/gpu/drm/panel/panel-simple.c 		p->backlight->props.power = FB_BLANK_UNBLANK;
backlight         312 drivers/gpu/drm/panel/panel-simple.c 		backlight_update_status(p->backlight);
backlight         416 drivers/gpu/drm/panel/panel-simple.c 	struct device_node *backlight, *ddc;
backlight         444 drivers/gpu/drm/panel/panel-simple.c 	backlight = of_parse_phandle(dev->of_node, "backlight", 0);
backlight         445 drivers/gpu/drm/panel/panel-simple.c 	if (backlight) {
backlight         446 drivers/gpu/drm/panel/panel-simple.c 		panel->backlight = of_find_backlight_by_node(backlight);
backlight         447 drivers/gpu/drm/panel/panel-simple.c 		of_node_put(backlight);
backlight         449 drivers/gpu/drm/panel/panel-simple.c 		if (!panel->backlight)
backlight         483 drivers/gpu/drm/panel/panel-simple.c 	if (panel->backlight)
backlight         484 drivers/gpu/drm/panel/panel-simple.c 		put_device(&panel->backlight->dev);
backlight         501 drivers/gpu/drm/panel/panel-simple.c 	if (panel->backlight)
backlight         502 drivers/gpu/drm/panel/panel-simple.c 		put_device(&panel->backlight->dev);
backlight         106 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	struct backlight_device *backlight;
backlight         226 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	backlight_enable(st7701->backlight);
backlight         235 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	backlight_disable(st7701->backlight);
backlight         368 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	st7701->backlight = devm_of_find_backlight(&dsi->dev);
backlight         369 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	if (IS_ERR(st7701->backlight))
backlight         370 drivers/gpu/drm/panel/panel-sitronix-st7701.c 		return PTR_ERR(st7701->backlight);
backlight         119 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	struct backlight_device *backlight;
backlight         326 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	if (ctx->backlight) {
backlight         327 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 		ctx->backlight->props.state &= ~BL_CORE_FBBLANK;
backlight         328 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 		ctx->backlight->props.power = FB_BLANK_UNBLANK;
backlight         329 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 		backlight_update_status(ctx->backlight);
backlight         342 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	if (ctx->backlight) {
backlight         343 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 		ctx->backlight->props.power = FB_BLANK_POWERDOWN;
backlight         344 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 		ctx->backlight->props.state |= BL_CORE_FBBLANK;
backlight         345 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 		backlight_update_status(ctx->backlight);
backlight         373 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	struct device_node *backlight;
backlight         398 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	backlight = of_parse_phandle(spi->dev.of_node, "backlight", 0);
backlight         399 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	if (backlight) {
backlight         400 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 		ctx->backlight = of_find_backlight_by_node(backlight);
backlight         401 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 		of_node_put(backlight);
backlight         403 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 		if (!ctx->backlight)
backlight         414 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	if (ctx->backlight)
backlight         415 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 		put_device(&ctx->backlight->dev);
backlight         426 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	if (ctx->backlight)
backlight         427 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 		put_device(&ctx->backlight->dev);
backlight          52 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	struct backlight_device *backlight;
backlight         358 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	lcd->backlight = backlight_device_register(lcd->name, &lcd->spi->dev,
backlight         361 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	if (IS_ERR(lcd->backlight)) {
backlight         362 drivers/gpu/drm/panel/panel-sony-acx565akm.c 		ret = PTR_ERR(lcd->backlight);
backlight         363 drivers/gpu/drm/panel/panel-sony-acx565akm.c 		lcd->backlight = NULL;
backlight         368 drivers/gpu/drm/panel/panel-sony-acx565akm.c 		ret = sysfs_create_group(&lcd->backlight->dev.kobj,
backlight         373 drivers/gpu/drm/panel/panel-sony-acx565akm.c 			backlight_device_unregister(lcd->backlight);
backlight         380 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	lcd->backlight->props.max_brightness = 255;
backlight         381 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	lcd->backlight->props.brightness = acx565akm_get_actual_brightness(lcd);
backlight         383 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	acx565akm_bl_update_status_locked(lcd->backlight);
backlight         391 drivers/gpu/drm/panel/panel-sony-acx565akm.c 		sysfs_remove_group(&lcd->backlight->dev.kobj,
backlight         394 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	backlight_device_unregister(lcd->backlight);
backlight         460 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	return acx565akm_bl_update_status_locked(lcd->backlight);
backlight          86 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	struct backlight_device *backlight;
backlight         246 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	backlight_enable(lcd->backlight);
backlight         255 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	backlight_disable(lcd->backlight);
backlight         337 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	lcd->backlight = devm_of_find_backlight(&spi->dev);
backlight         338 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	if (IS_ERR(lcd->backlight))
backlight         339 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 		return PTR_ERR(lcd->backlight);
backlight          82 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	struct backlight_device *backlight;
backlight         359 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	backlight_disable(tpg->backlight);
backlight         369 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	backlight_enable(tpg->backlight);
backlight         436 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	tpg->backlight = devm_of_find_backlight(dev);
backlight         437 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	if (IS_ERR(tpg->backlight))
backlight         438 drivers/gpu/drm/panel/panel-tpo-tpg110.c 		return PTR_ERR(tpg->backlight);
backlight          63 drivers/gpu/drm/panel/panel-truly-nt35597.c 	struct backlight_device *backlight;
backlight         325 drivers/gpu/drm/panel/panel-truly-nt35597.c 	if (ctx->backlight) {
backlight         326 drivers/gpu/drm/panel/panel-truly-nt35597.c 		ret = backlight_disable(ctx->backlight);
backlight         445 drivers/gpu/drm/panel/panel-truly-nt35597.c 	if (ctx->backlight) {
backlight         446 drivers/gpu/drm/panel/panel-truly-nt35597.c 		ret = backlight_enable(ctx->backlight);
backlight         292 drivers/gpu/drm/radeon/radeon_drv.c MODULE_PARM_DESC(backlight, "backlight support (1 = enable, 0 = disable, -1 = auto)");
backlight         293 drivers/gpu/drm/radeon/radeon_drv.c module_param_named(backlight, radeon_backlight, int, 0444);
backlight          20 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 	const struct shmob_drm_backlight_data *bdata = &sdev->pdata->backlight;
backlight          34 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 	const struct shmob_drm_backlight_data *bdata = &sdev->pdata->backlight;
backlight          47 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 	if (scon->backlight == NULL)
backlight          50 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 	scon->backlight->props.power = mode == DRM_MODE_DPMS_ON
backlight          52 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 	backlight_update_status(scon->backlight);
backlight          58 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 	const struct shmob_drm_backlight_data *bdata = &sdev->pdata->backlight;
backlight          61 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 	struct backlight_device *backlight;
backlight          66 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 	backlight = backlight_device_register(bdata->name, dev->dev, scon,
backlight          68 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 	if (IS_ERR(backlight)) {
backlight          70 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 			PTR_ERR(backlight));
backlight          71 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 		return PTR_ERR(backlight);
backlight          74 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 	backlight->props.max_brightness = bdata->max_brightness;
backlight          75 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 	backlight->props.brightness = bdata->max_brightness;
backlight          76 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 	backlight->props.power = FB_BLANK_POWERDOWN;
backlight          77 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 	backlight_update_status(backlight);
backlight          79 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 	scon->backlight = backlight;
backlight          85 drivers/gpu/drm/shmobile/shmob_drm_backlight.c 	backlight_device_unregister(scon->backlight);
backlight          43 drivers/gpu/drm/shmobile/shmob_drm_crtc.h 	struct backlight_device *backlight;
backlight          27 drivers/gpu/drm/tilcdc/tilcdc_panel.c 	struct backlight_device *backlight;
backlight          46 drivers/gpu/drm/tilcdc/tilcdc_panel.c 	struct backlight_device *backlight = panel_encoder->mod->backlight;
backlight          49 drivers/gpu/drm/tilcdc/tilcdc_panel.c 	if (backlight) {
backlight          50 drivers/gpu/drm/tilcdc/tilcdc_panel.c 		backlight->props.power = mode == DRM_MODE_DPMS_ON ?
backlight          52 drivers/gpu/drm/tilcdc/tilcdc_panel.c 		backlight_update_status(backlight);
backlight         324 drivers/gpu/drm/tilcdc/tilcdc_panel.c 		panel_mod->backlight = of_find_backlight_by_node(bl_node);
backlight         327 drivers/gpu/drm/tilcdc/tilcdc_panel.c 		if (!panel_mod->backlight)
backlight         376 drivers/gpu/drm/tilcdc/tilcdc_panel.c 	if (panel_mod->backlight)
backlight         377 drivers/gpu/drm/tilcdc/tilcdc_panel.c 		put_device(&panel_mod->backlight->dev);
backlight         385 drivers/gpu/drm/tilcdc/tilcdc_panel.c 	struct backlight_device *backlight = panel_mod->backlight;
backlight         387 drivers/gpu/drm/tilcdc/tilcdc_panel.c 	if (backlight)
backlight         388 drivers/gpu/drm/tilcdc/tilcdc_panel.c 		put_device(&backlight->dev);
backlight         248 drivers/gpu/drm/tiny/hx8357d.c 	dbidev->backlight = devm_of_find_backlight(dev);
backlight         249 drivers/gpu/drm/tiny/hx8357d.c 	if (IS_ERR(dbidev->backlight))
backlight         250 drivers/gpu/drm/tiny/hx8357d.c 		return PTR_ERR(dbidev->backlight);
backlight         212 drivers/gpu/drm/tiny/ili9341.c 	dbidev->backlight = devm_of_find_backlight(dev);
backlight         213 drivers/gpu/drm/tiny/ili9341.c 	if (IS_ERR(dbidev->backlight))
backlight         214 drivers/gpu/drm/tiny/ili9341.c 		return PTR_ERR(dbidev->backlight);
backlight         220 drivers/gpu/drm/tiny/mi0283qt.c 	dbidev->backlight = devm_of_find_backlight(dev);
backlight         221 drivers/gpu/drm/tiny/mi0283qt.c 	if (IS_ERR(dbidev->backlight))
backlight         222 drivers/gpu/drm/tiny/mi0283qt.c 		return PTR_ERR(dbidev->backlight);
backlight         186 drivers/gpu/drm/tiny/st7735r.c 	dbidev->backlight = devm_of_find_backlight(dev);
backlight         187 drivers/gpu/drm/tiny/st7735r.c 	if (IS_ERR(dbidev->backlight))
backlight         188 drivers/gpu/drm/tiny/st7735r.c 		return PTR_ERR(dbidev->backlight);
backlight          43 drivers/hid/hid-corsair.c 	struct k90_led *backlight;
backlight         430 drivers/hid/hid-corsair.c 	drvdata->backlight = kzalloc(sizeof(struct k90_led), GFP_KERNEL);
backlight         431 drivers/hid/hid-corsair.c 	if (!drvdata->backlight) {
backlight         445 drivers/hid/hid-corsair.c 	drvdata->backlight->removed = false;
backlight         446 drivers/hid/hid-corsair.c 	drvdata->backlight->cdev.name = name;
backlight         447 drivers/hid/hid-corsair.c 	drvdata->backlight->cdev.max_brightness = 3;
backlight         448 drivers/hid/hid-corsair.c 	drvdata->backlight->cdev.brightness_set = k90_brightness_set;
backlight         449 drivers/hid/hid-corsair.c 	drvdata->backlight->cdev.brightness_get = k90_backlight_get;
backlight         450 drivers/hid/hid-corsair.c 	INIT_WORK(&drvdata->backlight->work, k90_backlight_work);
backlight         451 drivers/hid/hid-corsair.c 	ret = led_classdev_register(&dev->dev, &drvdata->backlight->cdev);
backlight         458 drivers/hid/hid-corsair.c 	kfree(drvdata->backlight->cdev.name);
backlight         460 drivers/hid/hid-corsair.c 	kfree(drvdata->backlight);
backlight         461 drivers/hid/hid-corsair.c 	drvdata->backlight = NULL;
backlight         525 drivers/hid/hid-corsair.c 	if (drvdata->backlight) {
backlight         526 drivers/hid/hid-corsair.c 		drvdata->backlight->removed = true;
backlight         527 drivers/hid/hid-corsair.c 		led_classdev_unregister(&drvdata->backlight->cdev);
backlight         528 drivers/hid/hid-corsair.c 		cancel_work_sync(&drvdata->backlight->work);
backlight         529 drivers/hid/hid-corsair.c 		kfree(drvdata->backlight->cdev.name);
backlight         530 drivers/hid/hid-corsair.c 		kfree(drvdata->backlight);
backlight          92 drivers/hid/hid-picolcd.h 	struct backlight_device *backlight;
backlight          77 drivers/hid/hid-picolcd_backlight.c 	data->backlight            = bdev;
backlight          84 drivers/hid/hid-picolcd_backlight.c 	struct backlight_device *bdev = data->backlight;
backlight          86 drivers/hid/hid-picolcd_backlight.c 	data->backlight = NULL;
backlight          92 drivers/hid/hid-picolcd_backlight.c 	if (!data->backlight)
backlight          94 drivers/hid/hid-picolcd_backlight.c 	return picolcd_set_brightness(data->backlight);
backlight         101 drivers/hid/hid-picolcd_backlight.c 	if (!data->backlight)
backlight         104 drivers/hid/hid-picolcd_backlight.c 	data->backlight->props.power = FB_BLANK_POWERDOWN;
backlight         105 drivers/hid/hid-picolcd_backlight.c 	picolcd_set_brightness(data->backlight);
backlight         106 drivers/hid/hid-picolcd_backlight.c 	data->lcd_power = data->backlight->props.power = bl_power;
backlight         111 drivers/input/misc/ims-pcu.c 	struct ims_pcu_backlight backlight;
backlight         950 drivers/input/misc/ims-pcu.c 	struct ims_pcu_backlight *backlight =
backlight         953 drivers/input/misc/ims-pcu.c 			container_of(backlight, struct ims_pcu, backlight);
backlight         974 drivers/input/misc/ims-pcu.c 	struct ims_pcu_backlight *backlight =
backlight         977 drivers/input/misc/ims-pcu.c 			container_of(backlight, struct ims_pcu, backlight);
backlight        1002 drivers/input/misc/ims-pcu.c 	struct ims_pcu_backlight *backlight = &pcu->backlight;
backlight        1005 drivers/input/misc/ims-pcu.c 	snprintf(backlight->name, sizeof(backlight->name),
backlight        1008 drivers/input/misc/ims-pcu.c 	backlight->cdev.name = backlight->name;
backlight        1009 drivers/input/misc/ims-pcu.c 	backlight->cdev.max_brightness = IMS_PCU_MAX_BRIGHTNESS;
backlight        1010 drivers/input/misc/ims-pcu.c 	backlight->cdev.brightness_get = ims_pcu_backlight_get_brightness;
backlight        1011 drivers/input/misc/ims-pcu.c 	backlight->cdev.brightness_set_blocking =
backlight        1014 drivers/input/misc/ims-pcu.c 	error = led_classdev_register(pcu->dev, &backlight->cdev);
backlight        1027 drivers/input/misc/ims-pcu.c 	struct ims_pcu_backlight *backlight = &pcu->backlight;
backlight        1029 drivers/input/misc/ims-pcu.c 	led_classdev_unregister(&backlight->cdev);
backlight         177 drivers/media/usb/gspca/gl860/gl860-mi1320.c 	sd->vcur.backlight  =  0;
backlight         189 drivers/media/usb/gspca/gl860/gl860-mi1320.c 	sd->vmax.backlight  =  2;
backlight         254 drivers/media/usb/gspca/gl860/gl860-mi1320.c 	sd->vold.backlight  = -1;
backlight         340 drivers/media/usb/gspca/gl860/gl860-mi1320.c 	s32 backlight = sd->vcur.backlight;
backlight         455 drivers/media/usb/gspca/gl860/gl860-mi1320.c 	if (backlight != sd->vold.backlight) {
backlight         456 drivers/media/usb/gspca/gl860/gl860-mi1320.c 		sd->vold.backlight = backlight;
backlight         457 drivers/media/usb/gspca/gl860/gl860-mi1320.c 		if (backlight < 0 || backlight > sd->vmax.backlight)
backlight         458 drivers/media/usb/gspca/gl860/gl860-mi1320.c 			backlight = 0;
backlight         460 drivers/media/usb/gspca/gl860/gl860-mi1320.c 		backlight = tbl_backlight[backlight];
backlight         465 drivers/media/usb/gspca/gl860/gl860-mi1320.c 			ctrl_out(gspca_dev, 0x40, 1, 0xba80 + backlight, 0x00f1,
backlight         355 drivers/media/usb/gspca/gl860/gl860-mi2020.c 	sd->vcur.backlight  =  0;
backlight         367 drivers/media/usb/gspca/gl860/gl860-mi2020.c 	sd->vmax.backlight  =  64;
backlight         432 drivers/media/usb/gspca/gl860/gl860-mi2020.c 	sd->vold.backlight = 0;
backlight         626 drivers/media/usb/gspca/gl860/gl860-mi2020.c 	s32 backlight = sd->vcur.backlight;
backlight         755 drivers/media/usb/gspca/gl860/gl860-mi2020.c 	if (backlight != sd->vold.backlight) {
backlight         756 drivers/media/usb/gspca/gl860/gl860-mi2020.c 		sd->vold.backlight = backlight;
backlight         757 drivers/media/usb/gspca/gl860/gl860-mi2020.c 		if (backlight < 0 || backlight > sd->vmax.backlight)
backlight         758 drivers/media/usb/gspca/gl860/gl860-mi2020.c 			backlight = 0;
backlight         762 drivers/media/usb/gspca/gl860/gl860-mi2020.c 		dat_multi4[2] = dat_multi2[2] = backlight;
backlight         175 drivers/media/usb/gspca/gl860/gl860-ov2640.c 	sd->vcur.backlight  =  32;
backlight         186 drivers/media/usb/gspca/gl860/gl860-ov2640.c 	sd->vmax.backlight  =  64;
backlight         239 drivers/media/usb/gspca/gl860/gl860-ov2640.c 	sd->vold.backlight  = -1;
backlight         339 drivers/media/usb/gspca/gl860/gl860-ov2640.c 	s32 backlight = sd->vcur.backlight;
backlight         350 drivers/media/usb/gspca/gl860/gl860-ov2640.c 	if (backlight != sd->vold.backlight) {
backlight         352 drivers/media/usb/gspca/gl860/gl860-ov2640.c 		if (backlight < 0 || backlight > sd->vmax.backlight)
backlight         353 drivers/media/usb/gspca/gl860/gl860-ov2640.c 			backlight = 0;
backlight         357 drivers/media/usb/gspca/gl860/gl860-ov2640.c 		ctrl_out(gspca_dev, 0x40, 1, 0x601e + backlight     , 0x0024,
backlight         359 drivers/media/usb/gspca/gl860/gl860-ov2640.c 		ctrl_out(gspca_dev, 0x40, 1, 0x601e + backlight - 10, 0x0025,
backlight         457 drivers/media/usb/gspca/gl860/gl860-ov2640.c 	if (backlight != sd->vold.backlight) {
backlight         458 drivers/media/usb/gspca/gl860/gl860-ov2640.c 		sd->vold.backlight = backlight;
backlight         462 drivers/media/usb/gspca/gl860/gl860-ov2640.c 		ctrl_out(gspca_dev, 0x40, 1, 0x601e + backlight     , 0x0024,
backlight         464 drivers/media/usb/gspca/gl860/gl860-ov2640.c 		ctrl_out(gspca_dev, 0x40, 1, 0x601e + backlight - 10, 0x0025,
backlight         145 drivers/media/usb/gspca/gl860/gl860-ov9655.c 	sd->vcur.backlight  =   0;
backlight         154 drivers/media/usb/gspca/gl860/gl860-ov9655.c 	sd->vmax.backlight  =   0;
backlight          87 drivers/media/usb/gspca/gl860/gl860.c 		sd->vcur.backlight = ctrl->val;
backlight         157 drivers/media/usb/gspca/gl860/gl860.c 	if (sd->vmax.backlight)
backlight         160 drivers/media/usb/gspca/gl860/gl860.c 				  0, sd->vmax.backlight, 1,
backlight         161 drivers/media/usb/gspca/gl860/gl860.c 				  sd->vcur.backlight);
backlight          34 drivers/media/usb/gspca/gl860/gl860.h 	u16 backlight;
backlight         317 drivers/media/usb/pwc/pwc-v4l.c 	pdev->backlight = v4l2_ctrl_new_custom(hdl, &cfg, NULL);
backlight         323 drivers/media/usb/pwc/pwc.h 	struct v4l2_ctrl		*backlight;
backlight         754 drivers/mfd/88pm860x-core.c 	if (pdata && pdata->backlight) {
backlight         758 drivers/mfd/88pm860x-core.c 			bk_devs[i].platform_data = &pdata->backlight[i];
backlight         284 drivers/mfd/adp5520.c 	if (pdata->backlight) {
backlight         288 drivers/mfd/adp5520.c 						pdata->backlight,
backlight         289 drivers/mfd/adp5520.c 						sizeof(*pdata->backlight));
backlight         177 drivers/mfd/as3711.c 			&pdata->backlight;
backlight         179 drivers/mfd/as3711.c 			sizeof(pdata->backlight);
backlight         874 drivers/mfd/max8925-core.c 	if (pdata && pdata->backlight) {
backlight         875 drivers/mfd/max8925-core.c 		bk_devs[0].platform_data = &pdata->backlight;
backlight        1862 drivers/mfd/wm831x-core.c 	if (pdata->backlight) {
backlight          85 drivers/platform/x86/msi-wmi.c static struct backlight_device *backlight;
backlight         212 drivers/platform/x86/msi-wmi.c 		(backlight ||
backlight         235 drivers/platform/x86/msi-wmi.c 	backlight = backlight_device_register(DRV_NAME, NULL, NULL,
backlight         238 drivers/platform/x86/msi-wmi.c 	if (IS_ERR(backlight))
backlight         239 drivers/platform/x86/msi-wmi.c 		return PTR_ERR(backlight);
backlight         243 drivers/platform/x86/msi-wmi.c 		backlight_device_unregister(backlight);
backlight         247 drivers/platform/x86/msi-wmi.c 	backlight->props.brightness = err;
backlight         319 drivers/platform/x86/msi-wmi.c 	if (!event_wmi && !backlight) {
backlight         341 drivers/platform/x86/msi-wmi.c 	backlight_device_unregister(backlight);
backlight         215 drivers/platform/x86/panasonic-laptop.c 	struct backlight_device	*backlight;
backlight         591 drivers/platform/x86/panasonic-laptop.c 	pcc->backlight = backlight_device_register("panasonic", NULL, pcc,
backlight         593 drivers/platform/x86/panasonic-laptop.c 	if (IS_ERR(pcc->backlight)) {
backlight         594 drivers/platform/x86/panasonic-laptop.c 		result = PTR_ERR(pcc->backlight);
backlight         599 drivers/platform/x86/panasonic-laptop.c 	pcc->backlight->props.brightness = pcc->sinf[SINF_AC_CUR_BRIGHT];
backlight         612 drivers/platform/x86/panasonic-laptop.c 	backlight_device_unregister(pcc->backlight);
backlight         632 drivers/platform/x86/panasonic-laptop.c 	backlight_device_unregister(pcc->backlight);
backlight         157 drivers/staging/fbtft/fb_pcd8544.c 	.backlight = 1,
backlight          30 drivers/staging/fbtft/fb_ssd1351.c 	    par->pdata->display.backlight == FBTFT_ONBOARD_BACKLIGHT) {
backlight         150 drivers/staging/fbtft/fb_tls8204.c 	.backlight = 1,
backlight         160 drivers/staging/fbtft/fb_uc1701.c 	.backlight = 1,
backlight         596 drivers/staging/fbtft/fbtft-core.c 	if (pdata->display.backlight)
backlight         597 drivers/staging/fbtft/fbtft-core.c 		display->backlight = pdata->display.backlight;
backlight         748 drivers/staging/fbtft/fbtft-core.c 	if (display->backlight)
backlight        1172 drivers/staging/fbtft/fbtft-core.c 	pdata->display.backlight = fbtft_of_value(node, "backlight");
backlight        1183 drivers/staging/fbtft/fbtft-core.c 		pdata->display.backlight = 1;
backlight         111 drivers/staging/fbtft/fbtft.h 	unsigned int backlight;
backlight         471 drivers/video/backlight/backlight.c 	struct backlight_device *backlight = *(struct backlight_device **)res;
backlight         473 drivers/video/backlight/backlight.c 	backlight_device_unregister(backlight);
backlight         534 drivers/video/backlight/backlight.c 	struct backlight_device **ptr, *backlight;
backlight         541 drivers/video/backlight/backlight.c 	backlight = backlight_device_register(name, parent, devdata, ops,
backlight         543 drivers/video/backlight/backlight.c 	if (!IS_ERR(backlight)) {
backlight         544 drivers/video/backlight/backlight.c 		*ptr = backlight;
backlight         550 drivers/video/backlight/backlight.c 	return backlight;
backlight          72 drivers/video/backlight/bd6107.c 	struct backlight_device *backlight;
backlight          81 drivers/video/backlight/bd6107.c static int bd6107_backlight_update_status(struct backlight_device *backlight)
backlight          83 drivers/video/backlight/bd6107.c 	struct bd6107 *bd = bl_get_data(backlight);
backlight          84 drivers/video/backlight/bd6107.c 	int brightness = backlight->props.brightness;
backlight          86 drivers/video/backlight/bd6107.c 	if (backlight->props.power != FB_BLANK_UNBLANK ||
backlight          87 drivers/video/backlight/bd6107.c 	    backlight->props.fb_blank != FB_BLANK_UNBLANK ||
backlight          88 drivers/video/backlight/bd6107.c 	    backlight->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK))
backlight         105 drivers/video/backlight/bd6107.c static int bd6107_backlight_check_fb(struct backlight_device *backlight,
backlight         108 drivers/video/backlight/bd6107.c 	struct bd6107 *bd = bl_get_data(backlight);
backlight         123 drivers/video/backlight/bd6107.c 	struct backlight_device *backlight;
backlight         160 drivers/video/backlight/bd6107.c 	backlight = devm_backlight_device_register(&client->dev,
backlight         164 drivers/video/backlight/bd6107.c 	if (IS_ERR(backlight)) {
backlight         166 drivers/video/backlight/bd6107.c 		return PTR_ERR(backlight);
backlight         169 drivers/video/backlight/bd6107.c 	backlight_update_status(backlight);
backlight         170 drivers/video/backlight/bd6107.c 	i2c_set_clientdata(client, backlight);
backlight         177 drivers/video/backlight/bd6107.c 	struct backlight_device *backlight = i2c_get_clientdata(client);
backlight         179 drivers/video/backlight/bd6107.c 	backlight->props.brightness = 0;
backlight         180 drivers/video/backlight/bd6107.c 	backlight_update_status(backlight);
backlight          37 drivers/video/backlight/lv5207lp.c 	struct backlight_device *backlight;
backlight          46 drivers/video/backlight/lv5207lp.c static int lv5207lp_backlight_update_status(struct backlight_device *backlight)
backlight          48 drivers/video/backlight/lv5207lp.c 	struct lv5207lp *lv = bl_get_data(backlight);
backlight          49 drivers/video/backlight/lv5207lp.c 	int brightness = backlight->props.brightness;
backlight          51 drivers/video/backlight/lv5207lp.c 	if (backlight->props.power != FB_BLANK_UNBLANK ||
backlight          52 drivers/video/backlight/lv5207lp.c 	    backlight->props.fb_blank != FB_BLANK_UNBLANK ||
backlight          53 drivers/video/backlight/lv5207lp.c 	    backlight->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK))
backlight          70 drivers/video/backlight/lv5207lp.c static int lv5207lp_backlight_check_fb(struct backlight_device *backlight,
backlight          73 drivers/video/backlight/lv5207lp.c 	struct lv5207lp *lv = bl_get_data(backlight);
backlight          88 drivers/video/backlight/lv5207lp.c 	struct backlight_device *backlight;
backlight         118 drivers/video/backlight/lv5207lp.c 	backlight = devm_backlight_device_register(&client->dev,
backlight         121 drivers/video/backlight/lv5207lp.c 	if (IS_ERR(backlight)) {
backlight         123 drivers/video/backlight/lv5207lp.c 		return PTR_ERR(backlight);
backlight         126 drivers/video/backlight/lv5207lp.c 	backlight_update_status(backlight);
backlight         127 drivers/video/backlight/lv5207lp.c 	i2c_set_clientdata(client, backlight);
backlight         134 drivers/video/backlight/lv5207lp.c 	struct backlight_device *backlight = i2c_get_clientdata(client);
backlight         136 drivers/video/backlight/lv5207lp.c 	backlight->props.brightness = 0;
backlight         137 drivers/video/backlight/lv5207lp.c 	backlight_update_status(backlight);
backlight         133 drivers/video/backlight/wm831x_bl.c 		pdata = wm831x_pdata->backlight;
backlight          70 drivers/video/fbdev/amba-clcd.c 	if (fb->panel->backlight) {
backlight          71 drivers/video/fbdev/amba-clcd.c 		fb->panel->backlight->props.power = FB_BLANK_POWERDOWN;
backlight          72 drivers/video/fbdev/amba-clcd.c 		backlight_update_status(fb->panel->backlight);
backlight         123 drivers/video/fbdev/amba-clcd.c 	if (fb->panel->backlight) {
backlight         124 drivers/video/fbdev/amba-clcd.c 		fb->panel->backlight->props.power = FB_BLANK_UNBLANK;
backlight         125 drivers/video/fbdev/amba-clcd.c 		backlight_update_status(fb->panel->backlight);
backlight         608 drivers/video/fbdev/amba-clcd.c 	struct device_node *backlight;
backlight         611 drivers/video/fbdev/amba-clcd.c 	backlight = of_parse_phandle(panel, "backlight", 0);
backlight         612 drivers/video/fbdev/amba-clcd.c 	if (backlight) {
backlight         613 drivers/video/fbdev/amba-clcd.c 		clcd_panel->backlight = of_find_backlight_by_node(backlight);
backlight         614 drivers/video/fbdev/amba-clcd.c 		of_node_put(backlight);
backlight         616 drivers/video/fbdev/amba-clcd.c 		if (!clcd_panel->backlight)
backlight          51 drivers/video/fbdev/atmel_lcdfb.c 	struct backlight_device	*backlight;
backlight         160 drivers/video/fbdev/atmel_lcdfb.c 	if (sinfo->backlight)
backlight         173 drivers/video/fbdev/atmel_lcdfb.c 	sinfo->backlight = bl;
backlight         182 drivers/video/fbdev/atmel_lcdfb.c 	if (!sinfo->backlight)
backlight         185 drivers/video/fbdev/atmel_lcdfb.c 	if (sinfo->backlight->ops) {
backlight         186 drivers/video/fbdev/atmel_lcdfb.c 		sinfo->backlight->props.power = FB_BLANK_POWERDOWN;
backlight         187 drivers/video/fbdev/atmel_lcdfb.c 		sinfo->backlight->ops->update_status(sinfo->backlight);
backlight         189 drivers/video/fbdev/atmel_lcdfb.c 	backlight_device_unregister(sinfo->backlight);
backlight         402 drivers/video/fbdev/aty/aty128fb.c static int backlight = 1;
backlight         404 drivers/video/fbdev/aty/aty128fb.c static int backlight = 0;
backlight        1697 drivers/video/fbdev/aty/aty128fb.c 			backlight = simple_strtoul(this_opt+10, NULL, 0);
backlight        2039 drivers/video/fbdev/aty/aty128fb.c 	if (backlight)
backlight         312 drivers/video/fbdev/aty/atyfb_base.c static int backlight = 1;
backlight         314 drivers/video/fbdev/aty/atyfb_base.c static int backlight = 0;
backlight        2622 drivers/video/fbdev/aty/atyfb_base.c 	if (M64_HAS(MOBIL_BUS) && backlight) {
backlight        3826 drivers/video/fbdev/aty/atyfb_base.c 			backlight = simple_strtoul(this_opt+10, NULL, 0);
backlight         273 drivers/video/fbdev/aty/radeon_base.c static int backlight = 1;
backlight         275 drivers/video/fbdev/aty/radeon_base.c static int backlight = 0;
backlight        2499 drivers/video/fbdev/aty/radeon_base.c 	if (backlight)
backlight        2617 drivers/video/fbdev/aty/radeon_base.c 			backlight = simple_strtoul(this_opt+10, NULL, 0);
backlight          78 drivers/video/fbdev/nvidia/nvidia.c static int backlight = 1;
backlight          80 drivers/video/fbdev/nvidia/nvidia.c static int backlight = 0;
backlight        1387 drivers/video/fbdev/nvidia/nvidia.c 	if (backlight)
backlight        1482 drivers/video/fbdev/nvidia/nvidia.c 			backlight = simple_strtoul(this_opt+10, NULL, 0);
backlight         206 drivers/video/fbdev/riva/fbdev.c static int backlight = 1;
backlight         208 drivers/video/fbdev/riva/fbdev.c static int backlight = 0;
backlight        2037 drivers/video/fbdev/riva/fbdev.c 	if (backlight)
backlight        2131 drivers/video/fbdev/riva/fbdev.c 			backlight = simple_strtoul(this_opt+10, NULL, 0);
backlight         903 drivers/video/fbdev/sis/sis_main.c 	bool backlight = true;
backlight         913 drivers/video/fbdev/sis/sis_main.c 			backlight = true;
backlight         922 drivers/video/fbdev/sis/sis_main.c 			backlight = true;
backlight         931 drivers/video/fbdev/sis/sis_main.c 			backlight = false;
backlight         940 drivers/video/fbdev/sis/sis_main.c 			backlight = false;
backlight         949 drivers/video/fbdev/sis/sis_main.c 			backlight = false;
backlight         976 drivers/video/fbdev/sis/sis_main.c 			if(backlight) {
backlight         984 drivers/video/fbdev/sis/sis_main.c 				if(backlight) {
backlight         115 include/drm/drm_mipi_dbi.h 	struct backlight_device *backlight;
backlight          55 include/linux/amba/clcd.h 	struct backlight_device	*backlight;
backlight         435 include/linux/mfd/88pm860x.h 	struct pm860x_backlight_pdata	*backlight;
backlight         280 include/linux/mfd/adp5520.h 	struct adp5520_backlight_platform_data *backlight;
backlight         121 include/linux/mfd/as3711.h 	struct as3711_bl_pdata backlight;
backlight         232 include/linux/mfd/max8925.h 	struct max8925_backlight_pdata	*backlight;
backlight         126 include/linux/mfd/wm831x/pdata.h 	struct wm831x_backlight_pdata *backlight;
backlight          88 include/linux/platform_data/shmob_drm.h 	struct shmob_drm_backlight_data backlight;