Lines Matching refs:props
35 val /= bd->props.max_brightness; in aat2870_brightness()
62 int brightness = bd->props.brightness; in aat2870_bl_update_status()
65 if ((brightness < 0) || (bd->props.max_brightness < brightness)) { in aat2870_bl_update_status()
71 bd->props.brightness, bd->props.power, bd->props.state); in aat2870_bl_update_status()
73 if ((bd->props.power != FB_BLANK_UNBLANK) || in aat2870_bl_update_status()
74 (bd->props.state & BL_CORE_FBBLANK) || in aat2870_bl_update_status()
75 (bd->props.state & BL_CORE_SUSPENDED)) in aat2870_bl_update_status()
114 struct backlight_properties props; in aat2870_bl_probe() local
137 memset(&props, 0, sizeof(struct backlight_properties)); in aat2870_bl_probe()
139 props.type = BACKLIGHT_RAW; in aat2870_bl_probe()
142 &props); in aat2870_bl_probe()
166 bd->props.max_brightness = pdata->max_brightness; in aat2870_bl_probe()
168 bd->props.max_brightness = 255; in aat2870_bl_probe()
171 bd->props.power = FB_BLANK_UNBLANK; in aat2870_bl_probe()
172 bd->props.brightness = bd->props.max_brightness; in aat2870_bl_probe()
191 bd->props.power = FB_BLANK_POWERDOWN; in aat2870_bl_remove()
192 bd->props.brightness = 0; in aat2870_bl_remove()