Home
last modified time | relevance | path

Searched refs:pec (Results 1 – 8 of 8) sorted by relevance

/qemu/hw/pci-host/
H A Dpnv_phb4_pec.c28 (pec)->chip_id, (pec)->index, ## __VA_ARGS__)
38 return pec->nest_regs[reg]; in pnv_pec_nest_xscom_read()
103 return pec->pci_regs[reg]; in pnv_pec_pci_xscom_read()
167 phb->pec = pec; in pnv_pec_add_phb()
168 return pec; in pnv_pec_add_phb()
207 if (pec->index >= PNV_CHIP_GET_CLASS(pec->chip)->num_pecs) { in pnv_pec_realize()
212 pec->num_phbs = pecc->num_phbs[pec->index]; in pnv_pec_realize()
218 pec->phbs[i] = pnv_pec_default_phb_realize(pec, i, errp); in pnv_pec_realize()
224 pec->index); in pnv_pec_realize()
230 pec->index); in pnv_pec_realize()
[all …]
H A Dpnv_phb4.c32 (pec)->chip_id, (pec)->index, ## __VA_ARGS__)
872 PnvPhb4PecState *pec = phb->pec; in pnv_phb4_get_phb_stack_no() local
910 PnvPhb4PecState *pec = phb->pec; in pnv_pec_phb_update_map() local
953 pec->chip_id, pec->index, stack_no); in pnv_pec_phb_update_map()
965 pec->chip_id, pec->index, stack_no); in pnv_pec_phb_update_map()
976 pec->chip_id, pec->index, stack_no); in pnv_pec_phb_update_map()
998 PnvPhb4PecState *pec = phb->pec; in pnv_pec_stk_nest_xscom_write() local
1487 PnvPhb4PecState *pec = phb->pec; in pnv_phb4_xscom_realize() local
1498 pec->chip_id, pec->index, stack_no); in pnv_phb4_xscom_realize()
1504 pec->chip_id, pec->index, stack_no); in pnv_phb4_xscom_realize()
[all …]
H A Dpnv_phb.c146 if (!phb->chip && !phb->pec) { in pnv_phb_realize()
156 object_property_set_link(phb->backend, "pec", OBJECT(phb->pec), errp); in pnv_phb_realize()
193 DEFINE_PROP_LINK("pec", PnvPHB, pec, TYPE_PNV_PHB4_PEC,
H A Dpnv_phb.h30 PnvPhb4PecState *pec; member
/qemu/include/hw/pci-host/
H A Dpnv_phb4.h89 PnvPhb4PecState *pec; member
159 int pnv_phb4_pec_get_phb_id(PnvPhb4PecState *pec, int stack_index);
199 uint32_t (*xscom_nest_base)(PnvPhb4PecState *pec);
201 uint32_t (*xscom_pci_base)(PnvPhb4PecState *pec);
/qemu/include/hw/s390x/
H A Ds390-pci-bus.h210 uint16_t pec; member
223 uint16_t pec; member
235 uint16_t pec; member
393 void s390_pci_generate_error_event(uint16_t pec, uint32_t fh, uint32_t fid,
/qemu/hw/s390x/
H A Ds390-pci-bus.c67 eccdf->pec = cpu_to_be16(sei_cont->pec); in pci_chsc_sei_nt2_get_event()
73 accdf->pec = cpu_to_be16(sei_cont->pec); in pci_chsc_sei_nt2_get_event()
284 static void s390_pci_generate_event(uint8_t cc, uint16_t pec, uint32_t fh, in s390_pci_generate_event() argument
294 sei_cont->pec = pec; in s390_pci_generate_event()
302 static void s390_pci_generate_plug_event(uint16_t pec, uint32_t fh, in s390_pci_generate_plug_event() argument
305 s390_pci_generate_event(2, pec, fh, fid, 0, 0); in s390_pci_generate_plug_event()
308 void s390_pci_generate_error_event(uint16_t pec, uint32_t fh, uint32_t fid, in s390_pci_generate_error_event() argument
311 s390_pci_generate_event(1, pec, fh, fid, faddr, e); in s390_pci_generate_error_event()
/qemu/hw/ppc/
H A Dpnv.c1603 PnvPhb4PecState *pec = &chip9->pecs[i]; in pnv_chip_power9_pec_realize() local
1604 PnvPhb4PecClass *pecc = PNV_PHB4_PEC_GET_CLASS(pec); in pnv_chip_power9_pec_realize()
1611 object_property_set_link(OBJECT(pec), "chip", OBJECT(chip), in pnv_chip_power9_pec_realize()
1613 if (!qdev_realize(DEVICE(pec), NULL, errp)) { in pnv_chip_power9_pec_realize()
1617 pec_nest_base = pecc->xscom_nest_base(pec); in pnv_chip_power9_pec_realize()
1618 pec_pci_base = pecc->xscom_pci_base(pec); in pnv_chip_power9_pec_realize()
1862 PnvPhb4PecState *pec = &chip10->pecs[i]; in pnv_chip_power10_phb_realize() local
1863 PnvPhb4PecClass *pecc = PNV_PHB4_PEC_GET_CLASS(pec); in pnv_chip_power10_phb_realize()
1872 if (!qdev_realize(DEVICE(pec), NULL, errp)) { in pnv_chip_power10_phb_realize()
1876 pec_nest_base = pecc->xscom_nest_base(pec); in pnv_chip_power10_phb_realize()
[all …]