Lines Matching refs:work_flags
68 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_timer_function()
73 &led_cdev->work_flags)) { in led_timer_function()
74 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_timer_function()
82 &led_cdev->work_flags)) in led_timer_function()
102 if (test_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags)) { in led_timer_function()
103 if (test_bit(LED_BLINK_INVERT, &led_cdev->work_flags)) { in led_timer_function()
106 &led_cdev->work_flags); in led_timer_function()
110 &led_cdev->work_flags); in led_timer_function()
123 if (test_and_clear_bit(LED_BLINK_DISABLE, &led_cdev->work_flags)) { in set_brightness_delayed()
168 set_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_set_software_blink()
177 if (!test_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags) && in led_blink_setup()
203 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_blink_set()
204 clear_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags); in led_blink_set()
205 clear_bit(LED_BLINK_ONESHOT_STOP, &led_cdev->work_flags); in led_blink_set()
216 if (test_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags) && in led_blink_set_oneshot()
220 set_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags); in led_blink_set_oneshot()
221 clear_bit(LED_BLINK_ONESHOT_STOP, &led_cdev->work_flags); in led_blink_set_oneshot()
224 set_bit(LED_BLINK_INVERT, &led_cdev->work_flags); in led_blink_set_oneshot()
226 clear_bit(LED_BLINK_INVERT, &led_cdev->work_flags); in led_blink_set_oneshot()
237 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_stop_software_blink()
247 if (test_bit(LED_BLINK_SW, &led_cdev->work_flags)) { in led_set_brightness()
254 set_bit(LED_BLINK_DISABLE, &led_cdev->work_flags); in led_set_brightness()
258 &led_cdev->work_flags); in led_set_brightness()