1. 29 5月, 2014 1 次提交
  2. 14 2月, 2014 1 次提交
  3. 30 10月, 2013 1 次提交
  4. 28 8月, 2013 2 次提交
  5. 20 8月, 2013 1 次提交
    • Q
      serial: sirf: add DMA support using dmaengine APIs · 8316d04c
      Qipan Li 提交于
      if we get the valid dma channels from dts, move to use dmaengine to do
      rx/tx. because the dma hardware requires dma address and length to be
      4bytes aligned, in this driver, we will still use PIO for non-aligned
      bytes, and use dma for aligned bytes.
      
      for rx, to keep the dmaengine always active, we use double-buffer, so
      we issue two dma_desc at first, and maintain the status of both
      1. dma transfer done: update in rx dma finish callback
      2. dma buffer is inserted into tty: update in rx dma finish tasklet and
         rx timeout tasklet
      so we re-issue the dma_desc only if both 1&2 are finished.
      
      for tx, as we know the actual length for every transfer, we don't need
      the above double buffering.
      Signed-off-by: NQipan Li <Qipan.Li@csr.com>
      Signed-off-by: NBarry Song <Baohua.Song@csr.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      8316d04c
  6. 15 8月, 2013 2 次提交
  7. 13 8月, 2013 2 次提交
  8. 18 1月, 2013 1 次提交
  9. 16 1月, 2013 1 次提交
  10. 23 2月, 2012 1 次提交
  11. 18 11月, 2011 1 次提交