Lines Matching refs:phb
57 struct pnv_phb *phb;
126 int (*init_m64)(struct pnv_phb *phb);
127 int (*get_pe_state)(struct pnv_phb *phb, int pe_no);
128 void (*freeze_pe)(struct pnv_phb *phb, int pe_no);
129 int (*unfreeze_pe)(struct pnv_phb *phb, int pe_no, int opt);
186 static inline bool pnv_pci_is_m64(struct pnv_phb *phb, struct resource *r)
195 return (r->start >= phb->ioda.m64_base &&
196 r->start < (phb->ioda.m64_base + phb->ioda.m64_size));
206 int pnv_ioda_configure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
207 int pnv_ioda_deconfigure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
209 void pnv_pci_ioda2_setup_dma_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
212 struct pnv_ioda_pe *pnv_ioda_alloc_pe(struct pnv_phb *phb, int count);
281 extern struct pnv_ioda_pe *pnv_pci_bdfn_to_pe(struct pnv_phb *phb, u16 bdfn);
325 extern unsigned long pnv_ioda_parse_tce_sizes(struct pnv_phb *phb);