Home
last modified time | relevance | path

Searched refs:er_ctxt (Results 1 – 5 of 5) sorted by relevance

/drivers/bus/mhi/host/
Ddebugfs.c42 struct mhi_event_ctxt *er_ctxt; in mhi_debugfs_events_show() local
50 er_ctxt = mhi_cntrl->mhi_ctxt->er_ctxt; in mhi_debugfs_events_show()
53 i++, er_ctxt++, mhi_event++) { in mhi_debugfs_events_show()
63 i, (le32_to_cpu(er_ctxt->intmod) & EV_CTX_INTMODC_MASK) >> in mhi_debugfs_events_show()
65 (le32_to_cpu(er_ctxt->intmod) & EV_CTX_INTMODT_MASK) >> in mhi_debugfs_events_show()
68 seq_printf(m, " base: 0x%0llx len: 0x%llx", le64_to_cpu(er_ctxt->rbase), in mhi_debugfs_events_show()
69 le64_to_cpu(er_ctxt->rlen)); in mhi_debugfs_events_show()
71 seq_printf(m, " rp: 0x%llx wp: 0x%llx", le64_to_cpu(er_ctxt->rp), in mhi_debugfs_events_show()
72 le64_to_cpu(er_ctxt->wp)); in mhi_debugfs_events_show()
Dinit.c260 dma_free_coherent(mhi_cntrl->cntrl_dev, sizeof(*mhi_ctxt->er_ctxt) * in mhi_deinit_dev_ctxt()
261 mhi_cntrl->total_ev_rings, mhi_ctxt->er_ctxt, in mhi_deinit_dev_ctxt()
276 struct mhi_event_ctxt *er_ctxt; in mhi_init_dev_ctxt() local
324 mhi_ctxt->er_ctxt = dma_alloc_coherent(mhi_cntrl->cntrl_dev, in mhi_init_dev_ctxt()
325 sizeof(*mhi_ctxt->er_ctxt) * in mhi_init_dev_ctxt()
329 if (!mhi_ctxt->er_ctxt) in mhi_init_dev_ctxt()
332 er_ctxt = mhi_ctxt->er_ctxt; in mhi_init_dev_ctxt()
334 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, er_ctxt++, in mhi_init_dev_ctxt()
342 tmp = le32_to_cpu(er_ctxt->intmod); in mhi_init_dev_ctxt()
346 er_ctxt->intmod = cpu_to_le32(tmp); in mhi_init_dev_ctxt()
[all …]
Dpm.c470 struct mhi_event_ctxt *er_ctxt; in mhi_pm_disable_transition() local
548 er_ctxt = mhi_cntrl->mhi_ctxt->er_ctxt; in mhi_pm_disable_transition()
549 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, er_ctxt++, in mhi_pm_disable_transition()
559 er_ctxt->rp = er_ctxt->rbase; in mhi_pm_disable_transition()
560 er_ctxt->wp = er_ctxt->rbase; in mhi_pm_disable_transition()
587 struct mhi_event_ctxt *er_ctxt; in mhi_pm_sys_error_transition() local
687 er_ctxt = mhi_cntrl->mhi_ctxt->er_ctxt; in mhi_pm_sys_error_transition()
688 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, er_ctxt++, in mhi_pm_sys_error_transition()
698 er_ctxt->rp = er_ctxt->rbase; in mhi_pm_sys_error_transition()
699 er_ctxt->wp = er_ctxt->rbase; in mhi_pm_sys_error_transition()
Dmain.c434 struct mhi_event_ctxt *er_ctxt; in mhi_irq_handler() local
450 er_ctxt = &mhi_cntrl->mhi_ctxt->er_ctxt[mhi_event->er_index]; in mhi_irq_handler()
451 ptr = le64_to_cpu(er_ctxt->rp); in mhi_irq_handler()
812 struct mhi_event_ctxt *er_ctxt = in mhi_process_ctrl_ev_ring() local
813 &mhi_cntrl->mhi_ctxt->er_ctxt[mhi_event->er_index]; in mhi_process_ctrl_ev_ring()
818 dma_addr_t ptr = le64_to_cpu(er_ctxt->rp); in mhi_process_ctrl_ev_ring()
956 ptr = le64_to_cpu(er_ctxt->rp); in mhi_process_ctrl_ev_ring()
983 struct mhi_event_ctxt *er_ctxt = in mhi_process_data_event_ring() local
984 &mhi_cntrl->mhi_ctxt->er_ctxt[mhi_event->er_index]; in mhi_process_data_event_ring()
988 dma_addr_t ptr = le64_to_cpu(er_ctxt->rp); in mhi_process_data_event_ring()
[all …]
Dinternal.h25 struct mhi_event_ctxt *er_ctxt; member