| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Arch specific extensions to struct device |
|---|
| 3 | | - * |
|---|
| 4 | | - * This file is released under the GPLv2 |
|---|
| 5 | 4 | */ |
|---|
| 6 | 5 | #ifndef _ASM_POWERPC_DEVICE_H |
|---|
| 7 | 6 | #define _ASM_POWERPC_DEVICE_H |
|---|
| .. | .. |
|---|
| 30 | 29 | struct iommu_table *iommu_table_base; |
|---|
| 31 | 30 | #endif |
|---|
| 32 | 31 | |
|---|
| 33 | | -#ifdef CONFIG_IOMMU_API |
|---|
| 34 | | - void *iommu_domain; |
|---|
| 35 | | -#endif |
|---|
| 36 | | -#ifdef CONFIG_SWIOTLB |
|---|
| 37 | | - dma_addr_t max_direct_dma_addr; |
|---|
| 38 | | -#endif |
|---|
| 39 | 32 | #ifdef CONFIG_PPC64 |
|---|
| 40 | 33 | struct pci_dn *pci_data; |
|---|
| 41 | 34 | #endif |
|---|
| .. | .. |
|---|
| 48 | 41 | #ifdef CONFIG_CXL_BASE |
|---|
| 49 | 42 | struct cxl_context *cxl_ctx; |
|---|
| 50 | 43 | #endif |
|---|
| 44 | +#ifdef CONFIG_PCI_IOV |
|---|
| 45 | + void *iov_data; |
|---|
| 46 | +#endif |
|---|
| 51 | 47 | }; |
|---|
| 52 | 48 | |
|---|
| 53 | 49 | struct pdev_archdata { |
|---|
| 54 | 50 | u64 dma_mask; |
|---|
| 55 | 51 | }; |
|---|
| 56 | | - |
|---|
| 57 | | -#define ARCH_HAS_DMA_GET_REQUIRED_MASK |
|---|
| 58 | 52 | |
|---|
| 59 | 53 | #endif /* _ASM_POWERPC_DEVICE_H */ |
|---|