Home
last modified time | relevance | path

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

123456

/drivers/misc/
A Dtifm_core.c17 static struct workqueue_struct *workqueue; variable
221 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/
A 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()
A Dshm_ipc.h46 struct workqueue_struct *workqueue; member
54 struct workqueue_struct *workqueue,
A Dcore.c158 queue_work(bus->workqueue, &vif->reset_work); in qtnf_netdev_tx_timeout()
710 bus->workqueue = alloc_ordered_workqueue("QTNF_BUS", 0); in qtnf_core_attach()
711 if (!bus->workqueue) { in qtnf_core_attach()
799 if (bus->workqueue) { in qtnf_core_detach()
800 destroy_workqueue(bus->workqueue); in qtnf_core_detach()
801 bus->workqueue = NULL; in qtnf_core_detach()
/drivers/mfd/
A Dezx-pcap.c40 struct workqueue_struct *workqueue; member
146 queue_work(pcap->workqueue, &pcap->msr_work); in pcap_mask_irq()
154 queue_work(pcap->workqueue, &pcap->msr_work); in pcap_unmask_irq()
205 queue_work(pcap->workqueue, &pcap->isr_work); in pcap_irq_handler()
379 destroy_workqueue(pcap->workqueue); in ezx_pcap_remove()
416 pcap->workqueue = create_singlethread_workqueue("pcapd"); in ezx_pcap_probe()
417 if (!pcap->workqueue) { in ezx_pcap_probe()
472 destroy_workqueue(pcap->workqueue); in ezx_pcap_probe()
/drivers/remoteproc/
A 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()
A Dstm32_rproc.c91 struct workqueue_struct *workqueue; member
313 queue_work(ddata->workqueue, &mb->vq_work); in stm32_rproc_mb_callback()
876 ddata->workqueue = create_workqueue(dev_name(dev)); in stm32_rproc_probe()
877 if (!ddata->workqueue) { in stm32_rproc_probe()
898 destroy_workqueue(ddata->workqueue); in stm32_rproc_probe()
920 destroy_workqueue(ddata->workqueue); in stm32_rproc_remove()
/drivers/net/wireless/st/cw1200/
A 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()
A Dmain.c349 priv->workqueue = create_singlethread_workqueue("cw1200_wq"); in cw1200_init_common()
350 if (!priv->workqueue) { in cw1200_init_common()
389 destroy_workqueue(priv->workqueue); in cw1200_init_common()
401 destroy_workqueue(priv->workqueue); in cw1200_init_common()
470 destroy_workqueue(priv->workqueue); in cw1200_unregister_common()
471 priv->workqueue = NULL; in cw1200_unregister_common()
A 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()
993 queue_delayed_work(priv->workqueue, in cw1200_event_handler()
1327 queue_delayed_work(priv->workqueue, in cw1200_do_join()
1591 flush_workqueue(priv->workqueue); in cw1200_sta_remove()
1617 queue_work(priv->workqueue, in __cw1200_sta_notify()
1628 queue_work(priv->workqueue, in __cw1200_sta_notify()
1716 queue_work(priv->workqueue, &priv->set_tim_work); in cw1200_set_tim()
[all …]
A Dtxrx.c672 if (queue_work(priv->workqueue, in cw1200_tx_h_rate_policy()
691 queue_work(priv->workqueue, in cw1200_tx_h_pm_state()
888 queue_work(priv->workqueue, in cw1200_tx_confirm_cb()
1175 queue_work(priv->workqueue, in cw1200_rx_cb()
1185 queue_work(priv->workqueue, in cw1200_rx_cb()
1277 flush_workqueue(priv->workqueue); in cw1200_link_id_reset()
1286 if (queue_work(priv->workqueue, in cw1200_link_id_reset()
1298 if (queue_work(priv->workqueue, &priv->link_id_work) <= 0) in cw1200_link_id_reset()
1300 flush_workqueue(priv->workqueue); in cw1200_link_id_reset()
1349 if (queue_work(priv->workqueue, &priv->link_id_work) <= 0) in cw1200_alloc_link_id()
[all …]
/drivers/tty/serial/
A Dmax3100.c105 struct workqueue_struct *workqueue; member
307 queue_work(s->workqueue, &s->work); in max3100_dowork()
538 if (s->workqueue) { in max3100_shutdown()
539 destroy_workqueue(s->workqueue); in max3100_shutdown()
540 s->workqueue = NULL; in max3100_shutdown()
569 s->workqueue = create_freezable_workqueue(b); in max3100_startup()
570 if (!s->workqueue) { in max3100_startup()
580 destroy_workqueue(s->workqueue); in max3100_startup()
581 s->workqueue = NULL; in max3100_startup()
805 if (s->workqueue) in max3100_resume()
/drivers/net/wireless/quantenna/qtnfmac/pcie/
A 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()
397 destroy_workqueue(pcie_priv->workqueue); in qtnf_pcie_probe()
425 destroy_workqueue(priv->workqueue); in qtnf_pcie_remove()
/drivers/media/platform/amphion/
A Dvpu_core.c260 core->workqueue = alloc_ordered_workqueue("vpu", WQ_MEM_RECLAIM); in vpu_core_register()
261 if (!core->workqueue) { in vpu_core_register()
289 if (core->workqueue) { in vpu_core_register()
290 destroy_workqueue(core->workqueue); in vpu_core_register()
291 core->workqueue = NULL; in vpu_core_register()
314 if (core->workqueue) { in vpu_core_unregister()
317 destroy_workqueue(core->workqueue); in vpu_core_unregister()
318 core->workqueue = NULL; in vpu_core_unregister()
769 queue_work(core->workqueue, &core->msg_work); in vpu_core_resume_work()
770 queue_delayed_work(core->workqueue, &core->msg_delayed_work, delay); in vpu_core_resume_work()
[all …]
A Dvpu_msgs.c289 if (!inst->workqueue) in vpu_inst_handle_msg()
296 queue_work(inst->workqueue, &inst->msg_work); in vpu_inst_handle_msg()
369 queue_delayed_work(core->workqueue, &core->msg_delayed_work, delay); in vpu_msg_run_work()
394 if (inst->workqueue && kfifo_len(&inst->msg_fifo) >= bytes) in vpu_msg_delayed_work()
395 queue_work(inst->workqueue, &inst->msg_work); in vpu_msg_delayed_work()
418 queue_work(core->workqueue, &core->msg_work); in vpu_isr()
A Dvpu_v4l2.c713 if (inst->workqueue) { in vpu_v4l2_release()
715 destroy_workqueue(inst->workqueue); in vpu_v4l2_release()
716 inst->workqueue = NULL; in vpu_v4l2_release()
775 inst->workqueue = alloc_ordered_workqueue("vpu_inst", WQ_MEM_RECLAIM); in vpu_v4l2_open()
776 if (inst->workqueue) { in vpu_v4l2_open()
782 destroy_workqueue(inst->workqueue); in vpu_v4l2_open()
783 inst->workqueue = NULL; in vpu_v4l2_open()
/drivers/char/tpm/
A Dtpm_vtpm_proxy.c53 static struct workqueue_struct *workqueue; variable
482 queue_work(workqueue, &proxy_dev->work); in vtpm_proxy_work_start()
691 workqueue = create_workqueue("tpm-vtpm"); in vtpm_module_init()
692 if (!workqueue) { in vtpm_module_init()
700 destroy_workqueue(workqueue); in vtpm_module_init()
708 destroy_workqueue(workqueue); in vtpm_module_exit()
/drivers/memstick/core/
A Dmemstick.c24 static struct workqueue_struct *workqueue; variable
207 queue_work(workqueue, &host->media_checker); in memstick_detect_change()
559 flush_workqueue(workqueue); in memstick_remove_host()
634 workqueue = create_freezable_workqueue("kmemstick"); in memstick_init()
635 if (!workqueue) in memstick_init()
651 destroy_workqueue(workqueue); in memstick_init()
660 destroy_workqueue(workqueue); in memstick_exit()
/drivers/input/rmi4/
A Drmi_f54.c113 struct workqueue_struct *workqueue; member
210 queue_delayed_work(f54->workqueue, &f54->work, 0); in rmi_f54_request_report()
602 queue_delayed_work(f54->workqueue, &f54->work, in rmi_f54_work()
689 f54->workqueue = create_singlethread_workqueue("rmi4-poller"); in rmi_f54_probe()
690 if (!f54->workqueue) in rmi_f54_probe()
734 destroy_workqueue(f54->workqueue); in rmi_f54_probe()
744 destroy_workqueue(f54->workqueue); in rmi_f54_remove()
/drivers/net/ethernet/mellanox/mlx4/
A Den_main.c215 queue_work(mdev->workqueue, &priv->linkstate_task); in mlx4_en_event()
254 destroy_workqueue(mdev->workqueue); in mlx4_en_remove()
332 mdev->workqueue = create_singlethread_workqueue("mlx4_en"); in mlx4_en_probe()
333 if (!mdev->workqueue) { in mlx4_en_probe()
/drivers/net/wireless/marvell/libertas/
A Dif_sdio.c124 struct workqueue_struct *workqueue; member
968 queue_work(card->workqueue, &card->packet_worker); in if_sdio_host_to_card()
1069 flush_workqueue(card->workqueue); in if_sdio_power_save()
1184 card->workqueue = alloc_workqueue("libertas_sdio", WQ_MEM_RECLAIM, 0); in if_sdio_probe()
1185 if (unlikely(!card->workqueue)) { in if_sdio_probe()
1238 flush_workqueue(card->workqueue); in if_sdio_probe()
1243 destroy_workqueue(card->workqueue); in if_sdio_probe()
1286 destroy_workqueue(card->workqueue); in if_sdio_remove()
A Dif_spi.c58 struct workqueue_struct *workqueue; member
984 queue_work(card->workqueue, &card->packet_work); in if_spi_host_to_card()
999 queue_work(card->workqueue, &card->packet_work); in if_spi_host_interrupt()
1156 card->workqueue = alloc_workqueue("libertas_spi", WQ_MEM_RECLAIM, 0); in if_spi_probe()
1157 if (!card->workqueue) { in if_spi_probe()
1188 destroy_workqueue(card->workqueue); in if_spi_probe()
1213 destroy_workqueue(card->workqueue); in libertas_spi_remove()
1226 flush_workqueue(card->workqueue); in if_spi_suspend()
/drivers/scsi/
A Dvmw_pvscsi.c75 struct workqueue_struct *workqueue; member
918 flush_workqueue(adapter->workqueue); in pvscsi_host_reset()
1140 adapter->workqueue = 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()
1568 if (adapter->workqueue) in __pvscsi_shutdown()
1569 flush_workqueue(adapter->workqueue); in __pvscsi_shutdown()
/drivers/cdx/controller/
A Dmcdi.c114 mcdi->workqueue = alloc_ordered_workqueue("mcdi_wq", 0); in cdx_mcdi_init()
115 if (!mcdi->workqueue) in cdx_mcdi_init()
142 destroy_workqueue(mcdi->workqueue); in cdx_mcdi_finish()
180 flush_workqueue(mcdi->workqueue); in cdx_mcdi_wait_for_quiescence()
523 queue_work(mcdi->workqueue, &cmd->work); in cdx_mcdi_rpc_async_internal()
/drivers/net/ethernet/sfc/siena/
A Defx_common.c208 queue_work(efx->workqueue, &efx->mac_work); in efx_siena_set_rx_mode()
351 queue_delayed_work(efx->workqueue, &efx->monitor_work, in efx_siena_start_monitor()
1046 efx->workqueue = create_singlethread_workqueue(efx->workqueue_name); in efx_siena_init_struct()
1047 if (!efx->workqueue) { in efx_siena_init_struct()
1069 if (efx->workqueue) { in efx_siena_fini_struct()
1070 destroy_workqueue(efx->workqueue); in efx_siena_fini_struct()
1071 efx->workqueue = NULL; in efx_siena_fini_struct()

Completed in 57 milliseconds

123456