Searched refs:pe_no (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/arch/powerpc/platforms/powernv/ |
D | pci.c | 488 static void pnv_pci_handle_eeh_config(struct pnv_phb *phb, u32 pe_no) in pnv_pci_handle_eeh_config() argument 503 pe_no, in pnv_pci_handle_eeh_config() 507 pe_no, in pnv_pci_handle_eeh_config() 513 pe_no); in pnv_pci_handle_eeh_config() 535 unsigned int pe_no; in pnv_pci_config_check_eeh() local 543 pe_no = pdn->pe_number; in pnv_pci_config_check_eeh() 544 if (pe_no == IODA_INVALID_PE) { in pnv_pci_config_check_eeh() 545 pe_no = phb->ioda.reserved_pe_idx; in pnv_pci_config_check_eeh() 553 fstate = phb->get_pe_state(phb, pe_no); in pnv_pci_config_check_eeh() 556 pe_no, in pnv_pci_config_check_eeh() [all …]
|
D | pci-ioda.c | 116 static struct pnv_ioda_pe *pnv_ioda_init_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_init_pe() argument 120 phb->ioda.pe_array[pe_no].phb = phb; in pnv_ioda_init_pe() 121 phb->ioda.pe_array[pe_no].pe_number = pe_no; in pnv_ioda_init_pe() 122 phb->ioda.pe_array[pe_no].dma_setup_done = false; in pnv_ioda_init_pe() 129 rc = opal_pci_eeh_freeze_clear(phb->opal_id, pe_no, in pnv_ioda_init_pe() 133 __func__, rc, phb->hose->global_number, pe_no); in pnv_ioda_init_pe() 135 return &phb->ioda.pe_array[pe_no]; in pnv_ioda_init_pe() 138 static void pnv_ioda_reserve_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_reserve_pe() argument 140 if (!(pe_no >= 0 && pe_no < phb->ioda.total_pe_num)) { in pnv_ioda_reserve_pe() 142 __func__, pe_no, phb->hose->global_number); in pnv_ioda_reserve_pe() [all …]
|
D | pci.h | 127 int (*get_pe_state)(struct pnv_phb *phb, int pe_no); 128 void (*freeze_pe)(struct pnv_phb *phb, int pe_no); 129 int (*unfreeze_pe)(struct pnv_phb *phb, int pe_no, int opt);
|
D | eeh-powernv.c | 71 int pe_no, type, func; in pnv_eeh_ei_write() local 86 &pe_no, &type, &func, &addr, &mask); in pnv_eeh_ei_write() 91 pe = eeh_pe_get(hose, pe_no); in pnv_eeh_ei_write() 1340 u16 pe_no, struct eeh_pe **pe) in pnv_eeh_get_pe() argument 1351 pnv_pe = &phb->ioda.pe_array[pe_no]; in pnv_eeh_get_pe() 1356 pe_no = pnv_pe->pe_number; in pnv_eeh_get_pe() 1360 dev_pe = eeh_pe_get(hose, pe_no); in pnv_eeh_get_pe() 1367 phb->freeze_pe(phb, pe_no); in pnv_eeh_get_pe()
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | eeh_pe.c | 287 struct eeh_pe *eeh_pe_get(struct pci_controller *phb, int pe_no) in eeh_pe_get() argument 291 return eeh_pe_traverse(root, __eeh_pe_get, &pe_no); in eeh_pe_get()
|
D | eeh.c | 1732 uint32_t phbid, pe_no; in eeh_force_recover_write() local 1752 ret = sscanf(buf, "%x:%x", &phbid, &pe_no); in eeh_force_recover_write() 1761 pe = eeh_pe_get(hose, pe_no); in eeh_force_recover_write()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | eeh.h | 281 struct eeh_pe *eeh_pe_get(struct pci_controller *phb, int pe_no);
|
D | opal.h | 90 int64_t opal_pci_err_inject(uint64_t phb_id, uint32_t pe_no, uint32_t type,
|