1WRITE_ZSREG(9)                Internal Functions                WRITE_ZSREG(9)
2
3
4

NAME

6       write_zsreg - Write to a Z8530 channel register
7

SYNOPSIS

9       void write_zsreg(struct z8530_channel * c, u8 reg, u8 val);
10

ARGUMENTS

12       c
13           The Z8530 channel
14
15       reg
16           Register number
17
18       val
19           Value to write
20

DESCRIPTION

22       Write a value to an indexed register. The caller must hold the lock to
23       honour the irritating delay rules. We know about register 0 being fast
24       to access.
25
26       Assumes c->lock is held.
27

AUTHOR

29       Alan Cox <alan@lxorguk.ukuu.org.uk>
30           Author.
31
33Kernel Hackers Manual 3.10         June 2019                    WRITE_ZSREG(9)
Impressum