Lines Matching refs:ch_ring

497 	struct gpi_ring ch_ring;  member
933 struct gpi_ring *ch_ring = &gchan->ch_ring; in gpi_process_imed_data_event() local
934 void *tre = ch_ring->base + (ch_ring->el_size * imed_event->tre_index); in gpi_process_imed_data_event()
977 tre += ch_ring->el_size; in gpi_process_imed_data_event()
978 if (tre >= (ch_ring->base + ch_ring->len)) in gpi_process_imed_data_event()
979 tre = ch_ring->base; in gpi_process_imed_data_event()
980 ch_ring->rp = tre; in gpi_process_imed_data_event()
1015 struct gpi_ring *ch_ring = &gchan->ch_ring; in gpi_process_xfer_compl_event() local
1016 void *ev_rp = to_virtual(ch_ring, compl_event->ptr); in gpi_process_xfer_compl_event()
1052 ev_rp += ch_ring->el_size; in gpi_process_xfer_compl_event()
1053 if (ev_rp >= (ch_ring->base + ch_ring->len)) in gpi_process_xfer_compl_event()
1054 ev_rp = ch_ring->base; in gpi_process_xfer_compl_event()
1055 ch_ring->rp = ev_rp; in gpi_process_xfer_compl_event()
1199 struct gpi_ring *ch_ring = &gchan->ch_ring; in gpi_reset_chan() local
1212 ch_ring->rp = ch_ring->base; in gpi_reset_chan()
1213 ch_ring->wp = ch_ring->base; in gpi_reset_chan()
1271 struct gpi_ring *ring = &chan->ch_ring; in gpi_alloc_chan()
1462 ret = gpi_ring_add_element(&gchan->ch_ring, (void **)&ch_tre); in gpi_queue_xfer()
1798 struct gpi_ring *ch_ring = &gchan->ch_ring; in gpi_prep_slave_sg() local
1823 nr = gpi_ring_num_elements_avail(ch_ring); in gpi_prep_slave_sg()
1860 struct gpi_ring *ch_ring = &gchan->ch_ring; in gpi_issue_pending() local
1885 gpi_desc->db = ch_ring->wp; in gpi_issue_pending()
1886 gpi_write_ch_db(gchan, &gchan->ch_ring, gpi_desc->db); in gpi_issue_pending()
2001 gpi_free_ring(&gchan->ch_ring, gpii); in gpi_free_chan_resources()
2011 if (gpii->gchan[i].ch_ring.configured) in gpi_free_chan_resources()
2052 ret = gpi_alloc_ring(&gchan->ch_ring, CHAN_TRES, in gpi_alloc_chan_resources()