Searched refs:mhi_event (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/drivers/bus/mhi/core/ |
D | init.c | 135 struct mhi_event *mhi_event = mhi_cntrl->mhi_event; in mhi_deinit_free_irq() local 137 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, mhi_event++) { in mhi_deinit_free_irq() 138 if (mhi_event->offload_ev) in mhi_deinit_free_irq() 141 free_irq(mhi_cntrl->irq[mhi_event->irq], mhi_event); in mhi_deinit_free_irq() 149 struct mhi_event *mhi_event = mhi_cntrl->mhi_event; in mhi_init_irq_setup() local 161 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, mhi_event++) { in mhi_init_irq_setup() 162 if (mhi_event->offload_ev) in mhi_init_irq_setup() 165 if (mhi_event->irq >= mhi_cntrl->nr_irqs) { in mhi_init_irq_setup() 167 mhi_event->irq); in mhi_init_irq_setup() 172 ret = request_irq(mhi_cntrl->irq[mhi_event->irq], in mhi_init_irq_setup() [all …]
|
D | pm.c | 156 struct mhi_event *mhi_event; in mhi_ready_state_transition() local 213 mhi_event = mhi_cntrl->mhi_event; in mhi_ready_state_transition() 214 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, mhi_event++) { in mhi_ready_state_transition() 215 struct mhi_ring *ring = &mhi_event->ring; in mhi_ready_state_transition() 218 if (mhi_event->offload_ev || mhi_event->hw_ring) in mhi_ready_state_transition() 227 spin_lock_irq(&mhi_event->lock); in mhi_ready_state_transition() 228 mhi_ring_er_db(mhi_event); in mhi_ready_state_transition() 229 spin_unlock_irq(&mhi_event->lock); in mhi_ready_state_transition() 267 struct mhi_event *mhi_event = mhi_cntrl->mhi_event; in mhi_pm_m0_transition() local 271 for (i = 0; i < mhi_cntrl->total_ev_rings; i++, mhi_event++) { in mhi_pm_m0_transition() [all …]
|
D | main.c | 89 void mhi_ring_er_db(struct mhi_event *mhi_event) in mhi_ring_er_db() argument 91 struct mhi_ring *ring = &mhi_event->ring; in mhi_ring_er_db() 93 mhi_event->db_cfg.process_db(mhi_event->mhi_cntrl, &mhi_event->db_cfg, in mhi_ring_er_db() 347 struct mhi_event *mhi_event = dev; in mhi_irq_handler() local 348 struct mhi_controller *mhi_cntrl = mhi_event->mhi_cntrl; in mhi_irq_handler() 350 &mhi_cntrl->mhi_ctxt->er_ctxt[mhi_event->er_index]; in mhi_irq_handler() 351 struct mhi_ring *ev_ring = &mhi_event->ring; in mhi_irq_handler() 359 if (mhi_event->cl_manage) { in mhi_irq_handler() 360 struct mhi_chan *mhi_chan = mhi_event->mhi_chan; in mhi_irq_handler() 366 tasklet_schedule(&mhi_event->task); in mhi_irq_handler() [all …]
|
D | debugfs.c | 41 struct mhi_event *mhi_event; in mhi_debugfs_events_show() local 51 mhi_event = mhi_cntrl->mhi_event; in mhi_debugfs_events_show() 53 i++, er_ctxt++, mhi_event++) { in mhi_debugfs_events_show() 54 struct mhi_ring *ring = &mhi_event->ring; in mhi_debugfs_events_show() 56 if (mhi_event->offload_ev) { in mhi_debugfs_events_show() 75 &mhi_event->db_cfg.db_val); in mhi_debugfs_events_show()
|
D | internal.h | 517 struct mhi_event { struct 531 struct mhi_event *mhi_event, argument 653 void mhi_ring_er_db(struct mhi_event *mhi_event); 702 struct mhi_event *mhi_event, u32 event_quota); 704 struct mhi_event *mhi_event, u32 event_quota);
|
/Linux-v5.10/include/linux/ |
D | mhi.h | 21 struct mhi_event; 403 struct mhi_event *mhi_event; member
|