Searched refs:cmd_ctxt (Results 1 – 3 of 3) sorted by relevance
456 struct mhi_cmd_ctxt *cmd_ctxt; in mhi_pm_disable_transition() local517 cmd_ctxt = mhi_cntrl->mhi_ctxt->cmd_ctxt; in mhi_pm_disable_transition()518 for (i = 0; i < NR_OF_CMD_RINGS; i++, mhi_cmd++, cmd_ctxt++) { in mhi_pm_disable_transition()523 cmd_ctxt->rp = cmd_ctxt->rbase; in mhi_pm_disable_transition()524 cmd_ctxt->wp = cmd_ctxt->rbase; in mhi_pm_disable_transition()565 struct mhi_cmd_ctxt *cmd_ctxt; in mhi_pm_sys_error_transition() local651 cmd_ctxt = mhi_cntrl->mhi_ctxt->cmd_ctxt; in mhi_pm_sys_error_transition()652 for (i = 0; i < NR_OF_CMD_RINGS; i++, mhi_cmd++, cmd_ctxt++) { in mhi_pm_sys_error_transition()657 cmd_ctxt->rp = cmd_ctxt->rbase; in mhi_pm_sys_error_transition()658 cmd_ctxt->wp = cmd_ctxt->rbase; in mhi_pm_sys_error_transition()
234 sizeof(*mhi_ctxt->cmd_ctxt) * NR_OF_CMD_RINGS, in mhi_deinit_dev_ctxt()235 mhi_ctxt->cmd_ctxt, mhi_ctxt->cmd_ctxt_addr); in mhi_deinit_dev_ctxt()266 struct mhi_cmd_ctxt *cmd_ctxt; in mhi_init_dev_ctxt() local360 mhi_ctxt->cmd_ctxt = dma_alloc_coherent(mhi_cntrl->cntrl_dev, in mhi_init_dev_ctxt()361 sizeof(*mhi_ctxt->cmd_ctxt) * in mhi_init_dev_ctxt()365 if (!mhi_ctxt->cmd_ctxt) in mhi_init_dev_ctxt()369 cmd_ctxt = mhi_ctxt->cmd_ctxt; in mhi_init_dev_ctxt()370 for (i = 0; i < NR_OF_CMD_RINGS; i++, mhi_cmd++, cmd_ctxt++) { in mhi_init_dev_ctxt()381 cmd_ctxt->rbase = cpu_to_le64(ring->iommu_base); in mhi_init_dev_ctxt()382 cmd_ctxt->rp = cmd_ctxt->wp = cmd_ctxt->rbase; in mhi_init_dev_ctxt()[all …]
254 struct mhi_cmd_ctxt *cmd_ctxt; member