Home
last modified time | relevance | path

Searched refs:work_flags (Results 1 – 25 of 27) sorted by relevance

12

/linux/drivers/leds/
H A Dled-core.c74 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 Dled-class-multicolor.c62 if (!test_bit(LED_BLINK_SW, &led_cdev->work_flags)) in multi_intensity_store()
H A Dled-class.c543 led_cdev->work_flags = 0; in led_classdev_register_ext()
/linux/io_uring/
H A Dio-wq.c153 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 Dio-wq.h52 static inline bool __io_wq_is_hashed(unsigned int work_flags) in __io_wq_is_hashed() argument
54 return work_flags & IO_WQ_WORK_HASHED; in __io_wq_is_hashed()
/linux/kernel/
H A Dirq_work.c93 int work_flags; in __irq_work_queue_local() local
95 work_flags = atomic_read(&work->node.a_flags); in __irq_work_queue_local()
96 if (work_flags & IRQ_WORK_LAZY) in __irq_work_queue_local()
99 !(work_flags & IRQ_WORK_HARD_IRQ)) in __irq_work_queue_local()
H A Dworkqueue.c2238 unsigned int work_flags; in __queue_work() local
2327 work_flags = work_color_to_flags(pwq->work_color); in __queue_work()
2339 insert_work(pwq, work, &pool->worklist, work_flags); in __queue_work()
2342 work_flags |= WORK_STRUCT_INACTIVE; in __queue_work()
2343 insert_work(pwq, work, &pwq->inactive_works, work_flags); in __queue_work()
3765 unsigned int work_flags = 0; in insert_wq_barrier() local
3788 work_flags |= WORK_STRUCT_INACTIVE; in insert_wq_barrier()
3802 work_flags |= *bits & WORK_STRUCT_LINKED; in insert_wq_barrier()
3808 work_flags |= work_color_to_flags(work_color); in insert_wq_barrier()
3810 insert_work(pwq, &barr->work, head, work_flags); in insert_wq_barrier()
[all...]
/linux/drivers/leds/trigger/
H A Dledtrig-heartbeat.c48 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 Dledtrig-activity.c48 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/drivers/net/wireless/marvell/mwifiex/
H A Dmain.c221 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()
658 set_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags); in _mwifiex_fw_dpc()
875 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &priv->adapter->work_flags)) { in mwifiex_hard_start_xmit()
1372 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) in mwifiex_host_mlme_work_queue()
1403 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) in mwifiex_rx_work_queue()
1419 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) in mwifiex_main_work_queue()
1436 set_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags); in mwifiex_uninit_sw()
[all...]
H A Dusb.c174 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 Dsdio.c648 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 Dpcie.c319 clear_bit(MWIFIEX_IS_HS_ENABLING, &adapter->work_flags); in mwifiex_pcie_suspend()
327 set_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags); in mwifiex_pcie_suspend()
328 clear_bit(MWIFIEX_IS_HS_ENABLING, &adapter->work_flags); in mwifiex_pcie_suspend()
354 if (!test_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags)) { in mwifiex_pcie_resume()
360 clear_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags); in mwifiex_pcie_resume()
478 &card->work_flags)) in mwifiex_pcie_coredump()
527 clear_bit(MWIFIEX_IFACE_WORK_DEVICE_DUMP, &card->work_flags); in mwifiex_pcie_reset_prepare()
528 clear_bit(MWIFIEX_IFACE_WORK_CARD_RESET, &card->work_flags); in mwifiex_pcie_reset_prepare()
2471 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) in mwifiex_pcie_interrupt()
2834 &card->work_flags)) in mwifiex_pcie_work()
[all...]
H A Dsta_tx.c124 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) in mwifiex_send_null_packet()
H A Dpcie.h232 unsigned long work_flags; member
H A Dinit.c231 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 Dsta_ioctl.c419 &adapter->work_flags)) in mwifiex_set_hs_params()
534 set_bit(MWIFIEX_IS_HS_ENABLING, &adapter->work_flags); in mwifiex_enable_hs()
601 &adapter->work_flags); in mwifiex_get_bss_info()
H A Dsdio.h265 unsigned long work_flags; member
H A Dutil.c171 &adapter->work_flags); in mwifiex_get_debug_info()
174 &adapter->work_flags); in mwifiex_get_debug_info()
H A Ddebugfs.c807 clear_bit(MWIFIEX_IS_HS_ENABLING, &priv->adapter->work_flags); in mwifiex_hscfg_write()
H A Dcfg80211.c2462 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags) || in mwifiex_cfg80211_connect()
2463 test_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags)) { in mwifiex_cfg80211_connect()
4437 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags) || in mwifiex_cfg80211_associate()
4438 test_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags)) { in mwifiex_cfg80211_associate()
H A Dwmm.c599 !test_bit(MWIFIEX_SURPRISE_REMOVED, &priv->adapter->work_flags)) in mwifiex_clean_txrx()
/linux/include/linux/
H A Dleds.h114 unsigned long work_flags; member
H A Dworkqueue.h76 enum work_flags { enum
/linux/drivers/hv/
H A Dmshv_root_main.c492 const ulong work_flags = _TIF_NOTIFY_SIGNAL | _TIF_SIGPENDING | in mshv_pre_guest_mode_work() local
497 while (th_flags & work_flags) { in mshv_pre_guest_mode_work()

12