Query: read_zsreg
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
READ_ZSREG(9) Internal Functions READ_ZSREG(9)NAMEread_zsreg - Read a register from a Z85230SYNOPSISu8 read_zsreg(struct z8530_channel * c, u8 reg);ARGUMENTSc Z8530 channel to read from (2 per chip) reg Register to readFIXMEUse 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 lockAUTHORAlan Cox <alan@lxorguk.ukuu.org.uk> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 READ_ZSREG(9)