Home
last modified time | relevance | path

Searched refs:phb (Results 1 – 5 of 5) 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()
88 struct pci_controller *phb = bus ? pci_bus_to_host(bus) : NULL; in pci_bus_to_afu() local
90 return phb ? phb->private_data : NULL; in pci_bus_to_afu()
211 struct pci_controller *phb; in cxl_pci_vphb_add() local
237 phb = pcibios_alloc_controller(vphb_dn); in cxl_pci_vphb_add()
238 if (!phb) in cxl_pci_vphb_add()
242 phb->parent = parent; in cxl_pci_vphb_add()
245 phb->ops = &cxl_pcie_pci_ops; in cxl_pci_vphb_add()
[all …]
Dpci.c1809 if (afu == NULL || afu->phb == NULL) in cxl_vphb_error_detected()
1812 list_for_each_entry(afu_dev, &afu->phb->bus->devices, bus_list) { in cxl_vphb_error_detected()
2007 if (afu->phb == NULL) in cxl_pci_slot_reset()
2010 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.c24 if (afu->phb == NULL) in pci_error_handlers()
27 list_for_each_entry(afu_dev, &afu->phb->bus->devices, bus_list) { in pci_error_handlers()
Dcxl.h503 struct pci_controller *phb; member
/drivers/pci/hotplug/
Drpadlpar_core.c140 struct pci_controller *phb = pdn->phb; in dlpar_pci_add_bus() local
146 dev = of_create_pci_dev(dn, phb->bus, pdn->devfn); in dlpar_pci_add_bus()
165 pcibios_finish_adding_to_bus(phb->bus); in dlpar_pci_add_bus()
171 struct pci_controller *phb; in dlpar_add_pci_slot() local
180 phb = PCI_DN(dn)->phb; in dlpar_add_pci_slot()
181 dev = dlpar_find_new_dev(phb->bus, dn); in dlpar_add_pci_slot()
222 BUG_ON(!pdn || !pdn->phb); in dlpar_remove_phb()
223 rc = remove_phb_dynamic(pdn->phb); in dlpar_remove_phb()
227 pdn->phb = NULL; in dlpar_remove_phb()
234 struct pci_controller *phb; in dlpar_add_phb() local
[all …]