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