Lines Matching refs:props
48 val /= bd->props.max_brightness; in aat2870_brightness()
75 int brightness = bd->props.brightness; in aat2870_bl_update_status()
78 if ((brightness < 0) || (bd->props.max_brightness < brightness)) { in aat2870_bl_update_status()
84 bd->props.brightness, bd->props.power, bd->props.state); in aat2870_bl_update_status()
86 if ((bd->props.power != FB_BLANK_UNBLANK) || in aat2870_bl_update_status()
87 (bd->props.state & BL_CORE_FBBLANK) || in aat2870_bl_update_status()
88 (bd->props.state & BL_CORE_SUSPENDED)) in aat2870_bl_update_status()
127 struct backlight_properties props; in aat2870_bl_probe() local
150 memset(&props, 0, sizeof(struct backlight_properties)); in aat2870_bl_probe()
152 props.type = BACKLIGHT_RAW; in aat2870_bl_probe()
155 &props); in aat2870_bl_probe()
179 bd->props.max_brightness = pdata->max_brightness; in aat2870_bl_probe()
181 bd->props.max_brightness = 255; in aat2870_bl_probe()
184 bd->props.power = FB_BLANK_UNBLANK; in aat2870_bl_probe()
185 bd->props.brightness = bd->props.max_brightness; in aat2870_bl_probe()
204 bd->props.power = FB_BLANK_POWERDOWN; in aat2870_bl_remove()
205 bd->props.brightness = 0; in aat2870_bl_remove()