machvec_hpzx1_swiotlb.h 632 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h
  3. #define _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h
  4. extern ia64_mv_setup_t dig_setup;
  5. extern ia64_mv_dma_get_ops hwsw_dma_get_ops;
  6. /*
  7. * This stuff has dual use!
  8. *
  9. * For a generic kernel, the macros are used to initialize the
  10. * platform's machvec structure. When compiling a non-generic kernel,
  11. * the macros are used directly.
  12. */
  13. #define ia64_platform_name "hpzx1_swiotlb"
  14. #define platform_setup dig_setup
  15. #define platform_dma_init machvec_noop
  16. #define platform_dma_get_ops hwsw_dma_get_ops
  17. #endif /* _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h */