| /openbmc/u-boot/drivers/tpm/ |
| H A D | tpm2_tis_sandbox.c | 96 handle = get_unaligned_be32(*auth); in sandbox_tpm2_check_session() 132 auth_sz = get_unaligned_be32(*auth); in sandbox_tpm2_check_session() 135 session_handle = get_unaligned_be32(*auth); in sandbox_tpm2_check_session() 280 length = get_unaligned_be32(sent); in sandbox_tpm2_xfer() 290 command = get_unaligned_be32(sent); in sandbox_tpm2_xfer() 375 capability = get_unaligned_be32(sent); in sandbox_tpm2_xfer() 377 property = get_unaligned_be32(sent); in sandbox_tpm2_xfer() 379 property_count = get_unaligned_be32(sent); in sandbox_tpm2_xfer() 485 tpm->properties[TPM2_PROP_MAX_TRIES] = get_unaligned_be32(sent); in sandbox_tpm2_xfer() 487 tpm->properties[TPM2_RECOVERY_TIME] = get_unaligned_be32(sent); in sandbox_tpm2_xfer() [all …]
|
| H A D | tpm_tis_sandbox.c | 188 code = get_unaligned_be32(sendbuf + sizeof(uint16_t) + in sandbox_tpm_xfer() 197 type = get_unaligned_be32(sendbuf + 14); in sandbox_tpm_xfer() 200 index = get_unaligned_be32(sendbuf + 18); in sandbox_tpm_xfer() 235 index = get_unaligned_be32(sendbuf + 18); in sandbox_tpm_xfer() 247 index = get_unaligned_be32(sendbuf + 10); in sandbox_tpm_xfer() 248 length = get_unaligned_be32(sendbuf + 18); in sandbox_tpm_xfer() 259 index = get_unaligned_be32(sendbuf + 10); in sandbox_tpm_xfer() 260 length = get_unaligned_be32(sendbuf + 18); in sandbox_tpm_xfer()
|
| H A D | tpm-uclass.c | 100 count = get_unaligned_be32(sendbuf + TPM_CMD_COUNT_BYTE); in tpm_xfer() 101 ordinal = get_unaligned_be32(sendbuf + TPM_CMD_ORDINAL_BYTE); in tpm_xfer()
|
| H A D | tpm_atmel_twi.c | 109 hdr_recv_len = get_unaligned_be32(recvbuf + 2); in tpm_atmel_twi_xfer()
|
| H A D | tpm_tis_st33zp24_i2c.c | 322 expected = get_unaligned_be32(buf + 2); in st33zp24_i2c_recv()
|
| H A D | tpm2_tis_core.c | 354 expected = get_unaligned_be32(buf + TPM_CMD_COUNT_OFFSET); in tpm_tis_recv()
|
| H A D | tpm_tis_infineon.c | 394 expected = get_unaligned_be32(buf + TPM_RSP_SIZE_BYTE); in tpm_tis_i2c_recv()
|
| H A D | tpm_tis_st33zp24_spi.c | 450 expected = get_unaligned_be32(buf + 2); in st33zp24_spi_recv()
|
| H A D | tpm2_tis_spi.c | 376 expected = get_unaligned_be32(buf + 2); in tpm_tis_spi_recv()
|
| /openbmc/u-boot/board/gdsys/a38x/ |
| H A D | keyprogram.c | 31 err = tpm_flush_specific(tpm, get_unaligned_be32(ptr), in flush_keys() 78 magic = get_unaligned_be32(*progdata); in extract_subprogram() 79 code_crc = get_unaligned_be32(*progdata + 4); in extract_subprogram() 80 code_size = get_unaligned_be32(*progdata + 8); in extract_subprogram()
|
| H A D | hre.c | 126 *size = get_unaligned_be32(ptr); in get_tpm_nv_size() 158 key_handles[i] = get_unaligned_be32(ptr); in find_key() 209 platform_key_handle = get_unaligned_be32(buf + 24); in read_common_data() 394 ins = get_unaligned_be32(*ip); in hre_execute_op()
|
| /openbmc/u-boot/board/gdsys/p1022/ |
| H A D | controlcenterd-id.c | 287 *size = get_unaligned_be32(ptr); in get_tpm_nv_size() 318 key_handles[i] = get_unaligned_be32(ptr); in find_key() 368 platform_key_handle = get_unaligned_be32(buf + 24); in read_common_data() 633 ins = get_unaligned_be32(*ip); in hre_execute_op() 760 type = get_unaligned_be32(hmac->code); in check_hmac() 814 header.magic = get_unaligned_be32(buf); in load_sd_key_program() 815 header.code_crc = get_unaligned_be32(buf + 4); in load_sd_key_program() 816 header.code_size = get_unaligned_be32(buf + 8); in load_sd_key_program() 841 header.magic = get_unaligned_be32(buf); in load_sd_key_program() 842 header.code_crc = get_unaligned_be32(buf + 4); in load_sd_key_program() [all …]
|
| /openbmc/u-boot/lib/ |
| H A D | tpm-common.c | 135 *ptr32 = get_unaligned_be32(str + offset); in unpack_byte_string() 151 return get_unaligned_be32(command + command_size_offset); in tpm_command_size() 158 return get_unaligned_be32(response + return_code_offset); in tpm_return_code()
|
| /openbmc/u-boot/lib/lzo/ |
| H A D | lzo1x_decompress.c | 63 if (get_unaligned_be32(src) & HEADER_HAS_FILTER) in parse_header() 94 dlen = get_unaligned_be32(src); in lzop_decompress() 104 slen = get_unaligned_be32(src); in lzop_decompress()
|
| /openbmc/u-boot/arch/sh/include/asm/ |
| H A D | unaligned-sh4a.h | 86 static inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32() function 203 __builtin_choose_expr(sizeof(*(ptr)) == 4, get_unaligned_be32((ptr)), \
|
| /openbmc/u-boot/include/linux/unaligned/ |
| H A D | access_ok.h | 26 static inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32() function
|
| H A D | be_byteshift.h | 45 static inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32() function
|
| H A D | generic.h | 21 __builtin_choose_expr(sizeof(*(ptr)) == 4, get_unaligned_be32((ptr)), \
|
| /openbmc/u-boot/drivers/net/phy/ |
| H A D | ncsi.c | 209 pchecksum = get_unaligned_be32((void *)hdr + c_offset); in ncsi_validate_rsp() 314 c->version.version = get_unaligned_be32(&gvi->ncsi_version); in ncsi_rsp_gvi() 317 c->version.fw_version = get_unaligned_be32(&gvi->fw_version); in ncsi_rsp_gvi() 320 c->version.mf_id = get_unaligned_be32(&gvi->mf_id); in ncsi_rsp_gvi() 343 !!(get_unaligned_be32(&gls->status)); in ncsi_rsp_gls() 607 pchecksum = get_unaligned_be32((void *)(hdr + 1) + payload - 4); in ncsi_handle_aen()
|
| /openbmc/u-boot/lib/rsa/ |
| H A D | rsa-mod-exp.c | 24 #define get_unaligned_be32(a) fdt32_to_cpu(*(uint32_t *)a) macro 193 val[i] = get_unaligned_be32(ptr); in pow_mod()
|
| /openbmc/u-boot/cmd/ |
| H A D | tpm-common.c | 224 value = get_unaligned_be32(data + offset); in type_string_write_vars()
|
| H A D | tpm-v1.c | 567 tpm1_flush_specific(dev, get_unaligned_be32(ptr), type); in TPM_COMMAND_NO_ARG() 642 printf("Index %d: %08x\n", i, get_unaligned_be32(ptr)); in do_tpm_list()
|
| /openbmc/u-boot/drivers/usb/gadget/ |
| H A D | f_mass_storage.c | 700 lba = get_unaligned_be32(&common->cmnd[2]); in do_read() 833 lba = get_unaligned_be32(&common->cmnd[2]); in do_write() 1006 lba = get_unaligned_be32(&common->cmnd[2]); in do_verify() 1162 u32 lba = get_unaligned_be32(&common->cmnd[2]); in do_read_capacity() 1182 u32 lba = get_unaligned_be32(&common->cmnd[2]); in do_read_header() 1874 get_unaligned_be32(&common->cmnd[6]) << 9; in do_scsi_command() 1992 get_unaligned_be32(&common->cmnd[6]) << 9; in do_scsi_command()
|
| H A D | f_rockusb.c | 640 f_rkusb->lba = get_unaligned_be32(&cbw->CDB[2]); in cb_read_lba() 682 f_rkusb->lba = get_unaligned_be32(&cbw->CDB[2]); in cb_write_lba() 723 lba = get_unaligned_be32(&cbw->CDB[2]); in cb_erase_lba()
|
| H A D | storage_common.c | 371 return 0xffffff & (u32) get_unaligned_be32(buf - 1); in get_unaligned_be24()
|