other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
READ_ZSREG(9) | Internal Functions | READ_ZSREG(9) |
NAME¶
read_zsreg - Read a register from a Z85230SYNOPSIS¶
u8
read_zsreg(struct z8530_channel * c,
u8 reg);
ARGUMENTS¶
cZ8530 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 lockAUTHOR¶
Alan Cox <alan@lxorguk.ukuu.org.uk>Author.
COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |