.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "WRITE_ZSREG" "" "06 October 2005" "" ""
.SH NAME
write_zsreg \- Write to a Z8530 channel register
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void write_zsreg (struct z8530_channel * \fIc\fB, u8 \fIreg\fB, u8 \fIval\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIc\fB\fR
The Z8530 channel
.TP
\fB\fIreg\fB\fR
Register number
.TP
\fB\fIval\fB\fR
Value to write
.SH "DESCRIPTION"
.PP
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.
.PP
Assumes c->lock is held.