Searched refs:mbox_lock (Results 1 – 19 of 19) sorted by relevance
40 spin_lock(&mdev->mbox_lock); in otx2_mbox_reset()42 spin_unlock(&mdev->mbox_lock); in otx2_mbox_reset()146 spin_lock_init(&mdev->mbox_lock); in otx2_mbox_init()178 spin_lock_init(&mdev->mbox_lock); in otx2_mbox_regions_init()234 spin_lock(&mdev->mbox_lock); in otx2_mbox_msg_send()255 spin_unlock(&mdev->mbox_lock); in otx2_mbox_msg_send()271 spin_lock(&mdev->mbox_lock); in otx2_mbox_alloc_msg_rsp()294 spin_unlock(&mdev->mbox_lock); in otx2_mbox_alloc_msg_rsp()308 spin_lock(&mdev->mbox_lock); in otx2_mbox_get_rsp()320 spin_unlock(&mdev->mbox_lock); in otx2_mbox_get_rsp()[all …]
53 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()147 if (mutex_lock_interruptible(&ctrl->mbox_lock)) in mgmt_open_connection()151 mutex_unlock(&ctrl->mbox_lock); in mgmt_open_connection()209 mutex_unlock(&ctrl->mbox_lock); in mgmt_open_connection()234 mutex_lock(&ctrl->mbox_lock); in beiscsi_exec_nemb_cmd()237 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
566 mutex_init(&ctrl->mbox_lock); in be_ctrl_init()
25 static DEFINE_MUTEX(mbox_lock);55 mutex_lock(&mbox_lock); in send_mbox_write_cmd()69 mutex_unlock(&mbox_lock); in send_mbox_write_cmd()81 mutex_lock(&mbox_lock); in send_mbox_read_cmd()101 mutex_unlock(&mbox_lock); in send_mbox_read_cmd()
872 return mutex_lock_interruptible(&adapter->mbox_lock); in be_cmd_lock()882 return mutex_unlock(&adapter->mbox_lock); in be_cmd_unlock()946 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_fw_init()961 mutex_unlock(&adapter->mbox_lock); in be_cmd_fw_init()976 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_fw_clean()991 mutex_unlock(&adapter->mbox_lock); in be_cmd_fw_clean()1002 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_eq_create()1038 mutex_unlock(&adapter->mbox_lock); in be_cmd_eq_create()1168 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_cq_create()1222 mutex_unlock(&adapter->mbox_lock); in be_cmd_cq_create()[all …]
558 struct mutex mbox_lock; /* For serializing mbox cmds to BE card */ member
5672 mutex_init(&adapter->mbox_lock); in be_drv_init()
166 spin_lock(&adapter->mbox_lock); in t4vf_wr_mbox_core()168 spin_unlock(&adapter->mbox_lock); in t4vf_wr_mbox_core()180 spin_lock(&adapter->mbox_lock); in t4vf_wr_mbox_core()182 spin_unlock(&adapter->mbox_lock); in t4vf_wr_mbox_core()214 spin_lock(&adapter->mbox_lock); in t4vf_wr_mbox_core()216 spin_unlock(&adapter->mbox_lock); in t4vf_wr_mbox_core()301 spin_lock(&adapter->mbox_lock); in t4vf_wr_mbox_core()303 spin_unlock(&adapter->mbox_lock); in t4vf_wr_mbox_core()311 spin_lock(&adapter->mbox_lock); in t4vf_wr_mbox_core()313 spin_unlock(&adapter->mbox_lock); in t4vf_wr_mbox_core()
398 spinlock_t mbox_lock; member
2961 spin_lock_init(&adapter->mbox_lock); in cxgb4vf_pci_probe()
106 struct mutex mbox_lock; member230 mutex_lock(&priv->mbox_lock); in gpy_mbox_read()259 mutex_unlock(&priv->mbox_lock); in gpy_mbox_read()294 mutex_init(&priv->mbox_lock); in gpy_probe()
110 spinlock_t mbox_lock; member
393 spin_lock(&func_to_func->mbox_lock); in resp_mbox_handler()402 spin_unlock(&func_to_func->mbox_lock); in resp_mbox_handler()961 spin_lock(&func_to_func->mbox_lock); in set_mbox_to_func_event()963 spin_unlock(&func_to_func->mbox_lock); in set_mbox_to_func_event()1414 spin_lock_init(&func_to_func->mbox_lock); in hinic_func_to_func_init()
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()
1172 spinlock_t mbox_lock; member
6672 spin_lock_init(&adapter->mbox_lock); in init_one()