Home
last modified time | relevance | path

Searched refs:workqueue (Results 1 – 25 of 109) sorted by relevance

12345

/drivers/misc/
Dtifm_core.c17 static struct workqueue_struct *workqueue; variable
222 flush_workqueue(workqueue); in tifm_remove_adapter()
309 queue_work(workqueue, work); in tifm_queue_work()
331 workqueue = create_freezable_workqueue("tifm"); in tifm_init()
332 if (!workqueue) in tifm_init()
347 destroy_workqueue(workqueue); in tifm_init()
356 destroy_workqueue(workqueue); in tifm_exit()
/drivers/net/wireless/quantenna/qtnfmac/pcie/
Dpcie.c267 ipc_tx_reg, priv->workqueue, in qtnf_pcie_init_shm_ipc()
270 ipc_rx_reg, priv->workqueue, in qtnf_pcie_init_shm_ipc()
361 pcie_priv->workqueue = create_singlethread_workqueue("QTNF_PCIE"); in qtnf_pcie_probe()
362 if (!pcie_priv->workqueue) { in qtnf_pcie_probe()
390 flush_workqueue(pcie_priv->workqueue); in qtnf_pcie_probe()
391 destroy_workqueue(pcie_priv->workqueue); in qtnf_pcie_probe()
419 flush_workqueue(priv->workqueue); in qtnf_pcie_remove()
420 destroy_workqueue(priv->workqueue); in qtnf_pcie_remove()
/drivers/net/wireless/quantenna/qtnfmac/
Dshm_ipc.c62 queue_work(ipc->workqueue, &ipc->irq_work); in qtnf_shm_ipc_irq_inbound_handler()
83 struct workqueue_struct *workqueue, in qtnf_shm_ipc_init() argument
97 ipc->workqueue = workqueue; in qtnf_shm_ipc_init()
Dshm_ipc.h46 struct workqueue_struct *workqueue; member
54 struct workqueue_struct *workqueue,
Dcore.c158 queue_work(bus->workqueue, &vif->reset_work); in qtnf_netdev_tx_timeout()
724 bus->workqueue = alloc_ordered_workqueue("QTNF_BUS", 0); in qtnf_core_attach()
725 if (!bus->workqueue) { in qtnf_core_attach()
813 if (bus->workqueue) { in qtnf_core_detach()
814 flush_workqueue(bus->workqueue); in qtnf_core_detach()
815 destroy_workqueue(bus->workqueue); in qtnf_core_detach()
816 bus->workqueue = NULL; in qtnf_core_detach()
/drivers/remoteproc/
Dkeystone_remoteproc.c66 struct work_struct workqueue; member
144 container_of(work, struct keystone_rproc, workqueue); in handle_event()
157 schedule_work(&ksproc->workqueue); in keystone_rproc_vring_interrupt()
174 INIT_WORK(&ksproc->workqueue, handle_event); in keystone_rproc_start()
202 flush_work(&ksproc->workqueue); in keystone_rproc_start()
220 flush_work(&ksproc->workqueue); in keystone_rproc_stop()
Dimx_rproc.c114 struct workqueue_struct *workqueue; member
636 queue_work(priv->workqueue, &priv->rproc_work); in imx_rproc_rx_callback()
782 priv->workqueue = create_workqueue(dev_name(dev)); in imx_rproc_probe()
783 if (!priv->workqueue) { in imx_rproc_probe()
825 destroy_workqueue(priv->workqueue); in imx_rproc_probe()
840 destroy_workqueue(priv->workqueue); in imx_rproc_remove()
Dstm32_rproc.c90 struct workqueue_struct *workqueue; member
312 queue_work(ddata->workqueue, &mb->vq_work); in stm32_rproc_mb_callback()
836 ddata->workqueue = create_workqueue(dev_name(dev)); in stm32_rproc_probe()
837 if (!ddata->workqueue) { in stm32_rproc_probe()
858 destroy_workqueue(ddata->workqueue); in stm32_rproc_probe()
881 destroy_workqueue(ddata->workqueue); in stm32_rproc_remove()
/drivers/mfd/
Dezx-pcap.c45 struct workqueue_struct *workqueue; member
151 queue_work(pcap->workqueue, &pcap->msr_work); in pcap_mask_irq()
159 queue_work(pcap->workqueue, &pcap->msr_work); in pcap_unmask_irq()
212 queue_work(pcap->workqueue, &pcap->isr_work); in pcap_irq_handler()
414 destroy_workqueue(pcap->workqueue); in ezx_pcap_remove()
453 pcap->workqueue = create_singlethread_workqueue("pcapd"); in ezx_pcap_probe()
454 if (!pcap->workqueue) { in ezx_pcap_probe()
509 destroy_workqueue(pcap->workqueue); in ezx_pcap_probe()
/drivers/net/wireless/st/cw1200/
Dscan.c40 queue_delayed_work(priv->workqueue, &priv->scan.timeout, in cw1200_scan_start()
122 queue_work(priv->workqueue, &priv->scan.work); in cw1200_hw_scan()
263 queue_work(priv->workqueue, &priv->scan.work); in cw1200_scan_work()
277 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_scan_restart_delayed()
288 queue_delayed_work(priv->workqueue, &priv->clear_recent_scan_work, HZ); in cw1200_scan_complete()
308 queue_delayed_work(priv->workqueue, &priv->scan.timeout, 0); in cw1200_scan_failed_cb()
322 queue_delayed_work(priv->workqueue, &priv->scan.timeout, 0); in cw1200_scan_complete_cb()
388 queue_delayed_work(priv->workqueue, &priv->scan.probe_work, in cw1200_probe_work()
Dmain.c344 priv->workqueue = create_singlethread_workqueue("cw1200_wq"); in cw1200_init_common()
345 if (!priv->workqueue) { in cw1200_init_common()
384 destroy_workqueue(priv->workqueue); in cw1200_init_common()
396 destroy_workqueue(priv->workqueue); in cw1200_init_common()
465 destroy_workqueue(priv->workqueue); in cw1200_unregister_common()
466 priv->workqueue = NULL; in cw1200_unregister_common()
Dsta.c115 flush_workqueue(priv->workqueue); in cw1200_stop()
167 queue_delayed_work(priv->workqueue, in __cw1200_cqm_bssloss_sm()
178 queue_work(priv->workqueue, &priv->bss_params_work); in __cw1200_cqm_bssloss_sm()
264 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_remove_interface()
991 queue_delayed_work(priv->workqueue, in cw1200_event_handler()
1041 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_bss_loss_work()
1199 queue_work(priv->workqueue, &priv->join_complete_work); in cw1200_join_complete_cb()
1325 queue_delayed_work(priv->workqueue, in cw1200_do_join()
1342 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_do_join()
1372 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_join_timeout()
[all …]
Dtxrx.c672 if (queue_work(priv->workqueue, in cw1200_tx_h_rate_policy()
691 queue_work(priv->workqueue, in cw1200_tx_h_pm_state()
891 queue_work(priv->workqueue, in cw1200_tx_confirm_cb()
1179 queue_work(priv->workqueue, in cw1200_rx_cb()
1189 queue_work(priv->workqueue, in cw1200_rx_cb()
1281 flush_workqueue(priv->workqueue); in cw1200_link_id_reset()
1290 if (queue_work(priv->workqueue, in cw1200_link_id_reset()
1302 if (queue_work(priv->workqueue, &priv->link_id_work) <= 0) in cw1200_link_id_reset()
1304 flush_workqueue(priv->workqueue); in cw1200_link_id_reset()
1353 if (queue_work(priv->workqueue, &priv->link_id_work) <= 0) in cw1200_alloc_link_id()
[all …]
/drivers/tty/serial/
Dmax3100.c120 struct workqueue_struct *workqueue; member
178 queue_work(s->workqueue, &s->work); in max3100_dowork()
556 if (s->workqueue) { in max3100_shutdown()
557 flush_workqueue(s->workqueue); in max3100_shutdown()
558 destroy_workqueue(s->workqueue); in max3100_shutdown()
559 s->workqueue = NULL; in max3100_shutdown()
596 s->workqueue = create_freezable_workqueue(b); in max3100_startup()
597 if (!s->workqueue) { in max3100_startup()
607 destroy_workqueue(s->workqueue); in max3100_startup()
608 s->workqueue = NULL; in max3100_startup()
[all …]
/drivers/input/rmi4/
Drmi_f54.c113 struct workqueue_struct *workqueue; member
210 queue_delayed_work(f54->workqueue, &f54->work, 0); in rmi_f54_request_report()
604 queue_delayed_work(f54->workqueue, &f54->work, in rmi_f54_work()
691 f54->workqueue = create_singlethread_workqueue("rmi4-poller"); in rmi_f54_probe()
692 if (!f54->workqueue) in rmi_f54_probe()
736 flush_workqueue(f54->workqueue); in rmi_f54_probe()
737 destroy_workqueue(f54->workqueue); in rmi_f54_probe()
747 destroy_workqueue(f54->workqueue); in rmi_f54_remove()
/drivers/net/ethernet/mellanox/mlx4/
Den_main.c208 queue_work(mdev->workqueue, &priv->linkstate_task); in mlx4_en_event()
240 flush_workqueue(mdev->workqueue); in mlx4_en_remove()
241 destroy_workqueue(mdev->workqueue); in mlx4_en_remove()
328 mdev->workqueue = create_singlethread_workqueue("mlx4_en"); in mlx4_en_add()
329 if (!mdev->workqueue) in mlx4_en_add()
/drivers/char/tpm/
Dtpm_vtpm_proxy.c53 static struct workqueue_struct *workqueue; variable
481 queue_work(workqueue, &proxy_dev->work); in vtpm_proxy_work_start()
690 workqueue = create_workqueue("tpm-vtpm"); in vtpm_module_init()
691 if (!workqueue) { in vtpm_module_init()
699 destroy_workqueue(workqueue); in vtpm_module_init()
707 destroy_workqueue(workqueue); in vtpm_module_exit()
/drivers/memstick/core/
Dmemstick.c24 static struct workqueue_struct *workqueue; variable
208 queue_work(workqueue, &host->media_checker); in memstick_detect_change()
552 flush_workqueue(workqueue); in memstick_remove_host()
627 workqueue = create_freezable_workqueue("kmemstick"); in memstick_init()
628 if (!workqueue) in memstick_init()
644 destroy_workqueue(workqueue); in memstick_init()
653 destroy_workqueue(workqueue); in memstick_exit()
/drivers/net/wireless/marvell/libertas/
Dif_spi.c58 struct workqueue_struct *workqueue; member
982 queue_work(card->workqueue, &card->packet_work); in if_spi_host_to_card()
997 queue_work(card->workqueue, &card->packet_work); in if_spi_host_interrupt()
1154 card->workqueue = alloc_workqueue("libertas_spi", WQ_MEM_RECLAIM, 0); in if_spi_probe()
1155 if (!card->workqueue) { in if_spi_probe()
1186 destroy_workqueue(card->workqueue); in if_spi_probe()
1211 destroy_workqueue(card->workqueue); in libertas_spi_remove()
1226 flush_workqueue(card->workqueue); in if_spi_suspend()
Dif_sdio.c124 struct workqueue_struct *workqueue; member
974 queue_work(card->workqueue, &card->packet_worker); in if_sdio_host_to_card()
1068 flush_workqueue(card->workqueue); in if_sdio_power_save()
1181 card->workqueue = alloc_workqueue("libertas_sdio", WQ_MEM_RECLAIM, 0); in if_sdio_probe()
1182 if (unlikely(!card->workqueue)) { in if_sdio_probe()
1233 flush_workqueue(card->workqueue); in if_sdio_probe()
1236 destroy_workqueue(card->workqueue); in if_sdio_probe()
1280 destroy_workqueue(card->workqueue); in if_sdio_remove()
/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c81 struct workqueue_struct *workqueue; member
1111 queue_work(ctrl->workqueue, &ctrl->on_work); in msm_edp_ctrl_power()
1113 queue_work(ctrl->workqueue, &ctrl->off_work); in msm_edp_ctrl_power()
1175 ctrl->workqueue = alloc_ordered_workqueue("edp_drm_work", 0); in msm_edp_ctrl_init()
1192 if (ctrl->workqueue) { in msm_edp_ctrl_destroy()
1193 flush_workqueue(ctrl->workqueue); in msm_edp_ctrl_destroy()
1194 destroy_workqueue(ctrl->workqueue); in msm_edp_ctrl_destroy()
1195 ctrl->workqueue = NULL; in msm_edp_ctrl_destroy()
/drivers/scsi/
Dvmw_pvscsi.c75 struct workqueue_struct *workqueue; member
919 flush_workqueue(adapter->workqueue); in pvscsi_host_reset()
1141 adapter->workqueue = create_singlethread_workqueue(name); in pvscsi_setup_msg_workqueue()
1142 if (!adapter->workqueue) { in pvscsi_setup_msg_workqueue()
1187 queue_work(adapter->workqueue, &adapter->work); in pvscsi_isr()
1221 if (adapter->workqueue) in pvscsi_release_resources()
1222 destroy_workqueue(adapter->workqueue); in pvscsi_release_resources()
1569 if (adapter->workqueue) in __pvscsi_shutdown()
1570 flush_workqueue(adapter->workqueue); in __pvscsi_shutdown()
/drivers/net/ethernet/sfc/
Defx_common.c207 queue_work(efx->workqueue, &efx->mac_work); in efx_set_rx_mode()
350 queue_delayed_work(efx->workqueue, &efx->monitor_work, in efx_start_monitor()
1044 efx->workqueue = create_singlethread_workqueue(efx->workqueue_name); in efx_init_struct()
1045 if (!efx->workqueue) { in efx_init_struct()
1067 if (efx->workqueue) { in efx_fini_struct()
1068 destroy_workqueue(efx->workqueue); in efx_fini_struct()
1069 efx->workqueue = NULL; in efx_fini_struct()
/drivers/net/wireless/marvell/mwifiex/
Dmain.c171 queue_work(adapter->workqueue, &adapter->main_work); in mwifiex_queue_main_work()
500 if (adapter->workqueue) { in mwifiex_terminate_workqueue()
501 flush_workqueue(adapter->workqueue); in mwifiex_terminate_workqueue()
502 destroy_workqueue(adapter->workqueue); in mwifiex_terminate_workqueue()
503 adapter->workqueue = NULL; in mwifiex_terminate_workqueue()
1526 adapter->workqueue = in mwifiex_reinit_sw()
1529 if (!adapter->workqueue) in mwifiex_reinit_sw()
1681 adapter->workqueue = in mwifiex_add_card()
1684 if (!adapter->workqueue) in mwifiex_add_card()
/drivers/usb/storage/
Duas.c95 static struct workqueue_struct *workqueue; variable
125 queue_work(workqueue, &devinfo->work); in uas_do_work()
150 queue_work(workqueue, &devinfo->work); in uas_add_work()
1263 workqueue = alloc_workqueue("uas", WQ_MEM_RECLAIM, 0); in uas_init()
1264 if (!workqueue) in uas_init()
1269 destroy_workqueue(workqueue); in uas_init()
1279 destroy_workqueue(workqueue); in uas_exit()

12345