Lines Matching refs:phb
63 buid = pdn->phb->buid; in rtas_pci_dn_read_config()
114 buid = pdn->phb->buid; in rtas_pci_dn_write_config()
200 unsigned long get_phb_buid(struct device_node *phb) in get_phb_buid() argument
206 if (of_address_to_resource(phb, 0, &r)) in get_phb_buid()
212 struct pci_controller *phb) in phb_set_bus_ranges() argument
222 phb->first_busno = be32_to_cpu(bus_range[0]); in phb_set_bus_ranges()
223 phb->last_busno = be32_to_cpu(bus_range[1]); in phb_set_bus_ranges()
228 int rtas_setup_phb(struct pci_controller *phb) in rtas_setup_phb() argument
230 struct device_node *dev = phb->dn; in rtas_setup_phb()
235 if (phb_set_bus_ranges(dev, phb)) in rtas_setup_phb()
238 phb->ops = &rtas_pci_ops; in rtas_setup_phb()
239 phb->buid = get_phb_buid(dev); in rtas_setup_phb()