Home
last modified time | relevance | path

Searched refs:phb (Results 1 – 6 of 6) sorted by relevance

/drivers/misc/cxl/
Dvphb.c30 struct pci_controller *phb; in cxl_pci_enable_device_hook() local
34 phb = pci_bus_to_host(dev->bus); in cxl_pci_enable_device_hook()
35 afu = (struct cxl_afu *)phb->private_data; in cxl_pci_enable_device_hook()
82 struct pci_controller *phb = bus ? pci_bus_to_host(bus) : NULL; in pci_bus_to_afu() local
84 return phb ? phb->private_data : NULL; in pci_bus_to_afu()
204 struct pci_controller *phb; in cxl_pci_vphb_add() local
230 phb = pcibios_alloc_controller(vphb_dn); in cxl_pci_vphb_add()
231 if (!phb) in cxl_pci_vphb_add()
235 phb->parent = parent; in cxl_pci_vphb_add()
238 phb->ops = &cxl_pcie_pci_ops; in cxl_pci_vphb_add()
[all …]
Dpci.c1802 if (afu == NULL || afu->phb == NULL) in cxl_vphb_error_detected()
1805 list_for_each_entry(afu_dev, &afu->phb->bus->devices, bus_list) { in cxl_vphb_error_detected()
2004 if (afu->phb == NULL) in cxl_pci_slot_reset()
2007 list_for_each_entry(afu_dev, &afu->phb->bus->devices, bus_list) { in cxl_pci_slot_reset()
2078 if (afu == NULL || afu->phb == NULL) in cxl_pci_resume()
2081 list_for_each_entry(afu_dev, &afu->phb->bus->devices, bus_list) { in cxl_pci_resume()
Dguest.c28 if (afu->phb == NULL) in pci_error_handlers()
31 list_for_each_entry(afu_dev, &afu->phb->bus->devices, bus_list) { in pci_error_handlers()
Dcxl.h505 struct pci_controller *phb; member
/drivers/pci/hotplug/
Drpadlpar_core.c141 struct pci_controller *phb = pdn->phb; in dlpar_pci_add_bus() local
147 dev = of_create_pci_dev(dn, phb->bus, pdn->devfn); in dlpar_pci_add_bus()
166 pcibios_finish_adding_to_bus(phb->bus); in dlpar_pci_add_bus()
172 struct pci_controller *phb; in dlpar_add_pci_slot() local
181 phb = PCI_DN(dn)->phb; in dlpar_add_pci_slot()
182 dev = dlpar_find_new_dev(phb->bus, dn); in dlpar_add_pci_slot()
223 BUG_ON(!pdn || !pdn->phb); in dlpar_remove_phb()
224 rc = remove_phb_dynamic(pdn->phb); in dlpar_remove_phb()
228 pdn->phb = NULL; in dlpar_remove_phb()
235 struct pci_controller *phb; in dlpar_add_phb() local
[all …]
Drpaphp_pci.c78 struct pci_controller *phb = PCI_DN(slot->dn)->phb; in __rpaphp_get_sensor_state() local
87 pdn = list_first_entry_or_null(&PCI_DN(phb->dn)->child_list, in __rpaphp_get_sensor_state()