1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_X86_DEVICE_H
3 #define _ASM_X86_DEVICE_H
6 #if defined(CONFIG_INTEL_IOMMU) || defined(CONFIG_AMD_IOMMU)
7 void *iommu; /* hook for IOMMU specific extension */
14 #if defined(CONFIG_X86_DEV_DMA_OPS) && defined(CONFIG_PCI_DOMAINS)
16 struct list_head node;
17 const struct dma_map_ops *dma_ops;
20 void add_dma_domain(struct dma_domain *domain);
21 void del_dma_domain(struct dma_domain *domain);
24 struct pdev_archdata {
27 #endif /* _ASM_X86_DEVICE_H */