cibuf 541 drivers/media/pci/ttpci/av7110.c struct dvb_ringbuffer *cibuf = &av7110->ci_wbuffer; cibuf 543 drivers/media/pci/ttpci/av7110.c avail = dvb_ringbuffer_avail(cibuf); cibuf 550 drivers/media/pci/ttpci/av7110.c len = DVB_RINGBUFFER_PEEK(cibuf, 0) << 8; cibuf 551 drivers/media/pci/ttpci/av7110.c len |= DVB_RINGBUFFER_PEEK(cibuf, 1); cibuf 558 drivers/media/pci/ttpci/av7110.c DVB_RINGBUFFER_SKIP(cibuf, 2); cibuf 560 drivers/media/pci/ttpci/av7110.c dvb_ringbuffer_read(cibuf, av7110->debi_virt, len); cibuf 567 drivers/media/pci/ttpci/av7110.c wake_up(&cibuf->queue); cibuf 58 drivers/media/pci/ttpci/av7110_ca.c void ci_get_data(struct dvb_ringbuffer *cibuf, u8 *data, int len) cibuf 60 drivers/media/pci/ttpci/av7110_ca.c if (dvb_ringbuffer_free(cibuf) < len + 2) cibuf 63 drivers/media/pci/ttpci/av7110_ca.c DVB_RINGBUFFER_WRITE_BYTE(cibuf, len >> 8); cibuf 64 drivers/media/pci/ttpci/av7110_ca.c DVB_RINGBUFFER_WRITE_BYTE(cibuf, len & 0xff); cibuf 65 drivers/media/pci/ttpci/av7110_ca.c dvb_ringbuffer_write(cibuf, data, len); cibuf 66 drivers/media/pci/ttpci/av7110_ca.c wake_up_interruptible(&cibuf->queue); cibuf 107 drivers/media/pci/ttpci/av7110_ca.c static int ci_ll_reset(struct dvb_ringbuffer *cibuf, struct file *file, cibuf 119 drivers/media/pci/ttpci/av7110_ca.c if (dvb_ringbuffer_free(cibuf) < len) cibuf 125 drivers/media/pci/ttpci/av7110_ca.c dvb_ringbuffer_write(cibuf, msg, 8); cibuf 133 drivers/media/pci/ttpci/av7110_ca.c static ssize_t ci_ll_write(struct dvb_ringbuffer *cibuf, struct file *file, cibuf 152 drivers/media/pci/ttpci/av7110_ca.c free = dvb_ringbuffer_free(cibuf); cibuf 158 drivers/media/pci/ttpci/av7110_ca.c if (wait_event_interruptible(cibuf->queue, cibuf 159 drivers/media/pci/ttpci/av7110_ca.c (dvb_ringbuffer_free(cibuf) >= count + 2))) cibuf 163 drivers/media/pci/ttpci/av7110_ca.c DVB_RINGBUFFER_WRITE_BYTE(cibuf, count >> 8); cibuf 164 drivers/media/pci/ttpci/av7110_ca.c DVB_RINGBUFFER_WRITE_BYTE(cibuf, count & 0xff); cibuf 166 drivers/media/pci/ttpci/av7110_ca.c res = dvb_ringbuffer_write(cibuf, page, count); cibuf 172 drivers/media/pci/ttpci/av7110_ca.c static ssize_t ci_ll_read(struct dvb_ringbuffer *cibuf, struct file *file, cibuf 179 drivers/media/pci/ttpci/av7110_ca.c if (!cibuf->data || !count) cibuf 181 drivers/media/pci/ttpci/av7110_ca.c if (non_blocking && (dvb_ringbuffer_empty(cibuf))) cibuf 183 drivers/media/pci/ttpci/av7110_ca.c if (wait_event_interruptible(cibuf->queue, cibuf 184 drivers/media/pci/ttpci/av7110_ca.c !dvb_ringbuffer_empty(cibuf))) cibuf 186 drivers/media/pci/ttpci/av7110_ca.c avail = dvb_ringbuffer_avail(cibuf); cibuf 189 drivers/media/pci/ttpci/av7110_ca.c len = DVB_RINGBUFFER_PEEK(cibuf, 0) << 8; cibuf 190 drivers/media/pci/ttpci/av7110_ca.c len |= DVB_RINGBUFFER_PEEK(cibuf, 1); cibuf 193 drivers/media/pci/ttpci/av7110_ca.c DVB_RINGBUFFER_SKIP(cibuf, 2); cibuf 195 drivers/media/pci/ttpci/av7110_ca.c return dvb_ringbuffer_read_user(cibuf, buf, len); cibuf 8 drivers/media/pci/ttpci/av7110_ca.h extern void ci_get_data(struct dvb_ringbuffer *cibuf, u8 *data, int len);