/openbmc/pldm/host-bmc/ |
H A D | dbus_to_terminus_effecters.hpp | 27 * an effecter 36 * Contains the D-Bus information for an effecter 43 PossibleState state; //!< Corresponding effecter states 47 * Contains the D-Bus information for an effecter 52 uint8_t dataSize; //!< Numeric effecter PDR data size 53 double resolution; //!< Numeric effecter PDR resolution 54 double offset; //!< Numeric effecter PDR offset 55 int8_t unitModifier; //!< Numeric effecter PDR unitModifier 60 * Contains the effecter information as a whole 65 uint8_t effecterPdrType; //!< Effecter PDR type state/numeric [all …]
|
H A D | dbus_to_terminus_effecters.cpp | 43 error("Effecter json file for remote terminus '{PATH}' does not exist.", in parseEffecterJson() 80 "Effecter PDRType not supported {TYPE} of effecterID '{EFFECTERID}'", in parseEffecterJson() 97 for (const auto& effecter : effecters) in parseEffecterJson() local 100 auto jsonDbusInfo = effecter.value("dbus_info", empty); in parseEffecterJson() 101 dbusInfo.dataSize = effecter.value("effecterDataSize", 0); in parseEffecterJson() 102 dbusInfo.unitModifier = effecter.value("unitModifier", 0); in parseEffecterJson() 103 dbusInfo.resolution = effecter.value("resolution", 1); in parseEffecterJson() 104 dbusInfo.offset = effecter.value("offset", 0); in parseEffecterJson() 114 * Only support these property type for Numeric Effecter D-Bus in parseEffecterJson() 144 for (const auto& effecter in parseEffecterJson() local [all...] |
/openbmc/pldm/libpldmresponder/ |
H A D | platform_state_effecter.hpp | 24 /** @brief Function to set the effecter requested by pldm requester 31 * @param[in] effecterId - Effecter ID sent by the requester to act on 33 * equal to composite effecter count in number 55 "Failed to instantiate state effecter PDR repository"); in setStateEffecterStatesHandler() 84 …"The requester sent wrong composite effecter count '{COMPOSITE_EFFECTER_COUNT}' for the effecter I… in setStateEffecterStatesHandler() 104 error("DbusMappings for effecter ID '{EFFECTER_ID}' is missing", in setStateEffecterStatesHandler() 124 …"Invalid state set value for effecter ID '{EFFECTER_ID}', effecter state '{EFFECTER_STATE}', compo… in setStateEffecterStatesHandler() 164 error("Unknown effecter ID '{EFFECTERID}', error - {ERROR}", in setStateEffecterStatesHandler()
|
H A D | platform_numeric_effecter.hpp | 26 /** @brief Function to get the effecter value by PDR factor coefficient, etc. 28 * @param[in] effecterValue - effecter value. 178 /** @brief Function to convert the D-Bus value by PDR factor and effecter value. 180 * @param[in] effecterDataSize - effecter value size. 181 * @param[in,out] effecterValue - effecter value. 225 error("Unknown Effecter Size {SIZE}", "SIZE", effecterDataSize); in convertToDbusValue() 230 /** @brief Function to set the effecter value requested by pldm requester 236 * @param[in] effecterId - Effecter ID sent by the requester to act on 238 * value for the effecter 239 * @param[in] effecter_value - The setting value of numeric effecter being [all …]
|
H A D | pdr_state_effecter.hpp | 22 /** @brief Parse PDR JSON file and generate state effecter PDR structure 24 * @param[in] json - the JSON Object with the state effecter PDR 39 for (const auto& effecter : effecters) in generateStateEffecterPDR() local 41 auto set = effecter.value("set", empty); in generateStateEffecterPDR() 46 …"Malformed PDR JSON return pdrEntry; no state set info for state effecter pdr '{STATE_EFFECTER_PDR… in generateStateEffecterPDR() 62 error("Failed to get state effecter PDR."); in generateStateEffecterPDR() 116 for (const auto& effecter : effecters) in generateStateEffecterPDR() local 118 auto set = effecter.value("set", empty); in generateStateEffecterPDR() 139 auto dbusEntry = effecter.value("dbus", empty); in generateStateEffecterPDR() 160 "Failed to create effecter PDR, D-Bus object '{PATH}' returned error - {ERROR}", in generateStateEffecterPDR()
|
H A D | platform.hpp | 153 * @param[in] Id - effecter/sensor id 199 /** @brief Parse PDR JSONs and build state effecter PDR repository 202 * @param[in] repo - instance of state effecter implementation of Repo 333 /** @brief Function to set the effecter requested by pldm requester 335 * @param[in] effecterId - Effecter ID sent by the requester to act on 337 * equal to composite effecter count in number 359 "Failed to instantiate state effecter PDR repository"); in setStateEffecterStatesHandler() 388 …"The requester sent wrong composite effecter count '{COMPOSITE_EFFECTER_COUNT}' for the effecter I… in setStateEffecterStatesHandler() 419 …"Invalid state set value for effecter ID '{EFFECTERID}', effecter state '{EFFECTER_STATE}', compos… in setStateEffecterStatesHandler() 462 "The effecter ID '{EFFECTERID}' does not exist, error - {ERROR}.", in setStateEffecterStatesHandler() [all …]
|
H A D | oem_handler.hpp | 44 /** @brief Interface to set the effecter requested by pldm requester 48 * @param[in] entityType - entity type corresponding to the effecter id 51 * @param[in] compEffecterCnt - composite effecter count 54 * @param[in] effecterId - Effecter id
|
H A D | platform.cpp | 121 for (const auto& effecter : effecterPDRs) in generate() local 123 pdrType = effecter.value("pdrType", 0); in generate() 125 pdrType)(dBusIntf, effecter, repo); in generate() 675 // Completion Code (uint8), Effecter Data Size(uint8), Effecter Operational in getNumericEffecterValue() 679 // provided in effecter data size in getNumericEffecterValue() 696 "Failed to get response of GetNumericEffecterValue for effecter ID '{EFFECTERID}', response code '{RC}'.", in getNumericEffecterValue() 924 error("Failed to instantiate state effecter PDR repository"); in isOemStateEffecter() 959 "The requester sent wrong composite effecter count '{COMPOSITE_EFFECTER_COUNT}' for the effecter I in isOemStateEffecter() [all...] |
/openbmc/openpower-hw-diags/util/ |
H A D | pldm.cpp | 41 * @param[in] effecterId - the effecter ID 42 * @param[in] effecterCount - composite effecter count 89 trace::err("encode set effecter states request failed"); in prepareSetEffecterReq() 173 /** @brief Return map of SBE instance to effecter ID 176 * @param[out] instanceToEffecterMap - map of sbe instance to effecter ID 177 * @param[out] effecterCount - composite effecter count 178 * @param[out] stateIdPos - position of effecter with state set ID within map 186 // get state effecter PDRs in fetchEffecterInfo() 196 trace::err("state effecter PDRs not present"); in fetchEffecterInfo() 227 trace::err("state set effecter not found"); in fetchEffecterInfo() [all …]
|
/openbmc/openbmc-test-automation/pldm/ |
H A D | test_pldm_platform.robot | 32 [Documentation] Verify set state effecter states response message. 34 [Template] Verify SetStateEffecterStates For Effecter States 106 Verify SetStateEffecterStates For Effecter States 107 [Documentation] Verify set state effecter states for given input effecter states. 111 # ${effecter_handle} A handle that is used to identify and access the effecter (e.g. '1'). 112 # e.g. '1' is effecter handle 'Boot Progress'. 113 # '2' is effecter handle 'System Power State'. 114 # ${count} The number of individual sets of effecter information (e.g. '1').
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | collect_slot_vpd.hpp | 60 * @param[in] effecterID - The effecter ID of the effecter that is set from 64 * @param[in] stateFieldValue - the current Effecter stateFieldValue 88 * @param[in] effecterID - The effecterID of the BMC effecter 89 * @return - pldm entity ID for the given effecter ID 96 * @param[in] stateFieldValue - the current Effecter stateFieldValue 113 * effecter call 121 * effecter call 131 * effecter call
|
H A D | oem_ibm_handler.hpp | 170 /** @brief Method to fetch the effecter ID of the code update PDRs 173 * effecter ID from the platform handler 228 * to be carried out after EndUpdate effecter is set. This is done async 229 * after sending response for EndUpdate set effecter 235 * to be carried out after StartUpdate effecter is set. This is done async 236 * after sending response for StartUpdate set effecter 242 * carried out after the System Power State effecter is set to reboot
|
/openbmc/libpldm/include/libpldm/ |
H A D | platform.h | 116 /* Minimum length of numeric effecter PDR */ 126 * Minimum length of entity auxiliary name effecter PDR includes size of hdr, 283 /** @brief PLDM effecter initialization schemes 651 * Structure representing PLDM state effecter PDR 717 * The bit width and format of reading and threshold values that the effecter 748 * Structure representing PLDM numeric effecter value PDR 909 * Structure representing state enums for state effecter 919 * Structure representing PLDM aux name numeric effecter value PDR 929 /** @brief Encode PLDM state effecter PDR 931 * @param[in/out] effecter Structure to encode. All members of [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/PLDM/ |
H A D | PDR.interface.yaml | 19 Obtain the state effecter PDR, for the input TID, entity ID and state 20 set id. If multiple PLDM entity instances(in state effecter PDRs) 22 effecter PDRs are returned. More than one PDR can be returned for the 59 Array of State Effecter PDRs, where a PDR is an array[byte].
|
/openbmc/openpower-occ-control/ |
H A D | pldm.hpp | 129 /** @brief Fetch the OCC/SBE state effecter PDRs and populate the cache 143 * @param[in] effecterId - the instance effecter ID 144 * @param[in] effecterCount - compositeEffecterCount for the effecter PDR 240 /** @brief OCC Instance mapping to PLDM Effecter ID 244 /** @brief SBE instance mapping to PLDM Effecter ID 248 /** @brief compositeEffecterCount for OCC reset state effecter PDR */ 251 /** @brief compositeEffecterCount for SBE HRESET state effecter PDR */ 255 * effecter PDR 260 * effecter PDR
|
/openbmc/pldm/oem/ibm/host-bmc/ |
H A D | host_lamp_test.cpp | 68 "Get Effecter ID failed, effecter = 0"); in asserted() 136 "Failed to receive response for the Set State Effecter States"); in setHostStateEffecter() 158 error("Failed to send the the Set State Effecter States request"); in setHostStateEffecter()
|
/openbmc/pldm/utilities/requester/ |
H A D | set_state_effecter.cpp | 18 app.add_option("-e,--effecter", effecterId, "Effecter Id")->required(); in main() 36 "Failed to encode set state effecter states request message, response code '{RC}'", in main()
|
H A D | set_state_effecter_async.cpp | 23 app.add_option("-e,--effecter", effecterId, "Effecter Id")->required(); in main() 43 "Failed to encode set state effecter states request, response code '{RC}'", in main()
|
/openbmc/pldm/libpldmresponder/examples/effecter/ |
H A D | dbus_to_terminus_effecter.json | 7 // a 0xFFFF(65535) means effecter id is not hard coded and 20 // Following are the D-Bus information under each effecter 24 // state value is picked up to set the host effecter
|
/openbmc/pldm/pldmtool/ |
H A D | pldm_platform_cmd.cpp | 54 "Effecter Enabled Update Pending"}, 56 "Effecter Enabled No Update Pending"}, 57 {EFFECTER_OPER_STATE_DISABLED, "Effecter Disabled"}, 58 {EFFECTER_OPER_STATE_UNAVAILABLE, "Effecter Unavailable"}, 59 {EFFECTER_OPER_STATE_STATUSUNKNOWN, "Effecter Status Unknown"}, 60 {EFFECTER_OPER_STATE_FAILED, "Effecter Failed"}, 61 {EFFECTER_OPER_STATE_INITIALIZING, "Effecter Initializing"}, 62 {EFFECTER_OPER_STATE_SHUTTINGDOWN, "Effecter Shutting Down"}, 63 {EFFECTER_OPER_STATE_INTEST, "Effecter In Test"}}; 543 {PLDM_NUMERIC_EFFECTER_PDR, "Numeric Effecter PD [all...] |
/openbmc/pldm/utilities/ |
H A D | meson.build | 4 'set-state-effecter', 15 'set-state-effecter-async',
|
/openbmc/openbmc-test-automation/data/ |
H A D | pldm_variables.py | 128 "PDRType": ["State Effecter PDR"], 216 "PDRType": ["Numeric Effecter PDR"], 247 "PLDM_STATE_EFFECTER_PDR": "State Effecter PDR", 251 "PLDM_NUMERIC_EFFECTER_PDR": "Numeric Effecter PDR",
|
/openbmc/pldm/tools/visualize-pdr/ |
H A D | pldm_visualise_pdrs.py | 120 and the state effecter pdr dictionaries and creating the 125 state_effecter_pdr: list of state effecter pdrs 416 if my_dic["PDRType"] == "State Effecter PDR": 422 if my_dic["PDRType"] == "Numeric Effecter PDR": 438 print("Number of State Effecter PDR's : ", len(state_effecter_pdr.keys())) 439 print("Number of Numeric Effecter PDR's : ", len(numeric_pdr.keys()))
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/ |
H A D | host-powercycle | 30 # Set state effecter state: Entity ID 0x0000 for host power control, 0x2 for power off 52 # Set state effecter state: Entity ID 0x0000 for host power control, 0x1 for power on
|
/openbmc/pldm/common/ |
H A D | utils.hpp | 126 /** @brief Convert effecter data to structure of set_effecter_state_field 128 * @param[in] effecterData - the date of effecter 129 * @param[in] effecterCount - the number of individual sets of effecter 423 /** @brief Find State Effecter PDR 457 /** @brief Find effecter id from a state effecter pdr 466 * @return uint16_t - the effecter id
|