Searched refs:er_ctxt (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/bus/mhi/host/ |
H A D | debugfs.c | 42 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()
|
H A D | init.c | 290 dma_free_coherent(mhi_cntrl->cntrl_dev, sizeof(*mhi_ctxt->er_ctxt) * in mhi_deinit_dev_ctxt() 291 mhi_cntrl->total_ev_rings, mhi_ctxt->er_ctxt, in mhi_deinit_dev_ctxt() 306 struct mhi_event_ctxt *er_ctxt; in mhi_init_dev_ctxt() local 354 mhi_ctxt->er_ctxt = dma_alloc_coherent(mhi_cntrl->cntrl_dev, in mhi_init_dev_ctxt() 355 sizeof(*mhi_ctxt->er_ctxt) * in mhi_init_dev_ctxt() 359 if (!mhi_ctxt->er_ctxt) in mhi_init_dev_ctxt() 362 er_ctxt = mhi_ctxt->er_ctxt; in mhi_init_dev_ctxt() 364 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, er_ctxt++, in mhi_init_dev_ctxt() 372 tmp = le32_to_cpu(er_ctxt->intmod); in mhi_init_dev_ctxt() 376 er_ctxt->intmod = cpu_to_le32(tmp); in mhi_init_dev_ctxt() [all …]
|
H A D | pm.c | 478 struct mhi_event_ctxt *er_ctxt; in mhi_pm_disable_transition() local 564 er_ctxt = mhi_cntrl->mhi_ctxt->er_ctxt; in mhi_pm_disable_transition() 565 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, er_ctxt++, in mhi_pm_disable_transition() 575 er_ctxt->rp = er_ctxt->rbase; in mhi_pm_disable_transition() 576 er_ctxt->wp = er_ctxt->rbase; in mhi_pm_disable_transition() 603 struct mhi_event_ctxt *er_ctxt; in mhi_pm_sys_error_transition() local 703 er_ctxt = mhi_cntrl->mhi_ctxt->er_ctxt; in mhi_pm_sys_error_transition() 704 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, er_ctxt++, in mhi_pm_sys_error_transition() 714 er_ctxt->rp = er_ctxt->rbase; in mhi_pm_sys_error_transition() 715 er_ctxt->wp = er_ctxt->rbase; in mhi_pm_sys_error_transition()
|
H A D | internal.h | 19 struct mhi_event_ctxt *er_ctxt; member
|