.\" 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_CHAN_BUFFER_INIT" "" "06 October 2005" "" "" .SH NAME via_chan_buffer_init \- Initialize PCM channel buffer .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int via_chan_buffer_init (struct via_info * \fIcard\fB, struct via_channel * \fIchan\fB); \fR .SH "ARGUMENTS" .TP \fB\fIcard\fB\fR Private audio chip info .TP \fB\fIchan\fB\fR Channel to be initialized .SH "DESCRIPTION" .PP Performs some of the preparations necessary to begin using a PCM channel. .PP Currently the preparations include allocating the scatter-gather DMA table and buffers, and passing the address of the DMA table to the hardware. .PP Note that special care is taken when passing the DMA table address to hardware, because it was found during driver development that the hardware did not always ``take'' the address.