| /linux/drivers/leds/ |
| H A D | led-core.c | 74 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_timer_function() 79 &led_cdev->work_flags)) { in led_timer_function() 80 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_timer_function() 88 &led_cdev->work_flags)) in led_timer_function() 108 if (test_bit(LED_BLINK_ONESHOT, &led_cdev->work_flags)) { in led_timer_function() 109 if (test_bit(LED_BLINK_INVERT, &led_cdev->work_flags)) { in led_timer_function() 112 &led_cdev->work_flags); in led_timer_function() 116 &led_cdev->work_flags); in led_timer_function() 151 if (test_and_clear_bit(LED_BLINK_DISABLE, &led_cdev->work_flags)) { in set_brightness_delayed() 153 set_bit(LED_SET_BRIGHTNESS_OFF, &led_cdev->work_flags); in set_brightness_delayed() [all …]
|
| H A D | led-class-multicolor.c | 62 if (!test_bit(LED_BLINK_SW, &led_cdev->work_flags)) in multi_intensity_store()
|
| /linux/io_uring/ |
| H A D | io-wq.c | 153 static inline unsigned int __io_get_work_hash(unsigned int work_flags) in __io_get_work_hash() argument 155 return work_flags >> IO_WQ_HASH_SHIFT; in __io_get_work_hash() 180 unsigned int work_flags) in io_work_get_acct() argument 182 return io_get_acct(wq, !(work_flags & IO_WQ_WORK_UNBOUND)); in io_work_get_acct() 433 unsigned int hash, work_flags; in io_wq_hash_defer() local 438 work_flags = atomic_read(&work->flags); in io_wq_hash_defer() 439 if (!__io_wq_is_hashed(work_flags)) in io_wq_hash_defer() 446 hash = __io_get_work_hash(work_flags); in io_wq_hash_defer() 448 work_flags = atomic_read(&next->flags); in io_wq_hash_defer() 449 if (!__io_wq_is_hashed(work_flags)) in io_wq_hash_defer() [all …]
|
| H A D | io-wq.h | 52 static inline bool __io_wq_is_hashed(unsigned int work_flags) 54 return work_flags & IO_WQ_WORK_HASHED; 57 __io_wq_is_hashed(unsigned int work_flags) __io_wq_is_hashed() argument
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | main.c | 221 if (test_and_set_bit(MWIFIEX_IS_REQUESTING_FW_VEREXT, &adapter->work_flags)) in maybe_quirk_fw_disable_ds() 411 &adapter->work_flags); in mwifiex_main_process() 431 &adapter->work_flags); in mwifiex_main_process() 450 &adapter->work_flags); in mwifiex_main_process() 663 set_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags); in _mwifiex_fw_dpc() 880 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &priv->adapter->work_flags)) { in mwifiex_hard_start_xmit() 1377 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) in mwifiex_host_mlme_work_queue() 1408 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) in mwifiex_rx_work_queue() 1424 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) in mwifiex_main_work_queue() 1441 set_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags); in mwifiex_uninit_sw() [all …]
|
| H A D | cmdevt.c | 365 (test_bit(MWIFIEX_IS_HS_CONFIGURED, &adapter->work_flags) && in mwifiex_dnld_sleep_confirm_cmd() 555 if (test_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags)) { in mwifiex_send_cmd() 561 if (test_bit(MWIFIEX_IS_HS_ENABLING, &adapter->work_flags) && in mwifiex_send_cmd() 568 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) { in mwifiex_send_cmd() 574 if (test_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags)) { in mwifiex_send_cmd() 789 &adapter->work_flags); in mwifiex_exec_next_cmd() 832 clear_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags); in mwifiex_process_cmdresp() 941 set_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags); in mwifiex_cmd_timeout_func() 968 &adapter->work_flags)); in mwifiex_cmd_timeout_func() 1144 &adapter->work_flags)) { in mwifiex_hs_activated_event() [all …]
|
| H A D | usb.c | 174 test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) { in mwifiex_usb_rx_complete() 211 if (!test_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags)) { in mwifiex_usb_rx_complete() 214 set_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags); in mwifiex_usb_rx_complete() 290 if (test_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags)) { in mwifiex_usb_submit_rx_urb() 551 if (unlikely(test_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags))) in mwifiex_usb_suspend() 559 clear_bit(MWIFIEX_IS_HS_ENABLING, &adapter->work_flags); in mwifiex_usb_suspend() 570 set_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags); in mwifiex_usb_suspend() 571 clear_bit(MWIFIEX_IS_HS_ENABLING, &adapter->work_flags); in mwifiex_usb_suspend() 615 if (unlikely(!test_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags))) { in mwifiex_usb_resume() 624 clear_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags); in mwifiex_usb_resume() [all …]
|
| H A D | sdio.c | 648 if (!test_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags)) { in mwifiex_sdio_resume() 654 clear_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags); in mwifiex_sdio_resume() 727 if (test_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags)) { in mwifiex_write_data_sync() 928 clear_bit(MWIFIEX_IS_HS_ENABLING, &adapter->work_flags); in mwifiex_sdio_suspend() 938 set_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags); in mwifiex_sdio_suspend() 939 clear_bit(MWIFIEX_IS_HS_ENABLING, &adapter->work_flags); in mwifiex_sdio_suspend() 951 &card->work_flags)) in mwifiex_sdio_coredump() 2688 clear_bit(MWIFIEX_IFACE_WORK_DEVICE_DUMP, &card->work_flags); in mwifiex_sdio_card_reset_work() 2689 clear_bit(MWIFIEX_IFACE_WORK_CARD_RESET, &card->work_flags); in mwifiex_sdio_card_reset_work() 3023 &card->work_flags)) in mwifiex_sdio_work() [all …]
|
| H A D | sta_tx.c | 124 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) in mwifiex_send_null_packet()
|
| H A D | pcie.h | 232 unsigned long work_flags; member
|
| H A D | init.c | 231 clear_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags); in mwifiex_init_adapter() 268 clear_bit(MWIFIEX_IS_HS_CONFIGURED, &adapter->work_flags); in mwifiex_init_adapter()
|
| H A D | sdio.h | 265 unsigned long work_flags; member
|
| H A D | util.c | 171 &adapter->work_flags); in mwifiex_get_debug_info() 174 &adapter->work_flags); in mwifiex_get_debug_info()
|
| H A D | debugfs.c | 807 clear_bit(MWIFIEX_IS_HS_ENABLING, &priv->adapter->work_flags); in mwifiex_hscfg_write()
|
| H A D | sta_event.c | 216 if (test_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags) && in mwifiex_reset_connect_state()
|
| H A D | cfg80211.c | 2461 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags) || in mwifiex_cfg80211_connect() 2462 test_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags)) { in mwifiex_cfg80211_connect() 4436 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags) || in mwifiex_cfg80211_associate() 4437 test_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags)) { in mwifiex_cfg80211_associate()
|
| H A D | scan.c | 1495 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags) || in mwifiex_scan_networks() 1496 test_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags)) { in mwifiex_scan_networks()
|
| H A D | sta_cmdresp.c | 699 if (test_and_clear_bit(MWIFIEX_IS_REQUESTING_FW_VEREXT, &priv->adapter->work_flags)) { in mwifiex_ret_ver_ext()
|
| /linux/drivers/leds/trigger/ |
| H A D | ledtrig-heartbeat.c | 48 if (test_and_clear_bit(LED_BLINK_BRIGHTNESS_CHANGE, &led_cdev->work_flags)) in led_heartbeat_function() 144 set_bit(LED_BLINK_SW, &led_cdev->work_flags); in heartbeat_trig_activate() 156 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in heartbeat_trig_deactivate()
|
| H A D | ledtrig-activity.c | 48 if (test_and_clear_bit(LED_BLINK_BRIGHTNESS_CHANGE, &led_cdev->work_flags)) in led_activity_function() 202 set_bit(LED_BLINK_SW, &led_cdev->work_flags); in activity_activate() 213 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in activity_deactivate()
|
| /linux/kernel/ |
| H A D | workqueue.c | 2234 unsigned int work_flags; in __queue_work() local 2323 work_flags = work_color_to_flags(pwq->work_color); in __queue_work() 2335 insert_work(pwq, work, &pool->worklist, work_flags); in __queue_work() 2338 work_flags |= WORK_STRUCT_INACTIVE; in __queue_work() 2339 insert_work(pwq, work, &pwq->inactive_works, work_flags); in __queue_work() 3798 unsigned int work_flags = 0; in insert_wq_barrier() local 3821 work_flags |= WORK_STRUCT_INACTIVE; in insert_wq_barrier() 3835 work_flags |= *bits & WORK_STRUCT_LINKED; in insert_wq_barrier() 3841 work_flags |= work_color_to_flags(work_color); in insert_wq_barrier() 3843 insert_work(pwq, &barr->work, head, work_flags); in insert_wq_barrier()
|
| /linux/include/linux/ |
| H A D | leds.h | 114 unsigned long work_flags; member
|
| H A D | workqueue.h | 76 enum work_flags { enum
|