Home
last modified time | relevance | path

Searched refs:pecc (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/pci-host/
H A Dpnv_phb4_pec.c206 PnvPhb4PecClass *pecc = PNV_PHB4_PEC_GET_CLASS(pec); in pnv_pec_realize() local
215 pec->num_phbs = pecc->num_phbs[pec->index]; in pnv_pec_realize()
230 if (pecc->version == PNV_PHB4_VERSION) { in pnv_pec_realize()
241 } else if (pecc->version == PNV_PHB5_VERSION) { in pnv_pec_realize()
280 PnvPhb4PecClass *pecc = PNV_PHB4_PEC_GET_CLASS(dev); in pnv_pec_dt_xscom() local
281 uint32_t nbase = pecc->xscom_nest_base(pec); in pnv_pec_dt_xscom()
282 uint32_t pbase = pecc->xscom_pci_base(pec); in pnv_pec_dt_xscom()
287 cpu_to_be32(pecc->xscom_nest_size), in pnv_pec_dt_xscom()
289 cpu_to_be32(pecc->xscom_pci_size), in pnv_pec_dt_xscom()
302 _FDT((fdt_setprop(fdt, offset, "compatible", pecc->compat, in pnv_pec_dt_xscom()
[all …]
H A Dpnv_phb4.c873 PnvPhb4PecClass *pecc = PNV_PHB4_PEC_GET_CLASS(pec); in pnv_phb4_get_phb_stack_no() local
878 stack_no -= pecc->num_phbs[index]; in pnv_phb4_get_phb_stack_no()
1385 PnvPhb4PecClass *pecc = PNV_PHB4_PEC_GET_CLASS(pec); in pnv_phb4_pec_get_phb_id() local
1390 offset += pecc->num_phbs[index]; in pnv_phb4_pec_get_phb_id()
1488 PnvPhb4PecClass *pecc = PNV_PHB4_PEC_GET_CLASS(pec); in pnv_phb4_xscom_realize() local
1515 pec_nest_base = pecc->xscom_nest_base(pec); in pnv_phb4_xscom_realize()
1516 pec_pci_base = pecc->xscom_pci_base(pec); in pnv_phb4_xscom_realize()