Searched refs:be32_to_cpu (Results 1 - 25 of 67) sorted by relevance

123

/u-boot/drivers/mtd/ubispl/
H A Dubispl.c64 ubi_dbg("\treserved_pebs %d", be32_to_cpu(r->reserved_pebs));
65 ubi_dbg("\talignment %d", be32_to_cpu(r->alignment));
66 ubi_dbg("\tdata_pad %d", be32_to_cpu(r->data_pad));
84 ubi_dbg("\tcrc %#08x", be32_to_cpu(r->crc));
107 reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs);
108 alignment = be32_to_cpu(vtbl[i].alignment);
109 data_pad = be32_to_cpu(vtbl[i].data_pad);
116 if (be32_to_cpu(vtbl[i].crc) != crc) {
118 i, crc, be32_to_cpu(vtbl[i].crc));
260 magic = be32_to_cpu(v
[all...]
/u-boot/fs/ext4/
H A Dext4_journal.c216 max = be32_to_cpu(header->r_count);
220 blocknr = be32_to_cpu(*((__be32 *)(revk_blk + offset)));
301 if (sequence_no < be32_to_cpu(header->r_header.h_sequence)) {
303 max = be32_to_cpu(header->r_count);
306 blocknr = be32_to_cpu(*((__be32 *)
361 flags = be32_to_cpu(tag->flags);
366 debug("\t\ttag %u\n", be32_to_cpu(tag->block));
368 if (check_blknr_for_revoke(be32_to_cpu(tag->block),
369 be32_to_cpu(jdb->h_sequence)) == 0)
375 put_ext4((uint64_t)((uint64_t)be32_to_cpu(ta
[all...]
/u-boot/include/linux/
H A Dlibfdt_env.h22 #define fdt32_to_cpu(x) be32_to_cpu(x)
/u-boot/drivers/mtd/ubi/
H A Dfastmap.c289 if (be32_to_cpu(new_vh->lnum) != aeb->lnum) {
290 if (be32_to_cpu(new_vh->lnum) < aeb->lnum)
324 if (av->highest_lnum == be32_to_cpu(new_vh->lnum))
326 be32_to_cpu(new_vh->data_size);
348 if (av->highest_lnum <= be32_to_cpu(new_vh->lnum)) {
349 av->highest_lnum = be32_to_cpu(new_vh->lnum);
350 av->last_data_size = be32_to_cpu(new_vh->data_size);
354 av->used_ebs = be32_to_cpu(new_vh->used_ebs);
381 if (be32_to_cpu(new_vh->vol_id) == UBI_FM_SB_VOLUME_ID ||
382 be32_to_cpu(new_v
[all...]
H A Ddebug.c59 pr_err("\tmagic %#08x\n", be32_to_cpu(ec_hdr->magic));
62 pr_err("\tvid_hdr_offset %d\n", be32_to_cpu(ec_hdr->vid_hdr_offset));
63 pr_err("\tdata_offset %d\n", be32_to_cpu(ec_hdr->data_offset));
64 pr_err("\timage_seq %d\n", be32_to_cpu(ec_hdr->image_seq));
65 pr_err("\thdr_crc %#08x\n", be32_to_cpu(ec_hdr->hdr_crc));
78 pr_err("\tmagic %08x\n", be32_to_cpu(vid_hdr->magic));
83 pr_err("\tvol_id %d\n", be32_to_cpu(vid_hdr->vol_id));
84 pr_err("\tlnum %d\n", be32_to_cpu(vid_hdr->lnum));
85 pr_err("\tdata_size %d\n", be32_to_cpu(vid_hdr->data_size));
86 pr_err("\tused_ebs %d\n", be32_to_cpu(vid_hd
[all...]
H A Dattach.c197 int vol_id = be32_to_cpu(vid_hdr->vol_id);
198 int used_ebs = be32_to_cpu(vid_hdr->used_ebs);
199 int data_pad = be32_to_cpu(vid_hdr->data_pad);
265 ubi_assert(vol_id == be32_to_cpu(vid_hdr->vol_id));
289 av->used_ebs = be32_to_cpu(vid_hdr->used_ebs);
290 av->data_pad = be32_to_cpu(vid_hdr->data_pad);
396 len = be32_to_cpu(vid_hdr->data_size);
403 data_crc = be32_to_cpu(vid_hdr->data_crc);
458 vol_id = be32_to_cpu(vid_hdr->vol_id);
459 lnum = be32_to_cpu(vid_hd
[all...]
H A Dio.c658 vid_hdr_offset = be32_to_cpu(ec_hdr->vid_hdr_offset);
659 leb_start = be32_to_cpu(ec_hdr->data_offset);
740 magic = be32_to_cpu(ec_hdr->magic);
778 hdr_crc = be32_to_cpu(ec_hdr->hdr_crc);
865 int vol_id = be32_to_cpu(vid_hdr->vol_id);
866 int lnum = be32_to_cpu(vid_hdr->lnum);
868 int data_size = be32_to_cpu(vid_hdr->data_size);
869 int used_ebs = be32_to_cpu(vid_hdr->used_ebs);
870 int data_pad = be32_to_cpu(vid_hdr->data_pad);
871 int data_crc = be32_to_cpu(vid_hd
[all...]
H A Dvtbl.c178 reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs);
179 alignment = be32_to_cpu(vtbl[i].alignment);
180 data_pad = be32_to_cpu(vtbl[i].data_pad);
187 if (be32_to_cpu(vtbl[i].crc) != crc) {
189 i, crc, be32_to_cpu(vtbl[i].crc));
542 if (be32_to_cpu(vtbl[i].reserved_pebs) == 0)
549 vol->reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs);
550 vol->alignment = be32_to_cpu(vtbl[i].alignment);
551 vol->data_pad = be32_to_cpu(vtbl[i].data_pad);
/u-boot/drivers/net/pfe_eth/
H A Dpfe_hw.c144 val = be32_to_cpu(readl(pe[id].mem_access_rdata));
193 val = be32_to_cpu(readl(pe[id].mem_access_rdata));
238 val = be32_to_cpu(readl(CLASS_BUS_ACCESS_RDATA));
351 u32 offset = be32_to_cpu(shdr->sh_offset);
352 u32 addr = be32_to_cpu(shdr->sh_addr);
353 u32 size = be32_to_cpu(shdr->sh_size);
354 u32 type = be32_to_cpu(shdr->sh_type);
402 u32 offset = be32_to_cpu(shdr->sh_offset);
403 u32 addr = be32_to_cpu(shdr->sh_addr);
404 u32 size = be32_to_cpu(shd
[all...]
/u-boot/drivers/qe/
H A Dqe.c427 const u32 *code = base + be32_to_cpu(ucode->code_offset);
438 out_be32(&qe_immr->iram.iadd, be32_to_cpu(ucode->iram_offset) |
441 for (i = 0; i < be32_to_cpu(ucode->count); i++)
442 out_be32(&qe_immr->iram.idata, be32_to_cpu(code[i]));
483 length = be32_to_cpu(hdr->length);
517 be32_to_cpu(firmware->microcode[i].count);
529 crc = be32_to_cpu(*(u32 *)((void *)firmware + calc_size));
571 u32 trap = be32_to_cpu(ucode->traps[j]);
578 out_be32(&qe_immr->rsp[i].eccr, be32_to_cpu(ucode->eccr));
623 length = be32_to_cpu(hd
[all...]
/u-boot/fs/cbfs/
H A Dcbfs.c63 dest->magic = be32_to_cpu(src->magic);
64 dest->version = be32_to_cpu(src->version);
65 dest->rom_size = be32_to_cpu(src->rom_size);
66 dest->boot_block_size = be32_to_cpu(src->boot_block_size);
67 dest->align = be32_to_cpu(src->align);
68 dest->offset = be32_to_cpu(src->offset);
76 dest->len = be32_to_cpu(src->len);
77 dest->type = be32_to_cpu(src->type);
78 dest->attributes_offset = be32_to_cpu(src->attributes_offset);
79 dest->offset = be32_to_cpu(sr
[all...]
/u-boot/include/linux/byteorder/
H A Dgeneric.h95 #define be32_to_cpu __be32_to_cpu macro
183 *var = cpu_to_be32(be32_to_cpu(*var) + val);
204 dst[i] = be32_to_cpu(src[i]);
/u-boot/drivers/misc/
H A Dqfw_pio.c51 while (be32_to_cpu(dma->control) & ~FW_CFG_DMA_ERROR);
H A Dqfw_sandbox.c50 u32 control = be32_to_cpu(dma->control);
52 u32 length = be32_to_cpu(dma->length);
H A Dqfw.c54 entry, size, address, be32_to_cpu(dma.control));
80 if (be32_to_cpu(qemu) != QEMU_FW_CFG_SIGNATURE)
H A Dqfw_mmio.c82 while (be32_to_cpu(dma->control) & ~FW_CFG_DMA_ERROR);
/u-boot/board/CZ.NIC/
H A Dturris_atsha_otp.c122 sprintf(serial, "%08X%08X", be32_to_cpu(version_num), be32_to_cpu(serial_num));
/u-boot/drivers/scsi/
H A Dscsi_emul.c59 info->seek_block = be32_to_cpu(read_req->lba);
68 info->seek_block = be32_to_cpu(write_req->lba);
/u-boot/tools/
H A Ddefault_image.c70 if (be32_to_cpu(hdr->ih_magic) != IH_MAGIC) {
79 checksum = be32_to_cpu(hdr->ih_hcrc);
101 checksum = be32_to_cpu(hdr->ih_dcrc);
/u-boot/arch/mips/mach-mtmips/mt7621/spl/
H A Dspl.c92 addr = image_get_header_size() + be32_to_cpu(sh->stage_size);
/u-boot/include/dm/
H A Dof.h135 r = (r << 32) | be32_to_cpu(*(cell++));
/u-boot/board/freescale/common/
H A Dsys_eeprom.c96 be32_to_cpu(e.version));
130 if (crc == be32_to_cpu(e.crc))
131 printf("CRC: %08x\n", be32_to_cpu(e.crc));
134 be32_to_cpu(e.crc), crc);
514 if (crc != be32_to_cpu(*crcp)) {
515 printf("CRC mismatch (%08x != %08x)\n", crc, be32_to_cpu(e.crc));
553 be32_to_cpu(e.version));
/u-boot/include/
H A Dcompiler.h108 # define be32_to_cpu(x) uswap_32(x) macro
121 # define be32_to_cpu(x) (x) macro
H A Dzfs_common.h44 #define zfs_to_cpu32(x, a) (((a) == BIG_ENDIAN) ? be32_to_cpu(x) \
/u-boot/drivers/net/fm/
H A Dfm.c90 out_be32(&imem->idata, (be32_to_cpu(ucode[i])));
94 while ((in_be32(&imem->idata) != be32_to_cpu(ucode[0])) && --timeout)
130 length = be32_to_cpu(hdr->length);
163 be32_to_cpu(firmware->microcode[i].count);
176 crc = be32_to_cpu(*(u32 *)((void *)firmware + calc_size));
187 if (be32_to_cpu(ucode->code_offset)) {
194 be32_to_cpu(ucode->code_offset);
195 ucode_size = sizeof(u32) * be32_to_cpu(ucode->count);

Completed in 289 milliseconds

123