| /* SPDX-License-Identifier: GPL-2.0-only */ |
| * Arch specific extensions to struct device |
| #ifndef _ASM_POWERPC_DEVICE_H |
| #define _ASM_POWERPC_DEVICE_H |
| * Arch extensions to struct device. |
| * When adding fields, consider macio_add_one_device in |
| * drivers/macintosh/macio_asic.c |
| * Set to %true if the dma_iommu_ops are requested to use a direct |
| * window instead of dynamically mapping memory. |
| * These two used to be a union. However, with the hybrid ops we need |
| * both so here we store both a DMA offset for direct mappings and |
| * an iommu_table for remapped DMA. |
| struct iommu_table *iommu_table_base; |
| struct cxl_context *cxl_ctx; |
| #endif /* _ASM_POWERPC_DEVICE_H */ |