'\" t .\" Title: snd_hwparams_to_dma_slave_config .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: PCM API .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_HWPARAMS_TO_DMA_" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "PCM API" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" snd_hwparams_to_dma_slave_config \- Convert hw_params to dma_slave_config .SH "SYNOPSIS" .HP \w'int\ snd_hwparams_to_dma_slave_config('u .BI "int snd_hwparams_to_dma_slave_config(const\ struct\ snd_pcm_substream\ *\ " "substream" ", const\ struct\ snd_pcm_hw_params\ *\ " "params" ", struct\ dma_slave_config\ *\ " "slave_config" ");" .SH "ARGUMENTS" .PP \fIsubstream\fR .RS 4 PCM substream .RE .PP \fIparams\fR .RS 4 hw_params .RE .PP \fIslave_config\fR .RS 4 DMA slave config .RE .SH "DESCRIPTION" .PP This function can be used to initialize a dma_slave_config from a substream and hw_params in a dmaengine based PCM driver implementation\&. .SH "COPYRIGHT" .br