---
name: "z8530_flush_fifo"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/z8530_flush_fifo"
---

# z8530\_flush\_fifo(9)

Flush on chip RX FIFO

## NAME

z8530\_flush\_fifo - Flush on chip RX FIFO

## SYNOPSIS

**void z8530\_flush\_fifo(struct z8530\_channel \*** *c***);**

## ARGUMENTS

*c*

Channel to flush

## DESCRIPTION

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.

All locking is handled for the caller. On return data may still be present if it arrived during the flush.

## AUTHOR

**Alan Cox** \<alan@lxorguk.ukuu.org.uk\>

Author.

## COPYRIGHT
