Lines Matching refs:fd_ringbuffer
42 struct fd_ringbuffer *ring;
55 struct fd_ringbuffer base;
111 static inline struct msm_ringbuffer * to_msm_ringbuffer(struct fd_ringbuffer *x) in to_msm_ringbuffer()
120 static struct msm_cmd *current_cmd(struct fd_ringbuffer *ring) in current_cmd()
136 static struct msm_cmd * ring_cmd_new(struct fd_ringbuffer *ring, uint32_t size, in ring_cmd_new()
201 static uint32_t append_bo(struct fd_ringbuffer *ring, struct fd_bo *bo) in append_bo()
219 static uint32_t bo2idx(struct fd_ringbuffer *ring, struct fd_bo *bo, uint32_t flags) in bo2idx()
258 static int get_cmd(struct fd_ringbuffer *ring, struct msm_cmd *target_cmd, in get_cmd()
314 static void * msm_ringbuffer_hostptr(struct fd_ringbuffer *ring) in msm_ringbuffer_hostptr()
330 static void flush_reset(struct fd_ringbuffer *ring) in flush_reset()
376 static void finalize_current_cmd(struct fd_ringbuffer *ring, uint32_t *last_start) in finalize_current_cmd()
379 struct fd_ringbuffer *parent; in finalize_current_cmd()
418 handle_stateobj_relocs(struct fd_ringbuffer *parent, struct fd_ringbuffer *stateobj, in handle_stateobj_relocs()
460 static int msm_ringbuffer_flush(struct fd_ringbuffer *ring, uint32_t *last_start, in msm_ringbuffer_flush()
547 static void msm_ringbuffer_grow(struct fd_ringbuffer *ring, uint32_t size) in msm_ringbuffer_grow()
554 static void msm_ringbuffer_reset(struct fd_ringbuffer *ring) in msm_ringbuffer_reset()
559 static void msm_ringbuffer_emit_reloc(struct fd_ringbuffer *ring, in msm_ringbuffer_emit_reloc()
562 struct fd_ringbuffer *parent = ring->parent ? ring->parent : ring; in msm_ringbuffer_emit_reloc()
613 static uint32_t msm_ringbuffer_emit_reloc_ring(struct fd_ringbuffer *ring, in msm_ringbuffer_emit_reloc_ring()
614 struct fd_ringbuffer *target, uint32_t cmd_idx) in msm_ringbuffer_emit_reloc_ring()
639 struct fd_ringbuffer *parent = ring->parent ? ring->parent : ring; in msm_ringbuffer_emit_reloc_ring()
662 static uint32_t msm_ringbuffer_cmd_count(struct fd_ringbuffer *ring) in msm_ringbuffer_cmd_count()
667 static void msm_ringbuffer_destroy(struct fd_ringbuffer *ring) in msm_ringbuffer_destroy()
692 drm_private struct fd_ringbuffer * msm_ringbuffer_new(struct fd_pipe *pipe, in msm_ringbuffer_new()
696 struct fd_ringbuffer *ring; in msm_ringbuffer_new()