Home
last modified time | relevance | path

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

/Linux-v5.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.c349 struct mhi_event_ctxt *er_ctxt = in mhi_irq_handler() local
350 &mhi_cntrl->mhi_ctxt->er_ctxt[mhi_event->er_index]; in mhi_irq_handler()
352 void *dev_rp = mhi_to_virtual(ev_ring, er_ctxt->rp); in mhi_irq_handler()
678 struct mhi_event_ctxt *er_ctxt = in mhi_process_ctrl_ev_ring() local
679 &mhi_cntrl->mhi_ctxt->er_ctxt[mhi_event->er_index]; in mhi_process_ctrl_ev_ring()
693 dev_rp = mhi_to_virtual(ev_ring, er_ctxt->rp); in mhi_process_ctrl_ev_ring()
815 dev_rp = mhi_to_virtual(ev_ring, er_ctxt->rp); in mhi_process_ctrl_ev_ring()
833 struct mhi_event_ctxt *er_ctxt = in mhi_process_data_event_ring() local
834 &mhi_cntrl->mhi_ctxt->er_ctxt[mhi_event->er_index]; in mhi_process_data_event_ring()
842 dev_rp = mhi_to_virtual(ev_ring, er_ctxt->rp); in mhi_process_data_event_ring()
[all …]
Dpm.c451 struct mhi_event_ctxt *er_ctxt; in mhi_pm_disable_transition() local
550 er_ctxt = mhi_cntrl->mhi_ctxt->er_ctxt; in mhi_pm_disable_transition()
551 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, er_ctxt++, in mhi_pm_disable_transition()
561 er_ctxt->rp = er_ctxt->rbase; in mhi_pm_disable_transition()
562 er_ctxt->wp = er_ctxt->rbase; in mhi_pm_disable_transition()
Dinternal.h252 struct mhi_event_ctxt *er_ctxt; member