Lines Matching refs:dma_chan
271 struct dma_chan { struct
295 struct dma_chan *chan; argument
370 static inline const char *dma_chan_name(struct dma_chan *chan) in dma_chan_name()
388 typedef bool (*dma_filter_fn)(struct dma_chan *chan, void *filter_param);
412 struct dma_chan *chan;
552 int (*device_alloc_chan_resources)(struct dma_chan *chan);
553 void (*device_free_chan_resources)(struct dma_chan *chan);
556 struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
559 struct dma_chan *chan, dma_addr_t dest, dma_addr_t *src,
562 struct dma_chan *chan, dma_addr_t *src, unsigned int src_cnt,
565 struct dma_chan *chan, dma_addr_t *dst, dma_addr_t *src,
569 struct dma_chan *chan, dma_addr_t *pq, dma_addr_t *src,
573 struct dma_chan *chan, dma_addr_t dest, int value, size_t len,
576 struct dma_chan *chan, unsigned long flags);
578 struct dma_chan *chan,
584 struct dma_chan *chan, struct scatterlist *sgl,
588 struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
592 struct dma_chan *chan, struct dma_interleaved_template *xt,
594 int (*device_control)(struct dma_chan *chan, enum dma_ctrl_cmd cmd,
597 enum dma_status (*device_tx_status)(struct dma_chan *chan,
600 void (*device_issue_pending)(struct dma_chan *chan);
603 static inline int dmaengine_device_control(struct dma_chan *chan, in dmaengine_device_control()
610 static inline int dmaengine_slave_config(struct dma_chan *chan, in dmaengine_slave_config()
618 struct dma_chan *chan, void *buf, size_t len, in dmaengine_prep_slave_single()
629 struct dma_chan *chan, struct scatterlist *sgl, unsigned int sg_len, in dmaengine_prep_slave_sg()
637 struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, in dmaengine_prep_dma_cyclic()
644 static inline int dmaengine_terminate_all(struct dma_chan *chan) in dmaengine_terminate_all()
649 static inline int dmaengine_pause(struct dma_chan *chan) in dmaengine_pause()
654 static inline int dmaengine_resume(struct dma_chan *chan) in dmaengine_resume()
795 static inline struct dma_chan *
802 dma_cookie_t dma_async_memcpy_buf_to_buf(struct dma_chan *chan,
804 dma_cookie_t dma_async_memcpy_buf_to_pg(struct dma_chan *chan,
806 dma_cookie_t dma_async_memcpy_pg_to_pg(struct dma_chan *chan,
810 struct dma_chan *chan);
880 static inline void dma_async_issue_pending(struct dma_chan *chan) in dma_async_issue_pending()
898 static inline enum dma_status dma_async_is_tx_complete(struct dma_chan *chan, in dma_async_is_tx_complete()
947 enum dma_status dma_sync_wait(struct dma_chan *chan, dma_cookie_t cookie);
951 struct dma_chan *__dma_request_channel(dma_cap_mask_t *mask, dma_filter_fn fn, void *fn_param);
952 void dma_release_channel(struct dma_chan *chan);
961 static inline struct dma_chan *__dma_request_channel(dma_cap_mask_t *mask, in __dma_request_channel()
966 static inline void dma_release_channel(struct dma_chan *chan) in dma_release_channel()
976 struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type);
977 struct dma_chan *net_dma_find_channel(void);
996 dma_cookie_t dma_memcpy_to_iovec(struct dma_chan *chan, struct iovec *iov,
998 dma_cookie_t dma_memcpy_pg_to_iovec(struct dma_chan *chan, struct iovec *iov,