Searched refs:props (Results 1 – 2 of 2) sorted by relevance
107 struct backlight_properties *props; in pmac_backlight_key_worker() local110 props = &pmac_backlight->props; in pmac_backlight_key_worker()112 brightness = props->brightness + in pmac_backlight_key_worker()114 (props->max_brightness / 15)); in pmac_backlight_key_worker()118 else if (brightness > props->max_brightness) in pmac_backlight_key_worker()119 brightness = props->max_brightness; in pmac_backlight_key_worker()121 props->brightness = brightness; in pmac_backlight_key_worker()146 struct backlight_properties *props; in __pmac_backlight_set_legacy_brightness() local148 props = &pmac_backlight->props; in __pmac_backlight_set_legacy_brightness()149 props->brightness = brightness * in __pmac_backlight_set_legacy_brightness()[all …]
99 struct backlight_properties *props; in pmac_backlight_unblank() local101 props = &pmac_backlight->props; in pmac_backlight_unblank()102 props->brightness = props->max_brightness; in pmac_backlight_unblank()103 props->power = FB_BLANK_UNBLANK; in pmac_backlight_unblank()