Linux Audio

Check our new training course

Loading...
v5.9
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _ASM_IA64_IOMMU_H
 3#define _ASM_IA64_IOMMU_H 1
 4
 5#include <linux/acpi.h>
 6
 7/* 10 seconds */
 8#define DMAR_OPERATION_TIMEOUT (((cycles_t) local_cpu_data->itc_freq)*10)
 9
 
10extern void no_iommu_init(void);
11#ifdef	CONFIG_INTEL_IOMMU
12extern int force_iommu, no_iommu;
 
13extern int iommu_detected;
14
15static inline int __init
16arch_rmrr_sanity_check(struct acpi_dmar_reserved_memory *rmrr) { return 0; }
17#else
 
18#define no_iommu		(1)
19#define iommu_detected		(0)
 
20#endif
 
 
21
22#endif
v3.5.6
 
 1#ifndef _ASM_IA64_IOMMU_H
 2#define _ASM_IA64_IOMMU_H 1
 3
 4#define cpu_has_x2apic 0
 
 5/* 10 seconds */
 6#define DMAR_OPERATION_TIMEOUT (((cycles_t) local_cpu_data->itc_freq)*10)
 7
 8extern void pci_iommu_shutdown(void);
 9extern void no_iommu_init(void);
10#ifdef	CONFIG_INTEL_IOMMU
11extern int force_iommu, no_iommu;
12extern int iommu_pass_through;
13extern int iommu_detected;
14extern int iommu_group_mf;
 
 
15#else
16#define iommu_pass_through	(0)
17#define no_iommu		(1)
18#define iommu_detected		(0)
19#define iommu_group_mf		(0)
20#endif
21extern void iommu_dma_init(void);
22extern void machvec_init(const char *name);
23
24#endif