read_zsreg(9)

read_zsreg9

Read a register from a z85230

Usage

u8 read_zsreg(struct z8530_channel * c, u8 reg);

Arguments

c

Z8530 channel to read from (2 per chip)

reg

Register to read FIXME: Use a spinlock.

Most of the Z8530 registers are indexed off the control registers. A read is done by writing to the control register and reading the register back. The caller must hold the lock

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Alan Cox <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.