Home
last modified time | relevance | path

Searched refs:cpu_to_be16 (Results 1 – 17 of 17) sorted by relevance

/external/u-boot/drivers/mmc/
Drpmb.c175 rpmb_frame->request = cpu_to_be16(RPMB_REQ_STATUS); in mmc_rpmb_status()
233 rpmb_frame->request = cpu_to_be16(RPMB_REQ_WCOUNTER); in mmc_rpmb_get_counter()
250 rpmb_frame->request = cpu_to_be16(RPMB_REQ_KEY); in mmc_rpmb_set_key()
268 rpmb_frame->address = cpu_to_be16(blk + i); in mmc_rpmb_read()
269 rpmb_frame->request = cpu_to_be16(RPMB_REQ_READ_DATA); in mmc_rpmb_read()
308 rpmb_frame->address = cpu_to_be16(blk + i); in mmc_rpmb_write()
309 rpmb_frame->block_count = cpu_to_be16(1); in mmc_rpmb_write()
311 rpmb_frame->request = cpu_to_be16(RPMB_REQ_WRITE_DATA); in mmc_rpmb_write()
Dmmc_spi.c124 crc = cpu_to_be16(crc16_ccitt(0, (u8 *)buf, bsize)); in mmc_spi_writedata()
/external/u-boot/lib/
Duuid.c162 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 9, NULL, 16)); in uuid_str_to_bin()
165 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 14, NULL, 16)); in uuid_str_to_bin()
178 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 19, NULL, 16)); in uuid_str_to_bin()
/external/u-boot/tools/
Dimximage.c195 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2()
204 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2()
213 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2()
222 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2()
228 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2()
253 d->write_dcd_command.length = cpu_to_be16((off << 3) + 4); in set_dcd_val_v2()
294 dcd_v2->header.length = cpu_to_be16(len); in set_dcd_rst_v2()
334 fhdr_v2->header.length = cpu_to_be16(sizeof(flash_header_v2_t)); in set_imx_hdr_v2()
404 cpu_to_be16(sizeof(flash_header_v2_t)); in set_imx_hdr_v2()
/external/u-boot/include/
Dcompiler.h100 # define cpu_to_be16(x) uswap_16(x) macro
113 # define cpu_to_be16(x) (x) macro
Dzfs_common.h39 #define cpu_to_zfs16(x, a) (((a) == BIG_ENDIAN) ? cpu_to_be16(x) \
/external/u-boot/include/linux/byteorder/
Dgeneric.h96 #define cpu_to_be16 __cpu_to_be16 macro
178 *var = cpu_to_be16(be16_to_cpu(*var) + val); in be16_add_cpu()
/external/blktrace/
Dblktrace.h81 #define cpu_to_be16(x) __bswap_16(x) macro
88 #define cpu_to_be16(x) (x) macro
/external/u-boot/board/corscience/tricorder/
Dtricorder-eeprom.c141 eeprom.length = cpu_to_be16(TRICORDER_EEPROM_SIZE); in tricorder_eeprom_write()
142 eeprom.version = cpu_to_be16(TRICORDER_EEPROM_VERSION); in tricorder_eeprom_write()
/external/fsverity-utils/
Dutil.h81 # define cpu_to_be16(v) ((__force __be16)__builtin_bswap16(v)) macro
94 # define cpu_to_be16(v) ((__force __be16)(u16)(v)) macro
/external/u-boot/include/linux/unaligned/
Daccess_ok.h53 *((__be16 *)p) = cpu_to_be16(val); in put_unaligned_be16()
/external/e2fsprogs/lib/ext2fs/
Djfs_compat.h25 #define cpu_to_be16(n) htons(n) macro
/external/u-boot/drivers/mtd/ubi/
Dfastmap.c1169 fmpl->size = cpu_to_be16(ubi->fm_pool.size); in ubi_write_fastmap()
1170 fmpl->max_size = cpu_to_be16(ubi->fm_pool.max_size); in ubi_write_fastmap()
1180 fmpl_wl->size = cpu_to_be16(ubi->fm_wl_pool.size); in ubi_write_fastmap()
1181 fmpl_wl->max_size = cpu_to_be16(ubi->fm_wl_pool.max_size); in ubi_write_fastmap()
Dvtbl.c143 vtbl_rec->name_len = cpu_to_be16(re->new_name_len); in ubi_vtbl_rename_volumes()
Dvmt.c293 vtbl_rec.name_len = cpu_to_be16(vol->name_len); in ubi_create_volume()
/external/u-boot/arch/mips/include/asm/
Dio.h382 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
/external/u-boot/drivers/usb/host/
Dohci-hcd.c98 # define m16_swap(x) cpu_to_be16(x)