Searched refs:pe_no (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | pci.c | 560 static void pnv_pci_handle_eeh_config(struct pnv_phb *phb, u32 pe_no) in pnv_pci_handle_eeh_config() argument 575 pe_no, in pnv_pci_handle_eeh_config() 579 pe_no, in pnv_pci_handle_eeh_config() 585 pe_no); in pnv_pci_handle_eeh_config() 607 unsigned int pe_no; in pnv_pci_config_check_eeh() local 615 pe_no = pdn->pe_number; in pnv_pci_config_check_eeh() 616 if (pe_no == IODA_INVALID_PE) { in pnv_pci_config_check_eeh() 617 pe_no = phb->ioda.reserved_pe_idx; in pnv_pci_config_check_eeh() 625 fstate = phb->get_pe_state(phb, pe_no); in pnv_pci_config_check_eeh() 628 pe_no, in pnv_pci_config_check_eeh() [all …]
|
D | pci.h | 123 int (*get_pe_state)(struct pnv_phb *phb, int pe_no); 124 void (*freeze_pe)(struct pnv_phb *phb, int pe_no); 125 int (*unfreeze_pe)(struct pnv_phb *phb, int pe_no, int opt);
|
D | pci-ioda.c | 140 static struct pnv_ioda_pe *pnv_ioda_init_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_init_pe() argument 144 phb->ioda.pe_array[pe_no].phb = phb; in pnv_ioda_init_pe() 145 phb->ioda.pe_array[pe_no].pe_number = pe_no; in pnv_ioda_init_pe() 152 rc = opal_pci_eeh_freeze_clear(phb->opal_id, pe_no, in pnv_ioda_init_pe() 156 __func__, rc, phb->hose->global_number, pe_no); in pnv_ioda_init_pe() 158 return &phb->ioda.pe_array[pe_no]; in pnv_ioda_init_pe() 161 static void pnv_ioda_reserve_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_reserve_pe() argument 163 if (!(pe_no >= 0 && pe_no < phb->ioda.total_pe_num)) { in pnv_ioda_reserve_pe() 165 __func__, pe_no, phb->hose->global_number); in pnv_ioda_reserve_pe() 169 if (test_and_set_bit(pe_no, phb->ioda.pe_alloc)) in pnv_ioda_reserve_pe() [all …]
|
D | eeh-powernv.c | 133 int pe_no, type, func; in pnv_eeh_ei_write() local 148 &pe_no, &type, &func, &addr, &mask); in pnv_eeh_ei_write() 153 pe = eeh_pe_get(hose, pe_no, 0); in pnv_eeh_ei_write() 1401 u16 pe_no, struct eeh_pe **pe) in pnv_eeh_get_pe() argument 1412 pnv_pe = &phb->ioda.pe_array[pe_no]; in pnv_eeh_get_pe() 1417 pe_no = pnv_pe->pe_number; in pnv_eeh_get_pe() 1421 dev_pe = eeh_pe_get(hose, pe_no, 0); in pnv_eeh_get_pe() 1428 phb->freeze_pe(phb, pe_no); in pnv_eeh_get_pe()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | eeh_pe.c | 233 int pe_no; member 250 if (tmp->pe_no == pe->addr) in __eeh_pe_get() 253 if (tmp->pe_no && in __eeh_pe_get() 254 (tmp->pe_no == pe->addr)) in __eeh_pe_get() 280 int pe_no, int config_addr) in eeh_pe_get() argument 283 struct eeh_pe_get_flag tmp = { pe_no, config_addr }; in eeh_pe_get()
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | eeh.h | 276 int pe_no, int config_addr);
|
D | opal.h | 96 int64_t opal_pci_err_inject(uint64_t phb_id, uint32_t pe_no, uint32_t type,
|