Searched refs:er_ctxt (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/bus/mhi/host/ |
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()
|
D | init.c | 259 dma_free_coherent(mhi_cntrl->cntrl_dev, sizeof(*mhi_ctxt->er_ctxt) * in mhi_deinit_dev_ctxt() 260 mhi_cntrl->total_ev_rings, mhi_ctxt->er_ctxt, in mhi_deinit_dev_ctxt() 275 struct mhi_event_ctxt *er_ctxt; in mhi_init_dev_ctxt() local 323 mhi_ctxt->er_ctxt = dma_alloc_coherent(mhi_cntrl->cntrl_dev, in mhi_init_dev_ctxt() 324 sizeof(*mhi_ctxt->er_ctxt) * in mhi_init_dev_ctxt() 328 if (!mhi_ctxt->er_ctxt) in mhi_init_dev_ctxt() 331 er_ctxt = mhi_ctxt->er_ctxt; in mhi_init_dev_ctxt() 333 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, er_ctxt++, in mhi_init_dev_ctxt() 341 tmp = le32_to_cpu(er_ctxt->intmod); in mhi_init_dev_ctxt() 345 er_ctxt->intmod = cpu_to_le32(tmp); in mhi_init_dev_ctxt() [all …]
|
D | pm.c | 462 struct mhi_event_ctxt *er_ctxt; in mhi_pm_disable_transition() local 535 er_ctxt = mhi_cntrl->mhi_ctxt->er_ctxt; in mhi_pm_disable_transition() 536 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, er_ctxt++, in mhi_pm_disable_transition() 546 er_ctxt->rp = er_ctxt->rbase; in mhi_pm_disable_transition() 547 er_ctxt->wp = er_ctxt->rbase; in mhi_pm_disable_transition() 574 struct mhi_event_ctxt *er_ctxt; in mhi_pm_sys_error_transition() local 668 er_ctxt = mhi_cntrl->mhi_ctxt->er_ctxt; in mhi_pm_sys_error_transition() 669 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, er_ctxt++, in mhi_pm_sys_error_transition() 679 er_ctxt->rp = er_ctxt->rbase; in mhi_pm_sys_error_transition() 680 er_ctxt->wp = er_ctxt->rbase; in mhi_pm_sys_error_transition()
|
D | main.c | 433 struct mhi_event_ctxt *er_ctxt; in mhi_irq_handler() local 449 er_ctxt = &mhi_cntrl->mhi_ctxt->er_ctxt[mhi_event->er_index]; in mhi_irq_handler() 450 ptr = le64_to_cpu(er_ctxt->rp); in mhi_irq_handler() 807 struct mhi_event_ctxt *er_ctxt = in mhi_process_ctrl_ev_ring() local 808 &mhi_cntrl->mhi_ctxt->er_ctxt[mhi_event->er_index]; in mhi_process_ctrl_ev_ring() 813 dma_addr_t ptr = le64_to_cpu(er_ctxt->rp); in mhi_process_ctrl_ev_ring() 952 ptr = le64_to_cpu(er_ctxt->rp); in mhi_process_ctrl_ev_ring() 977 struct mhi_event_ctxt *er_ctxt = in mhi_process_data_event_ring() local 978 &mhi_cntrl->mhi_ctxt->er_ctxt[mhi_event->er_index]; in mhi_process_data_event_ring() 982 dma_addr_t ptr = le64_to_cpu(er_ctxt->rp); in mhi_process_data_event_ring() [all …]
|
D | internal.h | 25 struct mhi_event_ctxt *er_ctxt; member
|