.\" 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 "VIA_AC97_READ_REG" "" "06 October 2005" "" ""
.SH NAME
via_ac97_read_reg \- Read AC97 standard register
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
u16 via_ac97_read_reg (struct ac97_codec * \fIcodec\fB, u8 \fIreg\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIcodec\fB\fR
Pointer to generic AC97 codec info
.TP
\fB\fIreg\fB\fR
Index of AC97 register to be read
.SH "DESCRIPTION"
.PP
Read the value of a single AC97 codec register,
as defined by the Intel AC97 specification.
.PP
Defines the standard AC97 read-register operation
required by the kernel's ac97_codec interface.
.PP
Returns the 16-bit value stored in the specified
register.