Lines Matching refs:props
716 panel->backlight.device->props.brightness = in intel_panel_set_backlight_acpi()
719 panel->backlight.device->props.max_brightness); in intel_panel_set_backlight_acpi()
854 panel->backlight.device->props.power = FB_BLANK_POWERDOWN; in intel_panel_disable_backlight()
1122 panel->backlight.device->props.brightness = in intel_panel_enable_backlight()
1125 panel->backlight.device->props.max_brightness); in intel_panel_enable_backlight()
1131 panel->backlight.device->props.power = FB_BLANK_UNBLANK; in intel_panel_enable_backlight()
1145 bd->props.brightness, bd->props.max_brightness); in intel_backlight_device_update_status()
1146 intel_panel_set_backlight(connector, bd->props.brightness, in intel_backlight_device_update_status()
1147 bd->props.max_brightness); in intel_backlight_device_update_status()
1157 bool enable = bd->props.power == FB_BLANK_UNBLANK && in intel_backlight_device_update_status()
1158 bd->props.brightness != 0; in intel_backlight_device_update_status()
1162 bd->props.power = FB_BLANK_POWERDOWN; in intel_backlight_device_update_status()
1181 ret = scale_hw_to_user(connector, hw_level, bd->props.max_brightness); in intel_backlight_device_get_brightness()
1197 struct backlight_properties props; in intel_backlight_device_register() local
1207 memset(&props, 0, sizeof(props)); in intel_backlight_device_register()
1208 props.type = BACKLIGHT_RAW; in intel_backlight_device_register()
1214 props.max_brightness = panel->backlight.max; in intel_backlight_device_register()
1215 props.brightness = scale_hw_to_user(connector, in intel_backlight_device_register()
1217 props.max_brightness); in intel_backlight_device_register()
1220 props.power = FB_BLANK_UNBLANK; in intel_backlight_device_register()
1222 props.power = FB_BLANK_POWERDOWN; in intel_backlight_device_register()
1232 &intel_backlight_device_ops, &props); in intel_backlight_device_register()