Home
last modified time | relevance | path

Searched refs:be32_to_cpu (Results 1 – 25 of 55) sorted by relevance

123

/u-boot/drivers/mtd/ubispl/
A Dubispl.c118 i, crc, be32_to_cpu(vtbl[i].crc)); in vtbl_check()
260 magic = be32_to_cpu(vh->magic); in ubi_io_read_vid_hdr()
271 be32_to_cpu(vh->hdr_crc)) { in ubi_io_read_vid_hdr()
300 be32_to_cpu(vh->vol_id), in ubi_rescan_fm_vid_hdr()
301 fm_lnum, be32_to_cpu(vh->lnum)); in ubi_rescan_fm_vid_hdr()
391 vol_id = be32_to_cpu(vh->vol_id); in ubi_scan_vid_hdr()
414 lnum = be32_to_cpu(vh->lnum); in ubi_scan_vid_hdr()
450 pnum = be32_to_cpu(pebs[i]); in scan_pool()
789 be32_to_cpu(vh->vol_id), in ubi_scan_fastmap()
798 be32_to_cpu(vh->vol_id), in ubi_scan_fastmap()
[all …]
/u-boot/fs/ext4/
A Dext4_journal.c216 max = be32_to_cpu(header->r_count); in print_revoke_blks()
303 max = be32_to_cpu(header->r_count); in check_blknr_for_revoke()
306 blocknr = be32_to_cpu(*((__be32 *) in check_blknr_for_revoke()
361 flags = be32_to_cpu(tag->flags); in recover_transaction()
437 if (be32_to_cpu(jsb->s_start) == 0) in ext4fs_check_journal_state()
445 i = be32_to_cpu(jsb->s_first); in ext4fs_check_journal_state()
453 if (be32_to_cpu(jdb->h_blocktype) == in ext4fs_check_journal_state()
455 if (be32_to_cpu(jdb->h_sequence) != in ext4fs_check_journal_state()
456 be32_to_cpu(jsb->s_sequence)) { in ext4fs_check_journal_state()
474 flags = be32_to_cpu(tag->flags); in ext4fs_check_journal_state()
[all …]
/u-boot/drivers/mtd/ubi/
A Dfastmap.c326 be32_to_cpu(new_vh->data_size); in update_vol()
493 pnum = be32_to_cpu(pebs[i]); in scan_pool()
548 new_aeb->lnum = be32_to_cpu(vh->lnum); in scan_pool()
705 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
716 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
727 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()
738 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()
758 be32_to_cpu(fmvhdr->used_ebs), in ubi_attach_fastmap()
759 be32_to_cpu(fmvhdr->data_pad), in ubi_attach_fastmap()
1003 be32_to_cpu(vh->vol_id), in ubi_scan_fastmap()
[all …]
A Ddebug.c58 pr_err("\tmagic %#08x\n", be32_to_cpu(ec_hdr->magic)); in ubi_dump_ec_hdr()
77 pr_err("\tmagic %08x\n", be32_to_cpu(vid_hdr->magic)); in ubi_dump_vid_hdr()
82 pr_err("\tvol_id %d\n", be32_to_cpu(vid_hdr->vol_id)); in ubi_dump_vid_hdr()
83 pr_err("\tlnum %d\n", be32_to_cpu(vid_hdr->lnum)); in ubi_dump_vid_hdr()
84 pr_err("\tdata_size %d\n", be32_to_cpu(vid_hdr->data_size)); in ubi_dump_vid_hdr()
85 pr_err("\tused_ebs %d\n", be32_to_cpu(vid_hdr->used_ebs)); in ubi_dump_vid_hdr()
86 pr_err("\tdata_pad %d\n", be32_to_cpu(vid_hdr->data_pad)); in ubi_dump_vid_hdr()
89 pr_err("\thdr_crc %08x\n", be32_to_cpu(vid_hdr->hdr_crc)); in ubi_dump_vid_hdr()
137 pr_err("\talignment %d\n", be32_to_cpu(r->alignment)); in ubi_dump_vtbl_record()
138 pr_err("\tdata_pad %d\n", be32_to_cpu(r->data_pad)); in ubi_dump_vtbl_record()
[all …]
A Dattach.c196 int vol_id = be32_to_cpu(vid_hdr->vol_id); in validate_vid_hdr()
197 int used_ebs = be32_to_cpu(vid_hdr->used_ebs); in validate_vid_hdr()
198 int data_pad = be32_to_cpu(vid_hdr->data_pad); in validate_vid_hdr()
395 len = be32_to_cpu(vid_hdr->data_size); in ubi_compare_lebs()
402 data_crc = be32_to_cpu(vid_hdr->data_crc); in ubi_compare_lebs()
457 vol_id = be32_to_cpu(vid_hdr->vol_id); in ubi_add_to_av()
458 lnum = be32_to_cpu(vid_hdr->lnum); in ubi_add_to_av()
551 be32_to_cpu(vid_hdr->data_size); in ubi_add_to_av()
905 image_seq = be32_to_cpu(ech->image_seq); in scan_peb()
992 vol_id = be32_to_cpu(vidh->vol_id); in scan_peb()
[all …]
A Dio.c672 leb_start = be32_to_cpu(ec_hdr->data_offset); in validate_ec_hdr()
753 magic = be32_to_cpu(ec_hdr->magic); in ubi_io_read_ec_hdr()
791 hdr_crc = be32_to_cpu(ec_hdr->hdr_crc); in ubi_io_read_ec_hdr()
878 int vol_id = be32_to_cpu(vid_hdr->vol_id); in validate_vid_hdr()
879 int lnum = be32_to_cpu(vid_hdr->lnum); in validate_vid_hdr()
1017 magic = be32_to_cpu(vid_hdr->magic); in ubi_io_read_vid_hdr()
1045 hdr_crc = be32_to_cpu(vid_hdr->hdr_crc); in ubi_io_read_vid_hdr()
1159 magic = be32_to_cpu(ec_hdr->magic); in self_check_ec_hdr()
1206 hdr_crc = be32_to_cpu(ec_hdr->hdr_crc); in self_check_peb_ec_hdr()
1242 magic = be32_to_cpu(vid_hdr->magic); in self_check_vid_hdr()
[all …]
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/qe/
A Dqe.c441 for (i = 0; i < be32_to_cpu(ucode->count); i++) in qe_upload_microcode()
442 out_be32(&qe_immr->iram.idata, be32_to_cpu(code[i])); in qe_upload_microcode()
483 length = be32_to_cpu(hdr->length); in qe_upload_firmware()
517 be32_to_cpu(firmware->microcode[i].count); in qe_upload_firmware()
571 u32 trap = be32_to_cpu(ucode->traps[j]); in qe_upload_firmware()
623 length = be32_to_cpu(hdr->length); in u_qe_upload_firmware()
657 be32_to_cpu(firmware->microcode[i].count); in u_qe_upload_firmware()
700 u32 trap = be32_to_cpu(ucode->traps[j]); in u_qe_upload_firmware()
765 for (i = 0; i < be32_to_cpu(ucode->count); i++) in u_qe_firmware_resume()
770 u32 trap = be32_to_cpu(ucode->traps[j]); in u_qe_firmware_resume()
[all …]
/u-boot/drivers/net/pfe_eth/
A Dpfe_hw.c352 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_pmem_section()
353 u32 size = be32_to_cpu(shdr->sh_size); in pe_load_pmem_section()
354 u32 type = be32_to_cpu(shdr->sh_type); in pe_load_pmem_section()
403 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_dmem_section()
404 u32 size = be32_to_cpu(shdr->sh_size); in pe_load_dmem_section()
405 u32 type = be32_to_cpu(shdr->sh_type); in pe_load_dmem_section()
460 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_ddr_section()
461 u32 size = be32_to_cpu(shdr->sh_size); in pe_load_ddr_section()
462 u32 type = be32_to_cpu(shdr->sh_type); in pe_load_ddr_section()
544 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_pe_lmem_section()
[all …]
A Dpfe_cmd.c49 val = be32_to_cpu(val); in pfe_command_pe()
83 val = be32_to_cpu(val); in pfe_command_pe()
130 val = be32_to_cpu(val); in pfe_command_pe()
387 val = be32_to_cpu(val); in pfe_command_expt()
A Dpfe_firmware.c47 be32_to_cpu(elf_hdr->e_shoff)); in pfe_load_elf()
78 if (!(be32_to_cpu(shdr->sh_flags) & (SHF_WRITE | SHF_ALLOC | in pfe_load_elf()
/u-boot/board/corscience/tricorder/
A Dtricorder-eeprom.c46 if (be32_to_cpu(eepromv0.crc32) != crc) { in handle_eeprom_v0()
47 warn_wrong_value("CRC", be32_to_cpu(eepromv0.crc32), in handle_eeprom_v0()
72 if (be32_to_cpu(eeprom->crc32) != crc) { in handle_eeprom_v1()
73 warn_wrong_value("CRC", be32_to_cpu(eeprom->crc32), crc); in handle_eeprom_v1()
90 if (be32_to_cpu(eeprom->magic) != TRICORDER_EEPROM_MAGIC) { in tricorder_get_eeprom()
92 be32_to_cpu(eeprom->magic)); in tricorder_get_eeprom()
/u-boot/fs/cbfs/
A Dcbfs.c63 dest->magic = be32_to_cpu(src->magic); in swap_header()
64 dest->version = be32_to_cpu(src->version); in swap_header()
65 dest->rom_size = be32_to_cpu(src->rom_size); in swap_header()
66 dest->boot_block_size = be32_to_cpu(src->boot_block_size); in swap_header()
67 dest->align = be32_to_cpu(src->align); in swap_header()
68 dest->offset = be32_to_cpu(src->offset); in swap_header()
76 dest->len = be32_to_cpu(src->len); in swap_file_header()
77 dest->type = be32_to_cpu(src->type); in swap_file_header()
78 dest->attributes_offset = be32_to_cpu(src->attributes_offset); in swap_file_header()
79 dest->offset = be32_to_cpu(src->offset); in swap_file_header()
/u-boot/board/varisys/common/
A Dsys_eeprom.c86 be32_to_cpu(e.version)); in show_eeprom()
115 if (crc == be32_to_cpu(e.crc)) in show_eeprom()
116 printf("CRC: %08x\n", be32_to_cpu(e.crc)); in show_eeprom()
119 be32_to_cpu(e.crc), crc); in show_eeprom()
460 if (crc != be32_to_cpu(*crcp)) { in mac_read_from_eeprom_common()
462 be32_to_cpu(e.crc)); in mac_read_from_eeprom_common()
497 be32_to_cpu(e.version)); in mac_read_from_eeprom_common()
/u-boot/include/linux/byteorder/
A Dgeneric.h95 #define be32_to_cpu __be32_to_cpu macro
183 *var = cpu_to_be32(be32_to_cpu(*var) + val); in be32_add_cpu()
204 dst[i] = be32_to_cpu(src[i]); in be32_to_cpu_array()
/u-boot/board/freescale/common/
A Dsys_eeprom.c96 be32_to_cpu(e.version)); in show_eeprom()
130 if (crc == be32_to_cpu(e.crc)) in show_eeprom()
131 printf("CRC: %08x\n", be32_to_cpu(e.crc)); in show_eeprom()
134 be32_to_cpu(e.crc), crc); in show_eeprom()
514 if (crc != be32_to_cpu(*crcp)) { in mac_read_from_eeprom()
515 printf("CRC mismatch (%08x != %08x)\n", crc, be32_to_cpu(e.crc)); in mac_read_from_eeprom()
553 be32_to_cpu(e.version)); in mac_read_from_eeprom()
/u-boot/drivers/net/fm/
A Dfm.c90 out_be32(&imem->idata, (be32_to_cpu(ucode[i]))); in fm_upload_ucode()
94 while ((in_be32(&imem->idata) != be32_to_cpu(ucode[0])) && --timeout) in fm_upload_ucode()
130 length = be32_to_cpu(hdr->length); in fman_upload_firmware()
163 be32_to_cpu(firmware->microcode[i].count); in fman_upload_firmware()
176 crc = be32_to_cpu(*(u32 *)((void *)firmware + calc_size)); in fman_upload_firmware()
187 if (be32_to_cpu(ucode->code_offset)) { in fman_upload_firmware()
194 be32_to_cpu(ucode->code_offset); in fman_upload_firmware()
195 ucode_size = sizeof(u32) * be32_to_cpu(ucode->count); in fman_upload_firmware()
/u-boot/drivers/misc/
A Dqfw.c54 size = be32_to_cpu(file->cfg.size); in bios_linker_allocate()
171 size = be32_to_cpu(file->cfg.size); in write_acpi_tables()
265 entry, size, address, be32_to_cpu(dma.control)); in qemu_fwcfg_read_entry_dma()
315 count = be32_to_cpu(count); in qemu_fwcfg_read_firmware_list()
386 if (be32_to_cpu(qemu) == QEMU_FW_CFG_SIGNATURE) in qemu_fwcfg_init()
/u-boot/tools/
A Ddefault_image.c59 if (be32_to_cpu(hdr->ih_magic) != IH_MAGIC) { in image_verify_header()
68 checksum = be32_to_cpu(hdr->ih_hcrc); in image_verify_header()
80 checksum = be32_to_cpu(hdr->ih_dcrc); in image_verify_header()
/u-boot/include/linux/
A Dlibfdt_env.h22 #define fdt32_to_cpu(x) be32_to_cpu(x)
/u-boot/include/
A Dcompiler.h105 # define be32_to_cpu(x) uswap_32(x) macro
118 # define be32_to_cpu(x) (x) macro
A Dzfs_common.h44 #define zfs_to_cpu32(x, a) (((a) == BIG_ENDIAN) ? be32_to_cpu(x) \
/u-boot/drivers/usb/gadget/
A Df_sdp.c310 be32_to_cpu(cmd->addr), be32_to_cpu(cmd->cnt)); in sdp_rx_command_complete()
318 sdp->dnl_address = be32_to_cpu(cmd->addr); in sdp_rx_command_complete()
319 sdp->dnl_bytes_remaining = be32_to_cpu(cmd->cnt); in sdp_rx_command_complete()
329 sdp->dnl_address = cmd->addr ? be32_to_cpu(cmd->addr) : CONFIG_SDP_LOADADDR; in sdp_rx_command_complete()
330 sdp->dnl_bytes_remaining = be32_to_cpu(cmd->cnt); in sdp_rx_command_complete()
350 sdp->dnl_bytes_remaining = be32_to_cpu(cmd->cnt); in sdp_rx_command_complete()
357 sdp->jmp_address = cmd->addr ? be32_to_cpu(cmd->addr) : CONFIG_SDP_LOADADDR; in sdp_rx_command_complete()
/u-boot/include/dm/
A Dof.h123 r = (r << 32) | be32_to_cpu(*(cell++)); in of_read_number()
/u-boot/drivers/axi/
A Dsandbox_store.c41 *((u32 *)dst) = be32_to_cpu(*((u32 *)src)); in copy_axi_data()

Completed in 34 milliseconds

123