locking/refcounts: Include fewer headers in <linux/refcount.h>
[linux/fpc-iii.git] / arch / x86 / include / asm / device.h
bloba8f6c809d9b13c7ed533967994cfb675254850fb
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_X86_DEVICE_H
3 #define _ASM_X86_DEVICE_H
5 struct dev_archdata {
6 #if defined(CONFIG_INTEL_IOMMU) || defined(CONFIG_AMD_IOMMU)
7 void *iommu; /* hook for IOMMU specific extension */
8 #endif
9 #ifdef CONFIG_STA2X11
10 bool is_sta2x11;
11 #endif
14 #if defined(CONFIG_X86_DEV_DMA_OPS) && defined(CONFIG_PCI_DOMAINS)
15 struct dma_domain {
16 struct list_head node;
17 const struct dma_map_ops *dma_ops;
18 int domain_nr;
20 void add_dma_domain(struct dma_domain *domain);
21 void del_dma_domain(struct dma_domain *domain);
22 #endif
24 struct pdev_archdata {
27 #endif /* _ASM_X86_DEVICE_H */