Lines Matching refs:dvb_ringbuffer
3 * dvb_ringbuffer.h: ring buffer implementation for the dvb driver
33 struct dvb_ringbuffer {
77 extern void dvb_ringbuffer_init(struct dvb_ringbuffer *rbuf, void *data, size_t len);
80 extern int dvb_ringbuffer_empty(struct dvb_ringbuffer *rbuf);
83 extern ssize_t dvb_ringbuffer_free(struct dvb_ringbuffer *rbuf);
86 extern ssize_t dvb_ringbuffer_avail(struct dvb_ringbuffer *rbuf);
93 extern void dvb_ringbuffer_reset(struct dvb_ringbuffer *rbuf);
99 extern void dvb_ringbuffer_flush(struct dvb_ringbuffer *rbuf);
102 extern void dvb_ringbuffer_flush_spinlock_wakeup(struct dvb_ringbuffer *rbuf);
117 extern ssize_t dvb_ringbuffer_read_user(struct dvb_ringbuffer *rbuf,
119 extern void dvb_ringbuffer_read(struct dvb_ringbuffer *rbuf,
134 extern ssize_t dvb_ringbuffer_write(struct dvb_ringbuffer *rbuf, const u8 *buf,
146 extern ssize_t dvb_ringbuffer_pkt_write(struct dvb_ringbuffer *rbuf, u8* buf,
162 extern ssize_t dvb_ringbuffer_pkt_read_user(struct dvb_ringbuffer *rbuf, size_t idx,
164 extern ssize_t dvb_ringbuffer_pkt_read(struct dvb_ringbuffer *rbuf, size_t idx,
173 extern void dvb_ringbuffer_pkt_dispose(struct dvb_ringbuffer *rbuf, size_t idx);
183 extern ssize_t dvb_ringbuffer_pkt_next(struct dvb_ringbuffer *rbuf, size_t idx, size_t* pktlen);