]> git.openfabrics.org - ~emulex/infiniband.git/commit
DMA: AT91: Get transfer width
authorElen Song <elen.song@atmel.com>
Fri, 10 May 2013 03:00:50 +0000 (11:00 +0800)
committerVinod Koul <vinod.koul@intel.com>
Fri, 5 Jul 2013 06:10:30 +0000 (11:40 +0530)
commitd088c33b646e9f3564eea7a057a2cb697c18bcd0
tree297d676a700dad9089b642d80c5823f0a97cd7c1
parent6c22770f644bf23aecc11fedd7b305488a861bfc
DMA: AT91: Get transfer width

In one dma transfer, the data transfer width can be configured and it is limited by source or destination peripheral width,
tx_width will save the transfer width, but for memcpy, either source or destination transfer width is taken as tx_width.

Signed-off-by: Elen Song <elen.song@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_hdmac.c
drivers/dma/at_hdmac_regs.h