Lines Matching refs:pe
74 struct eeh_pe *physfn_pe = pci_dev_to_eeh_dev(pdev->physfn)->pe; in pseries_pcibios_bus_add_device()
343 if (parent->pe) in pseries_eeh_pe_get_parent()
344 return parent->pe; in pseries_eeh_pe_get_parent()
364 struct eeh_pe pe, *parent; in pseries_eeh_init_edev() local
388 if (edev->pe) in pseries_eeh_init_edev()
431 memset(&pe, 0, sizeof(struct eeh_pe)); in pseries_eeh_init_edev()
432 pe.phb = pdn->phb; in pseries_eeh_init_edev()
433 pe.addr = ret; in pseries_eeh_init_edev()
436 ret = eeh_ops->set_option(&pe, EEH_OPT_ENABLE); in pseries_eeh_init_edev()
442 edev->pe_config_addr = pe.addr; in pseries_eeh_init_edev()
471 if (!edev || !edev->pe) in pseries_eeh_probe()
508 static int pseries_eeh_set_option(struct eeh_pe *pe, int option) in pseries_eeh_set_option() argument
533 pe->addr, BUID_HI(pe->phb->buid), in pseries_eeh_set_option()
534 BUID_LO(pe->phb->buid), option); in pseries_eeh_set_option()
552 static int pseries_eeh_get_state(struct eeh_pe *pe, int *delay) in pseries_eeh_get_state() argument
560 pe->addr, BUID_HI(pe->phb->buid), in pseries_eeh_get_state()
561 BUID_LO(pe->phb->buid)); in pseries_eeh_get_state()
566 pe->addr, BUID_HI(pe->phb->buid), in pseries_eeh_get_state()
567 BUID_LO(pe->phb->buid)); in pseries_eeh_get_state()
618 static int pseries_eeh_reset(struct eeh_pe *pe, int option) in pseries_eeh_reset() argument
620 return pseries_eeh_phb_reset(pe->phb, pe->addr, option); in pseries_eeh_reset()
634 static int pseries_eeh_get_log(struct eeh_pe *pe, int severity, char *drv_log, unsigned long len) in pseries_eeh_get_log() argument
642 ret = rtas_call(ibm_slot_error_detail, 8, 1, NULL, pe->addr, in pseries_eeh_get_log()
643 BUID_HI(pe->phb->buid), BUID_LO(pe->phb->buid), in pseries_eeh_get_log()
659 static int pseries_eeh_configure_bridge(struct eeh_pe *pe) in pseries_eeh_configure_bridge() argument
661 return pseries_eeh_phb_configure_bridge(pe->phb, pe->addr); in pseries_eeh_configure_bridge()