ALSA: hda - Add the top speaker pin config for HP Spectre x360
[linux/fpc-iii.git] / arch / x86 / include / asm / device.h
blob684ed6c3aa679d15dac80a48cd832ecf721b52dd
1 #ifndef _ASM_X86_DEVICE_H
2 #define _ASM_X86_DEVICE_H
4 struct dev_archdata {
5 #ifdef CONFIG_X86_DEV_DMA_OPS
6 struct dma_map_ops *dma_ops;
7 #endif
8 #if defined(CONFIG_INTEL_IOMMU) || defined(CONFIG_AMD_IOMMU)
9 void *iommu; /* hook for IOMMU specific extension */
10 #endif
13 #if defined(CONFIG_X86_DEV_DMA_OPS) && defined(CONFIG_PCI_DOMAINS)
14 struct dma_domain {
15 struct list_head node;
16 struct dma_map_ops *dma_ops;
17 int domain_nr;
19 void add_dma_domain(struct dma_domain *domain);
20 void del_dma_domain(struct dma_domain *domain);
21 #endif
23 struct pdev_archdata {
26 #endif /* _ASM_X86_DEVICE_H */