Home
last modified time | relevance | path

Searched refs:cibuf (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/staging/media/av7110/
H A Dav7110_ca.c62 void ci_get_data(struct dvb_ringbuffer *cibuf, u8 *data, int len) in ci_get_data() argument
64 if (dvb_ringbuffer_free(cibuf) < len + 2) in ci_get_data()
67 DVB_RINGBUFFER_WRITE_BYTE(cibuf, len >> 8); in ci_get_data()
68 DVB_RINGBUFFER_WRITE_BYTE(cibuf, len & 0xff); in ci_get_data()
69 dvb_ringbuffer_write(cibuf, data, len); in ci_get_data()
70 wake_up_interruptible(&cibuf->queue); in ci_get_data()
110 static int ci_ll_reset(struct dvb_ringbuffer *cibuf, struct file *file, in ci_ll_reset() argument
122 if (dvb_ringbuffer_free(cibuf) < len) in ci_ll_reset()
128 dvb_ringbuffer_write(cibuf, msg, 8); in ci_ll_reset()
136 static ssize_t ci_ll_write(struct dvb_ringbuffer *cibuf, struct file *file, in ci_ll_write() argument
[all …]
H A Dav7110_ca.h8 void ci_get_data(struct dvb_ringbuffer *cibuf, u8 *data, int len);
H A Dav7110.c528 struct dvb_ringbuffer *cibuf = &av7110->ci_wbuffer; in gpioirq() local
530 avail = dvb_ringbuffer_avail(cibuf); in gpioirq()
537 len = DVB_RINGBUFFER_PEEK(cibuf, 0) << 8; in gpioirq()
538 len |= DVB_RINGBUFFER_PEEK(cibuf, 1); in gpioirq()
545 DVB_RINGBUFFER_SKIP(cibuf, 2); in gpioirq()
547 dvb_ringbuffer_read(cibuf, av7110->debi_virt, len); in gpioirq()
554 wake_up(&cibuf->queue); in gpioirq()