Home
last modified time | relevance | path

Searched refs:attrValueEntry (Results 1 – 16 of 16) sorted by relevance

/openbmc/pldm/libpldmresponder/test/
H A Dmocked_bios.hpp20 const pldm::responder::bios::Table& attrValueEntry) in checkHeader() argument
27 attrValueEntry.data())); in checkHeader()
55 pldm::responder::bios::Table attrEntry, attrValueEntry; in checkConstructEntry() local
56 attribute.constructEntry(stringTable, attrEntry, attrValueEntry); in checkConstructEntry()
58 checkHeader(attrEntry, attrValueEntry); in checkConstructEntry()
60 checkEntry(attrValueEntry, expectedAttrValueEntry); in checkConstructEntry()
H A Dlibpldmresponder_bios_config_test.cpp305 std::vector<uint8_t> attrValueEntry{ in TEST_F() local
313 attrValueEntry[0] = attrHandle & 0xff; in TEST_F()
314 attrValueEntry[1] = (attrHandle >> 8) & 0xff; in TEST_F()
316 auto rc = biosConfig.setAttrValue(attrValueEntry.data(), in TEST_F()
317 attrValueEntry.size(), false); in TEST_F()
351 std::vector<uint8_t> attrValueEntry{ in TEST_F() local
358 attrValueEntry[0] = attrHandle & 0xff; in TEST_F()
359 attrValueEntry[1] = (attrHandle >> 8) & 0xff; in TEST_F()
367 auto rc = biosConfig.setAttrValue(attrValueEntry.data(), in TEST_F()
368 attrValueEntry.size(), false); in TEST_F()
[all …]
H A Dlibpldmresponder_systemspecific_bios_test.cpp386 std::vector<uint8_t> attrValueEntry{ in TEST_F() local
394 attrValueEntry[0] = attrHandle & 0xff; in TEST_F()
395 attrValueEntry[1] = (attrHandle >> 8) & 0xff; in TEST_F()
397 auto rc = biosConfig.setAttrValue(attrValueEntry.data(), in TEST_F()
398 attrValueEntry.size(), false); in TEST_F()
436 std::vector<uint8_t> attrValueEntry{ in TEST_F() local
443 attrValueEntry[0] = attrHandle & 0xff; in TEST_F()
444 attrValueEntry[1] = (attrHandle >> 8) & 0xff; in TEST_F()
452 auto rc = biosConfig.setAttrValue(attrValueEntry.data(), in TEST_F()
453 attrValueEntry.size(), false); in TEST_F()
[all …]
H A Dlibpldmresponder_bios_integer_attribute_test.cpp197 std::vector<uint8_t> attrValueEntry = { in TEST_F() local
203 auto entry = new (attrValueEntry.data()) pldm_bios_attr_val_table_entry; in TEST_F()
H A Dlibpldmresponder_bios_string_attribute_test.cpp190 std::vector<uint8_t> attrValueEntry{ in TEST_F() local
196 auto entry = new (attrValueEntry.data()) pldm_bios_attr_val_table_entry; in TEST_F()
H A Dlibpldmresponder_bios_enum_attribute_test.cpp225 std::vector<uint8_t> attrValueEntry{ in TEST_F() local
236 new (attrValueEntry.data()) pldm_bios_attr_val_table_entry, in TEST_F()
/openbmc/pldm/libpldmresponder/
H A Dbios_config.cpp757 const pldm_bios_attr_val_table_entry* attrValueEntry, in traceBIOSUpdate() argument
764 attrType] = table::attribute_value::decodeHeader(attrValueEntry); in traceBIOSUpdate()
776 attrValueEntry); in traceBIOSUpdate()
779 attrValueEntry, handles.data(), handles.size()); in traceBIOSUpdate()
796 table::attribute_value::decodeIntegerEntry(attrValueEntry); in traceBIOSUpdate()
807 table::attribute_value::decodeStringEntry(attrValueEntry); in traceBIOSUpdate()
820 const pldm_bios_attr_val_table_entry* attrValueEntry, in checkAttrValueToUpdate() argument
825 attrType] = table::attribute_value::decodeHeader(attrValueEntry); in checkAttrValueToUpdate()
833 table::attribute_value::decodeEnumEntry(attrValueEntry); in checkAttrValueToUpdate()
853 table::attribute_value::decodeIntegerEntry(attrValueEntry); in checkAttrValueToUpdate()
[all …]
H A Dbios_string_attribute.cpp65 const pldm_bios_attr_val_table_entry* attrValueEntry, in setAttrValueOnDbus() argument
74 table::attribute_value::decodeStringEntry(attrValueEntry); in setAttrValueOnDbus()
158 Table& attrValueEntry) in generateAttributeEntry() argument
163 attrValueEntry.resize( in generateAttributeEntry()
166 auto entry = new (attrValueEntry.data()) pldm_bios_attr_val_table_entry; in generateAttributeEntry()
H A Dbios_integer_attribute.cpp50 const pldm_bios_attr_val_table_entry* attrValueEntry, in setAttrValueOnDbus() argument
58 table::attribute_value::decodeIntegerEntry(attrValueEntry); in setAttrValueOnDbus()
224 Table& attrValueEntry) in generateAttributeEntry() argument
226 attrValueEntry.resize( in generateAttributeEntry()
229 auto entry = new (attrValueEntry.data()) pldm_bios_attr_val_table_entry; in generateAttributeEntry()
H A Dbios_enum_attribute.cpp171 const pldm_bios_attr_val_table_entry* attrValueEntry, in setAttrValueOnDbus() argument
180 auto currHdls = table::attribute_value::decodeEnumEntry(attrValueEntry); in setAttrValueOnDbus()
271 Table& attrValueEntry) in generateAttributeEntry() argument
273 attrValueEntry.resize(sizeof(pldm_bios_attr_val_table_entry) + 1); in generateAttributeEntry()
275 auto entry = new (attrValueEntry.data()) pldm_bios_attr_val_table_entry; in generateAttributeEntry()
H A Dbios_integer_attribute.hpp38 const pldm_bios_attr_val_table_entry* attrValueEntry,
61 Table& attrValueEntry) override;
H A Dbios_string_attribute.hpp61 const pldm_bios_attr_val_table_entry* attrValueEntry,
84 Table& attrValueEntry) override;
H A Dbios_attribute.hpp52 const pldm_bios_attr_val_table_entry* attrValueEntry,
88 Table& attrValueEntry) = 0;
H A Dbios_enum_attribute.hpp42 const pldm_bios_attr_val_table_entry* attrValueEntry,
65 Table& attrValueEntry) override;
H A Dbios_config.hpp332 void traceBIOSUpdate(const pldm_bios_attr_val_table_entry* attrValueEntry,
343 const pldm_bios_attr_val_table_entry* attrValueEntry,
/openbmc/pldm/pldmtool/
H A Dpldm_bios_cmd.cpp809 std::vector<uint8_t> attrValueEntry(entryLength, 0); in exec() local
853 attrValueEntry.resize(entryLength); in exec()
856 attrValueEntry.data(), attrValueEntry.size(), in exec()
874 attrValueEntry.resize(entryLength); in exec()
877 attrValueEntry.data(), entryLength, attrEntry->attr_handle, in exec()
894 attrValueEntry.resize(entryLength); in exec()
896 attrValueEntry.data(), entryLength, attrEntry->attr_handle, in exec()
913 instanceId, 0, PLDM_START_AND_END, attrValueEntry.data(), in exec()
914 attrValueEntry.size(), new (requestMsg.data()) pldm_msg, in exec()