/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() argument 254 auto rc = co_await getTidOverMctp(eid, &tid); in initMctpTerminus() local 327 co_return rc; in initMctpTerminus() local 335 co_return rc; initMctpTerminus() local 379 auto rc = co_await getPLDMVersion(tid, type, &version); initMctpTerminus() local 419 int rc = 0; sendRecvPldmMsgOverMctp() local 440 co_return rc; sendRecvPldmMsgOverMctp() local 448 auto rc = encode_get_tid_req(instanceId, requestMsg); getTidOverMctp() local 455 co_return rc; getTidOverMctp() local 466 co_return rc; getTidOverMctp() local 476 co_return rc; getTidOverMctp() local 483 co_return rc; getTidOverMctp() local 494 auto rc = encode_set_tid_req(instanceId, tid, requestMsg); setTidOverMctp() local 501 co_return rc; setTidOverMctp() local 512 co_return rc; setTidOverMctp() local 531 auto rc = encode_get_types_req(0, requestMsg); getPLDMTypes() local 537 co_return rc; getPLDMTypes() local 548 co_return rc; getPLDMTypes() local 560 co_return rc; getPLDMTypes() local 568 co_return rc; getPLDMTypes() local 579 auto rc = encode_get_commands_req(0, type, version, requestMsg); getPLDMCommands() local 585 co_return rc; getPLDMCommands() local 597 co_return rc; getPLDMCommands() local 609 co_return rc; getPLDMCommands() local 617 co_return rc; getPLDMCommands() local 666 auto rc = co_await sendRecvPldmMsgOverMctp(eid, request, responseMsg, sendRecvPldmMsg() local 681 co_return rc; sendRecvPldmMsg() local 690 auto rc = getPLDMVersion() local 697 co_return rc; getPLDMVersion() local 709 co_return rc; getPLDMVersion() local 723 co_return rc; getPLDMVersion() 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/linux/arch/powerpc/platforms/pseries/ |
H A D | vas.c | 37 static long hcall_return_busy_check(long rc) in hcall_return_busy_check() 57 long rc; in h_allocate_vas_window() local 90 long rc; in h_deallocate_vas_window() local 113 long rc; in h_modify_vas_window() local 150 long rc; in h_query_vas_capabilities() local 175 long rc; in h_get_nx_fault() local 202 int rc; in pseries_vas_fault_thread_fn() local 245 int rc; in allocate_setup_window() local 305 int rc; in vas_allocate_window() local 473 int rc = 0; in deallocate_free_window() local [all …]
|
/openbmc/libpldm/tests/oem/ibm/ |
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/libpldm/tests/oem/meta/ |
H A D | fileio.cpp | 18 int rc; in TEST() local 59 auto rc = decode_oem_meta_file_io_write_req(&msg, sizeof(msg), NULL, 0); in TEST() local 68 auto rc = decode_oem_meta_file_io_write_req(&msg, 0, &req, sizeof(req)); in TEST() local 76 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/linux/net/nfc/ |
H A D | core.c | 35 int rc = 0; in nfc_fw_download() local 91 int rc = 0; in nfc_dev_up() local 139 int rc = 0; in nfc_dev_down() local 200 int rc; in nfc_start_poll() local 243 int rc = 0; in nfc_stop_poll() local 282 int rc = 0; in nfc_dep_link_up() local 329 int rc = 0; in nfc_dep_link_down() local 396 int rc; in nfc_activate_target() local 444 int rc = 0; in nfc_deactivate_target() local 491 int rc; in nfc_data_exchange() local [all …]
|
/openbmc/linux/lib/ |
H A D | decompress_unlzma.c | 67 struct rc { struct 91 static void INIT rc_read(struct rc *rc) in rc_read() 101 static inline void INIT rc_init(struct rc *rc, in rc_init() 118 static inline void INIT rc_init_code(struct rc *rc) in rc_init_code() 131 static void INIT rc_do_normalize(struct rc *rc) in rc_do_normalize() 138 static inline void INIT rc_normalize(struct rc *rc) in rc_normalize() 148 static inline uint32_t INIT rc_is_bit_0_helper(struct rc *rc, uint16_t *p) in rc_is_bit_0_helper() 154 static inline int INIT rc_is_bit_0(struct rc *rc, uint16_t *p) in rc_is_bit_0() 161 static inline void INIT rc_update_bit_0(struct rc *rc, uint16_t *p) in rc_update_bit_0() 166 static inline void INIT rc_update_bit_1(struct rc *rc, uint16_t *p) in rc_update_bit_1() [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | cyttsp4_core.c | 88 int rc; in cyttsp4_load_status_regs() local 105 int rc; in cyttsp4_handshake() local 125 int rc = cyttsp4_adap_write(cd, CY_REG_BASE, sizeof(cmd), &cmd); in cyttsp4_hw_soft_reset() local 147 int rc = cyttsp4_hw_hard_reset(cd); in cyttsp4_hw_reset() local 167 int rc = cyttsp4_adap_read(cd, CY_REG_BASE, sizeof(si->si_data), in cyttsp4_si_data_offsets() local 206 int rc; in cyttsp4_si_get_cydata() local 283 int rc; in cyttsp4_si_get_test_data() local 342 int rc; in cyttsp4_si_get_pcfg_data() local 394 int rc; in cyttsp4_si_get_opcfg_data() local 490 int rc; in cyttsp4_si_get_ddata() 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/linux/fs/ecryptfs/ |
H A D | messaging.c | 41 int rc; in ecryptfs_acquire_free_msg_ctx() local 104 int rc; in ecryptfs_find_daemon_by_euid() local 132 int rc = 0; in ecryptfs_spawn_daemon() local 159 int rc = 0; in ecryptfs_exorcise_daemon() local 211 int rc; in ecryptfs_process_response() local 266 int rc; in ecryptfs_send_message_locked() local 306 int rc; in ecryptfs_send_message() local 330 int rc = 0; in ecryptfs_wait_for_response() local 356 int rc = 0; in ecryptfs_init_messaging() local 432 int rc; in ecryptfs_release_messaging() local
|
/openbmc/libpldm/tests/dsp/ |
H A D | platform.cpp | 24 int rc; in TEST() local 64 int rc; in TEST() local 82 auto rc = encode_set_state_effecter_states_resp(0, PLDM_SUCCESS, response); in TEST() local 102 auto rc = encode_set_state_effecter_states_req( in TEST() local 134 auto rc = decode_set_state_effecter_states_resp( in TEST() local 169 auto rc = decode_set_state_effecter_states_req( in TEST() local 186 auto rc = decode_set_state_effecter_states_req(msg, sizeof(*msg), NULL, in TEST() local 200 auto rc = decode_set_state_effecter_states_resp(response, in TEST() local 222 auto rc = encode_get_pdr_resp(0, PLDM_SUCCESS, nextRecordHndl, in TEST() local 259 auto rc = encode_get_pdr_resp(0, PLDM_SUCCESS, nextRecordHndl, 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 | firmware_update.cpp | 73 auto rc = decode_pldm_package_header_info(packagerHeaderInfo.data(), in TEST() local 101 int rc = 0; in TEST() local 222 auto rc = decode_firmware_device_id_record( in TEST() local 313 auto rc = decode_firmware_device_id_record( in TEST() local 371 int rc = 0; in TEST() local 512 int rc = 0; in TEST() local 585 int rc = 0; in TEST() local 628 int rc = 0; in TEST() local 720 auto rc = in TEST() local 748 int rc = 0; in TEST() local [all …]
|
/openbmc/libpldm/src/dsp/ |
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 270 int rc; in decode_set_state_effecter_states_req() local 317 int rc; in decode_get_pdr_req() local 366 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_pdr_resp() local 413 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_pdr_repository_info_resp() local 452 int rc; in decode_get_pdr_repository_info_resp() local 517 int rc; in decode_get_pdr_repository_info_resp_safe() local 585 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_pdr_req() local 611 int rc; in decode_get_pdr_resp() local [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ef10_sriov.c | 34 int rc; in efx_ef10_vswitch_alloc() local 78 int rc; in efx_ef10_vport_alloc() local 161 int rc; in efx_ef10_sriov_assign_vf_vport() local 190 int rc; in efx_ef10_sriov_alloc_vf_vswitching() local 216 int rc; in efx_ef10_sriov_restore_vf_vswitching() local 233 int rc; in efx_ef10_vadaptor_alloc_set_features() local 265 int rc; in efx_ef10_vswitching_probe_pf() local 314 int rc; in efx_ef10_vswitching_restore_pf() local 335 int rc; in efx_ef10_vswitching_restore_vf() local 379 int rc = 0; in efx_ef10_pci_sriov_enable() local [all …]
|
H A D | mcdi.c | 64 int rc = -ENOMEM; in efx_mcdi_init() local 357 int rc; in efx_mcdi_poll() local 504 int rc; in efx_mcdi_complete_async() local 656 int rc; in _efx_mcdi_rpc_finish() local 777 int rc; in efx_mcdi_proxy_wait() local 805 int rc; in _efx_mcdi_rpc() local 863 int rc; in _efx_mcdi_rpc_evb_retry() local 954 int rc; in efx_mcdi_rpc_start() local 979 int rc; in _efx_mcdi_rpc_async() local 1081 size_t outlen, int rc) in efx_mcdi_display_error() [all …]
|
H A D | mae.c | 26 int rc; in efx_mae_allocate_mport() local 107 int rc; in efx_mae_fw_lookup_mport() local 126 int rc; in efx_mae_start_counters() local 175 int rc, i; in efx_mae_stop_counters() local 239 int rc; in efx_mae_table_get_desc() local 357 int rc; in efx_mae_table_hook_ct() local 413 int rc, idx; in efx_mae_check_table_exists() local 448 int rc; in efx_mae_get_tables() local 485 int rc; in efx_mae_get_basic_caps() local 508 int rc, i; in efx_mae_get_rule_fields() local [all …]
|
/openbmc/linux/fs/smb/client/ |
H A D | dfs.c | 24 int rc; in dfs_parse_target_referral() local 59 int rc; in get_session() local 89 int rc; in parse_dfs_target() local 105 int rc; in set_ref_paths() local 132 int rc = -ENOENT; in __dfs_referral_walk() local 199 int rc; in dfs_referral_walk() local 220 int rc; in __dfs_mount_share() local 271 int rc = 0; in update_fs_context_dstaddr() local 286 int rc; in dfs_mount_share() local 330 int rc = 0; in target_share_matches_server() local [all …]
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | firmware_if.c | 199 int rc; in hl_request_fw() local 333 int rc; in hl_fw_load_fw_to_device() local 364 int rc; in hl_fw_send_cpu_message() local 492 int rc; in hl_fw_unmask_irq() local 515 int rc; in hl_fw_unmask_irq_arr() local 554 int rc; in hl_fw_test_cpu_queue() local 597 int rc; in hl_fw_send_soft_reset() local 611 int rc; in hl_fw_send_device_activity() local 627 int rc; in hl_fw_send_heartbeat() local 861 int rc; in hl_fw_cpucp_info_get() local [all …]
|
/openbmc/linux/arch/powerpc/sysdev/xive/ |
H A D | native.c | 51 s64 rc; in xive_native_populate_irq_data() local 101 s64 rc; in xive_native_configure_irq() local 116 s64 rc; in xive_native_get_irq_config() local 134 s64 rc = 0; in xive_native_configure_queue() local 197 s64 rc; in __xive_native_disable_queue() local 285 s64 rc; in xive_native_alloc_irq_on_chip() local 302 s64 rc = opal_xive_free_irq(irq); in xive_native_free_irq() local 313 s64 rc; in xive_native_put_ipi() local 393 s64 rc; in xive_native_setup_cpu() local 433 s64 rc; in xive_native_teardown_cpu() local [all …]
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm-chip.c | 42 int rc; in tpm_request_locality() local 57 int rc; in tpm_relinquish_locality() local 159 int rc = -EIO; in tpm_try_get_ops() local 242 int rc; in tpm_find_get_ops() local 321 int rc; in tpm_chip_alloc() local 395 int rc; in tpmm_chip_alloc() local 415 int rc; in tpm_add_char_device() local 494 int rc; in tpm_add_legacy_sysfs() local 550 int rc; in tpm_get_pcr_allocation() local 574 int rc; in tpm_chip_bootstrap() local [all …]
|
/openbmc/linux/security/integrity/ima/ |
H A D | ima_crypto.c | 77 long rc; in ima_init_ima_crypto() local 94 int rc, i; in ima_alloc_tfm() local 118 long rc; in ima_init_crypto() local 293 int rc; in ima_alloc_atfm() local 335 int rc, rbuf_len, active = 0, ahash_rc = 0; in ima_calc_file_hash_atfm() local 443 int rc; in ima_calc_file_ahash() local 462 int rc; in ima_calc_file_hash_tfm() local 510 int rc; in ima_calc_file_shash() local 539 int rc; in ima_calc_file_hash() local 590 int rc, i; in ima_calc_field_array_hash_tfm() local [all …]
|
/openbmc/linux/drivers/iio/pressure/ |
H A D | dps310.c | 63 #define DPS310_POLL_TIMEOUT_US(rc) ((rc) <= 0 ? 1000000 : 1000000 / (rc)) argument 113 int rc; in dps310_get_coefs() local 170 int rc; in dps310_temp_workaround() local 205 int rc; in dps310_startup() local 261 int rc; in dps310_get_pres_precision() local 273 int rc; in dps310_get_temp_precision() local 290 int rc; in dps310_set_pres_precision() local 309 int rc; in dps310_set_temp_precision() local 355 int rc; in dps310_get_pres_samp_freq() local 367 int rc; in dps310_get_temp_samp_freq() local [all …]
|