Lines Matching full:pe
26 #define PNV_IODA_PE_DEV (1 << 0) /* PE has single PCI device */
27 #define PNV_IODA_PE_BUS (1 << 1) /* PE has primary PCI bus */
28 #define PNV_IODA_PE_BUS_ALL (1 << 2) /* PE has subordinate buses */
29 #define PNV_IODA_PE_MASTER (1 << 3) /* Master PE in compound case */
30 #define PNV_IODA_PE_SLAVE (1 << 4) /* Slave PE in compound case */
31 #define PNV_IODA_PE_VF (1 << 5) /* PE for one VF */
38 * (and PE) that initiated a DMA. In legacy PCI individual memory read/write
48 * bus of the bridge should go into the same PE.
51 /* Indicates operations are frozen for a PE: MMIO in PESTA & DMA in PESTB. */
54 /* Data associated with a PE, including IOMMU tracking etc.. */
61 /* A PE can be associated with a single device or an
71 /* Effective RID (device RID for a device PE and base bus
72 * RID with devfn 0 for a bus PE)
76 /* PE number */
87 * Used to track whether we've done DMA setup for this PE or not. We
89 * non-bridge device to the PE.
95 * PE number)
103 /* Link in list of PE#s */
156 /* PE allocation */
174 /* Sorted list of used PE's based
190 /* IODA PE management */
212 int pnv_ioda_configure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
213 int pnv_ioda_deconfigure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
215 void pnv_pci_ioda2_setup_dma_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
216 void pnv_pci_ioda2_release_pe_dma(struct pnv_ioda_pe *pe);
219 void pnv_ioda_free_pe(struct pnv_ioda_pe *pe);
223 * For SR-IOV we want to put each VF's MMIO resource in to a separate PE.
224 * This requires a bit of acrobatics with the MMIO -> PE configuration
234 /* Did we map the VF BAR with single-PE IODA BARs? */
240 * the allocated PE.
296 extern void pe_level_printk(const struct pnv_ioda_pe *pe, const char *level,
298 #define pe_err(pe, fmt, ...) \ argument
299 pe_level_printk(pe, KERN_ERR, fmt, ##__VA_ARGS__)
300 #define pe_warn(pe, fmt, ...) \ argument
301 pe_level_printk(pe, KERN_WARNING, fmt, ##__VA_ARGS__)
302 #define pe_info(pe, fmt, ...) \ argument
303 pe_level_printk(pe, KERN_INFO, fmt, ##__VA_ARGS__)