Home
last modified time | relevance | path

Searched refs:cpu_to_le64 (Results 1 – 25 of 40) sorted by relevance

12

/external/f2fs-tools/fsck/
Dquotaio_v2.c64 empty.dqb_itime = cpu_to_le64(1); in v2r1_disk2memdqblk()
77 d->dqb_ihardlimit = cpu_to_le64(m->dqb_ihardlimit); in v2r1_mem2diskdqblk()
78 d->dqb_isoftlimit = cpu_to_le64(m->dqb_isoftlimit); in v2r1_mem2diskdqblk()
79 d->dqb_bhardlimit = cpu_to_le64(m->dqb_bhardlimit); in v2r1_mem2diskdqblk()
80 d->dqb_bsoftlimit = cpu_to_le64(m->dqb_bsoftlimit); in v2r1_mem2diskdqblk()
81 d->dqb_curinodes = cpu_to_le64(m->dqb_curinodes); in v2r1_mem2diskdqblk()
82 d->dqb_curspace = cpu_to_le64(m->dqb_curspace); in v2r1_mem2diskdqblk()
83 d->dqb_itime = cpu_to_le64(m->dqb_itime); in v2r1_mem2diskdqblk()
84 d->dqb_btime = cpu_to_le64(m->dqb_btime); in v2r1_mem2diskdqblk()
87 d->dqb_itime = cpu_to_le64(1); in v2r1_mem2diskdqblk()
Dsegment.c291 inode->i.i_size = cpu_to_le64(offset); in f2fs_write()
319 inode->i.i_size = cpu_to_le64(filesize); in f2fs_filesize_update()
365 node_blk->i.i_size = cpu_to_le64(de->size); in f2fs_build_file()
Ddir.c314 parent->i.i_size = cpu_to_le64((block + 1) * F2FS_BLKSIZE); in f2fs_add_link()
495 node_blk->i.i_atime = cpu_to_le64(de->mtime); in init_inode_block()
496 node_blk->i.i_ctime = cpu_to_le64(de->mtime); in init_inode_block()
497 node_blk->i.i_mtime = cpu_to_le64(de->mtime); in init_inode_block()
Dnode.h108 dn->inode_blk->i.i_blocks = cpu_to_le64(blocks + 1); in inc_inode_blocks()
/external/u-boot/drivers/net/
Dftmac110.c214 chip->txd[i].ctrl &= cpu_to_le64(FTMAC110_TXD_CLRMASK); in ftmac110_reset()
221 chip->rxd[i].ctrl &= cpu_to_le64(FTMAC110_RXD_CLRMASK); in ftmac110_reset()
222 chip->rxd[i].ctrl |= cpu_to_le64(FTMAC110_RXD_OWNER); in ftmac110_reset()
315 txd->ctrl = cpu_to_le64(ctrl); in ftmac110_send()
356 rxd->ctrl |= cpu_to_le64(ctrl); in ftmac110_recv()
445 chip->txd[i - 1].ctrl |= cpu_to_le64(FTMAC110_TXD_END); in ftmac110_initialize()
464 chip->rxd[i].ctrl = cpu_to_le64(FTMAC110_RXD_OWNER in ftmac110_initialize()
467 chip->rxd[i - 1].ctrl |= cpu_to_le64(FTMAC110_RXD_END); in ftmac110_initialize()
Dfsl_enetc.c305 return cpu_to_le64(dm_pci_virt_to_mem(dev, net_rx_packets[i])); in enetc_rxb_address()
483 cpu_to_le64(dm_pci_virt_to_mem(dev, nv_packet)); in enetc_send()
/external/u-boot/fs/ubifs/
Dsb.c171 sup->max_bud_bytes = cpu_to_le64(tmp64); in create_default_filesystem()
191 sup->rp_size = cpu_to_le64(tmp64); in create_default_filesystem()
208 mst->highest_inum = cpu_to_le64(UBIFS_FIRST_INO); in create_default_filesystem()
217 mst->index_size = cpu_to_le64(ALIGN(tmp, 8)); in create_default_filesystem()
235 mst->total_free = cpu_to_le64(tmp64); in create_default_filesystem()
242 mst->total_dirty = cpu_to_le64(tmp64); in create_default_filesystem()
246 mst->total_dark = cpu_to_le64(tmp64); in create_default_filesystem()
248 mst->total_used = cpu_to_le64(UBIFS_INO_NODE_SZ); in create_default_filesystem()
295 ino->creat_sqnum = cpu_to_le64(++c->max_sqnum); in create_default_filesystem()
297 tmp_le64 = cpu_to_le64(CURRENT_TIME_SEC.tv_sec); in create_default_filesystem()
[all …]
Dmaster.c331 c->mst_node->total_free = cpu_to_le64(c->lst.total_free); in ubifs_read_master()
332 c->mst_node->total_dark = cpu_to_le64(c->lst.total_dark); in ubifs_read_master()
375 c->mst_node->highest_inum = cpu_to_le64(c->highest_inum); in ubifs_write_master()
Dmisc.h151 dev->huge = cpu_to_le64(huge_encode_dev(rdev)); in ubifs_encode_dev()
Dorphan.c295 orph->inos[i] = cpu_to_le64(orphan->inum); in write_orph_node()
304 orph->cmt_no = cpu_to_le64(c->cmt_no); in write_orph_node()
307 orph->cmt_no = cpu_to_le64((c->cmt_no) | (1ULL << 63)); in write_orph_node()
/external/u-boot/tools/
Drelocate-rela.c119 swrela.r_offset = cpu_to_le64(rela.r_offset); in main()
120 swrela.r_info = cpu_to_le64(rela.r_info); in main()
121 swrela.r_addend = cpu_to_le64(rela.r_addend); in main()
/external/u-boot/drivers/nvme/
Dnvme.c117 *(prp_pool + i) = cpu_to_le64((ulong)prp_pool + in nvme_setup_prps()
122 *(prp_pool + i++) = cpu_to_le64(dma_addr); in nvme_setup_prps()
415 c.create_cq.prp1 = cpu_to_le64((ulong)nvmeq->cqes); in nvme_alloc_cq()
432 c.create_sq.prp1 = cpu_to_le64((ulong)nvmeq->sq_cmds); in nvme_alloc_sq()
453 c.identify.prp1 = cpu_to_le64(dma_addr); in nvme_identify()
460 c.identify.prp2 = cpu_to_le64(dma_addr); in nvme_identify()
481 c.features.prp1 = cpu_to_le64(dma_addr); in nvme_get_features()
499 c.features.prp1 = cpu_to_le64(dma_addr); in nvme_set_features()
749 c.rw.slba = cpu_to_le64(slba); in nvme_blk_rw()
752 c.rw.prp1 = cpu_to_le64((ulong)buffer); in nvme_blk_rw()
[all …]
/external/f2fs-tools/mkfs/
Df2fs_format.c658 cp->checkpoint_ver = cpu_to_le64(rand() | 0x1); in f2fs_write_check_point_pack()
1106 raw_node->footer.cp_ver = cpu_to_le64(1); in f2fs_write_root_inode()
1121 raw_node->i.i_size = cpu_to_le64(1 * blk_size_bytes); /* dentry */ in f2fs_write_root_inode()
1122 raw_node->i.i_blocks = cpu_to_le64(2); in f2fs_write_root_inode()
1221 dqblk.dqb_ihardlimit = cpu_to_le64(0); in f2fs_write_default_quota()
1222 dqblk.dqb_isoftlimit = cpu_to_le64(0); in f2fs_write_default_quota()
1224 dqblk.dqb_curinodes = cpu_to_le64(2); in f2fs_write_default_quota()
1226 dqblk.dqb_curinodes = cpu_to_le64(1); in f2fs_write_default_quota()
1227 dqblk.dqb_bhardlimit = cpu_to_le64(0); in f2fs_write_default_quota()
1228 dqblk.dqb_bsoftlimit = cpu_to_le64(0); in f2fs_write_default_quota()
[all …]
/external/u-boot/disk/
Dpart_efi.c172 gpt_h->alternate_lba = cpu_to_le64(val); in prepare_backup_gpt_header()
174 cpu_to_le64(le64_to_cpu(gpt_h->last_usable_lba) + 1); in prepare_backup_gpt_header()
455 gpt_e[i].starting_lba = cpu_to_le64(start); in gpt_fill_pte()
466 gpt_e[i].ending_lba = cpu_to_le64(offset - 1); in gpt_fill_pte()
578 gpt_h->signature = cpu_to_le64(GPT_HEADER_SIGNATURE_UBOOT); in gpt_fill_header()
581 gpt_h->my_lba = cpu_to_le64(1); in gpt_fill_header()
582 gpt_h->alternate_lba = cpu_to_le64(dev_desc->lba - 1); in gpt_fill_header()
583 gpt_h->last_usable_lba = cpu_to_le64(dev_desc->lba - 34); in gpt_fill_header()
585 cpu_to_le64(partition_entries_offset(dev_desc)); in gpt_fill_header()
587 cpu_to_le64(le64_to_cpu(gpt_h->partition_entry_lba) + 32); in gpt_fill_header()
/external/selinux/libsepol/src/
Dprivate.h29 #define cpu_to_le64(x) (x) macro
36 #define cpu_to_le64(x) bswap_64(x) macro
/external/u-boot/prebuilt-intermediates/
Dcompiler.h96 # define cpu_to_le64(x) (x) macro
109 # define cpu_to_le64(x) uswap_64(x) macro
/external/u-boot/include/
Dcompiler.h96 # define cpu_to_le64(x) (x) macro
109 # define cpu_to_le64(x) uswap_64(x) macro
Dzfs_common.h50 : cpu_to_le64(x))
/external/u-boot/include/linux/byteorder/
Dgeneric.h86 #define cpu_to_le64 __cpu_to_le64 macro
156 *var = cpu_to_le64(le64_to_cpu(*var) + val); in le64_add_cpu()
/external/fsverity-utils/
Dutil.h78 # define cpu_to_le64(v) ((__force __le64)(u64)(v)) macro
85 # define cpu_to_le64(v) ((__force __le64)__builtin_bswap64(v)) macro
/external/u-boot/include/fsl-mc/
Dfsl_mc_cmd.h81 ((_ext)[_param] |= cpu_to_le64(mc_enc((_offset), (_width), _arg)))
84 (_arg = (_type)mc_dec(cpu_to_le64(_ext[_param]), (_offset), (_width)))
/external/u-boot/include/linux/unaligned/
Daccess_ok.h48 *((__le64 *)p) = cpu_to_le64(val); in put_unaligned_le64()
/external/u-boot/drivers/usb/host/
Dxhci-mem.c371 cpu_to_le64((uintptr_t)scratchpad->sp_array); in xhci_scratchpad_alloc()
393 scratchpad->sp_array[i] = cpu_to_le64(ptr); in xhci_scratchpad_alloc()
854 ep0_ctx->deq = cpu_to_le64(trb_64 | virt_dev->eps[0].ring->cycle_state); in xhci_setup_addressable_virt_dev()
/external/f2fs-tools/include/
Df2fs_fs.h159 #define cpu_to_le64(x) ((__u64)(x)) macro
166 #define cpu_to_le64(x) bswap_64(x) macro
452 #define set_sb_le64(member, val) (sb->member = cpu_to_le64(val))
493 #define set_cp_le64(member, val) (cp->member = cpu_to_le64(val))
1387 return cpu_to_le64(cp_ver); in get_cp_crc()
/external/u-boot/drivers/ata/
Dsata_sil.c256 pcmd->sge.addr = cpu_to_le64(virt_to_bus(sata->devno, id)); in sil_cmd_identify_device()
330 pcmd->sge.addr = cpu_to_le64(virt_to_bus(sata->devno, buffer)); in sil_sata_rw_cmd()
377 pcmd->sge.addr = cpu_to_le64(virt_to_bus(sata->devno, buffer)); in sil_sata_rw_cmd_ext()

12