Home
last modified time | relevance | path

Searched refs:le64_to_cpu (Results 1 – 25 of 31) sorted by relevance

12

/u-boot/disk/
A Dpart_efi.c101 le64_to_cpu(gpt_h->signature), in validate_gpt_header()
125 if (le64_to_cpu(gpt_h->my_lba) != lba) { in validate_gpt_header()
127 le64_to_cpu(gpt_h->my_lba), in validate_gpt_header()
180 val = le64_to_cpu(gpt_h->my_lba); in prepare_backup_gpt_header()
244 le64_to_cpu(gpt_pte[i].starting_lba), in part_print_efi()
245 le64_to_cpu(gpt_pte[i].ending_lba), in part_print_efi()
425 le64_to_cpu(gpt_h->last_usable_lba); in gpt_fill_pte()
742 le64_to_cpu(gpt_e[i].starting_lba) + 1; in gpt_verify_partitions()
769 le64_to_cpu(gpt_e[i].starting_lba), in gpt_verify_partitions()
844 lba = le64_to_cpu(gpt_h->partition_entry_lba); in write_mbr_and_gpt_partitions()
[all …]
/u-boot/arch/arm/lib/
A Dimage.c58 image_size = le64_to_cpu(ih->image_size); in booti_setup()
59 text_offset = le64_to_cpu(ih->text_offset); in booti_setup()
70 if (!force_reloc && (le64_to_cpu(ih->flags) & BIT(3))) in booti_setup()
/u-boot/fs/ubifs/
A Dmaster.c274 c->max_sqnum = le64_to_cpu(c->mst_node->ch.sqnum); in ubifs_read_master()
275 c->highest_inum = le64_to_cpu(c->mst_node->highest_inum); in ubifs_read_master()
276 c->cmt_no = le64_to_cpu(c->mst_node->cmt_no); in ubifs_read_master()
284 c->bi.old_idx_sz = le64_to_cpu(c->mst_node->index_size); in ubifs_read_master()
297 c->lst.total_free = le64_to_cpu(c->mst_node->total_free); in ubifs_read_master()
298 c->lst.total_dirty = le64_to_cpu(c->mst_node->total_dirty); in ubifs_read_master()
299 c->lst.total_used = le64_to_cpu(c->mst_node->total_used); in ubifs_read_master()
300 c->lst.total_dead = le64_to_cpu(c->mst_node->total_dead); in ubifs_read_master()
301 c->lst.total_dark = le64_to_cpu(c->mst_node->total_dark); in ubifs_read_master()
A Dreplay.c455 le64_to_cpu(dent->inum) > MAX_INUM) { in ubifs_validate_entry()
598 loff_t new_size = le64_to_cpu(ino->size); in replay_bud()
631 !le64_to_cpu(dent->inum), &used); in replay_bud()
637 loff_t old_size = le64_to_cpu(trun->old_size); in replay_bud()
638 loff_t new_size = le64_to_cpu(trun->new_size); in replay_bud()
863 if (le64_to_cpu(node->cmt_no) != c->cmt_no) { in replay_log_leb()
866 (unsigned long long)le64_to_cpu(node->cmt_no), in replay_log_leb()
871 c->cs_sqnum = le64_to_cpu(node->ch.sqnum); in replay_log_leb()
A Ddebug.c230 (unsigned long long)le64_to_cpu(ch->sqnum)); in dump_ch()
374 (unsigned long long)le64_to_cpu(mst->cmt_no)); in ubifs_dump_node()
428 (unsigned long long)le64_to_cpu(ino->size)); in ubifs_dump_node()
431 (long long)le64_to_cpu(ino->atime_sec), in ubifs_dump_node()
434 (long long)le64_to_cpu(ino->mtime_sec), in ubifs_dump_node()
437 (long long)le64_to_cpu(ino->ctime_sec), in ubifs_dump_node()
461 (unsigned long long)le64_to_cpu(dent->inum)); in ubifs_dump_node()
534 le64_to_cpu(orph->cmt_no) & LLONG_MAX); in ubifs_dump_node()
1888 fscki->size = le64_to_cpu(ino->size); in add_inode()
2070 if (le64_to_cpu(ch->sqnum) > c->max_sqnum) { in check_leaf()
[all …]
A Dubifs.c342 dent->name, (unsigned long long)le64_to_cpu(dent->inum), in ubifs_printdir()
345 ubifs_assert(le64_to_cpu(dent->ch.sqnum) > ubifs_inode(dir)->creat_sqnum); in ubifs_printdir()
350 le64_to_cpu(dent->inum), dent->type); in ubifs_printdir()
426 dent->name, (unsigned long long)le64_to_cpu(dent->inum), in ubifs_finddir()
429 ubifs_assert(le64_to_cpu(dent->ch.sqnum) > ubifs_inode(dir)->creat_sqnum); in ubifs_finddir()
435 *inum = le64_to_cpu(dent->inum); in ubifs_finddir()
692 ubifs_assert(le64_to_cpu(dn->ch.sqnum) > ubifs_inode(inode)->creat_sqnum); in read_block()
A Drecovery.c345 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1; in ubifs_recover_master_node()
835 if (le64_to_cpu(cs_node->cmt_no) != c->cmt_no) { in get_cs_sqnum()
837 (unsigned long long)le64_to_cpu(cs_node->cmt_no), in get_cs_sqnum()
841 *cs_sqnum = le64_to_cpu(cs_node->ch.sqnum); in get_cs_sqnum()
1440 i_size = le64_to_cpu(ino->size); in fix_size_in_place()
1510 e->i_size = le64_to_cpu(ino->size); in ubifs_recover_size()
A Dorphan.c572 cmt_no = le64_to_cpu(orph->cmt_no) & LLONG_MAX; in do_kill_orphans()
605 inum = le64_to_cpu(orph->inos[i]); in do_kill_orphans()
617 if (le64_to_cpu(orph->cmt_no) & (1ULL << 63)) { in do_kill_orphans()
861 inum = le64_to_cpu(orph->inos[i]); in dbg_read_orphans()
A Dscan.c199 snod->sqnum = le64_to_cpu(ch->sqnum); in ubifs_add_snod()
A Dsuper.c302 inode->i_atime.tv_sec = (int64_t)le64_to_cpu(ino->atime_sec); in ubifs_iget()
304 inode->i_mtime.tv_sec = (int64_t)le64_to_cpu(ino->mtime_sec); in ubifs_iget()
306 inode->i_ctime.tv_sec = (int64_t)le64_to_cpu(ino->ctime_sec); in ubifs_iget()
309 inode->i_size = le64_to_cpu(ino->size); in ubifs_iget()
314 ui->creat_sqnum = le64_to_cpu(ino->creat_sqnum); in ubifs_iget()
384 rdev = huge_decode_dev(le64_to_cpu(dev->huge)); in ubifs_iget()
A Dsb.c610 c->max_bud_bytes = le64_to_cpu(sup->max_bud_bytes); in ubifs_read_superblock()
617 c->rp_size = le64_to_cpu(sup->rp_size); in ubifs_read_superblock()
/u-boot/tools/
A Dzynqmpbif.c556 shdr = (void *)(elf + le64_to_cpu(ehdr->e_shoff)); in elf2flat64()
559 for (i = 0; i < le64_to_cpu(ehdr->e_shnum); i++, shdr++) { in elf2flat64()
565 if (le64_to_cpu(shdr->sh_addr) < min_addr) in elf2flat64()
566 min_addr = le64_to_cpu(shdr->sh_addr); in elf2flat64()
567 if ((le64_to_cpu(shdr->sh_addr) + le64_to_cpu(shdr->sh_size)) > in elf2flat64()
569 max_addr = le64_to_cpu(shdr->sh_addr) + in elf2flat64()
570 le64_to_cpu(shdr->sh_size); in elf2flat64()
579 shdr = (void *)(elf + le64_to_cpu(ehdr->e_shoff)); in elf2flat64()
582 char *src = elf + le64_to_cpu(shdr->sh_offset); in elf2flat64()
589 memcpy(dst, src, le64_to_cpu(shdr->sh_size)); in elf2flat64()
[all …]
A Dzynqmpimage.c167 (unsigned long long)le64_to_cpu(ph->load_address)); in print_partition()
170 (unsigned long long)le64_to_cpu(ph->entry_point)); in print_partition()
/u-boot/include/
A Dcompiler.h100 # define le64_to_cpu(x) (x) macro
113 # define le64_to_cpu(x) uswap_64(x) macro
A Dzfs_common.h50 : le64_to_cpu(x))
A Dvirtio.h407 return le64_to_cpu((__force __le64)val); in __virtio64_to_cpu()
/u-boot/include/linux/byteorder/
A Dgeneric.h87 #define le64_to_cpu __le64_to_cpu macro
156 *var = cpu_to_le64(le64_to_cpu(*var) + val); in le64_add_cpu()
/u-boot/arch/mips/include/asm/mach-generic/
A Dmangle-port.h33 # define ioswabq(a, x) le64_to_cpu(x)
/u-boot/arch/mips/mach-octeon/include/
A Dmangle-port.h53 # define ioswabq(a, x) (__should_swizzle_bits(a) ? le64_to_cpu(x) : x)
/u-boot/board/atmel/common/
A Dmac-spi-nor.c87 eui_table[i] = le64_to_cpu(p[i]); in sst26vf064beui_get_ethaddr()
/u-boot/drivers/net/
A Dftmac110.c299 ctrl = le64_to_cpu(txd->ctrl); in ftmac110_send()
340 ctrl = le64_to_cpu(rxd->ctrl); in ftmac110_recv()
/u-boot/fs/btrfs/
A Dconv-funcs.h94 __u64: le64_to_cpu, \
/u-boot/drivers/misc/
A Dqfw.c114 pointer = le64_to_cpu(pointer); in bios_linker_add_pointer()
/u-boot/arch/arc/include/asm/
A Dio.h168 #define readq_relaxed(c) ({ u64 __r = le64_to_cpu((__force __le64)__arch_getq(c)); __r; })
/u-boot/fs/squashfs/
A Dsqfs.c88 table_size = le64_to_cpu(end) - le64_to_cpu(start); in sqfs_calc_n_blks()
89 start_ = le64_to_cpu(start) / ctxt.cur_dev->blksz; in sqfs_calc_n_blks()
90 *offset = le64_to_cpu(start) - (start_ * ctxt.cur_dev->blksz); in sqfs_calc_n_blks()

Completed in 58 milliseconds

12