1READ_ZSREG(9) Internal Functions READ_ZSREG(9)
2
3
4
6 read_zsreg - Read a register from a Z85230
7
9 u8 read_zsreg(struct z8530_channel * c, u8 reg);
10
12 c
13 Z8530 channel to read from (2 per chip)
14
15 reg
16 Register to read
17
19 Use a spinlock.
20
21 Most of the Z8530 registers are indexed off the control registers. A
22 read is done by writing to the control register and reading the
23 register back. The caller must hold the lock
24
26 Alan Cox <alan@lxorguk.ukuu.org.uk>
27 Author.
28
30Kernel Hackers Manual 3.10 June 2019 READ_ZSREG(9)