lkml.org 
[lkml]   [2018]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 11/14] dmaengine: pxa: document pxad_param
    Date
    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>
    ---
    Since v1: added Vinod's ack
    ---
    include/linux/dma/pxa-dma.h | 9 +++++++++
    1 file changed, 9 insertions(+)

    diff --git a/include/linux/dma/pxa-dma.h b/include/linux/dma/pxa-dma.h
    index e56ec7af4fd7..9fc594f69eff 100644
    --- a/include/linux/dma/pxa-dma.h
    +++ b/include/linux/dma/pxa-dma.h
    @@ -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;
    --
    2.11.0
    \
     
     \ /
      Last update: 2018-06-17 19:05    [W:4.208 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site