| /u-boot/board/corscience/tricorder/ |
| A D | tricorder-eeprom.c | 36 if (be16_to_cpu(eeprom->length) != sizeof(eepromv0)) { in handle_eeprom_v0() 38 be16_to_cpu(eeprom->length)); in handle_eeprom_v0() 65 if (be16_to_cpu(eeprom->length) != TRICORDER_EEPROM_SIZE) { in handle_eeprom_v1() 67 be16_to_cpu(eeprom->length)); in handle_eeprom_v1() 96 switch (be16_to_cpu(eeprom->version)) { in tricorder_get_eeprom() 103 be16_to_cpu(eeprom->version)); in tricorder_get_eeprom()
|
| /u-boot/cmd/ |
| A D | tlv_eeprom.c | 109 be16_to_cpu(eeprom_hdr->totallen) - (ENT_SIZE + 4)]); in is_checksum_valid() 115 HDR_SIZE + be16_to_cpu(eeprom_hdr->totallen) - 4); in is_checksum_valid() 142 be16_to_cpu(eeprom_hdr->totallen), in read_eeprom() 189 tlv_end = HDR_SIZE + be16_to_cpu(eeprom_hdr->totallen); in show_eeprom() 377 HDR_SIZE + be16_to_cpu(eeprom_hdr->totallen) - 4); in update_crc() 397 eeprom_len = HDR_SIZE + be16_to_cpu(eeprom_hdr->totallen); in prog_eeprom() 560 eeprom_end = HDR_SIZE + be16_to_cpu(eeprom_hdr->totallen); in tlvinfo_find_tlv() 594 cpu_to_be16(be16_to_cpu(eeprom_hdr->totallen) - in tlvinfo_delete_tlv() 685 cpu_to_be16(be16_to_cpu(eeprom_hdr->totallen) - in tlvinfo_add_tlv() 985 be16_to_cpu(tlv_hdr->totallen), dev_num); in read_tlvinfo_tlv_eeprom() [all …]
|
| /u-boot/drivers/net/pfe_eth/ |
| A D | pfe_firmware.c | 45 Elf32_Half sections = be16_to_cpu(elf_hdr->e_shnum); in pfe_load_elf() 71 if (be16_to_cpu(elf_hdr->e_type) != ET_EXEC) { in pfe_load_elf() 73 be16_to_cpu(elf_hdr->e_type)); in pfe_load_elf()
|
| /u-boot/drivers/mmc/ |
| A D | rpmb.c | 159 if (be16_to_cpu(s->request) != expected) { in mmc_rpmb_response() 162 be16_to_cpu(s->request)); in mmc_rpmb_response() 166 ret = be16_to_cpu(s->result); in mmc_rpmb_response() 444 switch (be16_to_cpu(req->request)) { in rpmb_route_frames() 467 be16_to_cpu(req->request)); in rpmb_route_frames()
|
| A D | mmc_spi.c | 210 u16 crc_ok = be16_to_cpu(crc16_ccitt(0, buf, bsize)); in mmc_spi_readdata()
|
| /u-boot/include/ |
| A D | compiler.h | 104 # define be16_to_cpu(x) uswap_16(x) macro 117 # define be16_to_cpu(x) (x) macro
|
| A D | tlv_eeprom.h | 149 (be16_to_cpu(hdr->totallen) <= TLV_TOTAL_LEN_MAX)); in is_valid_tlvinfo_header()
|
| A D | zfs_common.h | 39 #define zfs_to_cpu16(x, a) (((a) == BIG_ENDIAN) ? be16_to_cpu(x) \
|
| A D | virtio.h | 377 return be16_to_cpu((__force __be16)val); in __virtio16_to_cpu()
|
| /u-boot/include/linux/byteorder/ |
| A D | generic.h | 97 #define be16_to_cpu __be16_to_cpu macro 178 *var = cpu_to_be16(be16_to_cpu(*var) + val); in be16_add_cpu()
|
| /u-boot/drivers/mtd/ubispl/ |
| A D | ubispl.c | 60 int name_len = be16_to_cpu(r->name_len); in ubi_dump_vtbl_record() 112 name_len = be16_to_cpu(vtbl[i].name_len); in vtbl_check() 187 int len1 = be16_to_cpu(vtbl[i].name_len); in vtbl_check() 188 int len2 = be16_to_cpu(vtbl[n].name_len); in vtbl_check() 525 pool_size = be16_to_cpu(fmpl1->size); in ubi_attach_fastmap() 526 wl_pool_size = be16_to_cpu(fmpl2->size); in ubi_attach_fastmap() 527 fm->max_pool_size = be16_to_cpu(fmpl1->max_size); in ubi_attach_fastmap() 528 fm->max_wl_pool_size = be16_to_cpu(fmpl2->max_size); in ubi_attach_fastmap() 1114 int len = be16_to_cpu(ubi->vtbl[j].name_len); in ubispl_load_volumes()
|
| /u-boot/board/LaCie/common/ |
| A D | common.c | 89 version = be16_to_cpu(version); in lacie_read_mac_address()
|
| /u-boot/board/solidrun/common/ |
| A D | tlv_data.c | 59 tlv_len = sizeof(struct tlvinfo_header) + be16_to_cpu(hdr->totallen); in parse_tlv_data()
|
| /u-boot/drivers/axi/ |
| A D | sandbox_store.c | 38 *((u16 *)dst) = be16_to_cpu(*((u16 *)src)); in copy_axi_data()
|
| /u-boot/drivers/mtd/ubi/ |
| A D | vtbl.c | 183 name_len = be16_to_cpu(vtbl[i].name_len); 263 int len1 = be16_to_cpu(vtbl[i].name_len); 264 int len2 = be16_to_cpu(vtbl[n].name_len); 555 vol->name_len = be16_to_cpu(vtbl[i].name_len);
|
| A D | fastmap.c | 668 pool_size = be16_to_cpu(fmpl->size); in ubi_attach_fastmap() 669 wl_pool_size = be16_to_cpu(fmpl_wl->size); in ubi_attach_fastmap() 670 fm->max_pool_size = be16_to_cpu(fmpl->max_size); in ubi_attach_fastmap() 671 fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size); in ubi_attach_fastmap()
|
| /u-boot/drivers/misc/ |
| A D | qfw.c | 78 qemu_fwcfg_read_entry(be16_to_cpu(file->cfg.select), in bios_linker_allocate() 183 qemu_fwcfg_read_entry(be16_to_cpu(file->cfg.select), in write_acpi_tables()
|
| /u-boot/tools/ |
| A D | imximage.c | 188 len = be16_to_cpu(d->write_dcd_command.length); in set_dcd_param_v2() 247 len = be16_to_cpu(d->write_dcd_command.length); in set_dcd_val_v2() 292 len = be16_to_cpu(d->write_dcd_command.length); in set_dcd_rst_v2() 492 size = be16_to_cpu(dcd_v2->header.length); in print_hdr_v2() 532 CONFIG_IMX_DCD_ADDR, offs, be16_to_cpu(dcdlen)); in print_hdr_v2()
|
| A D | zynqmpbif.c | 477 len = be16_to_cpu(*(uint16_t *)bit); in bif_add_bit() 486 len = be16_to_cpu(*(uint16_t *)bit); in bif_add_bit() 495 len = be16_to_cpu(*(uint16_t *)bit); in bif_add_bit() 504 len = be16_to_cpu(*(uint16_t *)bit); in bif_add_bit()
|
| /u-boot/disk/ |
| A D | part_iso.c | 84 info->blksz = be16_to_cpu(ppr->secsize_BE); in part_get_info_iso_verb()
|
| /u-boot/drivers/usb/gadget/ |
| A D | f_sdp.c | 309 __func__, be16_to_cpu(cmd->cmd), in sdp_rx_command_complete() 312 switch (be16_to_cpu(cmd->cmd)) { in sdp_rx_command_complete() 370 pr_err("Unknown command: %04x\n", be16_to_cpu(cmd->cmd)); in sdp_rx_command_complete()
|
| /u-boot/drivers/qe/ |
| A D | qe.c | 545 firmware->id, be16_to_cpu(firmware->soc.model), in qe_upload_firmware() 685 firmware->id, be16_to_cpu(firmware->soc.model), in u_qe_upload_firmware()
|
| /u-boot/drivers/usb/emul/ |
| A D | sandbox_flash.c | 285 be16_to_cpu(req->transfer_len)); in handle_ufi_command()
|
| /u-boot/arch/arm/mach-imx/ |
| A D | hab.c | 41 if (be16_to_cpu(ivt_hdr->length) != IVT_TOTAL_LENGTH) in verify_ivt_header()
|
| /u-boot/arch/powerpc/include/asm/ |
| A D | io.h | 291 be16_to_cpu(__raw_readw((__force unsigned *)(addr)))
|