Searched refs:props (Results 1 – 2 of 2) sorted by relevance
108 struct backlight_properties *props; in pmac_backlight_key_worker() local111 props = &pmac_backlight->props; in pmac_backlight_key_worker()113 brightness = props->brightness + in pmac_backlight_key_worker()115 (props->max_brightness / 15)); in pmac_backlight_key_worker()119 else if (brightness > props->max_brightness) in pmac_backlight_key_worker()120 brightness = props->max_brightness; in pmac_backlight_key_worker()122 props->brightness = brightness; in pmac_backlight_key_worker()147 struct backlight_properties *props; in __pmac_backlight_set_legacy_brightness() local149 props = &pmac_backlight->props; in __pmac_backlight_set_legacy_brightness()150 props->brightness = brightness * in __pmac_backlight_set_legacy_brightness()[all …]
119 struct backlight_properties *props; in pmac_backlight_unblank() local121 props = &pmac_backlight->props; in pmac_backlight_unblank()122 props->brightness = props->max_brightness; in pmac_backlight_unblank()123 props->power = FB_BLANK_UNBLANK; in pmac_backlight_unblank()