Lines Matching refs:work_flags
73 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_timer_function()
78 &led_cdev->work_flags)) { in led_timer_function()
79 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_timer_function()
87 &led_cdev->work_flags)) in led_timer_function()
107 if (test_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags)) { in led_timer_function()
108 if (test_bit(LED_BLINK_INVERT, &led_cdev->work_flags)) { in led_timer_function()
111 &led_cdev->work_flags); in led_timer_function()
115 &led_cdev->work_flags); in led_timer_function()
150 if (test_and_clear_bit(LED_BLINK_DISABLE, &led_cdev->work_flags)) { in set_brightness_delayed()
152 set_bit(LED_SET_BRIGHTNESS_OFF, &led_cdev->work_flags); in set_brightness_delayed()
162 if (test_and_clear_bit(LED_SET_BRIGHTNESS_OFF, &led_cdev->work_flags)) in set_brightness_delayed()
165 if (test_and_clear_bit(LED_SET_BRIGHTNESS, &led_cdev->work_flags)) in set_brightness_delayed()
168 if (test_and_clear_bit(LED_SET_BLINK, &led_cdev->work_flags)) { in set_brightness_delayed()
204 set_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_set_software_blink()
213 if (!test_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags) && in led_blink_setup()
239 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_blink_set()
240 clear_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags); in led_blink_set()
241 clear_bit(LED_BLINK_ONESHOT_STOP, &led_cdev->work_flags); in led_blink_set()
252 if (test_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags) && in led_blink_set_oneshot()
256 set_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags); in led_blink_set_oneshot()
257 clear_bit(LED_BLINK_ONESHOT_STOP, &led_cdev->work_flags); in led_blink_set_oneshot()
260 set_bit(LED_BLINK_INVERT, &led_cdev->work_flags); in led_blink_set_oneshot()
262 clear_bit(LED_BLINK_INVERT, &led_cdev->work_flags); in led_blink_set_oneshot()
275 set_bit(LED_SET_BLINK, &led_cdev->work_flags); in led_blink_set_nosleep()
289 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_stop_software_blink()
299 if (test_bit(LED_BLINK_SW, &led_cdev->work_flags)) { in led_set_brightness()
306 set_bit(LED_BLINK_DISABLE, &led_cdev->work_flags); in led_set_brightness()
310 &led_cdev->work_flags); in led_set_brightness()
336 set_bit(LED_SET_BRIGHTNESS, &led_cdev->work_flags); in led_set_brightness_nopm()
338 clear_bit(LED_SET_BRIGHTNESS, &led_cdev->work_flags); in led_set_brightness_nopm()
339 clear_bit(LED_SET_BLINK, &led_cdev->work_flags); in led_set_brightness_nopm()
340 set_bit(LED_SET_BRIGHTNESS_OFF, &led_cdev->work_flags); in led_set_brightness_nopm()