]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/x86/include/asm/device.h
x86/msr-index: Cleanup bit defines
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / include / asm / device.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1965aae3
PA
2#ifndef _ASM_X86_DEVICE_H
3#define _ASM_X86_DEVICE_H
003a46cf
TG
4
5struct dev_archdata {
d3f13810 6#if defined(CONFIG_INTEL_IOMMU) || defined(CONFIG_AMD_IOMMU)
358dd8ac
KA
7 void *iommu; /* hook for IOMMU specific extension */
8#endif
003a46cf
TG
9};
10
d9c3d6ff
KB
11#if defined(CONFIG_X86_DEV_DMA_OPS) && defined(CONFIG_PCI_DOMAINS)
12struct dma_domain {
13 struct list_head node;
5299709d 14 const struct dma_map_ops *dma_ops;
d9c3d6ff
KB
15 int domain_nr;
16};
17void add_dma_domain(struct dma_domain *domain);
18void del_dma_domain(struct dma_domain *domain);
19#endif
20
d7aacadd
MD
21struct pdev_archdata {
22};
23
1965aae3 24#endif /* _ASM_X86_DEVICE_H */