Home
last modified time | relevance | path

Searched refs:cmd_ctxt (Results 1 – 3 of 3) sorted by relevance

/drivers/bus/mhi/host/
Dpm.c468 struct mhi_cmd_ctxt *cmd_ctxt; in mhi_pm_disable_transition() local
537 cmd_ctxt = mhi_cntrl->mhi_ctxt->cmd_ctxt; in mhi_pm_disable_transition()
538 for (i = 0; i < NR_OF_CMD_RINGS; i++, mhi_cmd++, cmd_ctxt++) { in mhi_pm_disable_transition()
543 cmd_ctxt->rp = cmd_ctxt->rbase; in mhi_pm_disable_transition()
544 cmd_ctxt->wp = cmd_ctxt->rbase; in mhi_pm_disable_transition()
585 struct mhi_cmd_ctxt *cmd_ctxt; in mhi_pm_sys_error_transition() local
676 cmd_ctxt = mhi_cntrl->mhi_ctxt->cmd_ctxt; in mhi_pm_sys_error_transition()
677 for (i = 0; i < NR_OF_CMD_RINGS; i++, mhi_cmd++, cmd_ctxt++) { in mhi_pm_sys_error_transition()
682 cmd_ctxt->rp = cmd_ctxt->rbase; in mhi_pm_sys_error_transition()
683 cmd_ctxt->wp = cmd_ctxt->rbase; in mhi_pm_sys_error_transition()
Dinit.c245 sizeof(*mhi_ctxt->cmd_ctxt) * NR_OF_CMD_RINGS, in mhi_deinit_dev_ctxt()
246 mhi_ctxt->cmd_ctxt, mhi_ctxt->cmd_ctxt_addr); in mhi_deinit_dev_ctxt()
277 struct mhi_cmd_ctxt *cmd_ctxt; in mhi_init_dev_ctxt() local
371 mhi_ctxt->cmd_ctxt = dma_alloc_coherent(mhi_cntrl->cntrl_dev, in mhi_init_dev_ctxt()
372 sizeof(*mhi_ctxt->cmd_ctxt) * in mhi_init_dev_ctxt()
376 if (!mhi_ctxt->cmd_ctxt) in mhi_init_dev_ctxt()
380 cmd_ctxt = mhi_ctxt->cmd_ctxt; in mhi_init_dev_ctxt()
381 for (i = 0; i < NR_OF_CMD_RINGS; i++, mhi_cmd++, cmd_ctxt++) { in mhi_init_dev_ctxt()
392 cmd_ctxt->rbase = cpu_to_le64(ring->iommu_base); in mhi_init_dev_ctxt()
393 cmd_ctxt->rp = cmd_ctxt->wp = cmd_ctxt->rbase; in mhi_init_dev_ctxt()
[all …]
Dinternal.h27 struct mhi_cmd_ctxt *cmd_ctxt; member