Lines Matching refs:dvb_ringbuffer
3 * dvb_ringbuffer.c: ring buffer implementation for the dvb driver
36 #include "dvb_ringbuffer.h"
42 void dvb_ringbuffer_init(struct dvb_ringbuffer *rbuf, void *data, size_t len)
56 int dvb_ringbuffer_empty(struct dvb_ringbuffer *rbuf)
63 ssize_t dvb_ringbuffer_free(struct dvb_ringbuffer *rbuf)
75 ssize_t dvb_ringbuffer_avail(struct dvb_ringbuffer *rbuf)
87 void dvb_ringbuffer_flush(struct dvb_ringbuffer *rbuf)
94 void dvb_ringbuffer_reset(struct dvb_ringbuffer *rbuf)
100 void dvb_ringbuffer_flush_spinlock_wakeup(struct dvb_ringbuffer *rbuf)
111 ssize_t dvb_ringbuffer_read_user(struct dvb_ringbuffer *rbuf, u8 __user *buf, size_t len)
132 void dvb_ringbuffer_read(struct dvb_ringbuffer *rbuf, u8 *buf, size_t len)
150 ssize_t dvb_ringbuffer_write(struct dvb_ringbuffer *rbuf, const u8 *buf, size_t len)
169 ssize_t dvb_ringbuffer_pkt_write(struct dvb_ringbuffer *rbuf, u8* buf, size_t len)
183 ssize_t dvb_ringbuffer_pkt_read_user(struct dvb_ringbuffer *rbuf, size_t idx,
211 ssize_t dvb_ringbuffer_pkt_read(struct dvb_ringbuffer *rbuf, size_t idx,
236 void dvb_ringbuffer_pkt_dispose(struct dvb_ringbuffer *rbuf, size_t idx)
255 ssize_t dvb_ringbuffer_pkt_next(struct dvb_ringbuffer *rbuf, size_t idx, size_t* pktlen)