/Linux-v4.19/include/linux/ |
D | kthread.h | 119 #define KTHREAD_DELAYED_WORK_INIT(dwork, fn) { \ argument 120 .work = KTHREAD_WORK_INIT((dwork).work, (fn)), \ 131 #define DEFINE_KTHREAD_DELAYED_WORK(dwork, fn) \ argument 132 struct kthread_delayed_work dwork = \ 133 KTHREAD_DELAYED_WORK_INIT(dwork, fn) 164 #define kthread_init_delayed_work(dwork, fn) \ argument 166 kthread_init_work(&(dwork)->work, (fn)); \ 167 __init_timer(&(dwork)->timer, \ 186 struct kthread_delayed_work *dwork, 190 struct kthread_delayed_work *dwork,
|
D | workqueue.h | 469 struct delayed_work *dwork, unsigned long delay); 482 extern bool flush_delayed_work(struct delayed_work *dwork); 483 extern bool cancel_delayed_work(struct delayed_work *dwork); 484 extern bool cancel_delayed_work_sync(struct delayed_work *dwork); 524 struct delayed_work *dwork, in queue_delayed_work() argument 527 return queue_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay); in queue_delayed_work() 539 struct delayed_work *dwork, in mod_delayed_work() argument 542 return mod_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay); in mod_delayed_work() 611 static inline bool schedule_delayed_work_on(int cpu, struct delayed_work *dwork, in schedule_delayed_work_on() argument 614 return queue_delayed_work_on(cpu, system_wq, dwork, delay); in schedule_delayed_work_on() [all …]
|
/Linux-v4.19/drivers/staging/most/i2c/ |
D | i2c.c | 40 struct delayed_work dwork; member 132 cancel_delayed_work_sync(&dev->rx.dwork); in enqueue() 135 pending_rx_work(&dev->rx.dwork.work); in enqueue() 176 cancel_delayed_work_sync(&dev->rx.dwork); in poison_channel() 235 struct hdm_i2c *dev = container_of(work, struct hdm_i2c, rx.dwork.work); in pending_rx_work() 243 schedule_delayed_work(&dev->rx.dwork, dev->rx.delay); in pending_rx_work() 274 schedule_delayed_work(&dev->rx.dwork, 0); in most_irq_handler() 321 INIT_DELAYED_WORK(&dev->rx.dwork, pending_rx_work); in i2c_probe()
|
/Linux-v4.19/kernel/ |
D | kthread.c | 835 struct kthread_delayed_work *dwork = from_timer(dwork, t, timer); in kthread_delayed_work_timer_fn() local 836 struct kthread_work *work = &dwork->work; in kthread_delayed_work_timer_fn() 860 struct kthread_delayed_work *dwork, in __kthread_queue_delayed_work() argument 863 struct timer_list *timer = &dwork->timer; in __kthread_queue_delayed_work() 864 struct kthread_work *work = &dwork->work; in __kthread_queue_delayed_work() 904 struct kthread_delayed_work *dwork, in kthread_queue_delayed_work() argument 907 struct kthread_work *work = &dwork->work; in kthread_queue_delayed_work() 914 __kthread_queue_delayed_work(worker, dwork, delay); in kthread_queue_delayed_work() 988 struct kthread_delayed_work *dwork = in __kthread_cancel_work() local 1000 del_timer_sync(&dwork->timer); in __kthread_cancel_work() [all …]
|
D | workqueue.c | 1216 struct delayed_work *dwork = to_delayed_work(work); in try_to_grab_pending() local 1223 if (likely(del_timer(&dwork->timer))) in try_to_grab_pending() 1497 struct delayed_work *dwork = from_timer(dwork, t, timer); in delayed_work_timer_fn() local 1500 __queue_work(dwork->cpu, dwork->wq, &dwork->work); in delayed_work_timer_fn() 1505 struct delayed_work *dwork, unsigned long delay) in __queue_delayed_work() argument 1507 struct timer_list *timer = &dwork->timer; in __queue_delayed_work() 1508 struct work_struct *work = &dwork->work; in __queue_delayed_work() 1522 __queue_work(cpu, wq, &dwork->work); in __queue_delayed_work() 1526 dwork->wq = wq; in __queue_delayed_work() 1527 dwork->cpu = cpu; in __queue_delayed_work() [all …]
|
/Linux-v4.19/drivers/staging/greybus/ |
D | fw-download.c | 29 struct delayed_work dwork; member 131 struct delayed_work *dwork = to_delayed_work(work); in fw_request_timedout() local 132 struct fw_request *fw_req = container_of(dwork, in fw_request_timedout() 133 struct fw_request, dwork); in fw_request_timedout() 209 INIT_DELAYED_WORK(&fw_req->dwork, fw_request_timedout); in find_firmware() 210 schedule_delayed_work(&fw_req->dwork, NEXT_REQ_TIMEOUT_J); in find_firmware() 301 cancel_delayed_work_sync(&fw_req->dwork); in fw_download_fetch_firmware() 344 schedule_delayed_work(&fw_req->dwork, NEXT_REQ_TIMEOUT_J); in fw_download_fetch_firmware() 377 cancel_delayed_work_sync(&fw_req->dwork); in fw_download_release_firmware() 459 cancel_delayed_work_sync(&fw_req->dwork); in gb_fw_download_connection_exit()
|
D | bootrom.c | 39 struct delayed_work dwork; member 54 struct delayed_work *dwork = to_delayed_work(work); in gb_bootrom_timedout() local 55 struct gb_bootrom *bootrom = container_of(dwork, in gb_bootrom_timedout() 56 struct gb_bootrom, dwork); in gb_bootrom_timedout() 92 schedule_delayed_work(&bootrom->dwork, msecs_to_jiffies(timeout)); in gb_bootrom_set_timeout() 97 cancel_delayed_work_sync(&bootrom->dwork); in gb_bootrom_cancel_timeout() 443 INIT_DELAYED_WORK(&bootrom->dwork, gb_bootrom_timedout); in gb_bootrom_probe()
|
/Linux-v4.19/sound/firewire/fireface/ |
D | ff.c | 48 struct snd_ff *ff = container_of(work, struct snd_ff, dwork.work); in do_registration() 120 INIT_DEFERRABLE_WORK(&ff->dwork, do_registration); in snd_ff_probe() 121 snd_fw_schedule_registration(unit, &ff->dwork); in snd_ff_probe() 132 snd_fw_schedule_registration(unit, &ff->dwork); in snd_ff_update() 149 cancel_work_sync(&ff->dwork.work); in snd_ff_remove()
|
/Linux-v4.19/sound/firewire/digi00x/ |
D | digi00x.c | 63 container_of(work, struct snd_dg00x, dwork.work); in do_registration() 137 INIT_DEFERRABLE_WORK(&dg00x->dwork, do_registration); in snd_dg00x_probe() 138 snd_fw_schedule_registration(unit, &dg00x->dwork); in snd_dg00x_probe() 149 snd_fw_schedule_registration(unit, &dg00x->dwork); in snd_dg00x_update() 173 cancel_delayed_work_sync(&dg00x->dwork); in snd_dg00x_remove()
|
/Linux-v4.19/sound/firewire/tascam/ |
D | tascam.c | 106 struct snd_tscm *tscm = container_of(work, struct snd_tscm, dwork.work); in do_registration() 180 INIT_DEFERRABLE_WORK(&tscm->dwork, do_registration); in snd_tscm_probe() 181 snd_fw_schedule_registration(unit, &tscm->dwork); in snd_tscm_probe() 192 snd_fw_schedule_registration(unit, &tscm->dwork); in snd_tscm_update() 216 cancel_delayed_work_sync(&tscm->dwork); in snd_tscm_remove()
|
/Linux-v4.19/sound/firewire/motu/ |
D | motu.c | 79 struct snd_motu *motu = container_of(work, struct snd_motu, dwork.work); in do_registration() 159 INIT_DEFERRABLE_WORK(&motu->dwork, do_registration); in motu_probe() 160 snd_fw_schedule_registration(unit, &motu->dwork); in motu_probe() 174 cancel_delayed_work_sync(&motu->dwork); in motu_remove() 191 snd_fw_schedule_registration(unit, &motu->dwork); in motu_bus_update()
|
/Linux-v4.19/drivers/input/keyboard/ |
D | tca6416-keypad.c | 49 struct delayed_work dwork; member 138 container_of(work, struct tca6416_keypad_chip, dwork.work); in tca6416_keys_work_func() 141 schedule_delayed_work(&chip->dwork, msecs_to_jiffies(100)); in tca6416_keys_work_func() 152 schedule_delayed_work(&chip->dwork, msecs_to_jiffies(100)); in tca6416_keys_open() 164 cancel_delayed_work_sync(&chip->dwork); in tca6416_keys_close() 237 INIT_DELAYED_WORK(&chip->dwork, tca6416_keys_work_func); in tca6416_keypad_probe()
|
D | qt2160.c | 71 struct delayed_work dwork; member 228 mod_delayed_work(system_wq, &qt2160->dwork, 0); in qt2160_irq() 238 schedule_delayed_work(&qt2160->dwork, QT2160_CYCLE_INTERVAL); in qt2160_schedule_read() 245 container_of(work, struct qt2160_data, dwork.work); in qt2160_worker() 408 INIT_DELAYED_WORK(&qt2160->dwork, qt2160_worker); in qt2160_probe() 482 cancel_delayed_work_sync(&qt2160->dwork); in qt2160_remove()
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | ili210x.c | 49 struct delayed_work dwork; member 119 dwork.work); in ili210x_work() 135 schedule_delayed_work(&priv->dwork, in ili210x_work() 143 schedule_delayed_work(&priv->dwork, 0); in ili210x_irq() 238 INIT_DELAYED_WORK(&priv->dwork, ili210x_work); in ili210x_i2c_probe() 306 cancel_delayed_work_sync(&priv->dwork); in ili210x_i2c_remove()
|
/Linux-v4.19/drivers/net/wireless/ti/wl1251/ |
D | ps.c | 32 struct delayed_work *dwork; in wl1251_elp_work() local 35 dwork = to_delayed_work(work); in wl1251_elp_work() 36 wl = container_of(dwork, struct wl1251, elp_work); in wl1251_elp_work()
|
/Linux-v4.19/sound/firewire/dice/ |
D | dice.c | 148 struct snd_dice *dice = container_of(work, struct snd_dice, dwork.work); in do_registration() 246 INIT_DEFERRABLE_WORK(&dice->dwork, do_registration); in dice_probe() 247 snd_fw_schedule_registration(unit, &dice->dwork); in dice_probe() 261 cancel_delayed_work_sync(&dice->dwork); in dice_remove() 278 snd_fw_schedule_registration(unit, &dice->dwork); in dice_bus_reset()
|
/Linux-v4.19/sound/firewire/ |
D | lib.c | 85 struct delayed_work *dwork) in snd_fw_schedule_registration() argument 98 mod_delayed_work(system_wq, dwork, delay); in snd_fw_schedule_registration()
|
D | lib.h | 27 struct delayed_work *dwork);
|
/Linux-v4.19/sound/firewire/oxfw/ |
D | oxfw.c | 210 struct snd_oxfw *oxfw = container_of(work, struct snd_oxfw, dwork.work); in do_registration() 309 INIT_DEFERRABLE_WORK(&oxfw->dwork, do_registration); in oxfw_probe() 310 snd_fw_schedule_registration(unit, &oxfw->dwork); in oxfw_probe() 320 snd_fw_schedule_registration(unit, &oxfw->dwork); in oxfw_bus_reset() 347 cancel_delayed_work_sync(&oxfw->dwork); in oxfw_remove()
|
/Linux-v4.19/drivers/input/mouse/ |
D | synaptics_i2c.c | 221 struct delayed_work dwork; member 379 mod_delayed_work(system_wq, &touch->dwork, delay); in synaptics_i2c_reschedule_work() 448 container_of(work, struct synaptics_i2c, dwork.work); in synaptics_i2c_work_handler() 490 cancel_delayed_work_sync(&touch->dwork); in synaptics_i2c_close() 532 INIT_DELAYED_WORK(&touch->dwork, synaptics_i2c_work_handler); in synaptics_i2c_touch_create() 622 cancel_delayed_work_sync(&touch->dwork); in synaptics_i2c_suspend()
|
/Linux-v4.19/sound/firewire/fireworks/ |
D | fireworks.c | 222 struct snd_efw *efw = container_of(work, struct snd_efw, dwork.work); in do_registration() 327 INIT_DEFERRABLE_WORK(&efw->dwork, do_registration); in efw_probe() 328 snd_fw_schedule_registration(unit, &efw->dwork); in efw_probe() 339 snd_fw_schedule_registration(unit, &efw->dwork); in efw_update() 363 cancel_delayed_work_sync(&efw->dwork); in efw_remove()
|
/Linux-v4.19/sound/firewire/bebob/ |
D | bebob.c | 187 container_of(work, struct snd_bebob, dwork.work); in do_registration() 312 INIT_DEFERRABLE_WORK(&bebob->dwork, do_registration); in bebob_probe() 317 snd_fw_schedule_registration(unit, &bebob->dwork); in bebob_probe() 362 snd_fw_schedule_registration(unit, &bebob->dwork); in bebob_update() 379 cancel_delayed_work_sync(&bebob->dwork); in bebob_remove()
|
/Linux-v4.19/drivers/misc/ |
D | vmw_balloon.c | 268 struct delayed_work dwork; member 937 mod_delayed_work(system_freezable_wq, &b->dwork, 0); in vmballoon_doorbell() 1039 struct delayed_work *dwork = to_delayed_work(work); in vmballoon_work() local 1040 struct vmballoon *b = container_of(dwork, struct vmballoon, dwork); in vmballoon_work() 1064 dwork, round_jiffies_relative(HZ)); in vmballoon_work() 1197 INIT_DELAYED_WORK(&balloon.dwork, vmballoon_work); in vmballoon_init() 1208 queue_delayed_work(system_freezable_wq, &balloon.dwork, 0); in vmballoon_init() 1224 cancel_delayed_work_sync(&balloon.dwork); in vmballoon_exit()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tdls.c | 300 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork, in iwl_mvm_rx_tdls_notif() 527 mvm = container_of(work, struct iwl_mvm, tdls_cs.dwork.work); in iwl_mvm_tdls_ch_switch_work() 560 schedule_delayed_work(&mvm->tdls_cs.dwork, msecs_to_jiffies(delay)); in iwl_mvm_tdls_ch_switch_work() 622 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork, in iwl_mvm_tdls_channel_switch() 677 flush_delayed_work(&mvm->tdls_cs.dwork); in iwl_mvm_tdls_cancel_channel_switch() 736 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork, in iwl_mvm_tdls_recv_channel_switch()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | hyperv_fb.c | 221 struct delayed_work dwork; member 381 schedule_delayed_work(&par->dwork, HVFB_UPDATE_DELAY); in synthvid_recv_sub() 532 struct hvfb_par *par = container_of(w, struct hvfb_par, dwork.work); in hvfb_update_work() 539 schedule_delayed_work(&par->dwork, HVFB_UPDATE_DELAY); in hvfb_update_work() 783 INIT_DELAYED_WORK(&par->dwork, hvfb_update_work); in hvfb_probe() 862 cancel_delayed_work_sync(&par->dwork); in hvfb_probe() 881 cancel_delayed_work_sync(&par->dwork); in hvfb_remove()
|