.\" 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 "SND_HDA_CODEC_READ" "9" "09 October 2005" "" "" .SH NAME snd_hda_codec_read \- send a command and get the response .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp unsigned int snd_hda_codec_read (struct hda_codec * \fIcodec\fB, hda_nid_t \fInid\fB, int \fIdirect\fB, unsigned int \fIverb\fB, unsigned int \fIparm\fB); \fR .SH "ARGUMENTS" .TP \fB\fIcodec\fB\fR the HDA codec .TP \fB\fInid\fB\fR NID to send the command .TP \fB\fIdirect\fB\fR direct flag .TP \fB\fIverb\fB\fR the verb to send .TP \fB\fIparm\fB\fR the parameter for the verb .SH "DESCRIPTION" .PP Send a single command and read the corresponding response. .PP Returns the obtained response value, or -1 for an error.