Home
last modified time | relevance | path

Searched refs:get_unaligned_be32 (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/u-boot/drivers/tpm/
H A Dtpm2_tis_sandbox.c96 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 Dtpm_tis_sandbox.c188 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 Dtpm-uclass.c100 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 Dtpm_atmel_twi.c109 hdr_recv_len = get_unaligned_be32(recvbuf + 2); in tpm_atmel_twi_xfer()
H A Dtpm_tis_st33zp24_i2c.c322 expected = get_unaligned_be32(buf + 2); in st33zp24_i2c_recv()
H A Dtpm2_tis_core.c354 expected = get_unaligned_be32(buf + TPM_CMD_COUNT_OFFSET); in tpm_tis_recv()
H A Dtpm_tis_infineon.c394 expected = get_unaligned_be32(buf + TPM_RSP_SIZE_BYTE); in tpm_tis_i2c_recv()
H A Dtpm_tis_st33zp24_spi.c450 expected = get_unaligned_be32(buf + 2); in st33zp24_spi_recv()
H A Dtpm2_tis_spi.c376 expected = get_unaligned_be32(buf + 2); in tpm_tis_spi_recv()
/openbmc/u-boot/board/gdsys/a38x/
H A Dkeyprogram.c31 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 Dhre.c126 *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 Dcontrolcenterd-id.c287 *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 Dtpm-common.c135 *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 Dlzo1x_decompress.c63 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 Dunaligned-sh4a.h86 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 Daccess_ok.h26 static inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32() function
H A Dbe_byteshift.h45 static inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32() function
H A Dgeneric.h21 __builtin_choose_expr(sizeof(*(ptr)) == 4, get_unaligned_be32((ptr)), \
/openbmc/u-boot/drivers/net/phy/
H A Dncsi.c209 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 Drsa-mod-exp.c24 #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 Dtpm-common.c224 value = get_unaligned_be32(data + offset); in type_string_write_vars()
H A Dtpm-v1.c567 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 Df_mass_storage.c700 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 Df_rockusb.c640 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 Dstorage_common.c371 return 0xffffff & (u32) get_unaligned_be32(buf - 1); in get_unaligned_be24()

12