Lines Matching defs:dma_async_tx_descriptor

565 struct dma_async_tx_descriptor;
568 int (*attach)(struct dma_async_tx_descriptor *desc, void *data,
571 void *(*get_ptr)(struct dma_async_tx_descriptor *desc,
573 int (*set_len)(struct dma_async_tx_descriptor *desc,
578 * struct dma_async_tx_descriptor - async transaction descriptor
600 struct dma_async_tx_descriptor {
605 dma_cookie_t (*tx_submit)(struct dma_async_tx_descriptor *tx);
606 int (*desc_free)(struct dma_async_tx_descriptor *tx);
614 struct dma_async_tx_descriptor *next;
615 struct dma_async_tx_descriptor *parent;
621 static inline void dma_set_unmap(struct dma_async_tx_descriptor *tx,
632 static inline void dma_set_unmap(struct dma_async_tx_descriptor *tx,
646 static inline void dma_descriptor_unmap(struct dma_async_tx_descriptor *tx)
656 static inline void txd_lock(struct dma_async_tx_descriptor *txd)
659 static inline void txd_unlock(struct dma_async_tx_descriptor *txd)
662 static inline void txd_chain(struct dma_async_tx_descriptor *txd, struct dma_async_tx_descriptor *next)
666 static inline void txd_clear_parent(struct dma_async_tx_descriptor *txd)
669 static inline void txd_clear_next(struct dma_async_tx_descriptor *txd)
672 static inline struct dma_async_tx_descriptor *txd_next(struct dma_async_tx_descriptor *txd)
676 static inline struct dma_async_tx_descriptor *txd_parent(struct dma_async_tx_descriptor *txd)
682 static inline void txd_lock(struct dma_async_tx_descriptor *txd)
686 static inline void txd_unlock(struct dma_async_tx_descriptor *txd)
690 static inline void txd_chain(struct dma_async_tx_descriptor *txd, struct dma_async_tx_descriptor *next)
695 static inline void txd_clear_parent(struct dma_async_tx_descriptor *txd)
699 static inline void txd_clear_next(struct dma_async_tx_descriptor *txd)
703 static inline struct dma_async_tx_descriptor *txd_parent(struct dma_async_tx_descriptor *txd)
707 static inline struct dma_async_tx_descriptor *txd_next(struct dma_async_tx_descriptor *txd)
887 struct dma_async_tx_descriptor *(*device_prep_dma_memcpy)(
890 struct dma_async_tx_descriptor *(*device_prep_dma_xor)(
893 struct dma_async_tx_descriptor *(*device_prep_dma_xor_val)(
896 struct dma_async_tx_descriptor *(*device_prep_dma_pq)(
900 struct dma_async_tx_descriptor *(*device_prep_dma_pq_val)(
904 struct dma_async_tx_descriptor *(*device_prep_dma_memset)(
907 struct dma_async_tx_descriptor *(*device_prep_dma_memset_sg)(
910 struct dma_async_tx_descriptor *(*device_prep_dma_interrupt)(
913 struct dma_async_tx_descriptor *(*device_prep_slave_sg)(
917 struct dma_async_tx_descriptor *(*device_prep_dma_cyclic)(
921 struct dma_async_tx_descriptor *(*device_prep_interleaved_dma)(
924 struct dma_async_tx_descriptor *(*device_prep_dma_imm_data)(
960 static inline struct dma_async_tx_descriptor *dmaengine_prep_slave_single(
976 static inline struct dma_async_tx_descriptor *dmaengine_prep_slave_sg(
989 static inline struct dma_async_tx_descriptor *dmaengine_prep_rio_sg(
1002 static inline struct dma_async_tx_descriptor *dmaengine_prep_dma_cyclic(
1014 static inline struct dma_async_tx_descriptor *dmaengine_prep_interleaved_dma(
1035 static inline struct dma_async_tx_descriptor *dmaengine_prep_dma_memset(
1046 static inline struct dma_async_tx_descriptor *dmaengine_prep_dma_memcpy(
1067 int dmaengine_desc_attach_metadata(struct dma_async_tx_descriptor *desc,
1069 void *dmaengine_desc_get_metadata_ptr(struct dma_async_tx_descriptor *desc,
1071 int dmaengine_desc_set_metadata_len(struct dma_async_tx_descriptor *desc,
1075 struct dma_async_tx_descriptor *desc, void *data, size_t len)
1080 struct dma_async_tx_descriptor *desc, size_t *payload_len,
1086 struct dma_async_tx_descriptor *desc, size_t payload_len)
1211 static inline dma_cookie_t dmaengine_submit(struct dma_async_tx_descriptor *desc)
1362 void dma_async_tx_descriptor_init(struct dma_async_tx_descriptor *tx,
1365 static inline void async_tx_ack(struct dma_async_tx_descriptor *tx)
1370 static inline void async_tx_clear_ack(struct dma_async_tx_descriptor *tx)
1375 static inline bool async_tx_test_ack(struct dma_async_tx_descriptor *tx)
1483 enum dma_status dma_wait_for_async_tx(struct dma_async_tx_descriptor *tx);
1503 static inline enum dma_status dma_wait_for_async_tx(struct dma_async_tx_descriptor *tx)
1537 static inline int dmaengine_desc_set_reuse(struct dma_async_tx_descriptor *tx)
1553 static inline void dmaengine_desc_clear_reuse(struct dma_async_tx_descriptor *tx)
1558 static inline bool dmaengine_desc_test_reuse(struct dma_async_tx_descriptor *tx)
1563 static inline int dmaengine_desc_free(struct dma_async_tx_descriptor *desc)
1581 void dma_run_dependencies(struct dma_async_tx_descriptor *tx);