Home
last modified time | relevance | path

Searched refs:get_unaligned_be16 (Results 1 – 19 of 19) sorted by relevance

/openbmc/u-boot/net/
H A Ddns.c141 if (&p[5] > e || get_unaligned_be16(p+1) != DNS_A_RECORD) { in dns_handler()
160 type = get_unaligned_be16(p+2); in dns_handler()
165 dlen = get_unaligned_be16(p+10); in dns_handler()
179 dlen = get_unaligned_be16(p+10); in dns_handler()
/openbmc/u-boot/drivers/tpm/
H A Dtpm2_tis_sandbox.c142 nonce_sz = get_unaligned_be16(*auth); in sandbox_tpm2_check_session()
152 pw_sz = get_unaligned_be16(*auth); in sandbox_tpm2_check_session()
277 tag = get_unaligned_be16(sent); in sandbox_tpm2_xfer()
306 mode = get_unaligned_be16(sent); in sandbox_tpm2_xfer()
361 new_pw_sz = get_unaligned_be16(sent); in sandbox_tpm2_xfer()
504 alg = get_unaligned_be16(sent); in sandbox_tpm2_xfer()
589 alg = get_unaligned_be16(sent); in sandbox_tpm2_xfer()
/openbmc/u-boot/drivers/net/
H A Ddnet.c207 tmp = get_unaligned_be16(netdev->enetaddr); in dnet_set_hwaddr()
209 tmp = get_unaligned_be16(&netdev->enetaddr[2]); in dnet_set_hwaddr()
211 tmp = get_unaligned_be16(&netdev->enetaddr[4]); in dnet_set_hwaddr()
/openbmc/u-boot/arch/sh/include/asm/
H A Dunaligned-sh4a.h81 static inline u16 get_unaligned_be16(const void *p) in get_unaligned_be16() function
202 __builtin_choose_expr(sizeof(*(ptr)) == 2, get_unaligned_be16((ptr)), \
/openbmc/u-boot/include/linux/unaligned/
H A Daccess_ok.h21 static inline u16 get_unaligned_be16(const void *p) in get_unaligned_be16() function
H A Dbe_byteshift.h40 static inline u16 get_unaligned_be16(const void *p) in get_unaligned_be16() function
H A Dgeneric.h20 __builtin_choose_expr(sizeof(*(ptr)) == 2, get_unaligned_be16((ptr)), \
/openbmc/u-boot/board/gdsys/a38x/
H A Dhre.c119 v16 = get_unaligned_be16(ptr); in get_tpm_nv_size()
121 v16 = get_unaligned_be16(ptr); in get_tpm_nv_size()
155 key_count = get_unaligned_be16(buf); in find_key()
H A Dkeyprogram.c28 key_count = get_unaligned_be16(buf); in flush_keys()
/openbmc/u-boot/lib/
H A Dtpm-common.c132 *ptr16 = get_unaligned_be16(str + offset); in unpack_byte_string()
H A Dtpm-v1.c848 key_count = get_unaligned_be16(buf); in tpm1_find_key_sha1()
H A Dtpm-v2.c1153 get_unaligned_be16(response + hash_offset); in tpm2_get_pcr_info()
/openbmc/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c1019 verification_length = get_unaligned_be16(&common->cmnd[7]); in do_verify()
1816 get_unaligned_be16(&common->cmnd[7]); in do_scsi_command()
1835 get_unaligned_be16(&common->cmnd[7]); in do_scsi_command()
1864 get_unaligned_be16(&common->cmnd[7]) << 9; in do_scsi_command()
1895 get_unaligned_be16(&common->cmnd[7]); in do_scsi_command()
1907 get_unaligned_be16(&common->cmnd[7]); in do_scsi_command()
1917 get_unaligned_be16(&common->cmnd[7]); in do_scsi_command()
1982 get_unaligned_be16(&common->cmnd[7]) << 9; in do_scsi_command()
H A Df_rockusb.c623 sector_count = (int)get_unaligned_be16(&cbw->CDB[7]); in cb_read_lba()
665 sector_count = (int)get_unaligned_be16(&cbw->CDB[7]); in cb_write_lba()
706 sector_count = (int)get_unaligned_be16(&cbw->CDB[7]); in cb_erase_lba()
/openbmc/u-boot/cmd/
H A Dtpm-common.c220 value = get_unaligned_be16(data + offset); in type_string_write_vars()
H A Dtpm-v1.c564 res_count = get_unaligned_be16(buf); in TPM_COMMAND_NO_ARG()
634 res_count = get_unaligned_be16(buf); in do_tpm_list()
/openbmc/u-boot/board/gdsys/p1022/
H A Dcontrolcenterd-id.c280 v16 = get_unaligned_be16(ptr); in get_tpm_nv_size()
282 v16 = get_unaligned_be16(ptr); in get_tpm_nv_size()
315 key_count = get_unaligned_be16(buf); in find_key()
/openbmc/u-boot/lib/lzo/
H A Dlzo1x_decompress.c59 version = get_unaligned_be16(src); in parse_header()
/openbmc/u-boot/drivers/net/phy/
H A Dncsi.c319 c->version.pci_ids[i] = get_unaligned_be16(gvi->pci_ids + i); in ncsi_rsp_gvi()