.TH repinsw() "" "" "DDI/DKI Kernel Routine"
.PC "Read a word from a port"
.B "#include <sys/types.h>"
\fBvoid repinsw(\fIport\^\fB, \fIaddress\^\fB, \fIcount\^\fB)\fR
\fBint \fIport\^\fB, \fIcount\^\fB; ushort_t *\fIaddress\^\fB;\fR
.PP
.B repinsw()
reads
.I count
16-bit words from
.I port
and writes them at
.IR address .
.SH "See Also"
.B
DDI/DKI kernel routines,
inw(),
repinsb(),
repinsd(),
repoutsw()
.R
.SH Notes
.B repinsw()
has base or interrupt level.
It does not sleep.
.PP
A driver can hold a
driver-defined basic lock, read/write lock, or sleep lock
across a call to this function.
.PP
This function is meaningful only on implementations that support I/O-mapped I/O.
