'\" t .\" Title: z8530_flush_fifo .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: Internal Functions .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "Z8530_FLUSH_FIFO" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "Internal Functions" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" z8530_flush_fifo \- Flush on chip RX FIFO .SH "SYNOPSIS" .HP \w'void\ z8530_flush_fifo('u .BI "void z8530_flush_fifo(struct\ z8530_channel\ *\ " "c" ");" .SH "ARGUMENTS" .PP \fIc\fR .RS 4 Channel to flush .RE .SH "DESCRIPTION" .PP Flush the receive FIFO\&. There is no specific option for this, we blindly read bytes and discard them\&. Reading when there is no data is harmless\&. The 8530 has a 4 byte FIFO, the 85230 has 8 bytes\&. .PP All locking is handled for the caller\&. On return data may still be present if it arrived during the flush\&. .SH "AUTHOR" .PP \fBAlan Cox\fR <\&alan@lxorguk.ukuu.org.uk\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br