Home
last modified time | relevance | path

Searched refs:mbox_lock (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c28 spin_lock(&mdev->mbox_lock); in otx2_mbox_reset()
33 spin_unlock(&mdev->mbox_lock); in otx2_mbox_reset()
125 spin_lock_init(&mdev->mbox_lock); in otx2_mbox_init()
171 spin_lock(&mdev->mbox_lock); in otx2_mbox_msg_send()
186 spin_unlock(&mdev->mbox_lock); in otx2_mbox_msg_send()
202 spin_lock(&mdev->mbox_lock); in otx2_mbox_alloc_msg_rsp()
225 spin_unlock(&mdev->mbox_lock); in otx2_mbox_alloc_msg_rsp()
282 spin_lock(&mdev->mbox_lock); in otx2_mbox_nonempty()
284 spin_unlock(&mdev->mbox_lock); in otx2_mbox_nonempty()
Dmbox.h55 spinlock_t mbox_lock; member
/Linux-v5.4/drivers/scsi/be2iscsi/
Dbe_mgmt.c55 if (mutex_lock_interruptible(&ctrl->mbox_lock)) in mgmt_vendor_specific_fw_cmd()
75 mutex_unlock(&ctrl->mbox_lock); in mgmt_vendor_specific_fw_cmd()
81 mutex_unlock(&ctrl->mbox_lock); in mgmt_vendor_specific_fw_cmd()
94 mutex_unlock(&ctrl->mbox_lock); in mgmt_vendor_specific_fw_cmd()
146 if (mutex_lock_interruptible(&ctrl->mbox_lock)) in mgmt_open_connection()
150 mutex_unlock(&ctrl->mbox_lock); in mgmt_open_connection()
208 mutex_unlock(&ctrl->mbox_lock); in mgmt_open_connection()
233 mutex_lock(&ctrl->mbox_lock); in beiscsi_exec_nemb_cmd()
236 mutex_unlock(&ctrl->mbox_lock); in beiscsi_exec_nemb_cmd()
260 mutex_unlock(&ctrl->mbox_lock); in beiscsi_exec_nemb_cmd()
[all …]
Dbe_cmds.c744 mutex_lock(&ctrl->mbox_lock); in beiscsi_cmd_eq_create()
771 mutex_unlock(&ctrl->mbox_lock); in beiscsi_cmd_eq_create()
787 mutex_lock(&ctrl->mbox_lock); in beiscsi_cmd_cq_create()
837 mutex_unlock(&ctrl->mbox_lock); in beiscsi_cmd_cq_create()
861 mutex_lock(&phba->ctrl.mbox_lock); in beiscsi_cmd_mccq_create()
895 mutex_unlock(&phba->ctrl.mbox_lock); in beiscsi_cmd_mccq_create()
913 mutex_lock(&ctrl->mbox_lock); in beiscsi_cmd_q_destroy()
943 mutex_unlock(&ctrl->mbox_lock); in beiscsi_cmd_q_destroy()
952 mutex_unlock(&ctrl->mbox_lock); in beiscsi_cmd_q_destroy()
987 mutex_lock(&ctrl->mbox_lock); in be_cmd_create_default_pdu_queue()
[all …]
Dbe.h118 struct mutex mbox_lock; /* For serializing mbox cmds to BE card */ member
Dbe_main.c548 mutex_init(&ctrl->mbox_lock); in be_ctrl_init()
/Linux-v5.4/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c869 return mutex_lock_interruptible(&adapter->mbox_lock); in be_cmd_lock()
879 return mutex_unlock(&adapter->mbox_lock); in be_cmd_unlock()
943 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_fw_init()
958 mutex_unlock(&adapter->mbox_lock); in be_cmd_fw_init()
973 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_fw_clean()
988 mutex_unlock(&adapter->mbox_lock); in be_cmd_fw_clean()
999 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_eq_create()
1035 mutex_unlock(&adapter->mbox_lock); in be_cmd_eq_create()
1165 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_cq_create()
1219 mutex_unlock(&adapter->mbox_lock); in be_cmd_cq_create()
[all …]
Dbe.h560 struct mutex mbox_lock; /* For serializing mbox cmds to BE card */ member
Dbe_main.c5802 mutex_init(&adapter->mbox_lock); in be_drv_init()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c165 spin_lock(&adapter->mbox_lock); in t4vf_wr_mbox_core()
167 spin_unlock(&adapter->mbox_lock); in t4vf_wr_mbox_core()
179 spin_lock(&adapter->mbox_lock); in t4vf_wr_mbox_core()
181 spin_unlock(&adapter->mbox_lock); in t4vf_wr_mbox_core()
213 spin_lock(&adapter->mbox_lock); in t4vf_wr_mbox_core()
215 spin_unlock(&adapter->mbox_lock); in t4vf_wr_mbox_core()
300 spin_lock(&adapter->mbox_lock); in t4vf_wr_mbox_core()
302 spin_unlock(&adapter->mbox_lock); in t4vf_wr_mbox_core()
310 spin_lock(&adapter->mbox_lock); in t4vf_wr_mbox_core()
312 spin_unlock(&adapter->mbox_lock); in t4vf_wr_mbox_core()
Dadapter.h397 spinlock_t mbox_lock; member
Dcxgb4vf_main.c3014 spin_lock_init(&adapter->mbox_lock); in cxgb4vf_pci_probe()
/Linux-v5.4/drivers/net/appletalk/
Dltpc.c239 static DEFINE_SPINLOCK(mbox_lock);
357 spin_lock_irqsave(&mbox_lock, flags); in getmbox()
360 spin_unlock_irqrestore(&mbox_lock, flags); in getmbox()
363 spin_unlock_irqrestore(&mbox_lock, flags); in getmbox()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c322 spin_lock_bh(&adap->mbox_lock); in t4_wr_mbox_meat_timeout()
324 spin_unlock_bh(&adap->mbox_lock); in t4_wr_mbox_meat_timeout()
337 spin_lock_bh(&adap->mbox_lock); in t4_wr_mbox_meat_timeout()
339 spin_unlock_bh(&adap->mbox_lock); in t4_wr_mbox_meat_timeout()
370 spin_lock_bh(&adap->mbox_lock); in t4_wr_mbox_meat_timeout()
372 spin_unlock_bh(&adap->mbox_lock); in t4_wr_mbox_meat_timeout()
423 spin_lock_bh(&adap->mbox_lock); in t4_wr_mbox_meat_timeout()
425 spin_unlock_bh(&adap->mbox_lock); in t4_wr_mbox_meat_timeout()
435 spin_lock_bh(&adap->mbox_lock); in t4_wr_mbox_meat_timeout()
437 spin_unlock_bh(&adap->mbox_lock); in t4_wr_mbox_meat_timeout()
Dcxgb4.h999 spinlock_t mbox_lock; member
Dcxgb4_main.c5729 spin_lock_init(&adapter->mbox_lock); in init_one()