dma-mapping.h 567 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASM_IA64_DMA_MAPPING_H
  3. #define _ASM_IA64_DMA_MAPPING_H
  4. /*
  5. * Copyright (C) 2003-2004 Hewlett-Packard Co
  6. * David Mosberger-Tang <davidm@hpl.hp.com>
  7. */
  8. #include <asm/machvec.h>
  9. #include <linux/scatterlist.h>
  10. #include <linux/dma-debug.h>
  11. extern const struct dma_map_ops *dma_ops;
  12. extern struct ia64_machine_vector ia64_mv;
  13. extern void set_iommu_machvec(void);
  14. static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
  15. {
  16. return platform_dma_get_ops(NULL);
  17. }
  18. #endif /* _ASM_IA64_DMA_MAPPING_H */