xref: /linux/arch/x86/include/asm/device.h (revision e5c86679d5e864947a52fb31e45a425dea3e7fa9)
1 #ifndef _ASM_X86_DEVICE_H
2 #define _ASM_X86_DEVICE_H
3 
4 struct dev_archdata {
5 #if defined(CONFIG_INTEL_IOMMU) || defined(CONFIG_AMD_IOMMU)
6 	void *iommu; /* hook for IOMMU specific extension */
7 #endif
8 };
9 
10 #if defined(CONFIG_X86_DEV_DMA_OPS) && defined(CONFIG_PCI_DOMAINS)
11 struct dma_domain {
12 	struct list_head node;
13 	const struct dma_map_ops *dma_ops;
14 	int domain_nr;
15 };
16 void add_dma_domain(struct dma_domain *domain);
17 void del_dma_domain(struct dma_domain *domain);
18 #endif
19 
20 struct pdev_archdata {
21 };
22 
23 #endif /* _ASM_X86_DEVICE_H */
24