/openbmc/pldm/platform-mc/ |
H A D | platform_manager.cpp | 31 auto rc = in initTerminus() local 49 auto rc = in initTerminus() local 61 auto rc = co_await getPDRs(terminus); in initTerminus() local 91 auto rc = co_await eventMessageBufferSize( in initTerminus() local 105 auto rc = co_await configEventReceiver(tid); in initTerminus() local 151 auto rc = co_await eventMessageSupported( in configEventReceiver() local 210 auto rc = co_await setEventReceiver(tid, eventMessageGlobalEnable, in configEventReceiver() local 237 auto rc = in getPDRs() local 274 auto rc = in getPDRs() local 285 co_return rc; in getPDRs() local [all …]
|
H A D | terminus_manager.cpp | 166 stdexec::then([&](int rc) { rcOpt.emplace(rc); }), in discoverMctpTerminus() 205 auto rc = co_await initMctpTerminus(mctpInfo); in discoverMctpTerminusTask() local 276 auto rc = co_await getTidOverMctp(eid, &tid); in initMctpTerminus() local 358 co_return rc; in initMctpTerminus() local 402 auto rc = co_await getPLDMVersion(tid, type, &version); in initMctpTerminus() local 451 int rc = 0; in sendRecvPldmMsgOverMctp() local 472 co_return rc; in sendRecvPldmMsgOverMctp() local 480 auto rc = encode_get_tid_req(instanceId, requestMsg); in getTidOverMctp() local 487 co_return rc; in getTidOverMctp() local 498 co_return rc; in getTidOverMctp() local [all …]
|
/openbmc/hiomapd/ |
H A D | mboxctl.c | 55 int rc; in init_mboxctl_dbus() local 70 int rc; in mboxctl_directive() local 108 int rc; in handle_cmd_ping() local 119 int rc; in handle_cmd_daemon_state() local 133 int rc; in handle_cmd_lpc_state() local 150 int rc; in handle_cmd_kill() local 160 int rc; in handle_cmd_reset() local 170 int rc; in handle_cmd_suspend() local 183 int rc; in handle_cmd_resume() local 237 int rc; in handle_cmd_modified() local [all …]
|
/openbmc/slpd-lite/test/ |
H A D | slp_parser_test.cpp | 25 int rc = slp::SUCCESS; in TEST() local 38 int rc = slp::SUCCESS; in TEST() local 51 int rc = slp::SUCCESS; in TEST() local 64 int rc = slp::SUCCESS; in TEST() local 88 int rc = slp::SUCCESS; in TEST() local 106 int rc = slp::SUCCESS; in TEST() local 129 int rc = slp::SUCCESS; in TEST() local 153 int rc = slp::SUCCESS; in TEST() local 197 int rc = slp::SUCCESS; in TEST() local 217 int rc = slp::SUCCESS; in TEST() local [all …]
|
/openbmc/libpldm/tests/oem/meta/ |
H A D | fileio.cpp | 19 int rc; in TEST() local 60 auto rc = decode_oem_meta_file_io_write_req(&msg, sizeof(msg), NULL, 0); in TEST() local 69 auto rc = decode_oem_meta_file_io_write_req(&msg, 0, &req, sizeof(req)); in TEST() local 77 int rc; in TEST() local 88 int rc; in TEST() local 123 auto rc = decode_oem_meta_file_io_read_req( in TEST() local 133 auto rc = decode_oem_meta_file_io_read_req(&msg, 0, &req); in TEST() local 142 auto rc = decode_oem_meta_file_io_read_req( in TEST() local 149 int rc; in TEST() local 180 int rc; in TEST() local [all …]
|
/openbmc/phosphor-mboxd/ |
H A D | mboxctl.c | 79 int rc; in init_mboxctl_dbus() local 98 int rc; in send_dbus_msg() local 174 int rc; in handle_cmd_ping() local 193 int rc; in handle_cmd_daemon_state() local 226 int rc; in handle_cmd_lpc_state() local 262 int rc; in handle_cmd_kill() local 281 int rc; in handle_cmd_reset() local 300 int rc; in handle_cmd_suspend() local 319 int rc; in handle_cmd_resume() local 362 int rc; in handle_cmd_modified() local [all …]
|
/openbmc/libpldm/src/dsp/ |
H A D | file.c | 22 int rc; in encode_pldm_file_df_open_req() local 57 int rc; in decode_pldm_file_df_open_req() local 81 int rc; in encode_pldm_file_df_open_resp() local 118 int rc; in decode_pldm_file_df_open_resp() local 153 int rc; in encode_pldm_file_df_close_req() local 188 int rc; in decode_pldm_file_df_close_req() local 212 int rc; in encode_pldm_file_df_close_resp() local 260 int rc; in encode_pldm_file_df_heartbeat_req() local 295 int rc; in decode_pldm_file_df_heartbeat_resp() local
|
H A D | platform.c | 191 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_set_state_effecter_states_resp() local 223 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_set_state_effecter_states_req() local 269 int rc; in decode_set_state_effecter_states_req() local 318 int rc; in decode_get_pdr_req() local 367 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_pdr_resp() local 432 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_pdr_repository_info_resp() local 470 int rc; in decode_get_pdr_repository_info_resp() local 537 int rc; in decode_get_pdr_repository_info_resp_safe() local 605 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_pdr_req() local 630 int rc; in decode_get_pdr_resp() local [all …]
|
H A D | firmware_update.c | 402 int rc; in decode_pldm_package_header_info_errno() local 602 int rc; in decode_pldm_package_header_info() local 648 int rc; in pldm_msgbuf_init_dynamic_uint16() local 703 int rc; in decode_pldm_package_firmware_device_id_record_errno() local 814 int rc; in decode_firmware_device_id_record() local 857 int rc; in decode_pldm_descriptor_from_iter() local 928 int rc; in decode_descriptor_type_length_value() local 990 int rc; in decode_vendor_defined_descriptor_value() local 1072 int rc; in decode_pldm_comp_image_info() local 1155 int rc; in encode_query_device_identifiers_resp() local [all …]
|
H A D | base.c | 79 int rc; in pack_pldm_header() local 101 int rc; in unpack_pldm_header() local 155 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_commands_req() local 182 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_types_resp() local 231 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_commands_resp() local 316 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_version_req() local 347 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_version_resp() local 439 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_tid_resp() local 493 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_set_tid_req() local 510 int rc; in decode_set_tid_req() local [all …]
|
/openbmc/libpldm/tests/dsp/ |
H A D | file.cpp | 30 auto rc = encode_pldm_file_df_open_req(instance_id, &req_data, requestPtr, in TEST() local 47 int rc; in TEST() local 73 int rc; in TEST() local 97 int rc; in TEST() local 128 int rc; in TEST() local 159 int rc; in TEST() local 194 auto rc = encode_pldm_file_df_close_req(instance_id, &req_data, requestPtr, in TEST() local 211 int rc; in TEST() local 237 int rc; in TEST() local 260 int rc; in TEST() local [all …]
|
H A D | base.cpp | 25 auto rc = pack_pldm_header(hdr_ptr, &msg); in TEST() local 66 auto rc = pack_pldm_header(&hdr, &msg); in TEST() local 110 auto rc = pack_pldm_header(&hdr, &msg); in TEST() local 137 auto rc = unpack_pldm_header(nullptr, &hdr); in TEST() local 148 auto rc = unpack_pldm_header(&msg, &hdr); in TEST() local 180 auto rc = unpack_pldm_header(&msg, &hdr); in TEST() local 208 auto rc = encode_get_commands_req(0, pldmType, version, request); in TEST() local 229 auto rc = decode_get_commands_req(request, requestMsg.size() - hdrSize, in TEST() local 249 auto rc = in TEST() local 273 auto rc = encode_get_types_resp(0, PLDM_SUCCESS, types.data(), response); in TEST() local [all …]
|
H A D | bios.cpp | 19 auto rc = encode_get_date_time_req(0, &request); in TEST() local 39 auto rc = encode_get_date_time_resp(0, PLDM_SUCCESS, seconds, minutes, in TEST() local 110 auto rc = decode_get_date_time_resp( in TEST() local 134 auto rc = encode_set_date_time_resp(instanceId, completionCode, response, in TEST() local 154 auto rc = encode_set_date_time_resp(instanceId, completionCode, nullptr, in TEST() local 179 auto rc = decode_set_date_time_resp(response, responseMsg.size() - hdrSize, in TEST() local 195 auto rc = decode_set_date_time_resp(nullptr, responseMsg.size() - hdrSize, in TEST() local 220 auto rc = encode_set_date_time_req(instanceId, seconds, minutes, hours, day, in TEST() local 256 auto rc = encode_set_date_time_req(instanceId, seconds, minutes, hours, day, in TEST() local 302 auto rc = decode_set_date_time_req(request, requestMsg.size() - hdrSize, in TEST() local [all …]
|
H A D | fru.cpp | 18 auto rc = encode_get_fru_record_table_metadata_req( in TEST() local 29 auto rc = encode_get_fru_record_table_metadata_req(0, NULL, 0); in TEST() local 72 auto rc = decode_get_fru_record_table_metadata_resp( in TEST() local 149 auto rc = decode_get_fru_record_table_metadata_resp( in TEST() local 222 auto rc = encode_get_fru_record_table_metadata_resp( in TEST() local 291 auto rc = encode_get_fru_record_table_metadata_resp( in TEST() local 332 auto rc = decode_get_fru_record_table_req(requestPtr, payload_length, in TEST() local 353 auto rc = decode_get_fru_record_table_req(NULL, 0, &data_transfer_handle, in TEST() local 379 auto rc = encode_get_fru_record_table_resp(0, completion_code, in TEST() local 404 auto rc = encode_get_fru_record_table_resp( in TEST() local [all …]
|
/openbmc/qemu/hw/core/ |
H A D | resetcontainer.c | 29 void resettable_container_add(ResettableContainer *rc, Object *obj) in resettable_container_add() 35 void resettable_container_remove(ResettableContainer *rc, Object *obj) in resettable_container_remove() 42 ResettableContainer *rc = RESETTABLE_CONTAINER(obj); in resettable_container_get_state() local 50 ResettableContainer *rc = RESETTABLE_CONTAINER(obj); in resettable_container_child_foreach() local 62 ResettableContainer *rc = RESETTABLE_CONTAINER(obj); in resettable_container_init() local 74 ResettableClass *rc = RESETTABLE_CLASS(klass); in resettable_container_class_init() local
|
H A D | resettable.c | 77 ResettableClass *rc = RESETTABLE_GET_CLASS(obj); in resettable_is_in_reset() local 87 static void resettable_child_foreach(ResettableClass *rc, Object *obj, in resettable_child_foreach() 98 ResettableClass *rc = RESETTABLE_GET_CLASS(obj); in resettable_phase_enter() local 145 ResettableClass *rc = RESETTABLE_GET_CLASS(obj); in resettable_phase_hold() local 170 ResettableClass *rc = RESETTABLE_GET_CLASS(obj); in resettable_phase_exit() local 199 ResettableClass *rc = RESETTABLE_GET_CLASS(obj); in resettable_get_count() local 207 ResettableClass *rc = RESETTABLE_GET_CLASS(obj); in resettable_change_parent() local 249 void resettable_class_set_parent_phases(ResettableClass *rc, in resettable_class_set_parent_phases()
|
/openbmc/dbus-sensors/src/nvidia-gpu/ |
H A D | NvidiaGpuMctpVdm.cpp | 49 auto rc = packHeader(header, msg->hdr.msgHdr.hdr); in encodeQueryDeviceIdentificationRequest() local 68 auto rc = in decodeQueryDeviceIdentificationResponse() local 107 auto rc = packHeader(header, msg->hdr.msgHdr.hdr); in encodeGetTemperatureReadingRequest() local 127 auto rc = in decodeGetTemperatureReadingResponse() local 173 auto rc = packHeader(header, msg->hdr.msgHdr.hdr); in encodeReadThermalParametersRequest() local 193 auto rc = in decodeReadThermalParametersResponse() local 239 auto rc = packHeader(header, msg->hdr.msgHdr.hdr); in encodeGetPowerDrawRequest() local 258 auto rc = in decodeGetPowerDrawResponse() local 303 auto rc = packHeader(header, msg->hdr.msgHdr.hdr); in encodeGetCurrentEnergyCounterRequest() local 323 auto rc = in decodeGetCurrentEnergyCounterResponse() local [all …]
|
/openbmc/libpldm/tests/oem/ibm/ |
H A D | host.cpp | 20 auto rc = encode_get_alert_status_req(0, versionId, request, in TEST() local 29 auto rc = encode_get_alert_status_req(0, 0x0, request, in TEST() local 50 auto rc = decode_get_alert_status_resp( in TEST() local 61 auto rc = decode_get_alert_status_resp(NULL, 0, NULL, NULL, NULL); in TEST() local 91 auto rc = encode_get_alert_status_resp(0, PLDM_SUCCESS, rack_entry, in TEST() local 108 auto rc = encode_get_alert_status_resp( in TEST() local 123 auto rc = decode_get_alert_status_req(req, PLDM_GET_ALERT_STATUS_REQ_BYTES, in TEST() local 138 auto rc = decode_get_alert_status_req( in TEST() local
|
H A D | fileio.cpp | 47 auto rc = decode_rw_file_memory_req(request, requestMsg.size() - hdrSize, in TEST() local 66 auto rc = decode_rw_file_memory_req(NULL, 0, &fileHandle, &offset, &length, in TEST() local 96 auto rc = encode_rw_file_memory_resp(0, PLDM_READ_FILE_INTO_MEMORY, in TEST() local 131 auto rc = encode_rw_file_memory_resp(0, PLDM_READ_FILE_INTO_MEMORY, in TEST() local 173 auto rc = decode_rw_file_memory_resp(response, responseMsg.size() - hdrSize, in TEST() local 186 auto rc = decode_rw_file_memory_resp(NULL, 0, &completionCode, &length); in TEST() local 216 auto rc = in TEST() local 245 auto rc = in TEST() local 278 auto rc = decode_get_file_table_req(request, requestMsg.size() - hdrSize, in TEST() local 295 auto rc = decode_get_file_table_req(nullptr, 0, &transferHandle, in TEST() local [all …]
|
/openbmc/pldm/common/ |
H A D | instance_id.hpp | 22 int rc = pldm_instance_db_init_default(&pldmInstanceIdDb); in InstanceIdDb() local 35 int rc = pldm_instance_db_init(&pldmInstanceIdDb, path.c_str()); in InstanceIdDb() local 62 int rc = pldm_instance_id_alloc(pldmInstanceIdDb, tid, &id); in next() local 83 int rc = pldm_instance_id_free(pldmInstanceIdDb, tid, instanceId); in free() local
|
/openbmc/u-boot/drivers/power/ |
H A D | axp209.c | 34 int rc; in axp_set_dcdc2() local 66 int rc; in axp_set_dcdc3() local 81 int rc; in axp_set_aldo2() local 105 int rc; in axp_set_aldo3() local 164 int rc; in axp_set_aldo4() local 193 int i, rc; in axp_init() local
|
/openbmc/phosphor-debug-collector/host-transport-extensions/pldm/common/ |
H A D | pldm_utils.cpp | 42 auto rc = pldm_instance_db_init_default(&pldmInstanceIdDb); in initPLDMInstanceIdDb() local 55 auto rc = pldm_instance_db_destroy(pldmInstanceIdDb); in destroyPLDMInstanceIdDb() local 66 auto rc = pldm_instance_id_alloc(pldmInstanceIdDb, tid, &instanceID); in getPLDMInstanceID() local 88 auto rc = pldm_instance_id_free(pldmInstanceIdDb, tid, instanceID); in freePLDMInstanceID() local 124 int rc = pldm_transport_mctp_demux_init(&mctpDemux); in openMctpDemuxTransport() local
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | hex_utils.hpp | 17 std::string rc(digits, '0'); in intToHexString() local 29 std::string rc(bytes.size() * 2, '0'); in bytesToHexString() local 41 uint8_t rc = 16; in hexCharToNibble() local 61 std::vector<uint8_t> rc(str.size() / 2, 0); in hexStringToBytes() local
|
/openbmc/skeleton/ledctl/ |
H A D | led_controller.c | 52 int rc = -1; in write_to_led() local 95 int rc = -1; in led_function_router() local 168 int rc = -1; in led_stable_state_function() local 216 int rc = -1; in blink_led() local 256 int rc = -1; in led_default_blink() local 293 int rc = -1; in led_custom_blink() local 355 int rc = -1; in read_led() local 437 int rc = -1; in start_led_services() local 571 int rc = 0; in main() local
|
/openbmc/sdbusplus/src/ |
H A D | bus.cpp | 27 auto rc = sd_bus_default(&b); in new_default() local 39 auto rc = sd_bus_default_user(&b); in new_default_user() local 51 auto rc = sd_bus_default_system(&b); in new_default_system() local 63 auto rc = sd_bus_open(&b); in new_bus() local 77 auto rc = sd_bus_open_user(&b); in new_user() local 91 auto rc = sd_bus_open_system(&b); in new_system() local
|