Searched refs:section_descriptor_ir (Results 1 – 2 of 2) sorted by relevance
/openbmc/libcper/ |
H A D | cper-parse.c | 117 json_object *section_descriptor_ir = in cper_buf_to_ir() local 121 section_descriptor_ir); in cper_buf_to_ir() 316 json_object *section_descriptor_ir = json_object_new_object(); in cper_section_descriptor_to_ir() local 320 section_descriptor_ir, "sectionOffset", in cper_section_descriptor_to_ir() 323 section_descriptor_ir, "sectionLength", in cper_section_descriptor_to_ir() 327 json_object_object_add(section_descriptor_ir, "revision", in cper_section_descriptor_to_ir() 334 json_object_object_add(section_descriptor_ir, "flags", flags); in cper_section_descriptor_to_ir() 351 json_object_object_add(section_descriptor_ir, "sectionType", in cper_section_descriptor_to_ir() 356 add_guid(section_descriptor_ir, "fruID", in cper_section_descriptor_to_ir() 378 section_descriptor_ir, "fruText", in cper_section_descriptor_to_ir() [all …]
|
H A D | ir-parse.c | 20 void ir_section_descriptor_to_cper(json_object *section_descriptor_ir, 207 void ir_section_descriptor_to_cper(json_object *section_descriptor_ir, in ir_section_descriptor_to_cper() argument 212 json_object_object_get(section_descriptor_ir, "sectionOffset")); in ir_section_descriptor_to_cper() 214 json_object_object_get(section_descriptor_ir, "sectionLength")); in ir_section_descriptor_to_cper() 218 json_object_object_get(section_descriptor_ir, "revision"); in ir_section_descriptor_to_cper() 230 json_object_object_get(section_descriptor_ir, "flags"), 8, in ir_section_descriptor_to_cper() 235 json_object_object_get(section_descriptor_ir, "sectionType"); in ir_section_descriptor_to_cper() 241 if (json_object_object_get_ex(section_descriptor_ir, "fruID", &obj)) { in ir_section_descriptor_to_cper() 252 json_object_object_get(section_descriptor_ir, "severity"); in ir_section_descriptor_to_cper() 257 if (json_object_object_get_ex(section_descriptor_ir, "fruText", &obj)) { in ir_section_descriptor_to_cper()
|