Lines Matching defs:in_fifo
120 struct xillyfifo *in_fifo;
122 struct mutex lock; /* protect @out_ep, @in_fifo, bit fields below */
591 if (chan->in_fifo) {
597 wake_up_interruptible(&chan->in_fifo->waitq);
635 * safely_assign_in_fifo() changes the value of chan->in_fifo and ensures
643 chan->in_fifo = fifo;
915 wake_up_interruptible(&chan->in_fifo->waitq);
1005 fifo = chan->in_fifo;
1243 struct xillyfifo *in_fifo = NULL;
1342 in_fifo = kzalloc(sizeof(*in_fifo), GFP_KERNEL);
1344 if (!in_fifo) {
1349 rc = fifo_init(in_fifo, chan->in_log2_fifo_size);
1352 kfree(in_fifo);
1358 if (in_fifo) {
1359 chan->in_fifo = in_fifo;
1366 if (in_fifo) {
1370 in_checkpoint = in_fifo->size >>
1400 fifo_mem_release(in_fifo);
1401 kfree(in_fifo);
1439 struct xillyfifo *fifo = chan->in_fifo;
1478 * in_fifo from overflowing.
1716 struct xillyfifo *in_fifo = chan->in_fifo;
1733 while (wait_event_interruptible(in_fifo->waitq,
1738 fifo_mem_release(in_fifo);
1739 kfree(in_fifo);
1854 if (chan->in_fifo)
1855 poll_wait(filp, &chan->in_fifo->waitq, wait);
1864 * data in in_fifo unless the stream is dry end-to-end. Note that the
1870 if (!chan->poll_used && chan->in_fifo) {
1882 if (chan->in_fifo && !chan->in_synchronous &&
1883 (READ_ONCE(chan->in_fifo->fill) || !chan->read_data_ok))
2022 chan->in_fifo = &idt_fifo;