Home
last modified time | relevance | path

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

12

/u-boot/tools/
A 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()
A Dzynqmpbif.c328 .entry_point = cpu_to_le64(bf->entry), in bif_add_part()
329 .load_address = cpu_to_le64(bf->load), in bif_add_part()
/u-boot/drivers/net/
A Dftmac110.c216 chip->txd[i].ctrl &= cpu_to_le64(FTMAC110_TXD_CLRMASK); in ftmac110_reset()
223 chip->rxd[i].ctrl &= cpu_to_le64(FTMAC110_RXD_CLRMASK); in ftmac110_reset()
224 chip->rxd[i].ctrl |= cpu_to_le64(FTMAC110_RXD_OWNER); in ftmac110_reset()
317 txd->ctrl = cpu_to_le64(ctrl); in ftmac110_send()
358 rxd->ctrl |= cpu_to_le64(ctrl); in ftmac110_recv()
447 chip->txd[i - 1].ctrl |= cpu_to_le64(FTMAC110_TXD_END); in ftmac110_initialize()
466 chip->rxd[i].ctrl = cpu_to_le64(FTMAC110_RXD_OWNER in ftmac110_initialize()
469 chip->rxd[i - 1].ctrl |= cpu_to_le64(FTMAC110_RXD_END); in ftmac110_initialize()
A Dfsl_enetc.c435 return cpu_to_le64(dm_pci_virt_to_mem(dev, net_rx_packets[i])); in enetc_rxb_address()
602 cpu_to_le64(dm_pci_virt_to_mem(dev, nv_packet)); in enetc_send()
/u-boot/fs/ubifs/
A Dsb.c173 sup->max_bud_bytes = cpu_to_le64(tmp64); in create_default_filesystem()
193 sup->rp_size = cpu_to_le64(tmp64); in create_default_filesystem()
210 mst->highest_inum = cpu_to_le64(UBIFS_FIRST_INO); in create_default_filesystem()
219 mst->index_size = cpu_to_le64(ALIGN(tmp, 8)); in create_default_filesystem()
237 mst->total_free = cpu_to_le64(tmp64); in create_default_filesystem()
244 mst->total_dirty = cpu_to_le64(tmp64); in create_default_filesystem()
248 mst->total_dark = cpu_to_le64(tmp64); in create_default_filesystem()
250 mst->total_used = cpu_to_le64(UBIFS_INO_NODE_SZ); in create_default_filesystem()
297 ino->creat_sqnum = cpu_to_le64(++c->max_sqnum); in create_default_filesystem()
299 tmp_le64 = cpu_to_le64(CURRENT_TIME_SEC.tv_sec); in create_default_filesystem()
[all …]
A Dmaster.c333 c->mst_node->total_free = cpu_to_le64(c->lst.total_free); in ubifs_read_master()
334 c->mst_node->total_dark = cpu_to_le64(c->lst.total_dark); in ubifs_read_master()
377 c->mst_node->highest_inum = cpu_to_le64(c->highest_inum); in ubifs_write_master()
A Dmisc.h151 dev->huge = cpu_to_le64(huge_encode_dev(rdev)); in ubifs_encode_dev()
A Dorphan.c297 orph->inos[i] = cpu_to_le64(orphan->inum); in write_orph_node()
306 orph->cmt_no = cpu_to_le64(c->cmt_no); in write_orph_node()
309 orph->cmt_no = cpu_to_le64((c->cmt_no) | (1ULL << 63)); in write_orph_node()
A Dio.c395 ch->sqnum = cpu_to_le64(sqnum); in ubifs_prepare_node()
431 ch->sqnum = cpu_to_le64(sqnum); in ubifs_prep_grp_node()
A Dlog.c370 cs->cmt_no = cpu_to_le64(c->cmt_no); in ubifs_log_start_commit()
/u-boot/include/
A Dcompiler.h97 # define cpu_to_le64(x) (x) macro
110 # define cpu_to_le64(x) uswap_64(x) macro
A Dzfs_common.h52 : cpu_to_le64(x))
A Dvirtio.h415 return (__force __virtio64)cpu_to_le64(val); in __cpu_to_virtio64()
/u-boot/drivers/nvme/
A Dnvme.c123 *(prp_pool + i) = cpu_to_le64((ulong)prp_pool + in nvme_setup_prps()
128 *(prp_pool + i++) = cpu_to_le64(dma_addr); in nvme_setup_prps()
427 c.create_cq.prp1 = cpu_to_le64((ulong)nvmeq->cqes); in nvme_alloc_cq()
444 c.create_sq.prp1 = cpu_to_le64((ulong)nvmeq->sq_cmds); in nvme_alloc_sq()
465 c.identify.prp1 = cpu_to_le64(dma_addr); in nvme_identify()
472 c.identify.prp2 = cpu_to_le64(dma_addr); in nvme_identify()
497 c.features.prp1 = cpu_to_le64(dma_addr); in nvme_get_features()
523 c.features.prp1 = cpu_to_le64(dma_addr); in nvme_set_features()
779 c.rw.slba = cpu_to_le64(slba); in nvme_blk_rw()
782 c.rw.prp1 = cpu_to_le64((ulong)buffer); in nvme_blk_rw()
[all …]
/u-boot/disk/
A Dpart_efi.c182 gpt_h->alternate_lba = cpu_to_le64(val); in prepare_backup_gpt_header()
184 cpu_to_le64(le64_to_cpu(gpt_h->last_usable_lba) + 1); in prepare_backup_gpt_header()
466 gpt_e[i].starting_lba = cpu_to_le64(start); in gpt_fill_pte()
477 gpt_e[i].ending_lba = cpu_to_le64(offset - 1); in gpt_fill_pte()
589 gpt_h->signature = cpu_to_le64(GPT_HEADER_SIGNATURE_UBOOT); in gpt_fill_header()
592 gpt_h->my_lba = cpu_to_le64(1); in gpt_fill_header()
593 gpt_h->alternate_lba = cpu_to_le64(dev_desc->lba - 1); in gpt_fill_header()
594 gpt_h->last_usable_lba = cpu_to_le64(dev_desc->lba - 34); in gpt_fill_header()
596 cpu_to_le64(partition_entries_offset(dev_desc)); in gpt_fill_header()
598 cpu_to_le64(le64_to_cpu(gpt_h->partition_entry_lba) + 32); in gpt_fill_header()
/u-boot/include/linux/byteorder/
A Dgeneric.h86 #define cpu_to_le64 __cpu_to_le64 macro
156 *var = cpu_to_le64(le64_to_cpu(*var) + val); in le64_add_cpu()
/u-boot/include/fsl-mc/
A 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)))
/u-boot/include/linux/unaligned/
A Daccess_ok.h48 *((__le64 *)p) = cpu_to_le64(val); in put_unaligned_le64()
/u-boot/drivers/usb/host/
A Dxhci-mem.c231 cpu_to_le64(val_64); in xhci_link_segments()
378 ctrl->dcbaa->dev_context_ptrs[0] = cpu_to_le64(val_64); in xhci_scratchpad_alloc()
400 scratchpad->sp_array[i] = cpu_to_le64(val_64); in xhci_scratchpad_alloc()
495 ctrl->dcbaa->dev_context_ptrs[slot_id] = cpu_to_le64(byte_64); in xhci_alloc_virt_device()
568 entry->seg_addr = cpu_to_le64(trb_64); in xhci_mem_init()
855 ep0_ctx->deq = cpu_to_le64(trb_64 | virt_dev->eps[0].ring->cycle_state); in xhci_setup_addressable_virt_dev()
/u-boot/fs/btrfs/
A Dconv-funcs.h81 __u64: cpu_to_le64, \
A Dctree.h723 disk->offset = cpu_to_le64(cpu->offset); in btrfs_cpu_key_to_disk()
725 disk->objectid = cpu_to_le64(cpu->objectid); in btrfs_cpu_key_to_disk()
/u-boot/drivers/ata/
A Dsata_sil.c263 pcmd->sge.addr = cpu_to_le64(virt_to_bus(sata->devno, id)); in sil_cmd_identify_device()
337 pcmd->sge.addr = cpu_to_le64(virt_to_bus(sata->devno, buffer)); in sil_sata_rw_cmd()
384 pcmd->sge.addr = cpu_to_le64(virt_to_bus(sata->devno, buffer)); in sil_sata_rw_cmd_ext()
/u-boot/drivers/misc/
A Dqfw.c116 pointer = cpu_to_le64(pointer); in bios_linker_add_pointer()
/u-boot/arch/arc/include/asm/
A Dio.h173 #define writeq_relaxed(v, c) ((void)__arch_putq((__force u64)cpu_to_le64(v), (c)))
/u-boot/arch/arm/include/asm/
A Dio.h149 cpu_to_le64(v), (c)))

Completed in 43 milliseconds

12