Searched refs:cpu_to_be16 (Results 1 - 23 of 23) sorted by relevance
/u-boot/drivers/misc/ |
H A D | qfw_sandbox.c | 86 file->select = cpu_to_be16(FW_CFG_FILE_FIRST); 92 file->select = cpu_to_be16(FW_CFG_FILE_FIRST + 1);
|
H A D | qfw_mmio.c | 49 plat->mmio->selector = cpu_to_be16(entry);
|
/u-boot/drivers/mmc/ |
H A D | rpmb.c | 181 rpmb_frame->request = cpu_to_be16(RPMB_REQ_STATUS); 239 rpmb_frame->request = cpu_to_be16(RPMB_REQ_WCOUNTER); 256 rpmb_frame->request = cpu_to_be16(RPMB_REQ_KEY); 274 rpmb_frame->address = cpu_to_be16(blk + i); 275 rpmb_frame->request = cpu_to_be16(RPMB_REQ_READ_DATA); 314 rpmb_frame->address = cpu_to_be16(blk + i); 315 rpmb_frame->block_count = cpu_to_be16(1); 317 rpmb_frame->request = cpu_to_be16(RPMB_REQ_WRITE_DATA); 390 rsp->request = cpu_to_be16(RPMB_REQ_STATUS);
|
H A D | mmc_spi.c | 257 crc = cpu_to_be16(crc16_ccitt(0, (u8 *)buf, bsize));
|
/u-boot/include/linux/byteorder/ |
H A D | generic.h | 96 #define cpu_to_be16 __cpu_to_be16 macro 178 *var = cpu_to_be16(be16_to_cpu(*var) + val);
|
/u-boot/include/ |
H A D | compiler.h | 104 # define cpu_to_be16(x) uswap_16(x) macro 117 # define cpu_to_be16(x) (x) macro
|
H A D | zfs_common.h | 41 #define cpu_to_zfs16(x, a) (((a) == BIG_ENDIAN) ? cpu_to_be16(x) \
|
H A D | virtio.h | 387 return (__force __virtio16)cpu_to_be16(val);
|
/u-boot/include/asm-generic/ |
H A D | unaligned.h | 67 __put_unaligned_t(__be16, cpu_to_be16(val), p);
|
/u-boot/lib/ |
H A D | uuid.c | 281 tmp16 = cpu_to_be16(hextoul(uuid_str + 9, NULL)); 284 tmp16 = cpu_to_be16(hextoul(uuid_str + 14, NULL)); 297 tmp16 = cpu_to_be16(hextoul(uuid_str + 19, NULL));
|
/u-boot/cmd/ |
H A D | tlv_eeprom.c | 145 eeprom_hdr->totallen = cpu_to_be16(0); 365 eeprom_hdr->totallen = cpu_to_be16(totallen + ENT_SIZE + 4); 497 eeprom_hdr->totallen = cpu_to_be16(0); 610 cpu_to_be16(be16_to_cpu(eeprom_hdr->totallen) - 701 cpu_to_be16(be16_to_cpu(eeprom_hdr->totallen) - 711 eeprom_hdr->totallen = cpu_to_be16(be16_to_cpu(eeprom_hdr->totallen) +
|
/u-boot/tools/ |
H A D | imximage.c | 199 d->write_dcd_command.length = cpu_to_be16(4); 208 d->write_dcd_command.length = cpu_to_be16(4); 217 d->write_dcd_command.length = cpu_to_be16(4); 226 d->write_dcd_command.length = cpu_to_be16(4); 232 d->write_dcd_command.length = cpu_to_be16(4); 257 d->write_dcd_command.length = cpu_to_be16((off << 3) + 4); 298 dcd_v2->header.length = cpu_to_be16(len); 338 fhdr_v2->header.length = cpu_to_be16(sizeof(flash_header_v2_t)); 408 cpu_to_be16(sizeof(flash_header_v2_t));
|
H A D | imx8mimage.c | 556 cpu_to_be16(sizeof(flash_header_v2_t));
|
/u-boot/drivers/spi/ |
H A D | bcm63xx_hsspi.c | 309 writew(cpu_to_be16(opcode | (curr_step & HSSPI_FIFO_OP_BYTES_MASK)), 458 writew(cpu_to_be16(val),
|
H A D | bcmbca_hsspi.c | 269 writew(cpu_to_be16(opcode | (curr_step & HSSPI_FIFO_OP_BYTES_MASK)),
|
/u-boot/drivers/led/ |
H A D | led_lp5562.c | 168 prog_be[cmd] = cpu_to_be16(program[cmd]);
|
/u-boot/drivers/mtd/ubi/ |
H A D | fastmap.c | 1174 fmpl->size = cpu_to_be16(ubi->fm_pool.size); 1175 fmpl->max_size = cpu_to_be16(ubi->fm_pool.max_size); 1185 fmpl_wl->size = cpu_to_be16(ubi->fm_wl_pool.size); 1186 fmpl_wl->max_size = cpu_to_be16(ubi->fm_wl_pool.max_size);
|
H A D | vtbl.c | 147 vtbl_rec->name_len = cpu_to_be16(re->new_name_len);
|
H A D | vmt.c | 298 vtbl_rec.name_len = cpu_to_be16(vol->name_len);
|
/u-boot/arch/powerpc/include/asm/ |
H A D | io.h | 311 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr))
|
/u-boot/arch/mips/include/asm/ |
H A D | io.h | 399 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr))
|
/u-boot/drivers/usb/host/ |
H A D | ohci-hcd.c | 76 # define m16_swap(x) cpu_to_be16(x)
|
/u-boot/drivers/ufs/ |
H A D | ufs.c | 1113 request->upiu_req.length = cpu_to_be16(*buf_len);
|
Completed in 236 milliseconds