Home
last modified time | relevance | path

Searched refs:wr_ptr (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/hardware/chip/haas1000/hal/2ndboot/
A Dboot_ringbuffer.c19 rb->wr_ptr = rb->buffer; in boot_ringbuff_reset()
72 rb->wr_ptr >= rb->rd_ptr) || in boot_ringbuff_fill()
73 rb->wr_ptr < rb->rd_ptr) { in boot_ringbuff_fill()
74 memcpy(rb->wr_ptr, buffer, size); in boot_ringbuff_fill()
75 rb->wr_ptr += size; in boot_ringbuff_fill()
78 if (rb->wr_ptr >= rb->buffer_end) in boot_ringbuff_fill()
79 rb->wr_ptr = rb->buffer; in boot_ringbuff_fill()
81 rb->wr_ptr >= rb->rd_ptr) { in boot_ringbuff_fill()
84 rb->wr_ptr = rb->buffer; in boot_ringbuff_fill()
88 rb->wr_ptr += size - temp; in boot_ringbuff_fill()
[all …]
A Dboot_ringbuffer.h14 uint8_t *wr_ptr; member
/AliOS-Things-master/components/uvoice/common/
A Dringbuffer.c24 rb->wr_ptr = rb->buffer; in uvoice_ringbuff_reset()
86 rb->wr_ptr >= rb->rd_ptr) || in uvoice_ringbuff_fill()
87 rb->wr_ptr < rb->rd_ptr) { in uvoice_ringbuff_fill()
88 memcpy(rb->wr_ptr, buffer, size); in uvoice_ringbuff_fill()
89 rb->wr_ptr += size; in uvoice_ringbuff_fill()
93 rb->wr_ptr = rb->buffer; in uvoice_ringbuff_fill()
95 rb->wr_ptr >= rb->rd_ptr) { in uvoice_ringbuff_fill()
98 rb->wr_ptr = rb->buffer; in uvoice_ringbuff_fill()
102 rb->wr_ptr += size - temp; in uvoice_ringbuff_fill()
128 if (rb->rd_ptr < rb->wr_ptr && in uvoice_ringbuff_read()
[all …]
/AliOS-Things-master/components/uvoice/internal/
A Duvoice_common.h30 uint8_t *wr_ptr; member

Completed in 7 milliseconds