Searched refs:kernel_backlight_disabled (Results 1 – 1 of 1) sorted by relevance
39 static atomic_t kernel_backlight_disabled = ATOMIC_INIT(0); variable102 if (atomic_read(&kernel_backlight_disabled)) in pmac_backlight_key_worker()130 if (atomic_read(&kernel_backlight_disabled)) in pmac_backlight_key()169 if (atomic_read(&kernel_backlight_disabled)) in pmac_backlight_set_legacy_worker()177 if (atomic_read(&kernel_backlight_disabled)) in pmac_backlight_set_legacy_brightness_pmu()210 atomic_inc(&kernel_backlight_disabled); in pmac_backlight_disable()215 atomic_dec(&kernel_backlight_disabled); in pmac_backlight_enable()