Lines Matching refs:work_flags

56 		clear_bit(LED_BLINK_SW, &led_cdev->work_flags);  in led_timer_function()
61 &led_cdev->work_flags)) { in led_timer_function()
62 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_timer_function()
70 &led_cdev->work_flags)) in led_timer_function()
90 if (test_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags)) { in led_timer_function()
91 if (test_bit(LED_BLINK_INVERT, &led_cdev->work_flags)) { in led_timer_function()
94 &led_cdev->work_flags); in led_timer_function()
98 &led_cdev->work_flags); in led_timer_function()
111 if (test_and_clear_bit(LED_BLINK_DISABLE, &led_cdev->work_flags)) { in set_brightness_delayed()
156 set_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_set_software_blink()
165 if (!test_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags) && in led_blink_setup()
191 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_blink_set()
192 clear_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags); in led_blink_set()
193 clear_bit(LED_BLINK_ONESHOT_STOP, &led_cdev->work_flags); in led_blink_set()
204 if (test_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags) && in led_blink_set_oneshot()
208 set_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags); in led_blink_set_oneshot()
209 clear_bit(LED_BLINK_ONESHOT_STOP, &led_cdev->work_flags); in led_blink_set_oneshot()
212 set_bit(LED_BLINK_INVERT, &led_cdev->work_flags); in led_blink_set_oneshot()
214 clear_bit(LED_BLINK_INVERT, &led_cdev->work_flags); in led_blink_set_oneshot()
225 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_stop_software_blink()
236 if (test_bit(LED_BLINK_SW, &led_cdev->work_flags)) { in led_set_brightness()
243 set_bit(LED_BLINK_DISABLE, &led_cdev->work_flags); in led_set_brightness()
247 &led_cdev->work_flags); in led_set_brightness()