Home
last modified time | relevance | path

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

1234

/openbmc/u-boot/disk/
H A Dpart_efi.c85 if (le64_to_cpu(gpt_h->signature) != GPT_HEADER_SIGNATURE_UBOOT) { in validate_gpt_header()
88 le64_to_cpu(gpt_h->signature), in validate_gpt_header()
112 if (le64_to_cpu(gpt_h->my_lba) != lba) { in validate_gpt_header()
114 le64_to_cpu(gpt_h->my_lba), in validate_gpt_header()
123 if (le64_to_cpu(gpt_h->first_usable_lba) > lastlba) { in validate_gpt_header()
125 le64_to_cpu(gpt_h->first_usable_lba), lastlba); in validate_gpt_header()
128 if (le64_to_cpu(gpt_h->last_usable_lba) > lastlba) { in validate_gpt_header()
130 le64_to_cpu(gpt_h->last_usable_lba), lastlba); in validate_gpt_header()
135 LBAF "\n", le64_to_cpu(gpt_h->first_usable_lba), in validate_gpt_header()
136 le64_to_cpu(gpt_h->last_usable_lba), lastlba); in validate_gpt_header()
[all …]
/openbmc/qemu/target/i386/
H A Dmonitor.c108 pdpe = le64_to_cpu(pdpe); in tlb_info_pae32()
113 pde = le64_to_cpu(pde); in tlb_info_pae32()
123 pte = le64_to_cpu(pte); in tlb_info_pae32()
148 pml4e = le64_to_cpu(pml4e); in tlb_info_la48()
156 pdpe = le64_to_cpu(pdpe); in tlb_info_la48()
171 pde = le64_to_cpu(pde); in tlb_info_la48()
188 pte = le64_to_cpu(pte); in tlb_info_la48()
209 pml5e = le64_to_cpu(pml5e); in tlb_info_la57()
328 pdpe = le64_to_cpu(pdpe); in mem_info_pae32()
334 pde = le64_to_cpu(pde); in mem_info_pae32()
[all …]
/openbmc/qemu/block/
H A Dvhdx-endian.c39 h->sequence_number = le64_to_cpu(h->sequence_number); in vhdx_header_le_import()
48 h->log_offset = le64_to_cpu(h->log_offset); in vhdx_header_le_import()
83 d->file_offset = le64_to_cpu(d->file_offset); in vhdx_log_desc_le_import()
84 d->sequence_number = le64_to_cpu(d->sequence_number); in vhdx_log_desc_le_import()
124 hdr->sequence_number = le64_to_cpu(hdr->sequence_number); in vhdx_log_entry_hdr_le_import()
127 hdr->flushed_file_offset = le64_to_cpu(hdr->flushed_file_offset); in vhdx_log_entry_hdr_le_import()
128 hdr->last_file_offset = le64_to_cpu(hdr->last_file_offset); in vhdx_log_entry_hdr_le_import()
171 e->file_offset = le64_to_cpu(e->file_offset); in vhdx_region_entry_le_import()
192 hdr->signature = le64_to_cpu(hdr->signature); in vhdx_metadata_header_le_import()
H A Dvmdk.c706 header->magic = le64_to_cpu(header->magic); in check_se_sparse_const_header()
707 header->version = le64_to_cpu(header->version); in check_se_sparse_const_header()
708 header->grain_size = le64_to_cpu(header->grain_size); in check_se_sparse_const_header()
709 header->grain_table_size = le64_to_cpu(header->grain_table_size); in check_se_sparse_const_header()
710 header->flags = le64_to_cpu(header->flags); in check_se_sparse_const_header()
711 header->reserved1 = le64_to_cpu(header->reserved1); in check_se_sparse_const_header()
712 header->reserved2 = le64_to_cpu(header->reserved2); in check_se_sparse_const_header()
713 header->reserved3 = le64_to_cpu(header->reserved3); in check_se_sparse_const_header()
714 header->reserved4 = le64_to_cpu(header->reserved4); in check_se_sparse_const_header()
717 le64_to_cpu(header->volatile_header_offset); in check_se_sparse_const_header()
[all …]
H A Dparallels-ext.c141 bf.size = le64_to_cpu(bf.size); in parallels_load_bitmap()
198 eh.magic = le64_to_cpu(eh.magic); in parallels_parse_format_extension()
237 fh.magic = le64_to_cpu(fh.magic); in parallels_parse_format_extension()
238 fh.flags = le64_to_cpu(fh.flags); in parallels_parse_format_extension()
H A Dblklogwrites.c146 le64_to_cpu(cur_entry.flags), cur_idx); in blk_log_writes_find_cur_log_sector()
158 cur_sector += le64_to_cpu(cur_entry.nr_sectors); in blk_log_writes_find_cur_log_sector()
235 le64_to_cpu(log_sb.version)); in blk_log_writes_open()
246 le64_to_cpu(log_sb.nr_entries), &local_err); in blk_log_writes_open()
253 s->nr_entries = le64_to_cpu(log_sb.nr_entries); in blk_log_writes_open()
/openbmc/u-boot/arch/arm/lib/
H A Dimage.c55 image_size = le64_to_cpu(ih->image_size); in booti_setup()
56 text_offset = le64_to_cpu(ih->text_offset); in booti_setup()
67 if (!force_reloc && (le64_to_cpu(ih->flags) & BIT(3))) in booti_setup()
/openbmc/u-boot/fs/ubifs/
H A Dmaster.c272 c->max_sqnum = le64_to_cpu(c->mst_node->ch.sqnum); in ubifs_read_master()
273 c->highest_inum = le64_to_cpu(c->mst_node->highest_inum); in ubifs_read_master()
274 c->cmt_no = le64_to_cpu(c->mst_node->cmt_no); in ubifs_read_master()
282 c->bi.old_idx_sz = le64_to_cpu(c->mst_node->index_size); in ubifs_read_master()
295 c->lst.total_free = le64_to_cpu(c->mst_node->total_free); in ubifs_read_master()
296 c->lst.total_dirty = le64_to_cpu(c->mst_node->total_dirty); in ubifs_read_master()
297 c->lst.total_used = le64_to_cpu(c->mst_node->total_used); in ubifs_read_master()
298 c->lst.total_dead = le64_to_cpu(c->mst_node->total_dead); in ubifs_read_master()
299 c->lst.total_dark = le64_to_cpu(c->mst_node->total_dark); in ubifs_read_master()
H A Dreplay.c453 le64_to_cpu(dent->inum) > MAX_INUM) { in ubifs_validate_entry()
596 loff_t new_size = le64_to_cpu(ino->size); in replay_bud()
629 !le64_to_cpu(dent->inum), &used); in replay_bud()
635 loff_t old_size = le64_to_cpu(trun->old_size); in replay_bud()
636 loff_t new_size = le64_to_cpu(trun->new_size); in replay_bud()
861 if (le64_to_cpu(node->cmt_no) != c->cmt_no) { in replay_log_leb()
864 (unsigned long long)le64_to_cpu(node->cmt_no), in replay_log_leb()
869 c->cs_sqnum = le64_to_cpu(node->ch.sqnum); in replay_log_leb()
H A Ddebug.c228 (unsigned long long)le64_to_cpu(ch->sqnum)); in dump_ch()
347 (unsigned long long)le64_to_cpu(sup->max_bud_bytes)); in ubifs_dump_node()
357 (unsigned long long)le64_to_cpu(sup->rp_size)); in ubifs_dump_node()
370 (unsigned long long)le64_to_cpu(mst->highest_inum)); in ubifs_dump_node()
372 (unsigned long long)le64_to_cpu(mst->cmt_no)); in ubifs_dump_node()
382 (unsigned long long)le64_to_cpu(mst->index_size)); in ubifs_dump_node()
396 (unsigned long long)le64_to_cpu(mst->total_free)); in ubifs_dump_node()
398 (unsigned long long)le64_to_cpu(mst->total_dirty)); in ubifs_dump_node()
400 (unsigned long long)le64_to_cpu(mst->total_used)); in ubifs_dump_node()
402 (unsigned long long)le64_to_cpu(mst->total_dead)); in ubifs_dump_node()
[all …]
H A Dubifs.c352 dent->name, (unsigned long long)le64_to_cpu(dent->inum), in ubifs_printdir()
355 ubifs_assert(le64_to_cpu(dent->ch.sqnum) > ubifs_inode(dir)->creat_sqnum); in ubifs_printdir()
360 le64_to_cpu(dent->inum), dent->type); in ubifs_printdir()
436 dent->name, (unsigned long long)le64_to_cpu(dent->inum), in ubifs_finddir()
439 ubifs_assert(le64_to_cpu(dent->ch.sqnum) > ubifs_inode(dir)->creat_sqnum); in ubifs_finddir()
445 *inum = le64_to_cpu(dent->inum); in ubifs_finddir()
702 ubifs_assert(le64_to_cpu(dn->ch.sqnum) > ubifs_inode(inode)->creat_sqnum); in read_block()
/openbmc/qemu/hw/i386/
H A De820_memory_layout.c43 *address = le64_to_cpu(e820_table[idx].address); in e820_get_entry()
44 *length = le64_to_cpu(e820_table[idx].length); in e820_get_entry()
H A Dtdvf.c97 entry->address = le64_to_cpu(src->MemoryAddress); in tdvf_parse_and_check_section_entry()
98 entry->size = le64_to_cpu(src->MemoryDataSize); in tdvf_parse_and_check_section_entry()
/openbmc/u-boot/tools/
H 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()
580 for (i = 0; i < le64_to_cpu(ehdr->e_shnum); i++, shdr++) { in elf2flat64()
581 char *dst = flat + le64_to_cpu(shdr->sh_addr) - min_addr; in elf2flat64()
[all …]
/openbmc/qemu/tests/qtest/
H A Dacpi-utils.c89 addr = le64_to_cpu(addr); in acpi_fetch_table()
151 ret.rsdp10 = le64_to_cpu(ret.rsdp10); in acpi_find_rsdp_address_uefi()
152 ret.rsdp20 = le64_to_cpu(ret.rsdp20); in acpi_find_rsdp_address_uefi()
H A Dvmcoreinfo-test.c64 paddr = le64_to_cpu(info.paddr); in test_vmcoreinfo_write_basic()
/openbmc/qemu/hw/char/
H A Driscv_htif.c206 if (le64_to_cpu(syscall[0]) == PK_SYS_WRITE && in htif_handle_tohost_write()
207 le64_to_cpu(syscall[1]) == HTIF_DEV_CONSOLE && in htif_handle_tohost_write()
208 le64_to_cpu(syscall[3]) == HTIF_CONSOLE_CMD_PUTC) { in htif_handle_tohost_write()
210 cpu_physical_memory_read(le64_to_cpu(syscall[2]), &ch, 1); in htif_handle_tohost_write()
/openbmc/u-boot/include/
H A Dcompiler.h99 # define le64_to_cpu(x) (x) macro
112 # define le64_to_cpu(x) uswap_64(x) macro
H A Dzfs_common.h48 : le64_to_cpu(x))
/openbmc/qemu/qga/
H A Dcommands-linux.c967 smart->data_units_read_lo = le64_to_cpu(log.data_units_read[0]); in get_nvme_smart()
968 smart->data_units_read_hi = le64_to_cpu(log.data_units_read[1]); in get_nvme_smart()
969 smart->data_units_written_lo = le64_to_cpu(log.data_units_written[0]); in get_nvme_smart()
970 smart->data_units_written_hi = le64_to_cpu(log.data_units_written[1]); in get_nvme_smart()
971 smart->host_read_commands_lo = le64_to_cpu(log.host_read_commands[0]); in get_nvme_smart()
972 smart->host_read_commands_hi = le64_to_cpu(log.host_read_commands[1]); in get_nvme_smart()
973 smart->host_write_commands_lo = le64_to_cpu(log.host_write_commands[0]); in get_nvme_smart()
974 smart->host_write_commands_hi = le64_to_cpu(log.host_write_commands[1]); in get_nvme_smart()
975 smart->controller_busy_time_lo = le64_to_cpu(log.controller_busy_time[0]); in get_nvme_smart()
976 smart->controller_busy_time_hi = le64_to_cpu(log.controller_busy_time[1]); in get_nvme_smart()
[all …]
/openbmc/u-boot/include/linux/byteorder/
H 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()
/openbmc/qemu/hw/acpi/
H A Derst.c430 if (le64_to_cpu(header->magic) == 0UL) { in check_erst_backend_storage()
448 (le64_to_cpu(header->magic) == ERST_STORE_MAGIC) && in check_erst_backend_storage()
485 if (le64_to_cpu(s->header->map[index]) == ERST_UNSPECIFIED_RECORD_ID) { in find_next_empty_record_index()
510 if (le64_to_cpu(s->header->map[index]) == record_identifier) { in lookup_erst_record()
514 if (le64_to_cpu(s->header->map[index]) != in lookup_erst_record()
545 if (le64_to_cpu(s->header->map[index]) != in get_next_record_identifier()
549 *record_identifier = le64_to_cpu(s->header->map[index]); in get_next_record_identifier()
694 record_identifier = le64_to_cpu(record_identifier); in write_erst_record()
/openbmc/qemu/block/export/
H A Dvirtio-blk-handler.c76 sector = le64_to_cpu(desc.sector); in virtio_blk_discard_write_zeroes()
177 int64_t sector_num = le64_to_cpu(out.sector); in virtio_blk_process_req()
/openbmc/u-boot/arch/mips/include/asm/mach-generic/
H A Dmangle-port.h33 # define ioswabq(a, x) le64_to_cpu(x)
/openbmc/qemu/scripts/coccinelle/
H A Dinplace-byteswaps.cocci50 +E = le64_to_cpu(E);

1234