]> Pileus Git - ~andy/linux/blobdiff - include/linux/dw_dmac.h
dmaengine: dw_dmac: Update documentation style comments for dw_dma_platform_data
[~andy/linux] / include / linux / dw_dmac.h
index 3315ef9c785b74ac37dec589efa892bc3bf2a664..62a6190dee2278d2bfbb16fe36f5fdd28da28868 100644 (file)
  * @nr_channels: Number of channels supported by hardware (max 8)
  * @is_private: The device channels should be marked as private and not for
  *     by the general purpose DMA channel allocator.
+ * @chan_allocation_order: Allocate channels starting from 0 or 7
+ * @chan_priority: Set channel priority increasing from 0 to 7 or 7 to 0.
  * @block_size: Maximum block size supported by the controller
+ * @nr_masters: Number of AHB masters supported by the controller
+ * @data_width: Maximum data width supported by hardware per AHB master
+ *             (0 - 8bits, 1 - 16bits, ..., 5 - 256bits)
  */
 struct dw_dma_platform_data {
        unsigned int    nr_channels;
@@ -31,6 +36,8 @@ struct dw_dma_platform_data {
 #define CHAN_PRIORITY_DESCENDING       1       /* chan7 highest */
        unsigned char   chan_priority;
        unsigned short  block_size;
+       unsigned char   nr_masters;
+       unsigned char   data_width[4];
 };
 
 /* bursts size */