Linux Audio

Check our new training course

Loading...
v6.8
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _ASM_X86_DEVICE_H
 3#define _ASM_X86_DEVICE_H
 4
 5struct dev_archdata {
 
 
 
 
 
 
 6};
 
 
 
 
 
 
 
 
 
 
 7
 8struct pdev_archdata {
 9};
10
11#endif /* _ASM_X86_DEVICE_H */
v5.4
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _ASM_X86_DEVICE_H
 3#define _ASM_X86_DEVICE_H
 4
 5struct 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
12};
13
14#if defined(CONFIG_X86_DEV_DMA_OPS) && defined(CONFIG_PCI_DOMAINS)
15struct dma_domain {
16	struct list_head node;
17	const struct dma_map_ops *dma_ops;
18	int domain_nr;
19};
20void add_dma_domain(struct dma_domain *domain);
21void del_dma_domain(struct dma_domain *domain);
22#endif
23
24struct pdev_archdata {
25};
26
27#endif /* _ASM_X86_DEVICE_H */