Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/misc/cxl/
Dvphb.c45 struct pci_controller *phb; in cxl_pci_enable_device_hook() local
49 phb = pci_bus_to_host(dev->bus); in cxl_pci_enable_device_hook()
50 afu = (struct cxl_afu *)phb->private_data; in cxl_pci_enable_device_hook()
104 struct pci_controller *phb = bus ? pci_bus_to_host(bus) : NULL; in pci_bus_to_afu() local
106 return phb ? phb->private_data : NULL; in pci_bus_to_afu()
228 struct pci_controller *phb; in cxl_pci_vphb_add() local
254 phb = pcibios_alloc_controller(vphb_dn); in cxl_pci_vphb_add()
255 if (!phb) in cxl_pci_vphb_add()
259 phb->parent = parent; in cxl_pci_vphb_add()
262 phb->ops = &cxl_pcie_pci_ops; in cxl_pci_vphb_add()
[all …]
Dpci.c1815 if (afu == NULL || afu->phb == NULL) in cxl_vphb_error_detected()
1818 list_for_each_entry(afu_dev, &afu->phb->bus->devices, bus_list) { in cxl_vphb_error_detected()
2013 if (afu->phb == NULL) in cxl_pci_slot_reset()
2016 list_for_each_entry(afu_dev, &afu->phb->bus->devices, bus_list) { in cxl_pci_slot_reset()
2084 if (afu == NULL || afu->phb == NULL) in cxl_pci_resume()
2087 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.h507 struct pci_controller *phb; member
/linux-4.19.296/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 …]