Lines Matching refs:mbox_lock
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()
1243 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_mccq_ext_create()
1293 mutex_unlock(&adapter->mbox_lock); in be_cmd_mccq_ext_create()
1308 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_mccq_org_create()
1338 mutex_unlock(&adapter->mbox_lock); in be_cmd_mccq_org_create()
1459 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_q_destroy()
1497 mutex_unlock(&adapter->mbox_lock); in be_cmd_q_destroy()
2119 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_query_fw_cfg()
2142 mutex_unlock(&adapter->mbox_lock); in be_cmd_query_fw_cfg()
2163 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_reset_function()
2175 mutex_unlock(&adapter->mbox_lock); in be_cmd_reset_function()
3514 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_get_cntl_attributes()
3555 mutex_unlock(&adapter->mbox_lock); in be_cmd_get_cntl_attributes()
3569 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_req_native_mode()
3599 mutex_unlock(&adapter->mbox_lock); in be_cmd_req_native_mode()
4027 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_get_acpi_wol_cap()
4069 mutex_unlock(&adapter->mbox_lock); in be_cmd_get_acpi_wol_cap()
4161 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_get_ext_fat_capabilites()
4178 mutex_unlock(&adapter->mbox_lock); in be_cmd_get_ext_fat_capabilites()
4216 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_query_port_name()
4237 mutex_unlock(&adapter->mbox_lock); in be_cmd_query_port_name()
4346 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_get_func_config()
4399 mutex_unlock(&adapter->mbox_lock); in be_cmd_get_func_config()
4878 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_intr_set()
4893 mutex_unlock(&adapter->mbox_lock); in be_cmd_intr_set()
4904 if (mutex_lock_interruptible(&adapter->mbox_lock)) in be_cmd_get_active_profile()
4928 mutex_unlock(&adapter->mbox_lock); in be_cmd_get_active_profile()