Lines Matching full:pe

25 #define PNV_IODA_PE_DEV		(1 << 0)	/* PE has single PCI device	*/
26 #define PNV_IODA_PE_BUS (1 << 1) /* PE has primary PCI bus */
27 #define PNV_IODA_PE_BUS_ALL (1 << 2) /* PE has subordinate buses */
28 #define PNV_IODA_PE_MASTER (1 << 3) /* Master PE in compound case */
29 #define PNV_IODA_PE_SLAVE (1 << 4) /* Slave PE in compound case */
30 #define PNV_IODA_PE_VF (1 << 5) /* PE for one VF */
37 * (and PE) that initiated a DMA. In legacy PCI individual memory read/write
47 * bus of the bridge should go into the same PE.
50 /* Indicates operations are frozen for a PE: MMIO in PESTA & DMA in PESTB. */
53 /* Data associated with a PE, including IOMMU tracking etc.. */
60 /* A PE can be associated with a single device or an
70 /* Effective RID (device RID for a device PE and base bus
71 * RID with devfn 0 for a bus PE)
75 /* PE number */
86 * Used to track whether we've done DMA setup for this PE or not. We
88 * non-bridge device to the PE.
94 * PE number)
102 /* Link in list of PE#s */
155 /* PE allocation */
169 /* Sorted list of used PE's based
185 /* IODA PE management */
207 int pnv_ioda_configure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
208 int pnv_ioda_deconfigure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
210 void pnv_pci_ioda2_setup_dma_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
211 void pnv_pci_ioda2_release_pe_dma(struct pnv_ioda_pe *pe);
214 void pnv_ioda_free_pe(struct pnv_ioda_pe *pe);
218 * For SR-IOV we want to put each VF's MMIO resource in to a separate PE.
219 * This requires a bit of acrobatics with the MMIO -> PE configuration
229 /* Did we map the VF BAR with single-PE IODA BARs? */
235 * the allocated PE.
290 extern void pe_level_printk(const struct pnv_ioda_pe *pe, const char *level,
292 #define pe_err(pe, fmt, ...) \ argument
293 pe_level_printk(pe, KERN_ERR, fmt, ##__VA_ARGS__)
294 #define pe_warn(pe, fmt, ...) \ argument
295 pe_level_printk(pe, KERN_WARNING, fmt, ##__VA_ARGS__)
296 #define pe_info(pe, fmt, ...) \ argument
297 pe_level_printk(pe, KERN_INFO, fmt, ##__VA_ARGS__)