Lines Matching defs:dma_device
611 struct dma_device { struct
613 unsigned int chancnt;
614 unsigned int privatecnt;
615 struct list_head channels;
616 struct list_head global_node;
617 dma_cap_mask_t cap_mask;
618 unsigned short max_xor;
619 unsigned short max_pq;
620 u8 copy_align;
621 u8 xor_align;
622 u8 pq_align;
625 int dev_id;
626 struct device *dev;
628 u32 src_addr_widths;
629 u32 dst_addr_widths;
630 u32 directions;
631 enum dma_residue_granularity residue_granularity;
633 int (*device_alloc_chan_resources)(struct dma_chan *chan);
634 void (*device_free_chan_resources)(struct dma_chan *chan);
636 struct dma_async_tx_descriptor *(*device_prep_dma_memcpy)(
639 struct dma_async_tx_descriptor *(*device_prep_dma_xor)(
642 struct dma_async_tx_descriptor *(*device_prep_dma_xor_val)(
645 struct dma_async_tx_descriptor *(*device_prep_dma_pq)(
649 struct dma_async_tx_descriptor *(*device_prep_dma_pq_val)(
653 struct dma_async_tx_descriptor *(*device_prep_dma_interrupt)(
655 struct dma_async_tx_descriptor *(*device_prep_dma_sg)(
661 struct dma_async_tx_descriptor *(*device_prep_slave_sg)(
665 struct dma_async_tx_descriptor *(*device_prep_dma_cyclic)(
669 struct dma_async_tx_descriptor *(*device_prep_interleaved_dma)(
673 int (*device_config)(struct dma_chan *chan,
675 int (*device_pause)(struct dma_chan *chan);
676 int (*device_resume)(struct dma_chan *chan);
677 int (*device_terminate_all)(struct dma_chan *chan);
679 enum dma_status (*device_tx_status)(struct dma_chan *chan,
682 void (*device_issue_pending)(struct dma_chan *chan);