Lines Matching refs:phb
46 static struct eeh_pe *eeh_pe_alloc(struct pci_controller *phb, int type) in eeh_pe_alloc() argument
63 pe->phb = phb; in eeh_pe_alloc()
79 int eeh_phb_pe_create(struct pci_controller *phb) in eeh_phb_pe_create() argument
84 pe = eeh_pe_alloc(phb, EEH_PE_PHB); in eeh_phb_pe_create()
93 pr_debug("EEH: Add PE for PHB#%x\n", phb->global_number); in eeh_phb_pe_create()
157 struct eeh_pe *eeh_phb_pe_get(struct pci_controller *phb) in eeh_phb_pe_get() argument
167 if ((pe->type & EEH_PE_PHB) && pe->phb == phb) in eeh_phb_pe_get()
309 struct eeh_pe *eeh_pe_get(struct pci_controller *phb, in eeh_pe_get() argument
312 struct eeh_pe *root = eeh_phb_pe_get(phb); in eeh_pe_get()
385 pe = eeh_pe_get(pdn->phb, edev->pe_config_addr, config_addr); in eeh_add_to_parent_pe()
419 pe = eeh_pe_alloc(pdn->phb, EEH_PE_VF); in eeh_add_to_parent_pe()
421 pe = eeh_pe_alloc(pdn->phb, EEH_PE_DEVICE); in eeh_add_to_parent_pe()
437 parent = eeh_phb_pe_get(pdn->phb); in eeh_add_to_parent_pe()
440 __func__, pdn->phb->global_number); in eeh_add_to_parent_pe()
927 return pe->phb->bus; in eeh_pe_bus_get()