Searched refs:cpu_to_be16 (Results 1 – 20 of 20) sorted by relevance
/u-boot/drivers/mmc/ |
A D | rpmb.c | 181 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 D | mmc_spi.c | 257 crc = cpu_to_be16(crc16_ccitt(0, (u8 *)buf, bsize)); in mmc_spi_writedata()
|
/u-boot/lib/ |
A D | uuid.c | 170 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 D | compiler.h | 101 # define cpu_to_be16(x) uswap_16(x) macro 114 # define cpu_to_be16(x) (x) macro
|
A D | zfs_common.h | 41 #define cpu_to_zfs16(x, a) (((a) == BIG_ENDIAN) ? cpu_to_be16(x) \
|
A D | virtio.h | 385 return (__force __virtio16)cpu_to_be16(val); in __cpu_to_virtio16()
|
/u-boot/include/linux/byteorder/ |
A D | generic.h | 96 #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 D | imximage.c | 199 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 D | imx8mimage.c | 472 cpu_to_be16(sizeof(flash_header_v2_t)); in build_image()
|
/u-boot/include/linux/unaligned/ |
A D | access_ok.h | 53 *((__be16 *)p) = cpu_to_be16(val); in put_unaligned_be16()
|
/u-boot/board/corscience/tricorder/ |
A D | tricorder-eeprom.c | 144 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 D | tlv_eeprom.c | 150 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 D | bcm63xx_hsspi.c | 268 writew(cpu_to_be16(opcode | (curr_step & HSSPI_FIFO_OP_BYTES_MASK)), in bcm63xx_hsspi_xfer()
|
/u-boot/drivers/mtd/ubi/ |
A D | fastmap.c | 1174 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 D | vtbl.c | 147 vtbl_rec->name_len = cpu_to_be16(re->new_name_len); in ubi_vtbl_rename_volumes()
|
A D | vmt.c | 298 vtbl_rec.name_len = cpu_to_be16(vol->name_len); in ubi_create_volume()
|
/u-boot/arch/powerpc/include/asm/ |
A D | io.h | 300 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr))
|
/u-boot/arch/mips/include/asm/ |
A D | io.h | 383 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
|
/u-boot/drivers/ufs/ |
A D | ufs.c | 1085 request->upiu_req.length = cpu_to_be16(*buf_len); in __ufshcd_query_descriptor()
|
/u-boot/drivers/usb/host/ |
A D | ohci-hcd.c | 104 # define m16_swap(x) cpu_to_be16(x)
|
Completed in 34 milliseconds