Home
last modified time | relevance | path

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

/u-boot/drivers/mmc/
A Drpmb.c181 rpmb_frame->request = cpu_to_be16(RPMB_REQ_STATUS); in mmc_rpmb_status()
239 rpmb_frame->request = cpu_to_be16(RPMB_REQ_WCOUNTER); in mmc_rpmb_get_counter()
256 rpmb_frame->request = cpu_to_be16(RPMB_REQ_KEY); in mmc_rpmb_set_key()
274 rpmb_frame->address = cpu_to_be16(blk + i); in mmc_rpmb_read()
275 rpmb_frame->request = cpu_to_be16(RPMB_REQ_READ_DATA); in mmc_rpmb_read()
314 rpmb_frame->address = cpu_to_be16(blk + i); in mmc_rpmb_write()
315 rpmb_frame->block_count = cpu_to_be16(1); in mmc_rpmb_write()
317 rpmb_frame->request = cpu_to_be16(RPMB_REQ_WRITE_DATA); in mmc_rpmb_write()
390 rsp->request = cpu_to_be16(RPMB_REQ_STATUS); in rpmb_route_write_req()
A Dmmc_spi.c257 crc = cpu_to_be16(crc16_ccitt(0, (u8 *)buf, bsize)); in mmc_spi_writedata()
/u-boot/lib/
A Duuid.c170 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 9, NULL, 16)); in uuid_str_to_bin()
173 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 14, NULL, 16)); in uuid_str_to_bin()
186 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 19, NULL, 16)); in uuid_str_to_bin()
/u-boot/include/
A Dcompiler.h101 # define cpu_to_be16(x) uswap_16(x) macro
114 # define cpu_to_be16(x) (x) macro
A Dzfs_common.h41 #define cpu_to_zfs16(x, a) (((a) == BIG_ENDIAN) ? cpu_to_be16(x) \
A Dvirtio.h385 return (__force __virtio16)cpu_to_be16(val); in __cpu_to_virtio16()
/u-boot/include/linux/byteorder/
A Dgeneric.h96 #define cpu_to_be16 __cpu_to_be16 macro
178 *var = cpu_to_be16(be16_to_cpu(*var) + val); in be16_add_cpu()
/u-boot/tools/
A Dimximage.c199 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2()
208 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2()
217 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2()
226 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2()
232 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2()
257 d->write_dcd_command.length = cpu_to_be16((off << 3) + 4); in set_dcd_val_v2()
298 dcd_v2->header.length = cpu_to_be16(len); in set_dcd_rst_v2()
338 fhdr_v2->header.length = cpu_to_be16(sizeof(flash_header_v2_t)); in set_imx_hdr_v2()
408 cpu_to_be16(sizeof(flash_header_v2_t)); in set_imx_hdr_v2()
A Dimx8mimage.c472 cpu_to_be16(sizeof(flash_header_v2_t)); in build_image()
/u-boot/include/linux/unaligned/
A Daccess_ok.h53 *((__be16 *)p) = cpu_to_be16(val); in put_unaligned_be16()
/u-boot/board/corscience/tricorder/
A Dtricorder-eeprom.c144 eeprom.length = cpu_to_be16(TRICORDER_EEPROM_SIZE); in tricorder_eeprom_write()
145 eeprom.version = cpu_to_be16(TRICORDER_EEPROM_VERSION); in tricorder_eeprom_write()
/u-boot/cmd/
A Dtlv_eeprom.c150 eeprom_hdr->totallen = cpu_to_be16(0); in read_eeprom()
369 eeprom_hdr->totallen = cpu_to_be16(totallen + ENT_SIZE + 4); in update_crc()
468 eeprom_hdr->totallen = cpu_to_be16(0); in do_tlv_eeprom()
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()
695 eeprom_hdr->totallen = cpu_to_be16(be16_to_cpu(eeprom_hdr->totallen) + in tlvinfo_add_tlv()
/u-boot/drivers/spi/
A Dbcm63xx_hsspi.c268 writew(cpu_to_be16(opcode | (curr_step & HSSPI_FIFO_OP_BYTES_MASK)), in bcm63xx_hsspi_xfer()
/u-boot/drivers/mtd/ubi/
A Dfastmap.c1174 fmpl->size = cpu_to_be16(ubi->fm_pool.size); in ubi_write_fastmap()
1175 fmpl->max_size = cpu_to_be16(ubi->fm_pool.max_size); in ubi_write_fastmap()
1185 fmpl_wl->size = cpu_to_be16(ubi->fm_wl_pool.size); in ubi_write_fastmap()
1186 fmpl_wl->max_size = cpu_to_be16(ubi->fm_wl_pool.max_size); in ubi_write_fastmap()
A Dvtbl.c147 vtbl_rec->name_len = cpu_to_be16(re->new_name_len); in ubi_vtbl_rename_volumes()
A Dvmt.c298 vtbl_rec.name_len = cpu_to_be16(vol->name_len); in ubi_create_volume()
/u-boot/arch/powerpc/include/asm/
A Dio.h300 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr))
/u-boot/arch/mips/include/asm/
A Dio.h383 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
/u-boot/drivers/ufs/
A Dufs.c1085 request->upiu_req.length = cpu_to_be16(*buf_len); in __ufshcd_query_descriptor()
/u-boot/drivers/usb/host/
A Dohci-hcd.c104 # define m16_swap(x) cpu_to_be16(x)

Completed in 34 milliseconds