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

/linux-master/arch/powerpc/platforms/powernv/
H A Dpci.c488 static void pnv_pci_handle_eeh_config(struct pnv_phb *phb, u32 pe_no) argument
503 pe_no,
507 pe_no,
513 pe_no);
535 unsigned int pe_no; local
543 pe_no = pdn->pe_number;
544 if (pe_no == IODA_INVALID_PE) {
545 pe_no = phb->ioda.reserved_pe_idx;
553 fstate = phb->get_pe_state(phb, pe_no);
556 pe_no,
[all...]
H A Dpci-ioda.c116 static struct pnv_ioda_pe *pnv_ioda_init_pe(struct pnv_phb *phb, int pe_no) argument
120 phb->ioda.pe_array[pe_no].phb = phb;
121 phb->ioda.pe_array[pe_no].pe_number = pe_no;
122 phb->ioda.pe_array[pe_no].dma_setup_done = false;
129 rc = opal_pci_eeh_freeze_clear(phb->opal_id, pe_no,
133 __func__, rc, phb->hose->global_number, pe_no);
135 return &phb->ioda.pe_array[pe_no];
138 static void pnv_ioda_reserve_pe(struct pnv_phb *phb, int pe_no) argument
140 if (!(pe_no >
441 pnv_ioda_freeze_pe(struct pnv_phb *phb, int pe_no) argument
481 pnv_ioda_unfreeze_pe(struct pnv_phb *phb, int pe_no, int opt) argument
521 pnv_ioda_get_pe_state(struct pnv_phb *phb, int pe_no) argument
[all...]
H A Dpci.h127 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);
H A Deeh-powernv.c71 int pe_no, type, func; local
86 &pe_no, &type, &func, &addr, &mask);
91 pe = eeh_pe_get(hose, pe_no);
1341 u16 pe_no, struct eeh_pe **pe)
1352 pnv_pe = &phb->ioda.pe_array[pe_no];
1357 pe_no = pnv_pe->pe_number;
1361 dev_pe = eeh_pe_get(hose, pe_no);
1368 phb->freeze_pe(phb, pe_no);
1340 pnv_eeh_get_pe(struct pci_controller *hose, u16 pe_no, struct eeh_pe **pe) argument
/linux-master/arch/powerpc/kernel/
H A Deeh_pe.c278 * @pe_no: PE number
287 struct eeh_pe *eeh_pe_get(struct pci_controller *phb, int pe_no) argument
291 return eeh_pe_traverse(root, __eeh_pe_get, &pe_no);
H A Deeh.c1645 uint32_t phbid, pe_no; local
1665 ret = sscanf(buf, "%x:%x", &phbid, &pe_no);
1674 pe = eeh_pe_get(hose, pe_no);
/linux-master/arch/powerpc/include/asm/
H A Deeh.h281 struct eeh_pe *eeh_pe_get(struct pci_controller *phb, int pe_no);
H A Dopal.h90 int64_t opal_pci_err_inject(uint64_t phb_id, uint32_t pe_no, uint32_t type,

Completed in 141 milliseconds