Searched refs:kernel_backlight_disabled (Results 1 – 1 of 1) sorted by relevance
38 static atomic_t kernel_backlight_disabled = ATOMIC_INIT(0); variable76 if (atomic_read(&kernel_backlight_disabled)) in pmac_backlight_key_worker()104 if (atomic_read(&kernel_backlight_disabled)) in pmac_backlight_key()143 if (atomic_read(&kernel_backlight_disabled)) in pmac_backlight_set_legacy_worker()151 if (atomic_read(&kernel_backlight_disabled)) in pmac_backlight_set_legacy_brightness_pmu()184 atomic_inc(&kernel_backlight_disabled); in pmac_backlight_disable()189 atomic_dec(&kernel_backlight_disabled); in pmac_backlight_enable()