|
Lines 401-406
enum dma_residue_granularity {
Link Here
|
| 401 |
* since the enum dma_transfer_direction is not defined as bits for each |
401 |
* since the enum dma_transfer_direction is not defined as bits for each |
| 402 |
* type of direction, the dma controller should fill (1 << <TYPE>) and same |
402 |
* type of direction, the dma controller should fill (1 << <TYPE>) and same |
| 403 |
* should be checked by controller as well |
403 |
* should be checked by controller as well |
|
|
404 |
* @max_burst: max burst capability per-transfer |
| 404 |
* @cmd_pause: true, if pause and thereby resume is supported |
405 |
* @cmd_pause: true, if pause and thereby resume is supported |
| 405 |
* @cmd_terminate: true, if terminate cmd is supported |
406 |
* @cmd_terminate: true, if terminate cmd is supported |
| 406 |
* @residue_granularity: granularity of the reported transfer residue |
407 |
* @residue_granularity: granularity of the reported transfer residue |
|
Lines 411-416
struct dma_slave_caps {
Link Here
|
| 411 |
u32 src_addr_widths; |
412 |
u32 src_addr_widths; |
| 412 |
u32 dst_addr_widths; |
413 |
u32 dst_addr_widths; |
| 413 |
u32 directions; |
414 |
u32 directions; |
|
|
415 |
u32 max_burst; |
| 414 |
bool cmd_pause; |
416 |
bool cmd_pause; |
| 415 |
bool cmd_terminate; |
417 |
bool cmd_terminate; |
| 416 |
enum dma_residue_granularity residue_granularity; |
418 |
enum dma_residue_granularity residue_granularity; |
|
Lines 670-675
struct dma_filter {
Link Here
|
| 670 |
* the enum dma_transfer_direction is not defined as bits for |
672 |
* the enum dma_transfer_direction is not defined as bits for |
| 671 |
* each type of direction, the dma controller should fill (1 << |
673 |
* each type of direction, the dma controller should fill (1 << |
| 672 |
* <TYPE>) and same should be checked by controller as well |
674 |
* <TYPE>) and same should be checked by controller as well |
|
|
675 |
* @max_burst: max burst capability per-transfer |
| 673 |
* @residue_granularity: granularity of the transfer residue reported |
676 |
* @residue_granularity: granularity of the transfer residue reported |
| 674 |
* by tx_status |
677 |
* by tx_status |
| 675 |
* @device_alloc_chan_resources: allocate resources and return the |
678 |
* @device_alloc_chan_resources: allocate resources and return the |
|
Lines 728-733
struct dma_device {
Link Here
|
| 728 |
u32 src_addr_widths; |
731 |
u32 src_addr_widths; |
| 729 |
u32 dst_addr_widths; |
732 |
u32 dst_addr_widths; |
| 730 |
u32 directions; |
733 |
u32 directions; |
|
|
734 |
u32 max_burst; |
| 731 |
bool descriptor_reuse; |
735 |
bool descriptor_reuse; |
| 732 |
enum dma_residue_granularity residue_granularity; |
736 |
enum dma_residue_granularity residue_granularity; |
| 733 |
|
737 |
|
| 734 |
- |
|
|