1Z8530_FLUSH_FIFO(9) Internal Functions Z8530_FLUSH_FIFO(9)
2
3
4
6 z8530_flush_fifo - Flush on chip RX FIFO
7
9 void z8530_flush_fifo(struct z8530_channel * c);
10
12 c
13 Channel to flush
14
16 Flush the receive FIFO. There is no specific option for this, we
17 blindly read bytes and discard them. Reading when there is no data is
18 harmless. The 8530 has a 4 byte FIFO, the 85230 has 8 bytes.
19
20 All locking is handled for the caller. On return data may still be
21 present if it arrived during the flush.
22
24 Alan Cox <alan@lxorguk.ukuu.org.uk>
25 Author.
26
28Kernel Hackers Manual 3.10 June 2019 Z8530_FLUSH_FIFO(9)