Lines Matching defs:dma_device
526 struct dma_device { struct
528 unsigned int chancnt;
529 unsigned int privatecnt;
530 struct list_head channels;
531 struct list_head global_node;
532 dma_cap_mask_t cap_mask;
533 unsigned short max_xor;
534 unsigned short max_pq;
535 u8 copy_align;
536 u8 xor_align;
537 u8 pq_align;
538 u8 fill_align;
541 int dev_id;
542 struct device *dev;
544 int (*device_alloc_chan_resources)(struct dma_chan *chan);
545 void (*device_free_chan_resources)(struct dma_chan *chan);
547 struct dma_async_tx_descriptor *(*device_prep_dma_memcpy)(
550 struct dma_async_tx_descriptor *(*device_prep_dma_xor)(
553 struct dma_async_tx_descriptor *(*device_prep_dma_xor_val)(
556 struct dma_async_tx_descriptor *(*device_prep_dma_pq)(
560 struct dma_async_tx_descriptor *(*device_prep_dma_pq_val)(
564 struct dma_async_tx_descriptor *(*device_prep_dma_memset)(
567 struct dma_async_tx_descriptor *(*device_prep_dma_interrupt)(
569 struct dma_async_tx_descriptor *(*device_prep_dma_sg)(
575 struct dma_async_tx_descriptor *(*device_prep_slave_sg)(
579 struct dma_async_tx_descriptor *(*device_prep_dma_cyclic)(
582 struct dma_async_tx_descriptor *(*device_prep_interleaved_dma)(
585 int (*device_control)(struct dma_chan *chan, enum dma_ctrl_cmd cmd,
588 enum dma_status (*device_tx_status)(struct dma_chan *chan,
591 void (*device_issue_pending)(struct dma_chan *chan);