other versions
WRITE_ZSREG(9) | Internal Functions | WRITE_ZSREG(9) |
NAME¶
write_zsreg - Write to a Z8530 channel register
SYNOPSIS¶
void write_zsreg(struct z8530_channel * c, u8 reg, u8 val);
ARGUMENTS¶
struct z8530_channel * c
The Z8530 channel
u8 reg
Register number
u8 val
Value to write
DESCRIPTION¶
Write a value to an indexed register. The caller must hold the lock to honour the irritating delay rules. We know about register 0 being fast to access.
Assumes c->lock is held.
AUTHOR¶
Alan Cox <alan@lxorguk.ukuu.org.uk>
Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |