Lines Matching refs:device_id
53 json_object *device_id = json_object_new_object(); in cper_section_pcie_to_ir() local
58 device_id, "vendorID", in cper_section_pcie_to_ir()
61 device_id, "deviceID", in cper_section_pcie_to_ir()
63 json_object_object_add(device_id, "classCode", in cper_section_pcie_to_ir()
66 device_id, "functionNumber", in cper_section_pcie_to_ir()
69 device_id, "deviceNumber", in cper_section_pcie_to_ir()
72 device_id, "segmentNumber", in cper_section_pcie_to_ir()
75 device_id, "primaryOrDeviceBusNumber", in cper_section_pcie_to_ir()
79 device_id, "secondaryBusNumber", in cper_section_pcie_to_ir()
82 device_id, "slotNumber", in cper_section_pcie_to_ir()
84 json_object_object_add(section_ir, "deviceID", device_id); in cper_section_pcie_to_ir()
171 json_object *device_id = json_object_object_get(section, "deviceID"); in ir_section_pcie_to_cper() local
173 json_object_object_get(device_id, "classCode")); in ir_section_pcie_to_cper()
175 json_object_object_get(device_id, "vendorID")); in ir_section_pcie_to_cper()
177 json_object_object_get(device_id, "deviceID")); in ir_section_pcie_to_cper()
182 json_object_object_get(device_id, "functionNumber")); in ir_section_pcie_to_cper()
184 json_object_object_get(device_id, "deviceNumber")); in ir_section_pcie_to_cper()
186 json_object_object_get(device_id, "segmentNumber")); in ir_section_pcie_to_cper()
189 device_id, "primaryOrDeviceBusNumber")); in ir_section_pcie_to_cper()
191 json_object_object_get(device_id, "secondaryBusNumber")); in ir_section_pcie_to_cper()
193 json_object_object_get(device_id, "slotNumber")); in ir_section_pcie_to_cper()