Lines Matching defs:dma_device
855 struct dma_device { struct
856 struct kref ref;
857 unsigned int chancnt;
858 unsigned int privatecnt;
859 struct list_head channels;
860 struct list_head global_node;
861 struct dma_filter filter;
862 dma_cap_mask_t cap_mask;
863 enum dma_desc_metadata_mode desc_metadata_modes;
864 unsigned short max_xor;
865 unsigned short max_pq;
866 enum dmaengine_alignment copy_align;
867 enum dmaengine_alignment xor_align;
868 enum dmaengine_alignment pq_align;
869 enum dmaengine_alignment fill_align;
872 int dev_id;
873 struct device *dev;
874 struct module *owner;
875 struct ida chan_ida;
876 struct mutex chan_mutex; /* to protect chan_ida */
878 u32 src_addr_widths;
879 u32 dst_addr_widths;
880 u32 directions;
881 u32 min_burst;
882 u32 max_burst;
883 u32 max_sg_burst;
884 bool descriptor_reuse;
885 enum dma_residue_granularity residue_granularity;
887 int (*device_alloc_chan_resources)(struct dma_chan *chan);
888 int (*device_router_config)(struct dma_chan *chan);
889 void (*device_free_chan_resources)(struct dma_chan *chan);
891 struct dma_async_tx_descriptor *(*device_prep_dma_memcpy)(
894 struct dma_async_tx_descriptor *(*device_prep_dma_xor)(
897 struct dma_async_tx_descriptor *(*device_prep_dma_xor_val)(
900 struct dma_async_tx_descriptor *(*device_prep_dma_pq)(
904 struct dma_async_tx_descriptor *(*device_prep_dma_pq_val)(
908 struct dma_async_tx_descriptor *(*device_prep_dma_memset)(
911 struct dma_async_tx_descriptor *(*device_prep_dma_memset_sg)(
914 struct dma_async_tx_descriptor *(*device_prep_dma_interrupt)(
917 struct dma_async_tx_descriptor *(*device_prep_slave_sg)(
921 struct dma_async_tx_descriptor *(*device_prep_dma_cyclic)(
945 void (*device_release)(struct dma_device *dev); argument
948 void (*dbg_summary_show)(struct seq_file *s, struct dma_device *dev); argument
949 struct dentry *dbg_dev_root;