Searched refs:mhi_cmd (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/bus/mhi/core/ |
D | init.c | 201 struct mhi_cmd *mhi_cmd; in mhi_deinit_dev_ctxt() local 205 mhi_cmd = mhi_cntrl->mhi_cmd; in mhi_deinit_dev_ctxt() 206 for (i = 0; i < NR_OF_CMD_RINGS; i++, mhi_cmd++) { in mhi_deinit_dev_ctxt() 207 ring = &mhi_cmd->ring; in mhi_deinit_dev_ctxt() 250 struct mhi_cmd *mhi_cmd; in mhi_init_dev_ctxt() local 349 mhi_cmd = mhi_cntrl->mhi_cmd; in mhi_init_dev_ctxt() 351 for (i = 0; i < NR_OF_CMD_RINGS; i++, mhi_cmd++, cmd_ctxt++) { in mhi_init_dev_ctxt() 352 struct mhi_ring *ring = &mhi_cmd->ring; in mhi_init_dev_ctxt() 373 for (--i, --mhi_cmd; i >= 0; i--, mhi_cmd--) { in mhi_init_dev_ctxt() 374 struct mhi_ring *ring = &mhi_cmd->ring; in mhi_init_dev_ctxt() [all …]
|
D | pm.c | 268 struct mhi_cmd *mhi_cmd = in mhi_pm_m0_transition() local 269 &mhi_cntrl->mhi_cmd[PRIMARY_CMD_RING]; in mhi_pm_m0_transition() 281 spin_lock_irq(&mhi_cmd->lock); in mhi_pm_m0_transition() 282 if (mhi_cmd->ring.rp != mhi_cmd->ring.wp) in mhi_pm_m0_transition() 283 mhi_ring_cmd_db(mhi_cntrl, mhi_cmd); in mhi_pm_m0_transition() 284 spin_unlock_irq(&mhi_cmd->lock); in mhi_pm_m0_transition() 454 struct mhi_cmd *mhi_cmd; in mhi_pm_disable_transition() local 542 mhi_cmd = mhi_cntrl->mhi_cmd; in mhi_pm_disable_transition() 544 for (i = 0; i < NR_OF_CMD_RINGS; i++, mhi_cmd++, cmd_ctxt++) { in mhi_pm_disable_transition() 545 struct mhi_ring *ring = &mhi_cmd->ring; in mhi_pm_disable_transition()
|
D | main.c | 97 void mhi_ring_cmd_db(struct mhi_controller *mhi_cntrl, struct mhi_cmd *mhi_cmd) in mhi_ring_cmd_db() argument 100 struct mhi_ring *ring = &mhi_cmd->ring; in mhi_ring_cmd_db() 694 struct mhi_cmd *cmd_ring = &mhi_cntrl->mhi_cmd[PRIMARY_CMD_RING]; in mhi_process_cmd_completion() 1259 struct mhi_cmd *mhi_cmd = &mhi_cntrl->mhi_cmd[PRIMARY_CMD_RING]; in mhi_send_cmd() local 1260 struct mhi_ring *ring = &mhi_cmd->ring; in mhi_send_cmd() 1267 spin_lock_bh(&mhi_cmd->lock); in mhi_send_cmd() 1269 spin_unlock_bh(&mhi_cmd->lock); in mhi_send_cmd() 1295 mhi_ring_cmd_db(mhi_cntrl, mhi_cmd); in mhi_send_cmd() 1297 spin_unlock_bh(&mhi_cmd->lock); in mhi_send_cmd()
|
D | internal.h | 500 struct mhi_cmd { struct 656 void mhi_ring_cmd_db(struct mhi_controller *mhi_cntrl, struct mhi_cmd *mhi_cmd);
|
/kernel/linux/linux-5.10/include/linux/ |
D | mhi.h | 23 struct mhi_cmd; 404 struct mhi_cmd *mhi_cmd; member
|