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
547 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()
871 return mutex_lock_interruptible(&adapter->mbox_lock); in be_cmd_lock()881 return mutex_unlock(&adapter->mbox_lock); in be_cmd_unlock()945 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_fw_init()960 mutex_unlock(&adapter->mbox_lock); in be_cmd_fw_init()975 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_fw_clean()990 mutex_unlock(&adapter->mbox_lock); in be_cmd_fw_clean()1001 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_eq_create()1037 mutex_unlock(&adapter->mbox_lock); in be_cmd_eq_create()1167 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_cq_create()1221 mutex_unlock(&adapter->mbox_lock); in be_cmd_cq_create()[all …]
559 struct mutex mbox_lock; /* For serializing mbox cmds to BE card */ member
5675 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()
397 spinlock_t mbox_lock; member
2967 spin_lock_init(&adapter->mbox_lock); in cxgb4vf_pci_probe()
241 static DEFINE_SPINLOCK(mbox_lock);359 spin_lock_irqsave(&mbox_lock, flags); in getmbox()362 spin_unlock_irqrestore(&mbox_lock, flags); in getmbox()365 spin_unlock_irqrestore(&mbox_lock, flags); in getmbox()
398 spin_lock(&func_to_func->mbox_lock); in resp_mbox_handler()407 spin_unlock(&func_to_func->mbox_lock); in resp_mbox_handler()966 spin_lock(&func_to_func->mbox_lock); in set_mbox_to_func_event()968 spin_unlock(&func_to_func->mbox_lock); in set_mbox_to_func_event()1419 spin_lock_init(&func_to_func->mbox_lock); in hinic_func_to_func_init()
110 spinlock_t mbox_lock; member
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()
1174 spinlock_t mbox_lock; member
6679 spin_lock_init(&adapter->mbox_lock); in init_one()