Home
last modified time | relevance | path

Searched refs:dev_ringbuf_t (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/csi/csi1/include/
A Ddev_ringbuf.h27 } dev_ringbuf_t; typedef
29 void dev_ringbuff_reset(dev_ringbuf_t *fifo);
30 uint32_t dev_ringbuf_len(dev_ringbuf_t *fifo);
31 uint32_t dev_ringbuf_avail(dev_ringbuf_t *fifo);
32 bool dev_ringbuf_is_empty(dev_ringbuf_t *fifo);
33 bool dev_ringbuf_is_full(dev_ringbuf_t *fifo);
36 uint32_t dev_ringbuf_in(dev_ringbuf_t *fifo, const void *in, uint32_t len);
39 uint32_t dev_ringbuf_out(dev_ringbuf_t *fifo, void *out, uint32_t len);
/AliOS-Things-master/components/csi/csi1/src/
A Ddev_ringbuf.c14 void dev_ringbuff_reset(dev_ringbuf_t *fifo) in dev_ringbuff_reset()
27 static inline uint32_t ringbuffer_size(dev_ringbuf_t *fifo) in ringbuffer_size()
37 uint32_t dev_ringbuf_len(dev_ringbuf_t *fifo) in dev_ringbuf_len()
47 uint32_t dev_ringbuf_avail(dev_ringbuf_t *fifo) in dev_ringbuf_avail()
58 bool dev_ringbuf_is_empty(dev_ringbuf_t *fifo) in dev_ringbuf_is_empty()
69 bool dev_ringbuf_is_full(dev_ringbuf_t *fifo) in dev_ringbuf_is_full()
84 uint32_t dev_ringbuf_in(dev_ringbuf_t *fifo, const void *datptr, uint32_t len) in dev_ringbuf_in()
123 uint32_t dev_ringbuf_out(dev_ringbuf_t *fifo, void *outbuf, uint32_t len) in dev_ringbuf_out()

Completed in 3 milliseconds