Skip to content

Commit

Permalink
dmaengine: pxa: document pxad_param
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Vinod Koul <[email protected]>
  • Loading branch information
rjarzmik committed Jun 18, 2018
1 parent 273340e commit b6d1a17
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions include/linux/dma/pxa-dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ enum pxad_chan_prio {
PXAD_PRIO_LOWEST,
};

/**
* struct pxad_param - dma channel request parameters
* @drcmr: requestor line number
* @prio: minimal mandatory priority of the channel
*
* If a requested channel is granted, its priority will be at least @prio,
* ie. if PXAD_PRIO_LOW is required, the requested channel will be either
* PXAD_PRIO_LOW, PXAD_PRIO_NORMAL or PXAD_PRIO_HIGHEST.
*/
struct pxad_param {
unsigned int drcmr;
enum pxad_chan_prio prio;
Expand Down

0 comments on commit b6d1a17

Please sign in to comment.