pci.h (fbfe07d440f2c55070a0358f66560bb4f9fb92e7) | pci.h (71ba41c9b1d91042960e9d92a5c8f52dc8531eda) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __ASM_S390_PCI_H 3#define __ASM_S390_PCI_H 4 5/* must be set before including pci_clp.h */ 6#define PCI_BAR_COUNT 6 7 8#include <linux/pci.h> --- 72 unchanged lines hidden (view full) --- 81 ZPCI_FN_STATE_STANDBY = 0, 82 ZPCI_FN_STATE_CONFIGURED = 1, 83 ZPCI_FN_STATE_RESERVED = 2, 84 ZPCI_FN_STATE_ONLINE = 3, 85}; 86 87struct zpci_bar_struct { 88 struct resource *res; /* bus resource */ | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __ASM_S390_PCI_H 3#define __ASM_S390_PCI_H 4 5/* must be set before including pci_clp.h */ 6#define PCI_BAR_COUNT 6 7 8#include <linux/pci.h> --- 72 unchanged lines hidden (view full) --- 81 ZPCI_FN_STATE_STANDBY = 0, 82 ZPCI_FN_STATE_CONFIGURED = 1, 83 ZPCI_FN_STATE_RESERVED = 2, 84 ZPCI_FN_STATE_ONLINE = 3, 85}; 86 87struct zpci_bar_struct { 88 struct resource *res; /* bus resource */ |
89 void __iomem *mio_wb; 90 void __iomem *mio_wt; |
|
89 u32 val; /* bar start & 3 flag bits */ 90 u16 map_idx; /* index into bar mapping array */ 91 u8 size; /* order 2 exponent */ 92}; 93 94struct s390_domain; 95 96/* Private data per function */ --- 33 unchanged lines hidden (view full) --- 130 unsigned long *lazy_bitmap; 131 unsigned long iommu_size; 132 unsigned long iommu_pages; 133 unsigned int next_bit; 134 135 struct iommu_device iommu_dev; /* IOMMU core handle */ 136 137 char res_name[16]; | 91 u32 val; /* bar start & 3 flag bits */ 92 u16 map_idx; /* index into bar mapping array */ 93 u8 size; /* order 2 exponent */ 94}; 95 96struct s390_domain; 97 98/* Private data per function */ --- 33 unchanged lines hidden (view full) --- 132 unsigned long *lazy_bitmap; 133 unsigned long iommu_size; 134 unsigned long iommu_pages; 135 unsigned int next_bit; 136 137 struct iommu_device iommu_dev; /* IOMMU core handle */ 138 139 char res_name[16]; |
140 bool mio_capable; |
|
138 struct zpci_bar_struct bars[PCI_BAR_COUNT]; 139 140 u64 start_dma; /* Start of available DMA addresses */ 141 u64 end_dma; /* End of available DMA addresses */ 142 u64 dma_mask; /* DMA address space mask */ 143 144 /* Function measurement block */ 145 struct zpci_fmb *fmb; --- 116 unchanged lines hidden --- | 141 struct zpci_bar_struct bars[PCI_BAR_COUNT]; 142 143 u64 start_dma; /* Start of available DMA addresses */ 144 u64 end_dma; /* End of available DMA addresses */ 145 u64 dma_mask; /* DMA address space mask */ 146 147 /* Function measurement block */ 148 struct zpci_fmb *fmb; --- 116 unchanged lines hidden --- |