---
name: "z8530_rx"
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_rx"
---

# z8530\_rx(9)

Handle a PIO receive event

## NAME

z8530\_rx - Handle a PIO receive event

## SYNOPSIS

**void z8530\_rx(struct z8530\_channel \*** *c***);**

## ARGUMENTS

*c*

Z8530 channel to process

## DESCRIPTION

Receive handler for receiving in PIO mode. This is much like the async one but not quite the same or as complex

## NOTE

Its intended that this handler can easily be separated from the main code to run realtime. That'll be needed for some machines (eg to ever clock 64kbits on a sparc ;)).

The RT\_LOCK macros don't do anything now. Keep the code covered by them as short as possible in all circumstances - clocks cost baud. The interrupt handler is assumed to be atomic w.r.t. to other code - this is true in the RT case too.

We only cover the sync cases for this. If you want 2Mbit async do it yourself but consider medical assistance first. This non DMA synchronous mode is portable code. The DMA mode assumes PCI like ISA DMA

Called with the device lock held

## AUTHOR

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

Author.

## COPYRIGHT
