1. 08 1月, 2013 4 次提交
  2. 07 1月, 2013 2 次提交
  3. 25 9月, 2012 1 次提交
  4. 22 9月, 2012 1 次提交
  5. 20 6月, 2012 2 次提交
  6. 08 6月, 2012 1 次提交
  7. 01 6月, 2012 1 次提交
  8. 11 5月, 2012 1 次提交
  9. 06 4月, 2012 1 次提交
  10. 21 3月, 2012 2 次提交
  11. 13 3月, 2012 2 次提交
  12. 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
  13. 22 2月, 2012 1 次提交
  14. 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
  15. 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
  16. 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
  17. 27 10月, 2011 1 次提交
  18. 16 8月, 2011 1 次提交
  19. 08 8月, 2011 1 次提交
  20. 22 6月, 2011 1 次提交
    • A
      net: remove mm.h inclusion from netdevice.h · b7f080cf
      Alexey Dobriyan 提交于
      Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).
      
      To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
      definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
      via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
      Removal of mm.h from scatterlist.h was tried and was found not feasible
      on most archs, so the link was cutoff earlier.
      
      Hope people are OK with tiny include file.
      
      Note, that mm_types.h is still dragged in, but it is a separate story.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b7f080cf
  21. 31 3月, 2011 1 次提交
  22. 15 1月, 2011 1 次提交
  23. 03 1月, 2011 1 次提交
  24. 08 10月, 2010 3 次提交
    • D
      async_tx: make async_tx channel switching opt-in · 5fc6d897
      Dan Williams 提交于
      The majority of drivers in drivers/dma/ will never establish cross
      channel operation chains and do not need the extra overhead in struct
      dma_async_tx_descriptor.  Make channel switching opt-in by default.
      
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Ira Snyder <iws@ovro.caltech.edu>
      Cc: Linus Walleij <linus.walleij@stericsson.com>
      Cc: Saeed Bishara <saeed@marvell.com>
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      5fc6d897
    • I
      fsldma: improved DMA_SLAVE support · 968f19ae
      Ira Snyder 提交于
      Now that the generic DMAEngine API has support for scatterlist to
      scatterlist copying, the device_prep_slave_sg() portion of the
      DMA_SLAVE API is no longer necessary and has been removed.
      
      However, the device_control() portion of the DMA_SLAVE API is still
      useful to control device specific parameters, such as externally
      controlled DMA transfers and maximum burst length.
      
      A special dma_ctrl_cmd has been added to enable externally controlled
      DMA transfers. This is currently specific to the Freescale DMA
      controller, but can easily be made generic when another user is found.
      Signed-off-by: NIra W. Snyder <iws@ovro.caltech.edu>
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      968f19ae
    • I
      dma: add support for scatterlist to scatterlist copy · a86ee03c
      Ira Snyder 提交于
      This adds support for scatterlist to scatterlist DMA transfers. A
      similar interface is exposed by the fsldma driver (through the DMA_SLAVE
      API) and by the ste_dma40 driver (through an exported function).
      
      This patch paves the way for making this type of copy operation a part
      of the generic DMAEngine API. Futher patches will add support in
      individual drivers.
      Signed-off-by: NIra W. Snyder <iws@ovro.caltech.edu>
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      a86ee03c
  25. 06 10月, 2010 2 次提交
  26. 23 9月, 2010 1 次提交
  27. 05 8月, 2010 1 次提交
  28. 18 5月, 2010 2 次提交
  29. 27 3月, 2010 1 次提交