Lines Matching refs:fifo
206 uint8_t fcr; /**< fifo control register */
243 static void fifo_clear(PDEVSERIAL pThis, int fifo)
245 SerialFifo *f = (fifo) ? &pThis->recv_fifo : &pThis->xmit_fifo;
252 static int fifo_put(PDEVSERIAL pThis, int fifo, uint8_t chr)
254 SerialFifo *f = (fifo) ? &pThis->recv_fifo : &pThis->xmit_fifo;
257 if (fifo == XMIT_FIFO || f->count < UART_FIFO_LENGTH)
266 else if (fifo == XMIT_FIFO) /* need to at least adjust tail to maintain pipe state consistency */
268 else if (fifo == RECV_FIFO)
274 static uint8_t fifo_get(PDEVSERIAL pThis, int fifo)
276 SerialFifo *f = (fifo) ? &pThis->recv_fifo : &pThis->xmit_fifo;