Lines Matching refs:to_msm_ringbuffer
111 static inline struct msm_ringbuffer * to_msm_ringbuffer(struct fd_ringbuffer *x) in to_msm_ringbuffer() function
122 struct msm_ringbuffer *msm_ring = to_msm_ringbuffer(ring); in current_cmd()
131 to_msm_ringbuffer(cmd->ring)->cmd_count--; in ring_cmd_del()
139 struct msm_ringbuffer *msm_ring = to_msm_ringbuffer(ring); in ring_cmd_new()
156 struct msm_ringbuffer *suballoc_ring = to_msm_ringbuffer(msm_pipe->suballoc_ring); in ring_cmd_new()
203 struct msm_ringbuffer *msm_ring = to_msm_ringbuffer(ring); in append_bo()
221 struct msm_ringbuffer *msm_ring = to_msm_ringbuffer(ring); in bo2idx()
261 struct msm_ringbuffer *msm_ring = to_msm_ringbuffer(ring); in get_cmd()
318 return base + to_msm_ringbuffer(ring)->offset; in msm_ringbuffer_hostptr()
332 struct msm_ringbuffer *msm_ring = to_msm_ringbuffer(ring); in flush_reset()
421 struct msm_ringbuffer *msm_ring = to_msm_ringbuffer(stateobj); in handle_stateobj_relocs()
463 struct msm_ringbuffer *msm_ring = to_msm_ringbuffer(ring); in msm_ringbuffer_flush()
549 assert(to_msm_ringbuffer(ring)->is_growable); in msm_ringbuffer_grow()
576 to_msm_ringbuffer(ring)->offset; in msm_ringbuffer_emit_reloc()
602 to_msm_ringbuffer(ring)->offset; in msm_ringbuffer_emit_reloc()
617 struct msm_ringbuffer *msm_target = to_msm_ringbuffer(target); in msm_ringbuffer_emit_reloc_ring()
664 return to_msm_ringbuffer(ring)->cmd_count; in msm_ringbuffer_cmd_count()
669 struct msm_ringbuffer *msm_ring = to_msm_ringbuffer(ring); in msm_ringbuffer_destroy()