Lines Matching refs:fifo_q
68 struct fifo *fifo_q = FIFOBARTOHANDLE(fifobar);
73 if (!(fifo_q->fifobar[(fifo_q->tail + 1) & fifo_q->imask]
75 fifo_q->fifobar[fifo_q->tail & fifo_q->imask] |=
76 (entry & ENTRY_MASK_NOSTATE) | fifo_q->merge;
77 fifo_q->tail += 1;
87 struct fifo *fifo_q = FIFOBARTOHANDLE(fifobar);
93 c = fifo_q->fifobar[fifo_q->head & fifo_q->imask];
98 fifo_q->fifobar[fifo_q->head & fifo_q->imask] =
100 fifo_q->head += 1;
110 struct fifo *fifo_q = FIFOBARTOHANDLE(fifobar);
116 c = fifo_q->fifobar[fifo_q->head & fifo_q->imask];
210 struct fifo *fifo_q = base_addr;
214 fifo_q->head = 0;
215 fifo_q->tail = 0;
216 fifo_q->reset = 0;
217 fifo_q->nrents = nr_entry;
218 fifo_q->imask = nr_entry - 1;
219 fifo_q->merge = ENTRY_MASK_O;
222 fifo_q->fifobar[i] = 0;