Home
last modified time | relevance | path

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

/drivers/staging/media/av7110/
Dav7110_ca.c58 void ci_get_data(struct dvb_ringbuffer *cibuf, u8 *data, int len) in ci_get_data() argument
60 if (dvb_ringbuffer_free(cibuf) < len + 2) in ci_get_data()
63 DVB_RINGBUFFER_WRITE_BYTE(cibuf, len >> 8); in ci_get_data()
64 DVB_RINGBUFFER_WRITE_BYTE(cibuf, len & 0xff); in ci_get_data()
65 dvb_ringbuffer_write(cibuf, data, len); in ci_get_data()
66 wake_up_interruptible(&cibuf->queue); in ci_get_data()
107 static int ci_ll_reset(struct dvb_ringbuffer *cibuf, struct file *file, in ci_ll_reset() argument
119 if (dvb_ringbuffer_free(cibuf) < len) in ci_ll_reset()
125 dvb_ringbuffer_write(cibuf, msg, 8); in ci_ll_reset()
133 static ssize_t ci_ll_write(struct dvb_ringbuffer *cibuf, struct file *file, in ci_ll_write() argument
[all …]
Dav7110_ca.h8 extern void ci_get_data(struct dvb_ringbuffer *cibuf, u8 *data, int len);
Dav7110.c542 struct dvb_ringbuffer *cibuf = &av7110->ci_wbuffer; in gpioirq() local
544 avail = dvb_ringbuffer_avail(cibuf); in gpioirq()
551 len = DVB_RINGBUFFER_PEEK(cibuf, 0) << 8; in gpioirq()
552 len |= DVB_RINGBUFFER_PEEK(cibuf, 1); in gpioirq()
559 DVB_RINGBUFFER_SKIP(cibuf, 2); in gpioirq()
561 dvb_ringbuffer_read(cibuf, av7110->debi_virt, len); in gpioirq()
568 wake_up(&cibuf->queue); in gpioirq()