Searched refs:mbox_lock (Results 1 – 8 of 8) sorted by relevance
32 spin_lock(&ctrl->mbox_lock); in beiscsi_get_boot_target()35 spin_unlock(&ctrl->mbox_lock); in beiscsi_get_boot_target()48 spin_unlock(&ctrl->mbox_lock); in beiscsi_get_boot_target()64 spin_lock(&ctrl->mbox_lock); in beiscsi_get_session_info()67 spin_unlock(&ctrl->mbox_lock); in beiscsi_get_session_info()90 spin_unlock(&ctrl->mbox_lock); in beiscsi_get_session_info()101 spin_lock(&ctrl->mbox_lock); in mgmt_get_fw_config()134 spin_unlock(&ctrl->mbox_lock); in mgmt_get_fw_config()159 spin_lock(&ctrl->mbox_lock); in mgmt_check_supported_fw()182 spin_unlock(&ctrl->mbox_lock); in mgmt_check_supported_fw()[all …]
133 spin_lock(&ctrl->mbox_lock); in free_mcc_tag()141 spin_unlock(&ctrl->mbox_lock); in free_mcc_tag()530 spin_lock(&ctrl->mbox_lock); in beiscsi_cmd_eq_create()557 spin_unlock(&ctrl->mbox_lock); in beiscsi_cmd_eq_create()568 spin_lock(&ctrl->mbox_lock); in be_cmd_fw_initialize()586 spin_unlock(&ctrl->mbox_lock); in be_cmd_fw_initialize()602 spin_lock(&ctrl->mbox_lock); in beiscsi_cmd_cq_create()636 spin_unlock(&ctrl->mbox_lock); in beiscsi_cmd_cq_create()660 spin_lock(&phba->ctrl.mbox_lock); in beiscsi_cmd_mccq_create()691 spin_unlock(&phba->ctrl.mbox_lock); in beiscsi_cmd_mccq_create()[all …]
105 spinlock_t mbox_lock; /* For serializing mbox cmds to BE card */ member
555 spin_lock_init(&ctrl->mbox_lock); in be_ctrl_init()
531 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_fw_init()546 mutex_unlock(&adapter->mbox_lock); in be_cmd_fw_init()558 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_fw_clean()573 mutex_unlock(&adapter->mbox_lock); in be_cmd_fw_clean()584 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_eq_create()613 mutex_unlock(&adapter->mbox_lock); in be_cmd_eq_create()738 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_cq_create()784 mutex_unlock(&adapter->mbox_lock); in be_cmd_cq_create()807 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_mccq_ext_create()849 mutex_unlock(&adapter->mbox_lock); in be_cmd_mccq_ext_create()[all …]
323 struct mutex mbox_lock; /* For serializing mbox cmds to BE card */ member
3249 mutex_init(&adapter->mbox_lock); in be_ctrl_init()
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()