Searched refs:ch_ring (Results 1 – 2 of 2) sorted by relevance
491 struct gpi_ring ch_ring; member927 struct gpi_ring *ch_ring = &gchan->ch_ring; in gpi_process_imed_data_event() local928 void *tre = ch_ring->base + (ch_ring->el_size * imed_event->tre_index); in gpi_process_imed_data_event()971 tre += ch_ring->el_size; in gpi_process_imed_data_event()972 if (tre >= (ch_ring->base + ch_ring->len)) in gpi_process_imed_data_event()973 tre = ch_ring->base; in gpi_process_imed_data_event()974 ch_ring->rp = tre; in gpi_process_imed_data_event()1009 struct gpi_ring *ch_ring = &gchan->ch_ring; in gpi_process_xfer_compl_event() local1010 void *ev_rp = to_virtual(ch_ring, compl_event->ptr); in gpi_process_xfer_compl_event()1046 ev_rp += ch_ring->el_size; in gpi_process_xfer_compl_event()[all …]
169 struct mhi_ep_ring *ch_ring; in mhi_ep_process_cmd_ring() local182 ch_ring = &mhi_cntrl->mhi_chan[ch_id].ring; in mhi_ep_process_cmd_ring()190 if (!ch_ring->started) { in mhi_ep_process_cmd_ring()191 ret = mhi_ep_ring_start(mhi_cntrl, ch_ring, in mhi_ep_process_cmd_ring()203 mhi_chan->rd_offset = ch_ring->rd_offset; in mhi_ep_process_cmd_ring()246 if (!ch_ring->started) { in mhi_ep_process_cmd_ring()280 if (!ch_ring->started) { in mhi_ep_process_cmd_ring()287 mhi_ep_ring_reset(mhi_cntrl, ch_ring); in mhi_ep_process_cmd_ring()1036 struct mhi_ep_ring *ch_ring, *ev_ring; in mhi_ep_abort_transfer() local1070 ch_ring = &mhi_cntrl->mhi_chan[i].ring; in mhi_ep_abort_transfer()[all …]