Searched refs:mbox_lock (Results 1 – 16 of 16) sorted by relevance
28 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()
55 spinlock_t mbox_lock; member
55 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 …]
744 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 …]
118 struct mutex mbox_lock; /* For serializing mbox cmds to BE card */ member
548 mutex_init(&ctrl->mbox_lock); in be_ctrl_init()
869 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 …]
560 struct mutex mbox_lock; /* For serializing mbox cmds to BE card */ member
5802 mutex_init(&adapter->mbox_lock); in be_drv_init()
165 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()
397 spinlock_t mbox_lock; member
3014 spin_lock_init(&adapter->mbox_lock); in cxgb4vf_pci_probe()
239 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()
322 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()
999 spinlock_t mbox_lock; member
5729 spin_lock_init(&adapter->mbox_lock); in init_one()