Lines Matching full:pe
29 #define PNV_IODA_PE_DEV (1 << 0) /* PE has single PCI device */
30 #define PNV_IODA_PE_BUS (1 << 1) /* PE has primary PCI bus */
31 #define PNV_IODA_PE_BUS_ALL (1 << 2) /* PE has subordinate buses */
32 #define PNV_IODA_PE_MASTER (1 << 3) /* Master PE in compound case */
33 #define PNV_IODA_PE_SLAVE (1 << 4) /* Slave PE in compound case */
34 #define PNV_IODA_PE_VF (1 << 5) /* PE for one VF */
41 * (and PE) that initiated a DMA. In legacy PCI individual memory read/write
51 * bus of the bridge should go into the same PE.
54 /* Indicates operations are frozen for a PE: MMIO in PESTA & DMA in PESTB. */
57 /* Data associated with a PE, including IOMMU tracking etc.. */
64 /* A PE can be associated with a single device or an
74 /* Effective RID (device RID for a device PE and base bus
75 * RID with devfn 0 for a bus PE)
79 /* PE number */
91 * Used to track whether we've done DMA setup for this PE or not. We
93 * non-bridge device to the PE.
99 * PE number)
107 /* Link in list of PE#s */
165 /* PE allocation */
183 /* Sorted list of used PE's based
199 /* IODA PE management */
221 int pnv_ioda_configure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
222 int pnv_ioda_deconfigure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
224 void pnv_pci_ioda2_setup_dma_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
225 void pnv_pci_ioda2_release_pe_dma(struct pnv_ioda_pe *pe);
228 void pnv_ioda_free_pe(struct pnv_ioda_pe *pe);
232 * For SR-IOV we want to put each VF's MMIO resource in to a separate PE.
233 * This requires a bit of acrobatics with the MMIO -> PE configuration
243 /* Did we map the VF BAR with single-PE IODA BARs? */
249 * the allocated PE.
309 extern void pe_level_printk(const struct pnv_ioda_pe *pe, const char *level,
311 #define pe_err(pe, fmt, ...) \ argument
312 pe_level_printk(pe, KERN_ERR, fmt, ##__VA_ARGS__)
313 #define pe_warn(pe, fmt, ...) \ argument
314 pe_level_printk(pe, KERN_WARNING, fmt, ##__VA_ARGS__)
315 #define pe_info(pe, fmt, ...) \ argument
316 pe_level_printk(pe, KERN_INFO, fmt, ##__VA_ARGS__)