Thread (28 messages) 28 messages, 3 authors, 2016-03-03
STALE3750d

[PATCH V2 4/8] dmaengine: bcm2835: add additional defines for DMA-registers

From: Vinod Koul <hidden>
Date: 2016-01-13 12:32:38

On Thu, Jan 07, 2016 at 05:33:02PM +0000, kernel at martin.sperl.org wrote:
+#define BCM2835_DMA_PRIORITY(x) ((x & 15) << 16) /* AXI priority */
+#define BCM2835_DMA_PANIC_PRIORITY(x) ((x & 15) << 20) /* panic priority */
+#define BCM2835_DMA_WAIT_FOR_WRITES BIT(28) /* current value of
+					     * TI.BCM2835_DMA_WAIT_RESP
+					     */
I would put the comment before this, yes is not consistent but is more
readable..


-- 
~Vinod
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help