Searched refs:read_pos (Results 1 – 3 of 3) sorted by relevance
/device/generic/goldfish-opengl/android-emu/android/base/ |
D | ring_buffer.c | 56 r->read_pos = 0; in ring_buffer_init() 71 __atomic_load(&r->read_pos, &read_view, __ATOMIC_SEQ_CST); in ring_buffer_can_write() 78 return get_ring_pos(write_view - r->read_pos) >= bytes; in ring_buffer_can_read() 133 RING_BUFFER_SIZE - get_ring_pos(r->read_pos); in ring_buffer_read() 139 &r->buf[get_ring_pos(r->read_pos)], in ring_buffer_read() 143 &r->buf[get_ring_pos(r->read_pos + available_at_end)], in ring_buffer_read() 148 &r->buf[get_ring_pos(r->read_pos)], in ring_buffer_read() 152 __atomic_add_fetch(&r->read_pos, step_size, __ATOMIC_SEQ_CST); in ring_buffer_read() 186 __atomic_add_fetch(&r->read_pos, step_size, __ATOMIC_SEQ_CST); in ring_buffer_advance_read() 244 __atomic_load(&r->read_pos, &read_view, __ATOMIC_SEQ_CST); in ring_buffer_view_can_write() [all …]
|
D | ring_buffer.h | 34 uint32_t read_pos; // Atomically updated for the producer member
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/board-hikey/ |
D | dsp_driver_mailbox.h | 144 unsigned int read_pos; member
|