Home
last modified time | relevance | path

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

/linux-4.4.14/arch/powerpc/platforms/powernv/
Dpci.c328 static void pnv_pci_handle_eeh_config(struct pnv_phb *phb, u32 pe_no) in pnv_pci_handle_eeh_config() argument
343 pe_no, in pnv_pci_handle_eeh_config()
347 pe_no, in pnv_pci_handle_eeh_config()
353 pe_no); in pnv_pci_handle_eeh_config()
375 int pe_no; in pnv_pci_config_check_eeh() local
383 pe_no = pdn->pe_number; in pnv_pci_config_check_eeh()
384 if (pe_no == IODA_INVALID_PE) { in pnv_pci_config_check_eeh()
386 pe_no = 0; in pnv_pci_config_check_eeh()
388 pe_no = phb->ioda.reserved_pe; in pnv_pci_config_check_eeh()
396 fstate = phb->get_pe_state(phb, pe_no); in pnv_pci_config_check_eeh()
[all …]
Dpci.h114 int (*get_pe_state)(struct pnv_phb *phb, int pe_no);
115 void (*freeze_pe)(struct pnv_phb *phb, int pe_no);
116 int (*unfreeze_pe)(struct pnv_phb *phb, int pe_no, int opt);
Dpci-ioda.c135 static void pnv_ioda_reserve_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_reserve_pe() argument
137 if (!(pe_no >= 0 && pe_no < phb->ioda.total_pe)) { in pnv_ioda_reserve_pe()
139 __func__, pe_no, phb->hose->global_number); in pnv_ioda_reserve_pe()
143 if (test_and_set_bit(pe_no, phb->ioda.pe_alloc)) in pnv_ioda_reserve_pe()
145 __func__, pe_no, phb->hose->global_number); in pnv_ioda_reserve_pe()
147 phb->ioda.pe_array[pe_no].phb = phb; in pnv_ioda_reserve_pe()
148 phb->ioda.pe_array[pe_no].pe_number = pe_no; in pnv_ioda_reserve_pe()
380 static void pnv_ioda_freeze_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_freeze_pe() argument
382 struct pnv_ioda_pe *pe = &phb->ioda.pe_array[pe_no]; in pnv_ioda_freeze_pe()
392 pe_no = pe->pe_number; in pnv_ioda_freeze_pe()
[all …]
Deeh-powernv.c111 int pe_no, type, func; in pnv_eeh_ei_write() local
126 &pe_no, &type, &func, &addr, &mask); in pnv_eeh_ei_write()
135 edev->pe_config_addr = pe_no; in pnv_eeh_ei_write()
1211 u16 pe_no, struct eeh_pe **pe) in pnv_eeh_get_pe() argument
1223 pnv_pe = &phb->ioda.pe_array[pe_no]; in pnv_eeh_get_pe()
1228 pe_no = pnv_pe->pe_number; in pnv_eeh_get_pe()
1234 edev.pe_config_addr = pe_no; in pnv_eeh_get_pe()
1242 phb->freeze_pe(phb, pe_no); in pnv_eeh_get_pe()
/linux-4.4.14/arch/powerpc/include/asm/
Dopal.h82 int64_t opal_pci_err_inject(uint64_t phb_id, uint32_t pe_no, uint32_t type,