/openbmc/libpldm/src/oem/ibm/ |
H A D | file_io.c | 25 *file_handle = le32toh(request->file_handle); in decode_rw_file_memory_req() 26 *offset = le32toh(request->offset); in decode_rw_file_memory_req() 27 *length = le32toh(request->length); in decode_rw_file_memory_req() 108 *length = le32toh(response->length); in decode_rw_file_memory_resp() 131 *transfer_handle = le32toh(request->transfer_handle); in decode_get_file_table_req() 227 *next_transfer_handle = le32toh(response->next_transfer_handle); in decode_get_file_table_resp() 255 *file_handle = le32toh(request->file_handle); in decode_read_file_req() 256 *offset = le32toh(request->offset); in decode_read_file_req() 257 *length = le32toh(request->length); in decode_read_file_req() 312 *length = le32toh(response->length); in decode_read_file_resp() [all …]
|
H A D | host.c | 59 *rack_entry = le32toh(response->rack_entry); in decode_get_alert_status_resp() 60 *pri_cec_node = le32toh(response->pri_cec_node); in decode_get_alert_status_resp()
|
/openbmc/linux/arch/mips/tools/ |
H A D | loongson3-llsc-check.c | 21 # define le32toh(x) (x) macro 25 # define le32toh(x) bswap_32(x) macro 151 if (!is_sync(le32toh(code[-1]))) { in check_ll() 159 if (is_sc(le32toh(code[sc_pos]))) in check_ll() 173 if (!is_branch(le32toh(code[i]), &off)) in check_ll() 184 if (is_sync(le32toh(code[i + off]))) in check_ll() 207 if (is_ll(le32toh(code[0]))) { in check_code() 227 if (is_ll(le32toh(code[0]))) in check_code()
|
H A D | elf-entry.c | 15 # define le32toh(x) (x) macro 20 # define le32toh(x) bswap_32(x) macro 67 entry = le32toh(hdr.ehdr32.e_entry); in main()
|
/openbmc/linux/tools/include/tools/ |
H A D | endian.h | 23 #ifndef le32toh 24 #define le32toh(x) (x) macro 47 #ifndef le32toh 48 #define le32toh(x) __bswap_32(x) macro
|
/openbmc/libpldm/src/dsp/ |
H A D | fru.c | 64 *fru_table_maximum_size = le32toh(response->fru_table_maximum_size); in decode_get_fru_record_table_metadata_resp() 65 *fru_table_length = le32toh(response->fru_table_length); in decode_get_fru_record_table_metadata_resp() 69 *checksum = le32toh(response->checksum); in decode_get_fru_record_table_metadata_resp() 133 *data_transfer_handle = le32toh(req->data_transfer_handle); in decode_get_fru_record_table_req() 356 *data_transfer_handle = le32toh(req->data_transfer_handle); in decode_get_fru_record_by_option_req() 435 *next_transfer_handle = le32toh(resp->next_data_transfer_handle); in decode_get_fru_record_by_option_resp() 501 *next_data_transfer_handle = le32toh(resp->next_data_transfer_handle); in decode_get_fru_record_table_resp_safe() 552 *data_transfer_handle = le32toh(req->data_transfer_handle); in decode_set_fru_record_table_req()
|
H A D | bios.c | 297 *transfer_handle = le32toh(request->transfer_handle); in decode_get_bios_table_req() 329 *next_transfer_handle = le32toh(response->next_transfer_handle); in decode_get_bios_table_resp() 395 *next_transfer_handle = le32toh(response->next_transfer_handle); in decode_get_bios_attribute_current_value_by_handle_resp() 422 *transfer_handle = le32toh(request->transfer_handle); in decode_get_bios_attribute_current_value_by_handle_req() 531 *next_transfer_handle = le32toh(response->next_transfer_handle); in decode_set_bios_attribute_current_value_resp() 552 *transfer_handle = le32toh(request->transfer_handle); in decode_set_bios_attribute_current_value_req() 654 *next_transfer_handle = le32toh(response->next_transfer_handle); in decode_set_bios_table_resp() 703 *transfer_handle = le32toh(request->transfer_handle); in decode_set_bios_table_req()
|
H A D | base.c | 375 *transfer_handle = le32toh(request->transfer_handle); in decode_get_version_req() 404 *next_transfer_handle = le32toh(response->next_transfer_handle); in decode_get_version_resp() 537 uint32_t sec_offset = le32toh(request->section_offset); in decode_multipart_receive_req() 544 uint32_t handle = le32toh(request->transfer_handle); in decode_multipart_receive_req() 554 *section_length = le32toh(request->section_length); in decode_multipart_receive_req()
|
H A D | firmware_update.c | 439 le32toh(data_record->device_update_option_flags.value); in decode_firmware_device_id_record_errno() 698 le32toh(data_header->comp_comparison_stamp); in decode_pldm_comp_image_info_errno() 704 le32toh(data_header->comp_location_offset); in decode_pldm_comp_image_info_errno() 705 pldm_comp_image_info->comp_size = le32toh(data_header->comp_size); in decode_pldm_comp_image_info_errno() 790 *device_identifiers_len = le32toh(response->device_identifiers_len); in decode_query_device_identifiers_resp() 943 le32toh(response->capabilities_during_update.value); in decode_get_firmware_parameters_resp() 1137 le32toh(entry->active_comp_comparison_stamp); in decode_get_firmware_parameters_resp_comp_entry() 1146 le32toh(entry->pending_comp_comparison_stamp); in decode_get_firmware_parameters_resp_comp_entry() 1157 le32toh(entry->capabilities_during_update.value); in decode_get_firmware_parameters_resp_comp_entry() 2049 le32toh(respons in decode_update_component_resp() [all...] |
/openbmc/pldm/pldmtool/oem/ibm/ |
H A D | pldm_oem_ibm.cpp | 186 fdata["FileSize"] = le32toh(fileSize); in printFileAttrTable() 191 fdata["FileTraits"] = le32toh(fileTraits); in printFileAttrTable()
|
/openbmc/u-boot/tools/ |
H A D | mips-relocs.c | 41 _val = is_be ? be32toh(_val) : le32toh(_val); \ 154 off = is_be ? be32toh(rel->r_offset) : le32toh(rel->r_offset); in parse_mips32_rel() 157 type = is_be ? be32toh(rel->r_info) : le32toh(rel->r_info); in parse_mips32_rel()
|
/openbmc/hiomapd/ |
H A D | common.c | 68 return le32toh(*(uint32_t *)ptr); in get_u32()
|
/openbmc/phosphor-mboxd/ |
H A D | common.c | 65 return le32toh(*(uint32_t *)ptr); in get_u32()
|
/openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/ |
H A D | endianess-header.patch | 51 +# define le32toh(x) (x) 66 +# define le32toh(x) __bswap_32 (x)
|
/openbmc/phosphor-net-ipmid/ |
H A D | endian.hpp | 49 return le32toh(i); in from_ipmi()
|
/openbmc/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.c | 2480 if (le32toh(desc[i].len) % sizeof(struct vring_desc)) { in vu_queue_get_avail_bytes() 2494 desc_len = le32toh(desc[i].len); in vu_queue_get_avail_bytes() 2522 in_total += le32toh(desc[i].len); in vu_queue_get_avail_bytes() 2524 out_total += le32toh(desc[i].len); in vu_queue_get_avail_bytes() 2800 if (le32toh(desc[i].len) % sizeof(struct vring_desc)) { in vu_queue_map_desc() 2807 desc_len = le32toh(desc[i].len); in vu_queue_map_desc() 2833 le32toh(desc[i].len))) { in vu_queue_map_desc() 2844 le32toh(desc[i].len))) { in vu_queue_map_desc() 3046 if (le32toh(desc[i].len) % sizeof(struct vring_desc)) { in vu_log_queue_fill() 3053 desc_len = le32toh(desc[i].len); in vu_log_queue_fill() [all …]
|
/openbmc/linux/tools/bootconfig/ |
H A D | main.c | 206 size = le32toh(size); in load_xbc_from_initrd() 210 csum = le32toh(csum); in load_xbc_from_initrd()
|
/openbmc/libpldm/tests/oem/ibm/ |
H A D | fileio.cpp | 398 EXPECT_EQ(transferHandle, le32toh(req->transfer_handle)); in TEST() 716 ASSERT_EQ(le32toh(response->length), length); in TEST() 740 ASSERT_EQ(le32toh(response->length), length); in TEST() 764 ASSERT_EQ(le32toh(request->file_handle), fileHandle); in TEST() 765 ASSERT_EQ(le32toh(request->offset), offset); in TEST() 766 ASSERT_EQ(le32toh(request->length), length); in TEST() 790 ASSERT_EQ(le32toh(request->file_handle), fileHandle); in TEST() 791 ASSERT_EQ(le32toh(request->offset), offset); in TEST() 792 ASSERT_EQ(le32toh(request->length), length); in TEST()
|
/openbmc/libpldm/src/ |
H A D | msgbuf.h | 495 ldst = le32toh(ldst); in pldm__msgbuf_extract_int32() 528 ldst = le32toh(ldst); in pldm__msgbuf_extract_real32() 564 ldst = le32toh(ldst);
|
/openbmc/qemu/subprojects/libvduse/ |
H A D | libvduse.c | 661 if (le32toh(desc[i].len) % sizeof(struct vring_desc)) { in vduse_queue_map_desc() 668 desc_len = le32toh(desc[i].len); in vduse_queue_map_desc() 694 le32toh(desc[i].len))) { in vduse_queue_map_desc() 705 le32toh(desc[i].len))) { in vduse_queue_map_desc()
|
/openbmc/libpldm/tests/dsp/ |
H A D | bios.cpp | 372 EXPECT_EQ(nextTransferHandle, le32toh(resp->next_transfer_handle)); in TEST() 407 EXPECT_EQ(transferHandle, le32toh(req->transfer_handle)); in TEST() 607 EXPECT_EQ(transferHandle, le32toh(req->transfer_handle)); in TEST() 652 EXPECT_EQ(nextTransferHandle, le32toh(resp->next_transfer_handle)); in TEST()
|
H A D | fru.cpp | 389 ASSERT_EQ(le32toh(response->next_data_transfer_handle), in TEST() 447 ASSERT_EQ(le32toh(data_transfer_handle), request->data_transfer_handle); in TEST() 569 EXPECT_EQ(le32toh(payLoadMsg->data_transfer_handle), dataTransferHandle); in TEST()
|
/openbmc/libpldm/include/libpldm/ |
H A D | base.h | 184 #define LE32TOH(X) ((X) = le32toh(X))
|
/openbmc/pldm/fw-update/ |
H A D | package_parser.cpp | 280 le32toh(pkgHdr[offset] | (pkgHdr[offset + 1] << 8) | in parse()
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | gen-hyprel.c | 142 #define elf32toh(x) le32toh(x)
|