aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dmaengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r--include/linux/dmaengine.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index b6997a0cb528..db0104b0da4d 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -574,7 +574,6 @@ struct dma_tx_state {
574 * @copy_align: alignment shift for memcpy operations 574 * @copy_align: alignment shift for memcpy operations
575 * @xor_align: alignment shift for xor operations 575 * @xor_align: alignment shift for xor operations
576 * @pq_align: alignment shift for pq operations 576 * @pq_align: alignment shift for pq operations
577 * @fill_align: alignment shift for memset operations
578 * @dev_id: unique device ID 577 * @dev_id: unique device ID
579 * @dev: struct device reference for dma mapping api 578 * @dev: struct device reference for dma mapping api
580 * @src_addr_widths: bit mask of src addr widths the device supports 579 * @src_addr_widths: bit mask of src addr widths the device supports
@@ -625,7 +624,6 @@ struct dma_device {
625 u8 copy_align; 624 u8 copy_align;
626 u8 xor_align; 625 u8 xor_align;
627 u8 pq_align; 626 u8 pq_align;
628 u8 fill_align;
629 #define DMA_HAS_PQ_CONTINUE (1 << 15) 627 #define DMA_HAS_PQ_CONTINUE (1 << 15)
630 628
631 int dev_id; 629 int dev_id;
@@ -826,12 +824,6 @@ static inline bool is_dma_pq_aligned(struct dma_device *dev, size_t off1,
826 return dmaengine_check_align(dev->pq_align, off1, off2, len); 824 return dmaengine_check_align(dev->pq_align, off1, off2, len);
827} 825}
828 826
829static inline bool is_dma_fill_aligned(struct dma_device *dev, size_t off1,
830 size_t off2, size_t len)
831{
832 return dmaengine_check_align(dev->fill_align, off1, off2, len);
833}
834
835static inline void 827static inline void
836dma_set_maxpq(struct dma_device *dma, int maxpq, int has_pq_continue) 828dma_set_maxpq(struct dma_device *dma, int maxpq, int has_pq_continue)
837{ 829{