Lines Matching refs:funcs
40 ring = pipe->funcs->ringbuffer_new(pipe, size); in fd_ringbuffer_new()
45 ring->start = ring->funcs->hostptr(ring); in fd_ringbuffer_new()
56 ring->funcs->destroy(ring); in fd_ringbuffer_del()
75 if (ring->funcs->reset) in fd_ringbuffer_reset()
76 ring->funcs->reset(ring); in fd_ringbuffer_reset()
81 return ring->funcs->flush(ring, ring->last_start, -1, NULL); in fd_ringbuffer_flush()
87 return ring->funcs->flush(ring, ring->last_start, in_fence_fd, out_fence_fd); in fd_ringbuffer_flush2()
92 assert(ring->funcs->grow); /* unsupported on kgsl */ in fd_ringbuffer_grow()
98 ring->funcs->grow(ring, ring->size); in fd_ringbuffer_grow()
100 ring->start = ring->funcs->hostptr(ring); in fd_ringbuffer_grow()
115 ring->funcs->emit_reloc(ring, reloc); in fd_ringbuffer_reloc()
121 ring->funcs->emit_reloc(ring, reloc); in fd_ringbuffer_reloc2()
136 ring->funcs->emit_reloc_ring(ring, target->ring, 0, submit_offset, size); in fd_ringbuffer_emit_reloc_ring()
141 if (!ring->funcs->cmd_count) in fd_ringbuffer_cmd_count()
143 return ring->funcs->cmd_count(ring); in fd_ringbuffer_cmd_count()
151 return ring->funcs->emit_reloc_ring(ring, target, cmd_idx, 0, size); in fd_ringbuffer_emit_reloc_ring_full()
190 return ring->funcs->flush(ring, marker->cur, -1, NULL); in fd_ringmarker_flush()