Home
last modified time | relevance | path

Searched refs:ev_ring (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/bus/mhi/host/
Dpci_generic.c50 #define MHI_CHANNEL_CONFIG_UL(ch_num, ch_name, el_count, ev_ring) \ argument
55 .event_ring = ev_ring, \
65 #define MHI_CHANNEL_CONFIG_DL(ch_num, ch_name, el_count, ev_ring) \ argument
70 .event_ring = ev_ring, \
80 #define MHI_CHANNEL_CONFIG_DL_AUTOQUEUE(ch_num, ch_name, el_count, ev_ring) \ argument
85 .event_ring = ev_ring, \
96 #define MHI_EVENT_CONFIG_CTRL(ev_ring, el_count) \ argument
100 .irq = (ev_ring) + 1, \
109 #define MHI_CHANNEL_CONFIG_HW_UL(ch_num, ch_name, el_count, ev_ring) \ argument
114 .event_ring = ev_ring, \
[all …]
Dmain.c434 struct mhi_ring *ev_ring = &mhi_event->ring; in mhi_irq_handler() local
452 if (!is_valid_ring_ptr(ev_ring, ptr)) { in mhi_irq_handler()
458 dev_rp = mhi_to_virtual(ev_ring, ptr); in mhi_irq_handler()
461 if (ev_ring->rp == dev_rp) in mhi_irq_handler()
806 struct mhi_ring *ev_ring = &mhi_event->ring; in mhi_process_ctrl_ev_ring() local
823 if (!is_valid_ring_ptr(ev_ring, ptr)) { in mhi_process_ctrl_ev_ring()
829 dev_rp = mhi_to_virtual(ev_ring, ptr); in mhi_process_ctrl_ev_ring()
830 local_rp = ev_ring->rp; in mhi_process_ctrl_ev_ring()
949 mhi_recycle_ev_ring_element(mhi_cntrl, ev_ring); in mhi_process_ctrl_ev_ring()
950 local_rp = ev_ring->rp; in mhi_process_ctrl_ev_ring()
[all …]
/linux-6.1.9/drivers/dma/qcom/
Dgpi.c517 struct gpi_ring ev_ring; member
1092 struct gpi_ring *ev_ring = &gpii->ev_ring; in gpi_process_events() local
1100 rp = to_virtual(ev_ring, cntxt_rp); in gpi_process_events()
1103 while (rp != ev_ring->rp) { in gpi_process_events()
1104 gpi_event = ev_ring->rp; in gpi_process_events()
1135 gpi_ring_recycle_ev_element(ev_ring); in gpi_process_events()
1137 gpi_write_ev_db(gpii, ev_ring, ev_ring->wp); in gpi_process_events()
1143 rp = to_virtual(ev_ring, cntxt_rp); in gpi_process_events()
1145 } while (rp != ev_ring->rp); in gpi_process_events()
1173 struct gpi_ring *ev_ring = &gpii->ev_ring; in gpi_mark_stale_events() local
[all …]
/linux-6.1.9/drivers/bus/mhi/ep/
Dmain.c913 struct mhi_ep_ring *ch_ring, *ev_ring; in mhi_ep_abort_transfer() local
955 ev_ring = &mhi_cntrl->mhi_event[i].ring; in mhi_ep_abort_transfer()
956 if (!ev_ring->started) in mhi_ep_abort_transfer()
960 mhi_ep_ring_reset(mhi_cntrl, ev_ring); in mhi_ep_abort_transfer()