Skip to content

Commit b6d1a17

Browse files
committed
dmaengine: pxa: document pxad_param
Add some documentation for the pxad_param structure, and describe the contract behind the minimal required priority of a DMA channel. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Vinod Koul <vkoul@kernel.org>
1 parent 273340e commit b6d1a17

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎include/linux/dma/pxa-dma.h‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ enum pxad_chan_prio {
99
PXAD_PRIO_LOWEST,
1010
};
1111

12+
/**
13+
* struct pxad_param - dma channel request parameters
14+
* @drcmr: requestor line number
15+
* @prio: minimal mandatory priority of the channel
16+
*
17+
* If a requested channel is granted, its priority will be at least @prio,
18+
* ie. if PXAD_PRIO_LOW is required, the requested channel will be either
19+
* PXAD_PRIO_LOW, PXAD_PRIO_NORMAL or PXAD_PRIO_HIGHEST.
20+
*/
1221
struct pxad_param {
1322
unsigned int drcmr;
1423
enum pxad_chan_prio prio;

0 commit comments

Comments
 (0)