HomeSort by: relevance | last modified time | path
    Searched refs:backlight (Results 1 - 25 of 59) sorted by relevancy

1 2 3

  /src/sys/external/bsd/drm2/linux/
linux_backlight.c 35 #include <linux/backlight.h>
38 backlight_enable(struct backlight_device *backlight)
44 backlight_disable(struct backlight_device *backlight)
  /src/etc/powerd/scripts/
lid_switch 17 wsconsctl -d -w backlight=0 >/dev/null
22 wsconsctl -d -w backlight=1 >/dev/null
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_panel.c 496 panel->backlight.min, panel->backlight.max);
508 hw_level = scale(user_level, 0, user_max, 0, panel->backlight.max);
509 hw_level = clamp(hw_level, panel->backlight.min, panel->backlight.max);
521 return scale(hw_level, panel->backlight.min, panel->backlight.max,
532 WARN_ON(panel->backlight.max == 0);
539 return panel->backlight.max - val + panel->backlight.min
    [all...]
intel_dsi_dcs_backlight.c 150 dcs_set_backlight(conn_state, panel->backlight.level);
158 panel->backlight.max = PANEL_PWM_MAX_VALUE;
159 panel->backlight.level = PANEL_PWM_MAX_VALUE;
171 if (dev_priv->vbt.backlight.type != INTEL_BACKLIGHT_DSI_DCS)
177 panel->backlight.setup = dcs_setup_backlight;
178 panel->backlight.enable = dcs_enable_backlight;
179 panel->backlight.disable = dcs_disable_backlight;
180 panel->backlight.set = dcs_set_backlight;
181 panel->backlight.get = dcs_get_backlight;
intel_dp_aux_backlight.c 37 /* Early return when display use other mechanism to enable backlight. */
54 DRM_DEBUG_KMS("Failed to %s aux backlight\n",
60 * Read the current backlight value from DPCD register(s) based
83 * Sends the current backlight level over the aux channel, checking if its using
102 DRM_DEBUG_KMS("Failed to write aux backlight level\n");
126 freq = dev_priv->vbt.backlight.pwm_freq_hz;
127 DRM_DEBUG_KMS("VBT defined backlight frequency %u Hz\n", freq);
129 DRM_DEBUG_KMS("Use panel default backlight frequency\n");
158 DRM_DEBUG_KMS("VBT defined backlight frequency out of range\n");
176 DRM_DEBUG_KMS("Failed to write aux backlight freq\n")
    [all...]
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/allwinner/
sun5i-a13-q8-tablet.dts 55 backlight = <&backlight>;
sun8i-q8-common.dtsi 54 backlight = <&backlight>;
sun5i-a13-utoo-p66.dts 70 &backlight {
71 /* Note levels of 10 / 20% result in backlight off */
sun4i-a10-dserve-dsrv9703c.dts 59 backlight: backlight {
60 compatible = "pwm-backlight";
sun4i-a10-inet1.dts 59 backlight: backlight {
60 compatible = "pwm-backlight";
sun4i-a10-pov-protab2-ips9.dts 59 backlight: backlight {
60 compatible = "pwm-backlight";
sun5i-a13-empire-electronix-d709.dts 59 backlight: backlight {
60 compatible = "pwm-backlight";
65 /* TODO: backlight uses axp gpio1 as enable pin */
sun5i-reference-design-tablet.dtsi 52 backlight: backlight {
53 compatible = "pwm-backlight";
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/nxp/imx/
imx6dl-aristainetos2_7.dts 58 backlight = <&backlight>;
imx6dl-tx6dl-comtft.dts 52 &backlight {
imx6q-tx6q-1010-comtft.dts 52 &backlight {
imx6q-tx6q-1020-comtft.dts 52 &backlight {
imx6qdl-tx6-lcd.dtsi 47 backlight: backlight {
48 compatible = "pwm-backlight";
79 backlight = <&backlight>;
imx6q-b450v3.dts 57 backlight = <&backlight_lvds>;
  /src/sys/external/bsd/drm2/dist/drm/
drm_panel.c 29 #include <linux/backlight.h>
207 * and the backlight to be enabled. Content will be visible on screen after
225 ret = backlight_enable(panel->backlight);
227 DRM_DEV_INFO(panel->dev, "failed to enable backlight: %d\n",
238 * This will typically turn off the panel's backlight or disable the display
251 ret = backlight_disable(panel->backlight);
253 DRM_DEV_INFO(panel->dev, "failed to disable backlight: %d\n",
328 * drm_panel_of_backlight - use backlight device node for backlight
331 * Use this function to enable backlight handling if your pane
349 struct backlight_device *backlight; local
    [all...]
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/st/
stm32f746-disco.dts 103 backlight: backlight {
104 compatible = "gpio-backlight";
112 backlight = <&backlight>;
stm32mp157c-lxa-mc1.dts 27 backlight: backlight {
28 compatible = "pwm-backlight";
77 backlight = <&backlight>;
  /src/sbin/wsconsctl/
display.c 50 static struct wsdisplay_param backlight; variable in typeref:struct:wsdisplay_param
63 { "backlight", &backlight.curval, FMT_UINT, 0 },
127 if (field_by_value(&backlight.curval)->flags & FLG_GET) {
128 backlight.param = WSDISPLAYIO_PARAM_BACKLIGHT;
129 if (ioctl(fd, WSDISPLAYIO_GETPARAM, &backlight) < 0)
130 field_disable_by_value(&backlight.curval);
207 if (field_by_value(&backlight.curval)->flags & FLG_SET) {
208 backlight.param = WSDISPLAYIO_PARAM_BACKLIGHT;
209 if (ioctl(fd, WSDISPLAYIO_SETPARAM, &backlight) < 0
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/
amdgpu_dce_abm.c 150 * 1. Find 16 bit backlight active duty cycle, where 0 <= backlight
151 * active duty cycle <= backlight period
154 /* 1.1 Apply bitmask for backlight period value based on value of BITCNT
186 /* 2.1 Lock group 2 backlight registers */
195 /* 2.3 Unlock group 2 backlight registers */
215 // Check for max backlight condition
218 // Take MSB of fractional part since backlight is not max
259 unsigned int backlight = calculate_16_bit_backlight_from_pwm(abm_dce); local
278 BL1_PWM_CURRENT_ABM_LEVEL, backlight);
299 unsigned int backlight = REG_READ(BL1_PWM_CURRENT_ABM_LEVEL); local
310 unsigned int backlight = REG_READ(BL1_PWM_TARGET_ABM_LEVEL); local
    [all...]
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_panel.h 50 * to call the .enable() function. This will typically enable the backlight to
53 * for taking this into account before enabling the backlight to avoid visual
59 * turning off the backlight and waiting for some time to make sure no image
66 * Backlight can be handled automatically if configured using
68 * functionality to enable/disable backlight.
142 * @backlight:
144 * Backlight device, used to turn on backlight after the call
145 * to enable(), and to turn off backlight before the call to
147 * backlight is set by drm_panel_of_backlight() and driver
150 struct backlight_device *backlight; member in struct:drm_panel
    [all...]

Completed in 29 milliseconds

1 2 3