Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/bus/mhi/host/
A Dinit.c230 struct mhi_cmd *mhi_cmd; in mhi_deinit_dev_ctxt() local
234 mhi_cmd = mhi_cntrl->mhi_cmd; in mhi_deinit_dev_ctxt()
236 ring = &mhi_cmd->ring; in mhi_deinit_dev_ctxt()
279 struct mhi_cmd *mhi_cmd; in mhi_init_dev_ctxt() local
378 mhi_cmd = mhi_cntrl->mhi_cmd; in mhi_init_dev_ctxt()
402 for (--i, --mhi_cmd; i >= 0; i--, mhi_cmd--) { in mhi_init_dev_ctxt()
895 struct mhi_cmd *mhi_cmd; in mhi_register_controller() local
913 if (!mhi_cntrl->mhi_cmd) { in mhi_register_controller()
933 mhi_cmd = mhi_cntrl->mhi_cmd; in mhi_register_controller()
1028 kfree(mhi_cntrl->mhi_cmd); in mhi_register_controller()
[all …]
A Dpm.c271 struct mhi_cmd *mhi_cmd = in mhi_pm_m0_transition() local
272 &mhi_cntrl->mhi_cmd[PRIMARY_CMD_RING]; in mhi_pm_m0_transition()
284 spin_lock_irq(&mhi_cmd->lock); in mhi_pm_m0_transition()
285 if (mhi_cmd->ring.rp != mhi_cmd->ring.wp) in mhi_pm_m0_transition()
286 mhi_ring_cmd_db(mhi_cntrl, mhi_cmd); in mhi_pm_m0_transition()
287 spin_unlock_irq(&mhi_cmd->lock); in mhi_pm_m0_transition()
461 struct mhi_cmd *mhi_cmd; in mhi_pm_disable_transition() local
523 mhi_cmd = mhi_cntrl->mhi_cmd; in mhi_pm_disable_transition()
526 struct mhi_ring *ring = &mhi_cmd->ring; in mhi_pm_disable_transition()
573 struct mhi_cmd *mhi_cmd; in mhi_pm_sys_error_transition() local
[all …]
A Dmain.c122 void mhi_ring_cmd_db(struct mhi_controller *mhi_cntrl, struct mhi_cmd *mhi_cmd) in mhi_ring_cmd_db() argument
125 struct mhi_ring *ring = &mhi_cmd->ring; in mhi_ring_cmd_db()
770 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()
A Dinternal.h175 struct mhi_cmd { struct
333 void mhi_ring_cmd_db(struct mhi_controller *mhi_cntrl, struct mhi_cmd *mhi_cmd);
/linux-6.3-rc2/include/linux/
A Dmhi.h23 struct mhi_cmd;
410 struct mhi_cmd *mhi_cmd; member
A Dmhi_ep.h105 struct mhi_ep_cmd *mhi_cmd; member
/linux-6.3-rc2/drivers/bus/mhi/ep/
A Dmain.c105 struct mhi_ep_ring *ring = &mhi_cntrl->mhi_cmd->ring; in mhi_ep_send_cmd_comp_event()
586 ret = mhi_ep_ring_start(mhi_cntrl, &mhi_cntrl->mhi_cmd->ring, in mhi_ep_cache_host_cfg()
681 struct mhi_ep_ring *ring = &mhi_cntrl->mhi_cmd->ring; in mhi_ep_cmd_ring_worker()
989 mhi_ep_ring_reset(mhi_cntrl, &mhi_cntrl->mhi_cmd->ring); in mhi_ep_abort_transfer()
1059 mhi_ep_ring_init(&mhi_cntrl->mhi_cmd->ring, RING_TYPE_CMD, 0); in mhi_ep_power_up()
1372 mhi_cntrl->mhi_cmd = kcalloc(NR_OF_CMD_RINGS, sizeof(*mhi_cntrl->mhi_cmd), GFP_KERNEL); in mhi_ep_register_controller()
1373 if (!mhi_cntrl->mhi_cmd) { in mhi_ep_register_controller()
1446 kfree(mhi_cntrl->mhi_cmd); in mhi_ep_register_controller()
1466 kfree(mhi_cntrl->mhi_cmd); in mhi_ep_unregister_controller()

Completed in 19 milliseconds