Home
last modified time | relevance | path

Searched refs:decoded_len (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/firmware/google/
H A Dvpd_decode.c13 u32 *length, u32 *decoded_len) in vpd_decode_len() argument
18 if (!length || !decoded_len) in vpd_decode_len()
32 *decoded_len = i; in vpd_decode_len()
39 u32 decoded_len; in vpd_decode_entry() local
43 entry_len, &decoded_len) != VPD_OK) in vpd_decode_entry()
45 if (max_len - consumed < decoded_len) in vpd_decode_entry()
48 consumed += decoded_len; in vpd_decode_entry()
/openbmc/libcper/sections/
H A Dcper-section-dmar-iommu.c96 int32_t decoded_len = 0; in ir_section_dmar_iommu_to_cper() local
100 &decoded_len); in ir_section_dmar_iommu_to_cper()
104 memcpy(section_cper->EventLogEntry, decoded, decoded_len); in ir_section_dmar_iommu_to_cper()
109 decoded_len = 0; in ir_section_dmar_iommu_to_cper()
113 &decoded_len); in ir_section_dmar_iommu_to_cper()
117 memcpy(section_cper->DeviceTableEntry, decoded, decoded_len); in ir_section_dmar_iommu_to_cper()
H A Dcper-section-cxl-protocol.c276 int32_t decoded_len = 0; in ir_section_cxl_protocol_to_cper() local
281 &decoded_len); in ir_section_cxl_protocol_to_cper()
287 decoded, decoded_len); in ir_section_cxl_protocol_to_cper()
321 int32_t decoded_len = 0; in ir_section_cxl_protocol_to_cper() local
325 &decoded_len); in ir_section_cxl_protocol_to_cper()
329 fwrite(decoded, decoded_len, 1, out); in ir_section_cxl_protocol_to_cper()
336 decoded_len = 0; in ir_section_cxl_protocol_to_cper()
340 &decoded_len); in ir_section_cxl_protocol_to_cper()
344 fwrite(decoded, decoded_len, 1, out); in ir_section_cxl_protocol_to_cper()
H A Dcper-section-dmar-vtd.c181 int32_t decoded_len = 0; in ir_section_dmar_vtd_to_cper() local
185 &decoded_len); in ir_section_dmar_vtd_to_cper()
189 memcpy(section_cper->RootEntry, decoded, decoded_len); in ir_section_dmar_vtd_to_cper()
195 decoded_len = 0; in ir_section_dmar_vtd_to_cper()
199 &decoded_len); in ir_section_dmar_vtd_to_cper()
204 memcpy(section_cper->ContextEntry, decoded, decoded_len); in ir_section_dmar_vtd_to_cper()
H A Dcper-section-ccix-per.c108 int32_t decoded_len = 0; in ir_section_ccix_per_to_cper() local
112 json_object_get_string_len(encoded), &decoded_len); in ir_section_ccix_per_to_cper()
116 fwrite(decoded, decoded_len, 1, out); in ir_section_ccix_per_to_cper()
H A Dcper-section-pcie.c327 int32_t decoded_len = 0; in ir_section_pcie_to_cper() local
337 json_object_get_string_len(encoded), &decoded_len); in ir_section_pcie_to_cper()
342 decoded_len); in ir_section_pcie_to_cper()
354 decoded_len = 0; in ir_section_pcie_to_cper()
358 &decoded_len); in ir_section_pcie_to_cper()
364 decoded_len); in ir_section_pcie_to_cper()
H A Dcper-section-cxl-component.c151 int32_t decoded_len = 0; in ir_section_cxl_component_to_cper() local
155 json_object_get_string_len(encoded), &decoded_len); in ir_section_cxl_component_to_cper()
160 fwrite(decoded, decoded_len, 1, out); in ir_section_cxl_component_to_cper()
H A Dcper-section-arm.c661 int32_t decoded_len = 0; in ir_section_arm_to_cper() local
665 vendor_specific_len, &decoded_len); in ir_section_arm_to_cper()
668 fwrite(decoded, decoded_len, 1, out); in ir_section_arm_to_cper()
1124 int32_t decoded_len = 0; in ir_arm_unknown_register_to_cper() local
1128 &decoded_len); in ir_arm_unknown_register_to_cper()
1134 fwrite(&decoded, decoded_len, 1, out); in ir_arm_unknown_register_to_cper()
H A Dcper-section-ia32x64.c963 int32_t decoded_len = 0; in ir_ia32x64_context_info_to_cper() local
966 UINT8 *decoded = base64_decode(j_string, j_size, &decoded_len); in ir_ia32x64_context_info_to_cper()
970 fwrite(decoded, decoded_len, 1, out); in ir_ia32x64_context_info_to_cper()
/openbmc/libcper/tests/
H A Dbase64_test.cpp18 int32_t decoded_len = 0; in TEST() local
20 UINT8 *decoded = base64_decode(data.data(), data.size(), &decoded_len); in TEST()
21 EXPECT_EQ(decoded_len, 1); in TEST()
/openbmc/libcper/
H A Dir-parse.c186 int32_t decoded_len = 0; in ir_section_to_cper() local
190 json_object_get_string_len(encoded), &decoded_len); in ir_section_to_cper()
194 fwrite(decoded, decoded_len, 1, out); in ir_section_to_cper()