/openbmc/openbmc-test-automation/pldm/ |
H A D | test_pldm_platform.robot | 32 [Documentation] Verify set state effecter states response message. 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/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/libpldmresponder/ |
H A D | pdr_state_effecter.hpp | 39 for (const auto& effecter : effecters) in generateStateEffecterPDR() local 41 auto set = effecter.value("set", empty); 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()
|
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()
|
/openbmc/pldm/host-bmc/ |
H A D | dbus_to_terminus_effecters.cpp | 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() 144 for (const auto& effecter : effecters) in parseEffecterJson() local 147 auto jsonDbusInfo = effecter.value("dbus_info", empty); in parseEffecterJson() 160 auto state = effecter.value("state", empty); in parseEffecterJson()
|
/openbmc/pldm/utilities/ |
H A D | meson.build | 4 'set-state-effecter', 15 'set-state-effecter-async',
|
/openbmc/libpldm/src/dsp/ |
H A D | platform.c | 20 struct pldm_state_effecter_pdr *const effecter, in encode_state_effecter_pdr() argument 27 if (!effecter || !possible_states || !actual_size) { in encode_state_effecter_pdr() 31 if (SIZE_MAX - (sizeof(*effecter) - sizeof(effecter->possible_states)) < in encode_state_effecter_pdr() 37 (sizeof(*effecter) - sizeof(effecter->possible_states)) + in encode_state_effecter_pdr() 48 for (int i = 0; i < effecter->composite_effecter_count; ++i) { in encode_state_effecter_pdr() 72 sizeof(effecter->possible_states)); in encode_state_effecter_pdr() 76 effecter->hdr.version = 1; in encode_state_effecter_pdr() 77 effecter->hdr.type = PLDM_STATE_EFFECTER_PDR; in encode_state_effecter_pdr() 78 effecter->hdr.length = *actual_size - sizeof(struct pldm_pdr_hdr); in encode_state_effecter_pdr() 80 memcpy(effecter->possible_states, possible_states, in encode_state_effecter_pdr() [all …]
|
/openbmc/libpldm/tests/dsp/ |
H A D | platform.cpp | 22 struct pldm_state_effecter_pdr effecter{}; in TEST() struct 31 rc = encode_state_effecter_pdr(&effecter, sizeof(effecter), NULL, 0, in TEST() 36 rc = encode_state_effecter_pdr(&effecter, sizeof(effecter), in TEST() 41 rc = encode_state_effecter_pdr(&effecter, sizeof(effecter), in TEST() 46 rc = encode_state_effecter_pdr(&effecter, 0, &possible_states, 1, in TEST() 52 effecter.composite_effecter_count = 1; in TEST() 53 rc = encode_state_effecter_pdr(&effecter, sizeof(effecter), in TEST() 62 struct pldm_state_effecter_pdr effecter{}; in TEST() struct 67 rc = encode_state_effecter_pdr(&effecter, sizeof(effecter), in TEST() 70 EXPECT_EQ(actual_size, sizeof(effecter) - sizeof(effecter.possible_states)); in TEST()
|
/openbmc/pldm/ |
H A D | README.md | 184 named based on the PDR type number. For example a state effecter PDR JSON file 187 mapping an effecter id to a D-Bus object.
|
/openbmc/docs/designs/ |
H A D | pldm-stack.md | 456 - The sensor/effecter/state info in the entities of terminus 457 sensors/effecter/state PDRs (section 28.4, 28.6, 28.8, 28.11, 28.14, 28.15,
|
/openbmc/libpldm/include/libpldm/ |
H A D | platform.h | 951 struct pldm_state_effecter_pdr *effecter, size_t allocation_size,
|
/openbmc/libpldm/abi/x86_64/ |
H A D | gcc.dump | 7166 'name' => 'effecter',
|
/openbmc/ |
D | opengrok1.0.log | [all...] |
D | opengrok2.0.log | [all...] |
/openbmc/linux/ |
H A D | opengrok1.0.log | [all...] |