Searched refs:pe_no (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | pci.c | 328 static void pnv_pci_handle_eeh_config(struct pnv_phb *phb, u32 pe_no) pnv_pci_handle_eeh_config() argument 343 pe_no, pnv_pci_handle_eeh_config() 347 pe_no, pnv_pci_handle_eeh_config() 353 pe_no); pnv_pci_handle_eeh_config() 375 int pe_no; pnv_pci_config_check_eeh() local 383 pe_no = pdn->pe_number; pnv_pci_config_check_eeh() 384 if (pe_no == IODA_INVALID_PE) { pnv_pci_config_check_eeh() 386 pe_no = 0; pnv_pci_config_check_eeh() 388 pe_no = phb->ioda.reserved_pe; pnv_pci_config_check_eeh() 396 fstate = phb->get_pe_state(phb, pe_no); pnv_pci_config_check_eeh() 399 pe_no, pnv_pci_config_check_eeh() 405 __func__, rc, phb->hose->global_number, pe_no); pnv_pci_config_check_eeh() 411 (pdn->busno << 8) | (pdn->devfn), pe_no, fstate); pnv_pci_config_check_eeh() 422 phb->freeze_pe(phb, pe_no); pnv_pci_config_check_eeh() 424 pnv_pci_handle_eeh_config(phb, pe_no); pnv_pci_config_check_eeh()
|
H A D | pci.h | 114 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);
|
H A D | pci-ioda.c | 135 static void pnv_ioda_reserve_pe(struct pnv_phb *phb, int pe_no) pnv_ioda_reserve_pe() argument 137 if (!(pe_no >= 0 && pe_no < phb->ioda.total_pe)) { pnv_ioda_reserve_pe() 139 __func__, pe_no, phb->hose->global_number); pnv_ioda_reserve_pe() 143 if (test_and_set_bit(pe_no, phb->ioda.pe_alloc)) pnv_ioda_reserve_pe() 145 __func__, pe_no, phb->hose->global_number); pnv_ioda_reserve_pe() 147 phb->ioda.pe_array[pe_no].phb = phb; pnv_ioda_reserve_pe() 148 phb->ioda.pe_array[pe_no].pe_number = pe_no; pnv_ioda_reserve_pe() 380 static void pnv_ioda_freeze_pe(struct pnv_phb *phb, int pe_no) pnv_ioda_freeze_pe() argument 382 struct pnv_ioda_pe *pe = &phb->ioda.pe_array[pe_no]; pnv_ioda_freeze_pe() 392 pe_no = pe->pe_number; pnv_ioda_freeze_pe() 397 pe_no, pnv_ioda_freeze_pe() 401 __func__, rc, phb->hose->global_number, pe_no); pnv_ioda_freeze_pe() 420 static int pnv_ioda_unfreeze_pe(struct pnv_phb *phb, int pe_no, int opt) pnv_ioda_unfreeze_pe() argument 426 pe = &phb->ioda.pe_array[pe_no]; pnv_ioda_unfreeze_pe() 430 pe_no = pe->pe_number; pnv_ioda_unfreeze_pe() 434 rc = opal_pci_eeh_freeze_clear(phb->opal_id, pe_no, opt); pnv_ioda_unfreeze_pe() 437 __func__, rc, opt, phb->hose->global_number, pe_no); pnv_ioda_unfreeze_pe() 460 static int pnv_ioda_get_pe_state(struct pnv_phb *phb, int pe_no) pnv_ioda_get_pe_state() argument 468 if (pe_no < 0 || pe_no >= phb->ioda.total_pe) pnv_ioda_get_pe_state() 475 pe = &phb->ioda.pe_array[pe_no]; pnv_ioda_get_pe_state() 479 pe_no = pe->pe_number; pnv_ioda_get_pe_state() 483 rc = opal_pci_eeh_freeze_status(phb->opal_id, pe_no, pnv_ioda_get_pe_state() 489 phb->hose->global_number, pe_no); pnv_ioda_get_pe_state()
|
H A D | eeh-powernv.c | 111 int pe_no, type, func; pnv_eeh_ei_write() local 126 &pe_no, &type, &func, &addr, &mask); pnv_eeh_ei_write() 135 edev->pe_config_addr = pe_no; pnv_eeh_ei_write() 1211 u16 pe_no, struct eeh_pe **pe) pnv_eeh_get_pe() 1223 pnv_pe = &phb->ioda.pe_array[pe_no]; pnv_eeh_get_pe() 1228 pe_no = pnv_pe->pe_number; pnv_eeh_get_pe() 1234 edev.pe_config_addr = pe_no; pnv_eeh_get_pe() 1242 phb->freeze_pe(phb, pe_no); pnv_eeh_get_pe() 1210 pnv_eeh_get_pe(struct pci_controller *hose, u16 pe_no, struct eeh_pe **pe) pnv_eeh_get_pe() argument
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | opal.h | 82 int64_t opal_pci_err_inject(uint64_t phb_id, uint32_t pe_no, uint32_t type,
|
Completed in 113 milliseconds