diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-07-15 17:53:08 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-07-15 21:58:38 +0530 |
commit | ca38ff133eb85b64e62b508a7726ea0247edd359 (patch) | |
tree | c7c2ea54d8db1e383115c42014dc91fcd04d1583 /net/9p | |
parent | 221a27c76033a3a4196b3da09848bc5f237f3f94 (diff) | |
download | blackbird-op-linux-ca38ff133eb85b64e62b508a7726ea0247edd359.tar.gz blackbird-op-linux-ca38ff133eb85b64e62b508a7726ea0247edd359.zip |
dma: pl330: Implement device_slave_caps
Implement the device_slave_caps() callback for the pl330 driver. This allows
dmaengine users like the generic ALSA dmaengine PCM driver to query the
capabilities of the driver. The PL330 supports all buswidths and both
mem-to-dev as well as dev-to-mem transfers. In theory there is no limit on the
number of segments that can be transferred (in practice you'll run out of memory
eventually) and the number of bytes per segment is limited by the size of the
PL330 program buffer. Due to the nature of the PL330 the maximum number of bytes
per segment depends on the burstsize, the driver sets it to the value for a
1-byte burstsize, since it is the smallest.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions