1. 15 11月, 2013 1 次提交
  2. 14 11月, 2013 2 次提交
  3. 10 9月, 2013 1 次提交
  4. 02 9月, 2013 1 次提交
  5. 23 8月, 2013 1 次提交
  6. 13 8月, 2013 1 次提交
    • Z
      dmaengine: add interface of dma_get_slave_channel · 7bb587f4
      Zhangfei Gao 提交于
      Suggested by Arnd, add dma_get_slave_channel interface
      Dma host driver could get specific channel specificied by request line, rather than filter.
      
      host example:
      static struct dma_chan *xx_of_dma_simple_xlate(struct of_phandle_args *dma_spec,
      		struct of_dma *ofdma)
      {
      	struct xx_dma_dev *d = ofdma->of_dma_data;
      	unsigned int request = dma_spec->args[0];
      
      	if (request > d->dma_requests)
      		return NULL;
      
      	return dma_get_slave_channel(&(d->chans[request].vc.chan));
      }
      
      probe:
      of_dma_controller_register((&op->dev)->of_node, xx_of_dma_simple_xlate, d);
      Signed-off-by: NZhangfei Gao <zhangfei.gao@linaro.org>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      7bb587f4
  7. 16 7月, 2013 1 次提交
  8. 04 7月, 2013 1 次提交
  9. 15 4月, 2013 2 次提交
  10. 28 2月, 2013 1 次提交
  11. 14 2月, 2013 1 次提交
  12. 12 1月, 2013 1 次提交
  13. 08 1月, 2013 5 次提交
  14. 07 1月, 2013 2 次提交
  15. 25 9月, 2012 1 次提交
  16. 22 9月, 2012 1 次提交
  17. 20 6月, 2012 2 次提交
  18. 08 6月, 2012 1 次提交
  19. 01 6月, 2012 1 次提交
  20. 11 5月, 2012 1 次提交
  21. 06 4月, 2012 1 次提交
  22. 21 3月, 2012 2 次提交
  23. 13 3月, 2012 2 次提交
  24. 05 3月, 2012 1 次提交
    • P
      BUG: headers with BUG/BUG_ON etc. need linux/bug.h · 187f1882
      Paul Gortmaker 提交于
      If a header file is making use of BUG, BUG_ON, BUILD_BUG_ON, or any
      other BUG variant in a static inline (i.e. not in a #define) then
      that header really should be including <linux/bug.h> and not just
      expecting it to be implicitly present.
      
      We can make this change risk-free, since if the files using these
      headers didn't have exposure to linux/bug.h already, they would have
      been causing compile failures/warnings.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      187f1882
  25. 22 2月, 2012 1 次提交
  26. 24 12月, 2011 1 次提交
    • S
      dmaengine: add DMA_TRANS_NONE to dma_transfer_direction · 62268ce9
      Shawn Guo 提交于
      Before dma_transfer_direction was introduced to replace
      dma_data_direction, some dmaengine device uses DMA_NONE of
      dma_data_direction for some talk with its client drivers.
      The mxs-dma and its clients mxs-mmc and gpmi-nand are such case.
      
      This patch adds DMA_TRANS_NONE to dma_transfer_direction and
      migrate the DMA_NONE use in mxs-dma to it.
      
      It also fixes the compile warning below.
      
      CC      drivers/dma/mxs-dma.o
      drivers/dma/mxs-dma.c: In function ‘mxs_dma_prep_slave_sg’:
      drivers/dma/mxs-dma.c:420:16: warning: comparison between ‘enum dma_transfer_direction’ and ‘enum dma_data_direction’
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NVinod Koul <vinod.koul@linux.intel.com>
      62268ce9
  27. 18 11月, 2011 1 次提交
    • J
      DMAEngine: Define interleaved transfer request api · b14dab79
      Jassi Brar 提交于
      Define a new api that could be used for doing fancy data transfers
      like interleaved to contiguous copy and vice-versa.
      Traditional SG_list based transfers tend to be very inefficient in
      such cases as where the interleave and chunk are only a few bytes,
      which call for a very condensed api to convey pattern of the transfer.
      This api supports all 4 variants of scatter-gather and contiguous transfer.
      
      Of course, neither can this api help transfers that don't lend to DMA by
      nature, i.e, scattered tiny read/writes with no periodic pattern.
      
      Also since now we support SLAVE channels that might not provide
      device_prep_slave_sg callback but device_prep_interleaved_dma,
      remove the BUG_ON check.
      Signed-off-by: NJassi Brar <jaswinder.singh@linaro.org>
      Acked-by: NBarry Song <Baohua.Song@csr.com>
      [renamed dmaxfer_template to dma_interleaved_template
       did fixup after the enum dma_transfer_merge]
      Signed-off-by: NVinod Koul <vinod.koul@linux.intel.com>
      b14dab79
  28. 01 11月, 2011 1 次提交
    • P
      linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h · a8efa9d6
      Paul Gortmaker 提交于
      The implicit presence of module.h and all its sub-includes was
      masking these implicit header usages:
      
      include/linux/dmaengine.h:684: warning: 'struct page' declared inside parameter list
      include/linux/dmaengine.h:684: warning: its scope is only this definition or declaration, which is probably not what you want
      include/linux/dmaengine.h:687: warning: 'struct page' declared inside parameter list
      include/linux/dmaengine.h:736:2: error: implicit declaration of function 'bitmap_zero'
      
      With input from Stephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      a8efa9d6
  29. 27 10月, 2011 1 次提交
  30. 16 8月, 2011 1 次提交