Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/bus/mhi/host/
Dpm.c460 struct mhi_cmd_ctxt *cmd_ctxt; in mhi_pm_disable_transition() local
524 cmd_ctxt = mhi_cntrl->mhi_ctxt->cmd_ctxt; in mhi_pm_disable_transition()
525 for (i = 0; i < NR_OF_CMD_RINGS; i++, mhi_cmd++, cmd_ctxt++) { in mhi_pm_disable_transition()
530 cmd_ctxt->rp = cmd_ctxt->rbase; in mhi_pm_disable_transition()
531 cmd_ctxt->wp = cmd_ctxt->rbase; in mhi_pm_disable_transition()
572 struct mhi_cmd_ctxt *cmd_ctxt; in mhi_pm_sys_error_transition() local
657 cmd_ctxt = mhi_cntrl->mhi_ctxt->cmd_ctxt; in mhi_pm_sys_error_transition()
658 for (i = 0; i < NR_OF_CMD_RINGS; i++, mhi_cmd++, cmd_ctxt++) { in mhi_pm_sys_error_transition()
663 cmd_ctxt->rp = cmd_ctxt->rbase; in mhi_pm_sys_error_transition()
664 cmd_ctxt->wp = cmd_ctxt->rbase; in mhi_pm_sys_error_transition()
Dinit.c244 sizeof(*mhi_ctxt->cmd_ctxt) * NR_OF_CMD_RINGS, in mhi_deinit_dev_ctxt()
245 mhi_ctxt->cmd_ctxt, mhi_ctxt->cmd_ctxt_addr); in mhi_deinit_dev_ctxt()
276 struct mhi_cmd_ctxt *cmd_ctxt; in mhi_init_dev_ctxt() local
370 mhi_ctxt->cmd_ctxt = dma_alloc_coherent(mhi_cntrl->cntrl_dev, in mhi_init_dev_ctxt()
371 sizeof(*mhi_ctxt->cmd_ctxt) * in mhi_init_dev_ctxt()
375 if (!mhi_ctxt->cmd_ctxt) in mhi_init_dev_ctxt()
379 cmd_ctxt = mhi_ctxt->cmd_ctxt; in mhi_init_dev_ctxt()
380 for (i = 0; i < NR_OF_CMD_RINGS; i++, mhi_cmd++, cmd_ctxt++) { in mhi_init_dev_ctxt()
391 cmd_ctxt->rbase = cpu_to_le64(ring->iommu_base); in mhi_init_dev_ctxt()
392 cmd_ctxt->rp = cmd_ctxt->wp = cmd_ctxt->rbase; in mhi_init_dev_ctxt()
[all …]
Dinternal.h27 struct mhi_cmd_ctxt *cmd_ctxt; member