Home
last modified time | relevance | path

Searched full:ccin (Results 1 – 25 of 71) sorted by relevance

123

/openbmc/openpower-vpd-parser/configuration/ibm/
H A D50003_power_vs.json3 "CCIN": ["5CF8"], array
9 "CCIN": ["5CF8"], array
15 "CCIN": ["5CF8"], array
21 "CCIN": ["5CF8"], array
27 "CCIN": ["5CF8"], array
33 "CCIN": ["5CF8"], array
39 "CCIN": ["5CF8"], array
45 "CCIN": ["5CF8"], array
H A D50001_power_vs.json3 "CCIN": ["5C85"], array
9 "CCIN": ["5C85"], array
15 "CCIN": ["5C85"], array
21 "CCIN": ["5C85"], array
/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Dcompare_vpd_action_tests.cpp44 "CCIN", value}; in TEST()
48 EXPECT_EQ(action.getKeyword(), "CCIN"); in TEST()
57 "CCIN", value}; in TEST()
61 EXPECT_EQ(action.getKeyword(), "CCIN"); in TEST()
190 "/xyz/openbmc_project/inventory/system/chassis/disk_backplane", "CCIN", in TEST()
199 "/xyz/openbmc_project/inventory/system/chassis/disk_backplane", "CCIN", in TEST()
201 EXPECT_EQ(action.getKeyword(), "CCIN"); in TEST()
207 "/xyz/openbmc_project/inventory/system/chassis/disk_backplane", "CCIN", in TEST()
218 "CCIN", std::vector<uint8_t>{0x01, 0xA3, 0x0, 0xFF}}; in TEST()
223 "CCIN, value: [ 0x1, 0xA3, 0x0, 0xFF ] }"); in TEST()
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dfru_identity.hpp88 * CCIN, and serial number fields supplied.
91 * @param[in] ccin - The CCIN of the FRU
94 FRUIdentity(const std::string& partNumber, const std::string& ccin,
196 * @brief Returns the CCIN, if supplied
228 * @brief If the CCIN is contained in this structure.
268 * @brief Sets the 4 character CCIN field.
270 * @param[in] ccin - The CCIN string
272 void setCCIN(const std::string& ccin);
332 * @brief The CCIN VPD keyword
H A Dfru_identity.cpp94 FRUIdentity::FRUIdentity(const std::string& partNumber, const std::string& ccin, in FRUIdentity() argument
101 setCCIN(ccin); in FRUIdentity()
156 std::string ccin{_ccin.begin(), _ccin.begin() + _ccin.size()}; in getCCIN() local
159 if (auto pos = ccin.find('\0'); pos != std::string::npos) in getCCIN()
161 ccin.resize(pos); in getCCIN()
163 return ccin; in getCCIN()
225 void FRUIdentity::setCCIN(const std::string& ccin) in setCCIN() argument
229 fillArray(ccin, _ccin); in setCCIN()
H A Dcallout.hpp78 * @param[in] ccin - The CCIN of the callout
82 const std::string& partNumber, const std::string& ccin,
95 * @param[in] ccin - The CCIN of the callout
100 const std::string& partNumber, const std::string& ccin,
H A Dcallout.cpp82 const std::string& partNumber, const std::string& ccin, in Callout() argument
84 Callout(priority, locationCode, partNumber, ccin, serialNumber, in Callout()
89 const std::string& partNumber, const std::string& ccin, in Callout() argument
100 std::make_unique<FRUIdentity>(partNumber, ccin, serialNumber); in Callout()
H A Dsrc.cpp430 uint32_t ccin = 0; in setMotherboardCCIN() local
437 ccin = std::stoi(ccinString, nullptr, 16); in setMotherboardCCIN()
442 lg2::warning("Could not convert motherboard CCIN {CCIN} to a number", in setMotherboardCCIN()
443 "CCIN", ccinString); in setMotherboardCCIN()
448 _hexData[1] |= ccin << 16; in setMotherboardCCIN()
665 jsonInsert(printOut, "CCIN", in getCallouts()
739 uint32_t ccin = _hexData[1] >> 16; in getJSON() local
741 if (ccin) in getJSON()
743 ccinString = getNumberString("%04X", ccin); in getJSON()
746 jsonInsert(ps, "Backplane CCIN", ccinString, 1); in getJSON()
[all …]
/openbmc/phosphor-power/phosphor-regulators/docs/config_file/
H A Dcompare_vpd.md17 - CCIN
50 … | string | VPD keyword. Specify one of the following: "CCIN", "Manufacturer", "…
67 "comments": ["Check if disk backplane has CCIN value 2D35"],
70 "keyword": "CCIN",
78 "comments": ["Check if disk backplane has CCIN value 0x32, 0x44, 0x33, 0x35"],
81 "keyword": "CCIN",
/openbmc/qemu/tests/tcg/i386/
H A Dtest-i386-shift.h40 printf("%-10s A=" FMTLX " B=" FMTLX " R=" FMTLX " CCIN=%04lx CC=%04lx\n", in exec_opq()
54 printf("%-10s A=" FMTLX " B=" FMTLX " R=" FMTLX " CCIN=%04lx CC=%04lx\n", in exec_opl()
67 printf("%-10s A=" FMTLX " B=" FMTLX " R=" FMTLX " CCIN=%04lx CC=%04lx\n", in exec_opw()
91 printf("%-10s A=" FMTLX " B=" FMTLX " C=" FMTLX " R=" FMTLX " CCIN=%04lx CC=%04lx\n", in exec_opq()
105 printf("%-10s A=" FMTLX " B=" FMTLX " C=" FMTLX " R=" FMTLX " CCIN=%04lx CC=%04lx\n", in exec_opl()
118 printf("%-10s A=" FMTLX " B=" FMTLX " C=" FMTLX " R=" FMTLX " CCIN=%04lx CC=%04lx\n", in exec_opw()
134 printf("%-10s A=" FMTLX " B=" FMTLX " R=" FMTLX " CCIN=%04lx CC=%04lx\n", in exec_opb()
/openbmc/openpower-vpd-parser/vpd-manager/include/
H A Disdimm_parser.hpp96 * @brief This function allocates CCIN based on part number for DDR4 SPD
99 * @return allocated CCIN or a default value.
146 * @brief This function allocates CCIN based on part number for DDR5 SPD
149 * @return allocated CCIN.
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Disdimm_parser.cpp281 std::string ccin = "XXXX"; in getDDR5CCIN() local
285 ccin = itr->second; in getDDR5CCIN()
287 return ccin; in getDDR5CCIN()
309 auto ccin = in readKeywords() local
322 move(std::string(ccin.begin(), ccin.end()))); in readKeywords()
/openbmc/phosphor-dbus-interfaces/yaml/com/ibm/ipzvpd/
H A DVINI.interface.yaml15 CE keyword. The CCIN extension.
35 FRU CCIN.
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/
H A Dvpd_specific_utility.hpp527 * @brief API to find CCIN in parsed VPD map.
529 * Few FRUs need some special handling. To identify those FRUs CCIN are used.
531 * CCIN.
533 * @param[in] i_JsonObject - Any JSON which contains CCIN tag to match.
546 throw std::runtime_error("Json object is empty. Can't find CCIN"); in findCcinInVpd()
555 "VINI record not found in parsed VPD. Can't find CCIN"); in findCcinInVpd()
563 throw DataException("Can't find CCIN, error : " + in findCcinInVpd()
570 for (std::string l_ccinValue : i_JsonObject["ccin"]) in findCcinInVpd()
578 // CCIN found in findCcinInVpd()
585 logging::logMessage("No match found for CCIN"); in findCcinInVpd()
[all …]
/openbmc/openpower-vpd-parser/vpd-manager/oem-handler/
H A Dibm_handler.cpp201 // check if the FRU needs CCIN check before updating PN. in checkAndUpdatePowerVsVpd()
202 if (l_recJson.contains("CCIN")) in checkAndUpdatePowerVsVpd()
207 // Not an ideal situation as CCIN can't be empty. in checkAndUpdatePowerVsVpd()
214 std::vector<std::string> l_ccinListFromJson = l_recJson["CCIN"]; in checkAndUpdatePowerVsVpd()
226 // Record name can't be CCIN, skip processing as it is there for PN in checkAndUpdatePowerVsVpd()
227 // update based on CCIN check. in checkAndUpdatePowerVsVpd()
/openbmc/phosphor-logging/test/openpower-pels/
H A Dfru_identity_test.cpp26 // Has PN, SN, CCIN in TEST()
29 '5', '6', '7', 0x00, 'A', 'A', 'A', 'A', // CCIN in TEST()
92 void testHWCallout(const std::string& pn, const std::string& ccin, in testHWCallout() argument
97 FRUIdentity fru{pn, ccin, sn}; in testHWCallout()
126 // Test the constructor that takes in a PN/SN/CCIN
/openbmc/phosphor-dbus-interfaces/yaml/org/open_power/Inventory/Decorator/
H A DAsset.interface.yaml4 - name: CCIN
/openbmc/phosphor-power/phosphor-regulators/config_files/
H A DRainier.json633 "Check whether the CCIN VPD keyword on the Nisqually",
640 "keyword": "CCIN",
647 "keyword": "CCIN",
756 "Check if card has Flett CCIN keyword"
760 "keyword": "CCIN",
805 "Check if card has Flett CCIN keyword"
811 "keyword": "CCIN",
884 "Check if card has Flett CCIN keyword"
890 "keyword": "CCIN",
962 "Check if card has Flett CCIN keyword"
[all …]
H A DBlueRidge.json633 "Check whether the CCIN VPD keyword on the Nisqually",
640 "keyword": "CCIN",
647 "keyword": "CCIN",
756 "Check if card has Flett CCIN keyword"
760 "keyword": "CCIN",
805 "Check if card has Flett CCIN keyword"
811 "keyword": "CCIN",
884 "Check if card has Flett CCIN keyword"
890 "keyword": "CCIN",
962 "Check if card has Flett CCIN keyword"
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dvpd.cpp57 // keyword name. However, the CCIN keyword is stored in the Model property. in getDBusProperty()
58 std::string property{(keyword == "CCIN") ? "Model" : keyword}; in getDBusProperty()
/openbmc/qemu/hw/misc/
H A Dibm-cffps.c26 #define CCIN 0x2B1D macro
79 s->buf[s->len++] = (CCIN >> 8) & 0xFF; in ibm_cffps_read()
80 s->buf[s->len++] = CCIN & 0xFF; in ibm_cffps_read()
/openbmc/openbmc/meta-ibm/recipes-phosphor/power/phosphor-power/witherspoon/
H A Dpsu.json16 "fileName": "ccin",
/openbmc/openbmc/meta-ibm/recipes-phosphor/power/phosphor-power/swift/
H A Dpsu.json16 "fileName": "ccin",
/openbmc/phosphor-power/example/
H A Dpsu.json21 "fileName": "ccin",
/openbmc/openbmc/meta-ibm/recipes-phosphor/power/phosphor-power/p10bmc/
H A Dpsu.json16 "fileName": "ccin",

123