Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/bus/mhi/core/
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, (er_ctxt->intmod & EV_CTX_INTMODC_MASK) >> in mhi_debugfs_events_show()
65 (er_ctxt->intmod & EV_CTX_INTMODT_MASK) >> in mhi_debugfs_events_show()
68 seq_printf(m, " base: 0x%0llx len: 0x%llx", er_ctxt->rbase, in mhi_debugfs_events_show()
69 er_ctxt->rlen); in mhi_debugfs_events_show()
71 seq_printf(m, " rp: 0x%llx wp: 0x%llx", er_ctxt->rp, in mhi_debugfs_events_show()
72 er_ctxt->wp); in mhi_debugfs_events_show()
Dinit.c230 mhi_free_coherent(mhi_cntrl, sizeof(*mhi_ctxt->er_ctxt) * in mhi_deinit_dev_ctxt()
231 mhi_cntrl->total_ev_rings, mhi_ctxt->er_ctxt, in mhi_deinit_dev_ctxt()
246 struct mhi_event_ctxt *er_ctxt; in mhi_init_dev_ctxt() local
294 mhi_ctxt->er_ctxt = mhi_alloc_coherent(mhi_cntrl, in mhi_init_dev_ctxt()
295 sizeof(*mhi_ctxt->er_ctxt) * in mhi_init_dev_ctxt()
299 if (!mhi_ctxt->er_ctxt) in mhi_init_dev_ctxt()
302 er_ctxt = mhi_ctxt->er_ctxt; in mhi_init_dev_ctxt()
304 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, er_ctxt++, in mhi_init_dev_ctxt()
312 tmp = er_ctxt->intmod; in mhi_init_dev_ctxt()
316 er_ctxt->intmod = tmp; in mhi_init_dev_ctxt()
[all …]
Dmain.c375 struct mhi_event_ctxt *er_ctxt = in mhi_irq_handler() local
376 &mhi_cntrl->mhi_ctxt->er_ctxt[mhi_event->er_index]; in mhi_irq_handler()
378 dma_addr_t ptr = er_ctxt->rp; in mhi_irq_handler()
731 struct mhi_event_ctxt *er_ctxt = in mhi_process_ctrl_ev_ring() local
732 &mhi_cntrl->mhi_ctxt->er_ctxt[mhi_event->er_index]; in mhi_process_ctrl_ev_ring()
737 dma_addr_t ptr = er_ctxt->rp; in mhi_process_ctrl_ev_ring()
878 ptr = er_ctxt->rp; in mhi_process_ctrl_ev_ring()
903 struct mhi_event_ctxt *er_ctxt = in mhi_process_data_event_ring() local
904 &mhi_cntrl->mhi_ctxt->er_ctxt[mhi_event->er_index]; in mhi_process_data_event_ring()
908 dma_addr_t ptr = er_ctxt->rp; in mhi_process_data_event_ring()
[all …]
Dpm.c455 struct mhi_event_ctxt *er_ctxt; in mhi_pm_disable_transition() local
554 er_ctxt = mhi_cntrl->mhi_ctxt->er_ctxt; in mhi_pm_disable_transition()
555 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, er_ctxt++, in mhi_pm_disable_transition()
565 er_ctxt->rp = er_ctxt->rbase; in mhi_pm_disable_transition()
566 er_ctxt->wp = er_ctxt->rbase; in mhi_pm_disable_transition()
Dinternal.h252 struct mhi_event_ctxt *er_ctxt; member