Lines Matching defs:section
12 #include <libcper/sections/cper-section-pci-bus.h>
16 //Converts a single PCI/PCI-X bus CPER section into JSON IR.
17 json_object *cper_section_pci_bus_to_ir(const UINT8 *section, UINT32 size,
37 (EFI_PCI_PCIX_BUS_ERROR_DATA *)section;
122 //Converts a single provided PCI/PCI-X bus CPER-JSON section into CPER binary, outputting to the
124 void ir_section_pci_bus_to_cper(json_object *section, FILE *out)
135 if (json_object_object_get_ex(section, "errorStatus", &obj)) {
142 if (json_object_object_get_ex(section, "busID", &obj)) {
143 json_object *bus_id = json_object_object_get(section, "busID");
155 if (json_object_object_get_ex(section, "errorType", &obj)) {
159 if (json_object_object_get_ex(section, "busAddress", &obj)) {
161 json_object_object_get(section, "busAddress"));
164 if (json_object_object_get_ex(section, "busData", &obj)) {
168 if (json_object_object_get_ex(section, "busCommandType", &obj)) {
174 if (json_object_object_get_ex(section, "busRequestorID", &obj)) {
178 if (json_object_object_get_ex(section, "busCompleterID", &obj)) {
182 if (json_object_object_get_ex(section, "targetID", &obj)) {