Home
last modified time | relevance | path

Searched refs:mbox_lock (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c40 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 …]
Dmbox.h53 spinlock_t mbox_lock; member
/linux-6.6.21/drivers/scsi/be2iscsi/
Dbe_mgmt.c55 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 …]
Dbe_cmds.c744 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 …]
Dbe.h118 struct mutex mbox_lock; /* For serializing mbox cmds to BE card */ member
Dbe_main.c566 mutex_init(&ctrl->mbox_lock); in be_ctrl_init()
/linux-6.6.21/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_mbox.c25 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()
/linux-6.6.21/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c872 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 …]
Dbe.h558 struct mutex mbox_lock; /* For serializing mbox cmds to BE card */ member
Dbe_main.c5672 mutex_init(&adapter->mbox_lock); in be_drv_init()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c166 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()
Dadapter.h398 spinlock_t mbox_lock; member
Dcxgb4vf_main.c2961 spin_lock_init(&adapter->mbox_lock); in cxgb4vf_pci_probe()
/linux-6.6.21/drivers/net/phy/
Dmxl-gpy.c106 struct mutex mbox_lock; member
230 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()
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mbox.h110 spinlock_t mbox_lock; member
Dhinic_hw_mbox.c393 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()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c322 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()
Dcxgb4.h1172 spinlock_t mbox_lock; member
Dcxgb4_main.c6672 spin_lock_init(&adapter->mbox_lock); in init_one()