Home
last modified time | relevance | path

Searched refs:be16_to_cpu (Results 1 – 25 of 28) sorted by relevance

12

/external/u-boot/board/corscience/tricorder/
Dtricorder-eeprom.c33 if (be16_to_cpu(eeprom->length) != sizeof(eepromv0)) { in handle_eeprom_v0()
35 be16_to_cpu(eeprom->length)); in handle_eeprom_v0()
62 if (be16_to_cpu(eeprom->length) != TRICORDER_EEPROM_SIZE) { in handle_eeprom_v1()
64 be16_to_cpu(eeprom->length)); in handle_eeprom_v1()
93 switch (be16_to_cpu(eeprom->version)) { in tricorder_get_eeprom()
100 be16_to_cpu(eeprom->version)); in tricorder_get_eeprom()
/external/blktrace/
Dblktrace.h78 #define be16_to_cpu(x) __bswap_16(x) macro
85 #define be16_to_cpu(x) (x) macro
124 t->error = be16_to_cpu(t->error); in trace_to_cpu()
125 t->pdu_len = be16_to_cpu(t->pdu_len); in trace_to_cpu()
/external/blktrace/btt/
Dmmap.c67 tp->cpu = be16_to_cpu(t->cpu); in convert_to_cpu()
68 tp->error = be16_to_cpu(t->error); in convert_to_cpu()
69 tp->pdu_len = be16_to_cpu(t->pdu_len); in convert_to_cpu()
/external/u-boot/drivers/net/pfe_eth/
Dpfe_firmware.c35 Elf32_Half sections = be16_to_cpu(elf_hdr->e_shnum); in pfe_load_elf()
61 if (be16_to_cpu(elf_hdr->e_type) != ET_EXEC) { in pfe_load_elf()
63 be16_to_cpu(elf_hdr->e_type)); in pfe_load_elf()
/external/u-boot/drivers/mmc/
Drpmb.c153 if (be16_to_cpu(s->request) != expected) { in mmc_rpmb_response()
156 be16_to_cpu(s->request)); in mmc_rpmb_response()
160 ret = be16_to_cpu(s->result); in mmc_rpmb_response()
/external/u-boot/include/
Dcompiler.h103 # define be16_to_cpu(x) uswap_16(x) macro
116 # define be16_to_cpu(x) (x) macro
Dzfs_common.h37 #define zfs_to_cpu16(x, a) (((a) == BIG_ENDIAN) ? be16_to_cpu(x) \
/external/u-boot/include/linux/byteorder/
Dgeneric.h97 #define be16_to_cpu __be16_to_cpu macro
178 *var = cpu_to_be16(be16_to_cpu(*var) + val); in be16_add_cpu()
/external/fsverity-utils/
Dutil.h82 # define be16_to_cpu(v) (__builtin_bswap16((__force u16)(v))) macro
95 # define be16_to_cpu(v) ((__force u16)(__be16)(v)) macro
/external/u-boot/drivers/mtd/ubi/
Dvtbl.c179 name_len = be16_to_cpu(vtbl[i].name_len);
259 int len1 = be16_to_cpu(vtbl[i].name_len);
260 int len2 = be16_to_cpu(vtbl[n].name_len);
551 vol->name_len = be16_to_cpu(vtbl[i].name_len);
Dfastmap.c663 pool_size = be16_to_cpu(fmpl->size); in ubi_attach_fastmap()
664 wl_pool_size = be16_to_cpu(fmpl_wl->size); in ubi_attach_fastmap()
665 fm->max_pool_size = be16_to_cpu(fmpl->max_size); in ubi_attach_fastmap()
666 fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size); in ubi_attach_fastmap()
Ddebug.c130 int name_len = be16_to_cpu(r->name_len); in ubi_dump_vtbl_record()
/external/u-boot/tools/
Dimximage.c184 len = be16_to_cpu(d->write_dcd_command.length); in set_dcd_param_v2()
243 len = be16_to_cpu(d->write_dcd_command.length); in set_dcd_val_v2()
288 len = be16_to_cpu(d->write_dcd_command.length); in set_dcd_rst_v2()
488 size = be16_to_cpu(dcd_v2->header.length); in print_hdr_v2()
523 offs, be16_to_cpu(dcdlen)); in print_hdr_v2()
Dzynqmpbif.c468 len = be16_to_cpu(*(uint16_t *)bit); in bif_add_bit()
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()
/external/u-boot/drivers/misc/
Dqfw.c77 qemu_fwcfg_read_entry(be16_to_cpu(file->cfg.select), in bios_linker_allocate()
182 qemu_fwcfg_read_entry(be16_to_cpu(file->cfg.select), in write_acpi_tables()
/external/u-boot/drivers/mtd/ubispl/
Dubispl.c331 pool_size = be16_to_cpu(fmpl1->size); in ubi_attach_fastmap()
332 wl_pool_size = be16_to_cpu(fmpl2->size); in ubi_attach_fastmap()
333 fm->max_pool_size = be16_to_cpu(fmpl1->max_size); in ubi_attach_fastmap()
334 fm->max_wl_pool_size = be16_to_cpu(fmpl2->max_size); in ubi_attach_fastmap()
/external/u-boot/drivers/usb/gadget/
Df_sdp.c257 __func__, be16_to_cpu(cmd->cmd), in sdp_rx_command_complete()
260 switch (be16_to_cpu(cmd->cmd)) { in sdp_rx_command_complete()
317 pr_err("Unknown command: %04x\n", be16_to_cpu(cmd->cmd)); in sdp_rx_command_complete()
/external/u-boot/board/LaCie/common/
Dcommon.c89 version = be16_to_cpu(version); in lacie_read_mac_address()
/external/e2fsprogs/lib/ext2fs/
Djfs_compat.h26 #define be16_to_cpu(n) ntohs(n) macro
/external/u-boot/arch/sh/include/asm/
Dunaligned-sh4a.h83 return be16_to_cpu(__get_unaligned_cpu16(p)); in get_unaligned_be16()
/external/u-boot/disk/
Dpart_iso.c81 info->blksz = be16_to_cpu(ppr->secsize_BE); in part_get_info_iso_verb()
/external/u-boot/drivers/qe/
Dqe.c463 firmware->id, be16_to_cpu(firmware->soc.model), in qe_upload_firmware()
602 firmware->id, be16_to_cpu(firmware->soc.model), in u_qe_upload_firmware()
/external/u-boot/drivers/usb/emul/
Dsandbox_flash.c284 be16_to_cpu(req->transfer_len)); in handle_ufi_command()
/external/u-boot/arch/arm/mach-imx/
Dhab.c38 if (be16_to_cpu(ivt_hdr->length) != IVT_TOTAL_LENGTH) in verify_ivt_header()
/external/u-boot/arch/mips/include/asm/
Dio.h373 be16_to_cpu(__raw_readw((__force unsigned *)(addr))) in BUILDIO_MEM()

12