This source file includes following definitions.
- dw_dma_probe
- dw_dma_remove
- idma32_dma_probe
- idma32_dma_remove
   1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 #ifndef _DMA_DW_H
  10 #define _DMA_DW_H
  11 
  12 #include <linux/clk.h>
  13 #include <linux/device.h>
  14 #include <linux/dmaengine.h>
  15 
  16 #include <linux/platform_data/dma-dw.h>
  17 
  18 struct dw_dma;
  19 
  20 
  21 
  22 
  23 
  24 
  25 
  26 
  27 
  28 
  29 
  30 struct dw_dma_chip {
  31         struct device   *dev;
  32         int             id;
  33         int             irq;
  34         void __iomem    *regs;
  35         struct clk      *clk;
  36         struct dw_dma   *dw;
  37 
  38         const struct dw_dma_platform_data       *pdata;
  39 };
  40 
  41 
  42 #if IS_ENABLED(CONFIG_DW_DMAC_CORE)
  43 int dw_dma_probe(struct dw_dma_chip *chip);
  44 int dw_dma_remove(struct dw_dma_chip *chip);
  45 int idma32_dma_probe(struct dw_dma_chip *chip);
  46 int idma32_dma_remove(struct dw_dma_chip *chip);
  47 #else
  48 static inline int dw_dma_probe(struct dw_dma_chip *chip) { return -ENODEV; }
  49 static inline int dw_dma_remove(struct dw_dma_chip *chip) { return 0; }
  50 static inline int idma32_dma_probe(struct dw_dma_chip *chip) { return -ENODEV; }
  51 static inline int idma32_dma_remove(struct dw_dma_chip *chip) { return 0; }
  52 #endif 
  53 
  54 #endif