Home
last modified time | relevance | path

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

/openbmc/qemu/hw/pci-host/
H A Dpnv_phb4_pec.c26 #define phb_pec_error(pec, fmt, ...) \ argument
28 (pec)->chip_id, (pec)->index, ## __VA_ARGS__)
34 PnvPhb4PecState *pec = PNV_PHB4_PEC(opaque); in pnv_pec_nest_xscom_read() local
38 return pec->nest_regs[reg]; in pnv_pec_nest_xscom_read()
44 PnvPhb4PecState *pec = PNV_PHB4_PEC(opaque); in pnv_pec_nest_xscom_write() local
49 pec->nest_regs[reg] = val & PPC_BITMASK(0, 25); in pnv_pec_nest_xscom_write()
52 pec->nest_regs[reg] = val & PPC_BITMASK(0, 11); in pnv_pec_nest_xscom_write()
55 pec->nest_regs[reg] = val & PPC_BITMASK(0, 16); in pnv_pec_nest_xscom_write()
58 pec->nest_regs[reg] = val & PPC_BITMASK(0, 37); in pnv_pec_nest_xscom_write()
61 pec->nest_regs[reg] = val & PPC_BITMASK(0, 6); in pnv_pec_nest_xscom_write()
[all …]
H A Dpnv_phb4.c30 #define phb_pec_error(pec, fmt, ...) \ argument
32 (pec)->chip_id, (pec)->index, ## __VA_ARGS__)
667 return PNV_PHB4_PEC_GET_CLASS(phb->pec)->version; in pnv_phb4_reg_read()
872 PnvPhb4PecState *pec = phb->pec; in pnv_phb4_get_phb_stack_no() local
873 PnvPhb4PecClass *pecc = PNV_PHB4_PEC_GET_CLASS(pec); in pnv_phb4_get_phb_stack_no()
874 int index = pec->index; in pnv_phb4_get_phb_stack_no()
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()
[all …]
H A Dpnv_phb.h30 PnvPhb4PecState *pec; member
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,
/openbmc/qemu/include/hw/pci-host/
H A Dpnv_phb4.h90 PnvPhb4PecState *pec; member
160 int pnv_phb4_pec_get_phb_id(PnvPhb4PecState *pec, int stack_index);
203 uint32_t (*xscom_cplt_base)(PnvPhb4PecState *pec);
204 uint32_t (*xscom_nest_base)(PnvPhb4PecState *pec);
206 uint32_t (*xscom_pci_base)(PnvPhb4PecState *pec);
/openbmc/openbmc/meta-phosphor/recipes-devtools/i2c-tools/i2c-tools/
H A D0001-4-byte-read-support-466.patch44 pec = argv[optind+2][1] == 'p';
47 + pec = argv[optind+2][1] == 'p';
57 if (pec)
/openbmc/openbmc-tools/bi2cp/
H A Dbi2cp235 if self.pec is None:
238 provided = self.pec
265 (self.pec,) = tail
267 self.pec = None
327 (self.pec,) = tail
329 self.pec = None
/openbmc/qemu/include/hw/s390x/
H A Ds390-pci-bus.h210 uint16_t pec; member
223 uint16_t pec; member
235 uint16_t pec; member
396 void s390_pci_generate_error_event(uint16_t pec, uint32_t fh, uint32_t fid,
/openbmc/qemu/hw/ppc/
H A Dpnv.c1772 PnvPhb4PecState *pec = &chip9->pecs[i]; in pnv_chip_power9_pec_realize() local
1773 PnvPhb4PecClass *pecc = PNV_PHB4_PEC_GET_CLASS(pec); in pnv_chip_power9_pec_realize()
1778 object_property_set_int(OBJECT(pec), "index", i, &error_fatal); in pnv_chip_power9_pec_realize()
1779 object_property_set_int(OBJECT(pec), "chip-id", chip->chip_id, in pnv_chip_power9_pec_realize()
1781 object_property_set_link(OBJECT(pec), "chip", OBJECT(chip), in pnv_chip_power9_pec_realize()
1783 if (!qdev_realize(DEVICE(pec), NULL, errp)) { in pnv_chip_power9_pec_realize()
1787 pec_cplt_base = pecc->xscom_cplt_base(pec); in pnv_chip_power9_pec_realize()
1788 pec_nest_base = pecc->xscom_nest_base(pec); in pnv_chip_power9_pec_realize()
1789 pec_pci_base = pecc->xscom_pci_base(pec); in pnv_chip_power9_pec_realize()
1792 &pec->nest_pervasive.xscom_ctrl_regs_mr); in pnv_chip_power9_pec_realize()
[all …]
/openbmc/qemu/hw/s390x/
H A Ds390-pci-bus.c70 eccdf->pec = cpu_to_be16(sei_cont->pec); in pci_chsc_sei_nt2_get_event()
76 accdf->pec = cpu_to_be16(sei_cont->pec); in pci_chsc_sei_nt2_get_event()
287 static void s390_pci_generate_event(uint8_t cc, uint16_t pec, uint32_t fh, in s390_pci_generate_event() argument
297 sei_cont->pec = pec; in s390_pci_generate_event()
305 static void s390_pci_generate_plug_event(uint16_t pec, uint32_t fh, in s390_pci_generate_plug_event() argument
308 s390_pci_generate_event(2, pec, fh, fid, 0, 0); in s390_pci_generate_plug_event()
311 void s390_pci_generate_error_event(uint16_t pec, uint32_t fh, uint32_t fid, in s390_pci_generate_error_event() argument
314 s390_pci_generate_event(1, pec, fh, fid, faddr, e); in s390_pci_generate_error_event()
/openbmc/openbmc/poky/bitbake/lib/toaster/orm/management/commands/
H A Dlsupdates.py65 pec = (float(i)/float(total))*100
69 pec))
71 if int(pec) == 100:
/openbmc/phosphor-bmc-code-mgmt/i2c-vr/isl69269/
H A Disl69269.hpp38 uint8_t pec; member
H A Disl69269.cpp401 configuration.pData[dcnt].pec = in parseImage()
485 if (crc8 != configuration.pData[i].pec) in checkImage()
490 configuration.pData[i].pec); in checkImage()
/openbmc/qemu/include/hw/i3c/
H A Ddw-i3c.h104 uint8_t pec:1; /* Parity error check enabled */ member
/openbmc/openpower-hw-diags/test/
H A Dpdbg-test.dts1923 compatible = "ibm,power10-pec";
1928 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/pec-0";
1937 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/pec-0/phb-0";
1947 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/pec-0/phb-1";
1957 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/pec-0/phb-2";
1973 compatible = "ibm,power10-pec";
1978 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/pec-1";
1987 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/pec-1/phb-0";
1997 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/pec-1/phb-1";
2007 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/pec-1/phb-2";
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/
H A Dspdm-utils-crates.inc137 crate://crates.io/smbus-pec/1.0.1 \
316 SRC_URI[smbus-pec-1.0.1.sha256sum] = "ca0763a680cd5d72b28f7bfc8a054c117d8841380a6ad4f72f05bd2a34217…
417 crate://crates.io/smbus-pec/1.0.1 \
498 SRC_URI[smbus-pec-1.0.1.sha256sum] = "ca0763a680cd5d72b28f7bfc8a054c117d8841380a6ad4f72f05bd2a34217…
/openbmc/qemu/tests/qtest/
H A Dremote-i3c-test.c