Home
last modified time | relevance | path

Searched refs:mbox_wq (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_vf.c198 queue_work(vf->mbox_wq, &vf->mbox.mbox_wrk); in otx2vf_vfaf_mbox_intr_handler()
211 queue_work(vf->mbox_wq, &vf->mbox.mbox_up_wrk); in otx2vf_vfaf_mbox_intr_handler()
274 if (vf->mbox_wq) { in otx2vf_vfaf_mbox_destroy()
275 flush_workqueue(vf->mbox_wq); in otx2vf_vfaf_mbox_destroy()
276 destroy_workqueue(vf->mbox_wq); in otx2vf_vfaf_mbox_destroy()
277 vf->mbox_wq = NULL; in otx2vf_vfaf_mbox_destroy()
294 vf->mbox_wq = alloc_workqueue("otx2_vfaf_mailbox", in otx2vf_vfaf_mbox_init()
297 if (!vf->mbox_wq) in otx2vf_vfaf_mbox_init()
332 destroy_workqueue(vf->mbox_wq); in otx2vf_vfaf_mbox_init()
Dotx2_pf.c285 static void otx2_queue_work(struct mbox *mw, struct workqueue_struct *mbox_wq, in otx2_queue_work() argument
318 queue_work(mbox_wq, &mw[i].mbox_wrk); in otx2_queue_work()
334 queue_work(mbox_wq, &mw[i].mbox_up_wrk); in otx2_queue_work()
955 otx2_queue_work(mbox, pf->mbox_wq, 0, 1, 1, TYPE_PFAF); in otx2_pfaf_mbox_intr_handler()
1017 if (pf->mbox_wq) { in otx2_pfaf_mbox_destroy()
1018 destroy_workqueue(pf->mbox_wq); in otx2_pfaf_mbox_destroy()
1019 pf->mbox_wq = NULL; in otx2_pfaf_mbox_destroy()
1036 pf->mbox_wq = alloc_workqueue("otx2_pfaf_mailbox", in otx2_pfaf_mbox_init()
1039 if (!pf->mbox_wq) in otx2_pfaf_mbox_init()
Dotx2_common.h251 struct workqueue_struct *mbox_wq; member
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.c1858 mw->mbox_wq = alloc_workqueue(name, in rvu_mbox_init()
1861 if (!mw->mbox_wq) in rvu_mbox_init()
1912 destroy_workqueue(mw->mbox_wq); in rvu_mbox_init()
1918 if (mw->mbox_wq) { in rvu_mbox_destroy()
1919 flush_workqueue(mw->mbox_wq); in rvu_mbox_destroy()
1920 destroy_workqueue(mw->mbox_wq); in rvu_mbox_destroy()
1921 mw->mbox_wq = NULL; in rvu_mbox_destroy()
1959 queue_work(mw->mbox_wq, &mw->mbox_wrk[i].work); in rvu_queue_work()
1967 queue_work(mw->mbox_wq, &mw->mbox_wrk_up[i].work); in rvu_queue_work()
Drvu.h272 struct workqueue_struct *mbox_wq; member