Searched refs:kernel_backlight_disabled (Results 1 – 1 of 1) sorted by relevance
40 static atomic_t kernel_backlight_disabled = ATOMIC_INIT(0); variable103 if (atomic_read(&kernel_backlight_disabled)) in pmac_backlight_key_worker()131 if (atomic_read(&kernel_backlight_disabled)) in pmac_backlight_key()170 if (atomic_read(&kernel_backlight_disabled)) in pmac_backlight_set_legacy_worker()178 if (atomic_read(&kernel_backlight_disabled)) in pmac_backlight_set_legacy_brightness_pmu()211 atomic_inc(&kernel_backlight_disabled); in pmac_backlight_disable()216 atomic_dec(&kernel_backlight_disabled); in pmac_backlight_enable()