tmp_suning_uos_patched/drivers/dma
Haavard Skinnemoen 848c536a37 dmaengine: Add dma_client parameter to device_alloc_chan_resources
A DMA controller capable of doing slave transfers may need to know a
few things about the slave when preparing the channel. We don't want
to add this information to struct dma_channel since the channel hasn't
yet been bound to a client at this point.

Instead, pass a reference to the client requesting the channel to the
driver's device_alloc_chan_resources hook so that it can pick the
necessary information from the dma_client struct by itself.

[dan.j.williams@intel.com: fixed up fsldma and mv_xor]
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2008-07-08 11:58:58 -07:00
..
dmaengine.c dmaengine: Add dma_client parameter to device_alloc_chan_resources 2008-07-08 11:58:58 -07:00
dmatest.c dmatest: Simple DMA memcpy test client 2008-07-08 11:58:45 -07:00
fsldma.c dmaengine: Add dma_client parameter to device_alloc_chan_resources 2008-07-08 11:58:58 -07:00
fsldma.h fix the broken annotations in fsldma 2008-03-30 14:20:24 -07:00
ioat_dca.c ioat_dca __iomem annotations 2008-03-30 14:18:41 -07:00
ioat_dma.c dmaengine: Add dma_client parameter to device_alloc_chan_resources 2008-07-08 11:58:58 -07:00
ioat.c I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
ioatdma_hw.h I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
ioatdma_registers.h I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
ioatdma.h I/OAT: fixups from code comments 2007-12-17 19:28:17 -08:00
iop-adma.c dmaengine: Add dma_client parameter to device_alloc_chan_resources 2008-07-08 11:58:58 -07:00
iovlock.c [NET_DMA]: remove unused dma_memcpy_to_kernel_iovec 2007-07-31 02:28:03 -07:00
Kconfig dmatest: Simple DMA memcpy test client 2008-07-08 11:58:45 -07:00
Makefile dmatest: Simple DMA memcpy test client 2008-07-08 11:58:45 -07:00
mv_xor.c dmaengine: Add dma_client parameter to device_alloc_chan_resources 2008-07-08 11:58:58 -07:00
mv_xor.h dmaengine: DMA engine driver for Marvell XOR engine 2008-07-08 11:58:36 -07:00