Home
last modified time | relevance | path

Searched refs:pe_no (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/arch/powerpc/platforms/powernv/
Dpci.c554 static void pnv_pci_handle_eeh_config(struct pnv_phb *phb, u32 pe_no) in pnv_pci_handle_eeh_config() argument
569 pe_no, in pnv_pci_handle_eeh_config()
573 pe_no, in pnv_pci_handle_eeh_config()
579 pe_no); in pnv_pci_handle_eeh_config()
601 unsigned int pe_no; in pnv_pci_config_check_eeh() local
609 pe_no = pdn->pe_number; in pnv_pci_config_check_eeh()
610 if (pe_no == IODA_INVALID_PE) { in pnv_pci_config_check_eeh()
611 pe_no = phb->ioda.reserved_pe_idx; in pnv_pci_config_check_eeh()
619 fstate = phb->get_pe_state(phb, pe_no); in pnv_pci_config_check_eeh()
622 pe_no, in pnv_pci_config_check_eeh()
[all …]
Dpci.h113 int (*get_pe_state)(struct pnv_phb *phb, int pe_no);
114 void (*freeze_pe)(struct pnv_phb *phb, int pe_no);
115 int (*unfreeze_pe)(struct pnv_phb *phb, int pe_no, int opt);
Dpci-ioda.c137 static struct pnv_ioda_pe *pnv_ioda_init_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_init_pe() argument
141 phb->ioda.pe_array[pe_no].phb = phb; in pnv_ioda_init_pe()
142 phb->ioda.pe_array[pe_no].pe_number = pe_no; in pnv_ioda_init_pe()
149 rc = opal_pci_eeh_freeze_clear(phb->opal_id, pe_no, in pnv_ioda_init_pe()
153 __func__, rc, phb->hose->global_number, pe_no); in pnv_ioda_init_pe()
155 return &phb->ioda.pe_array[pe_no]; in pnv_ioda_init_pe()
158 static void pnv_ioda_reserve_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_reserve_pe() argument
160 if (!(pe_no >= 0 && pe_no < phb->ioda.total_pe_num)) { in pnv_ioda_reserve_pe()
162 __func__, pe_no, phb->hose->global_number); in pnv_ioda_reserve_pe()
166 if (test_and_set_bit(pe_no, phb->ioda.pe_alloc)) in pnv_ioda_reserve_pe()
[all …]
Deeh-powernv.c125 int pe_no, type, func; in pnv_eeh_ei_write() local
140 &pe_no, &type, &func, &addr, &mask); in pnv_eeh_ei_write()
145 pe = eeh_pe_get(hose, pe_no, 0); in pnv_eeh_ei_write()
1381 u16 pe_no, struct eeh_pe **pe) in pnv_eeh_get_pe() argument
1392 pnv_pe = &phb->ioda.pe_array[pe_no]; in pnv_eeh_get_pe()
1397 pe_no = pnv_pe->pe_number; in pnv_eeh_get_pe()
1401 dev_pe = eeh_pe_get(hose, pe_no, 0); in pnv_eeh_get_pe()
1408 phb->freeze_pe(phb, pe_no); in pnv_eeh_get_pe()
/Linux-v5.4/arch/powerpc/kernel/
Deeh_pe.c263 int pe_no; member
280 if (tmp->pe_no == pe->addr) in __eeh_pe_get()
283 if (tmp->pe_no && in __eeh_pe_get()
284 (tmp->pe_no == pe->addr)) in __eeh_pe_get()
310 int pe_no, int config_addr) in eeh_pe_get() argument
313 struct eeh_pe_get_flag tmp = { pe_no, config_addr }; in eeh_pe_get()
Deeh.c1824 uint32_t phbid, pe_no; in eeh_force_recover_write() local
1844 ret = sscanf(buf, "%x:%x", &phbid, &pe_no); in eeh_force_recover_write()
1853 pe = eeh_pe_get(hose, pe_no, 0); in eeh_force_recover_write()
/Linux-v5.4/arch/powerpc/include/asm/
Deeh.h284 int pe_no, int config_addr);
Dopal.h93 int64_t opal_pci_err_inject(uint64_t phb_id, uint32_t pe_no, uint32_t type,