Home
last modified time | relevance | path

Searched refs:mhi_cmd (Results 1 – 4 of 4) sorted by relevance

/drivers/bus/mhi/host/
Dinit.c220 struct mhi_cmd *mhi_cmd; in mhi_deinit_dev_ctxt() local
224 mhi_cmd = mhi_cntrl->mhi_cmd; in mhi_deinit_dev_ctxt()
225 for (i = 0; i < NR_OF_CMD_RINGS; i++, mhi_cmd++) { in mhi_deinit_dev_ctxt()
226 ring = &mhi_cmd->ring; in mhi_deinit_dev_ctxt()
269 struct mhi_cmd *mhi_cmd; in mhi_init_dev_ctxt() local
368 mhi_cmd = mhi_cntrl->mhi_cmd; in mhi_init_dev_ctxt()
370 for (i = 0; i < NR_OF_CMD_RINGS; i++, mhi_cmd++, cmd_ctxt++) { in mhi_init_dev_ctxt()
371 struct mhi_ring *ring = &mhi_cmd->ring; in mhi_init_dev_ctxt()
392 for (--i, --mhi_cmd; i >= 0; i--, mhi_cmd--) { in mhi_init_dev_ctxt()
393 struct mhi_ring *ring = &mhi_cmd->ring; in mhi_init_dev_ctxt()
[all …]
Dpm.c267 struct mhi_cmd *mhi_cmd = in mhi_pm_m0_transition() local
268 &mhi_cntrl->mhi_cmd[PRIMARY_CMD_RING]; in mhi_pm_m0_transition()
280 spin_lock_irq(&mhi_cmd->lock); in mhi_pm_m0_transition()
281 if (mhi_cmd->ring.rp != mhi_cmd->ring.wp) in mhi_pm_m0_transition()
282 mhi_ring_cmd_db(mhi_cntrl, mhi_cmd); in mhi_pm_m0_transition()
283 spin_unlock_irq(&mhi_cmd->lock); in mhi_pm_m0_transition()
457 struct mhi_cmd *mhi_cmd; in mhi_pm_disable_transition() local
516 mhi_cmd = mhi_cntrl->mhi_cmd; in mhi_pm_disable_transition()
518 for (i = 0; i < NR_OF_CMD_RINGS; i++, mhi_cmd++, cmd_ctxt++) { in mhi_pm_disable_transition()
519 struct mhi_ring *ring = &mhi_cmd->ring; in mhi_pm_disable_transition()
[all …]
Dmain.c120 void mhi_ring_cmd_db(struct mhi_controller *mhi_cntrl, struct mhi_cmd *mhi_cmd) in mhi_ring_cmd_db() argument
123 struct mhi_ring *ring = &mhi_cmd->ring; in mhi_ring_cmd_db()
766 struct mhi_cmd *cmd_ring = &mhi_cntrl->mhi_cmd[PRIMARY_CMD_RING]; in mhi_process_cmd_completion()
1271 struct mhi_cmd *mhi_cmd = &mhi_cntrl->mhi_cmd[PRIMARY_CMD_RING]; in mhi_send_cmd() local
1272 struct mhi_ring *ring = &mhi_cmd->ring; in mhi_send_cmd()
1279 spin_lock_bh(&mhi_cmd->lock); in mhi_send_cmd()
1281 spin_unlock_bh(&mhi_cmd->lock); in mhi_send_cmd()
1312 mhi_ring_cmd_db(mhi_cntrl, mhi_cmd); in mhi_send_cmd()
1314 spin_unlock_bh(&mhi_cmd->lock); in mhi_send_cmd()
Dinternal.h515 struct mhi_cmd { struct
672 void mhi_ring_cmd_db(struct mhi_controller *mhi_cntrl, struct mhi_cmd *mhi_cmd);