Lines Matching refs:in_fifo
121 struct xillyfifo *in_fifo; member
588 if (chan->in_fifo) { in wakeup_all()
594 wake_up_interruptible(&chan->in_fifo->waitq); in wakeup_all()
640 chan->in_fifo = fifo; in safely_assign_in_fifo()
912 wake_up_interruptible(&chan->in_fifo->waitq); in process_in_opcode()
1002 fifo = chan->in_fifo; in process_bulk_in()
1240 struct xillyfifo *in_fifo = NULL; in xillyusb_open() local
1339 in_fifo = kzalloc(sizeof(*in_fifo), GFP_KERNEL); in xillyusb_open()
1341 if (!in_fifo) { in xillyusb_open()
1346 rc = fifo_init(in_fifo, chan->in_log2_fifo_size); in xillyusb_open()
1349 kfree(in_fifo); in xillyusb_open()
1355 if (in_fifo) { in xillyusb_open()
1356 chan->in_fifo = in_fifo; in xillyusb_open()
1363 if (in_fifo) { in xillyusb_open()
1367 in_checkpoint = in_fifo->size >> in xillyusb_open()
1397 fifo_mem_release(in_fifo); in xillyusb_open()
1398 kfree(in_fifo); in xillyusb_open()
1436 struct xillyfifo *fifo = chan->in_fifo; in xillyusb_read()
1713 struct xillyfifo *in_fifo = chan->in_fifo; in xillyusb_release() local
1730 while (wait_event_interruptible(in_fifo->waitq, in xillyusb_release()
1735 fifo_mem_release(in_fifo); in xillyusb_release()
1736 kfree(in_fifo); in xillyusb_release()
1851 if (chan->in_fifo) in xillyusb_poll()
1852 poll_wait(filp, &chan->in_fifo->waitq, wait); in xillyusb_poll()
1867 if (!chan->poll_used && chan->in_fifo) { in xillyusb_poll()
1879 if (chan->in_fifo && !chan->in_synchronous && in xillyusb_poll()
1880 (READ_ONCE(chan->in_fifo->fill) || !chan->read_data_ok)) in xillyusb_poll()
2037 chan->in_fifo = &idt_fifo; in xillyusb_discovery()