Home
last modified time | relevance | path

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

12345678910>>...25

/openbmc/linux/crypto/
H A Dstreebog_generic.c30 cpu_to_le64(0xdd806559f2a64507ULL),
31 cpu_to_le64(0x05767436cc744d23ULL),
32 cpu_to_le64(0xa2422a08a460d315ULL),
33 cpu_to_le64(0x4b7ce09192676901ULL),
34 cpu_to_le64(0x714eb88d7585c4fcULL),
35 cpu_to_le64(0x2f6a76432e45d016ULL),
36 cpu_to_le64(0xebcb2f81c0657c1fULL),
37 cpu_to_le64(0xb1085bda1ecadae9ULL)
40 cpu_to_le64(0xe679047021b19bb7ULL),
47 cpu_to_le64(0x6fa3b58aa99d2f1aULL)
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dcoex.c18 {cpu_to_le64(0), cpu_to_le64(0), cpu_to_le64(0)},
21 cpu_to_le64(0x0ULL),
26 cpu_to_le64(0x0ULL),
31 cpu_to_le64(0x0ULL),
36 cpu_to_le64(0x0ULL),
67 cpu_to_le64(0x0ULL),
72 cpu_to_le64(0x0)
77 cpu_to_le64(0x0)
82 cpu_to_le64(0x0)
86 cpu_to_le64(0x0ULL),
[all …]
/openbmc/qemu/hw/mips/
H A Dloongson3_bootp.c57 emap->map[0].mem_start = cpu_to_le64(0x0); in init_memory_map()
62 emap->map[1].mem_start = cpu_to_le64(0x90000000); in init_memory_map()
76 s->uarts[0].uart_base = cpu_to_le64(virt_memmap[VIRT_UART].base); in init_system_loongson()
118 lp->cpu_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
122 lp->memory_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
126 lp->system_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
130 lp->irq_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
142 lp->special_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
148 reset->Shutdown = cpu_to_le64(0xffffffffbfc000a8); in init_reset_system()
149 reset->ResetCold = cpu_to_le64(0xffffffffbfc00080); in init_reset_system()
[all …]
/openbmc/linux/fs/ceph/
H A Dmetric.c67 cap->hit = cpu_to_le64(percpu_counter_sum(&m->i_caps_hit)); in ceph_mdsc_send_metrics()
68 cap->mis = cpu_to_le64(percpu_counter_sum(&m->i_caps_mis)); in ceph_mdsc_send_metrics()
69 cap->total = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
82 read->count = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics()
95 write->count = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics()
108 meta->count = cpu_to_le64(m->metric[METRIC_METADATA].total); in ceph_mdsc_send_metrics()
131 files->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
140 icaps->pinned_icaps = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
141 icaps->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
151 inodes->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
[all …]
H A Dlocks.c121 req->r_args.filelock_change.owner = cpu_to_le64(owner); in ceph_lock_message()
122 req->r_args.filelock_change.pid = cpu_to_le64((u64)fl->fl_pid); in ceph_lock_message()
123 req->r_args.filelock_change.start = cpu_to_le64(fl->fl_start); in ceph_lock_message()
124 req->r_args.filelock_change.length = cpu_to_le64(length); in ceph_lock_message()
400 cephlock->start = cpu_to_le64(lock->fl_start); in lock_to_ceph_filelock()
401 cephlock->length = cpu_to_le64(lock->fl_end - lock->fl_start + 1); in lock_to_ceph_filelock()
402 cephlock->client = cpu_to_le64(0); in lock_to_ceph_filelock()
403 cephlock->pid = cpu_to_le64((u64)lock->fl_pid); in lock_to_ceph_filelock()
404 cephlock->owner = cpu_to_le64(secure_addr(lock->fl_owner)); in lock_to_ceph_filelock()
/openbmc/linux/drivers/net/vmxnet3/
H A Dupt1_defs.h91 UPT1_F_RXCSUM = cpu_to_le64(0x0001), /* rx csum verification */
92 UPT1_F_RSS = cpu_to_le64(0x0002),
93 UPT1_F_RXVLAN = cpu_to_le64(0x0004), /* VLAN tag stripping */
94 UPT1_F_LRO = cpu_to_le64(0x0008),
95 UPT1_F_RXINNEROFLD = cpu_to_le64(0x00010), /* Geneve/Vxlan rx csum
/openbmc/qemu/block/
H A Dvhdx-endian.c58 new_h->sequence_number = cpu_to_le64(orig_h->sequence_number); in vhdx_header_le_export()
71 new_h->log_offset = cpu_to_le64(orig_h->log_offset); in vhdx_header_le_export()
93 d->leading_bytes = cpu_to_le64(d->leading_bytes); in vhdx_log_desc_le_export()
94 d->file_offset = cpu_to_le64(d->file_offset); in vhdx_log_desc_le_export()
95 d->sequence_number = cpu_to_le64(d->sequence_number); in vhdx_log_desc_le_export()
139 hdr->sequence_number = cpu_to_le64(hdr->sequence_number); in vhdx_log_entry_hdr_le_export()
142 hdr->flushed_file_offset = cpu_to_le64(hdr->flushed_file_offset); in vhdx_log_entry_hdr_le_export()
143 hdr->last_file_offset = cpu_to_le64(hdr->last_file_offset); in vhdx_log_entry_hdr_le_export()
181 e->file_offset = cpu_to_le64(e->file_offset); in vhdx_region_entry_le_export()
200 hdr->signature = cpu_to_le64(hdr->signature); in vhdx_metadata_header_le_export()
H A Dblklogwrites.c119 if (cur_entry.flags & ~cpu_to_le64(LOG_FLAG_MASK)) { in blk_log_writes_find_cur_log_sector()
186 log_sb.magic = cpu_to_le64(WRITE_LOG_MAGIC); in blk_log_writes_open()
187 log_sb.version = cpu_to_le64(WRITE_LOG_VERSION); in blk_log_writes_open()
188 log_sb.nr_entries = cpu_to_le64(0); in blk_log_writes_open()
198 if (log_sb.magic != cpu_to_le64(WRITE_LOG_MAGIC)) { in blk_log_writes_open()
204 if (log_sb.version != cpu_to_le64(WRITE_LOG_VERSION)) { in blk_log_writes_open()
372 .magic = cpu_to_le64(WRITE_LOG_MAGIC), in blk_log_writes_co_do_log()
373 .version = cpu_to_le64(WRITE_LOG_VERSION), in blk_log_writes_co_do_log()
374 .nr_entries = cpu_to_le64(s->nr_entries), in blk_log_writes_co_do_log()
422 .nr_sectors = cpu_to_le64(bytes >> s->sectorbits), in blk_log_writes_co_log()
[all …]
/openbmc/linux/fs/quota/
H A Dquota_v2.c235 empty.dqb_itime = cpu_to_le64(1); in v2r0_disk2memdqb()
250 d->dqb_itime = cpu_to_le64(m->dqb_itime); in v2r0_mem2diskdqb()
253 d->dqb_curspace = cpu_to_le64(m->dqb_curspace); in v2r0_mem2diskdqb()
254 d->dqb_btime = cpu_to_le64(m->dqb_btime); in v2r0_mem2diskdqb()
257 d->dqb_itime = cpu_to_le64(1); in v2r0_mem2diskdqb()
288 empty.dqb_itime = cpu_to_le64(1); in v2r1_disk2memdqb()
302 d->dqb_curinodes = cpu_to_le64(m->dqb_curinodes); in v2r1_mem2diskdqb()
303 d->dqb_itime = cpu_to_le64(m->dqb_itime); in v2r1_mem2diskdqb()
306 d->dqb_curspace = cpu_to_le64(m->dqb_curspace); in v2r1_mem2diskdqb()
307 d->dqb_btime = cpu_to_le64(m->dqb_btime); in v2r1_mem2diskdqb()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dctxt-info-gen3.c31 dbg_cfg->hwm_base_addr = cpu_to_le64(fw_mon->physical); in iwl_pcie_ctxt_info_dbg_enable()
58 dbg_cfg->hwm_base_addr = cpu_to_le64(frag->physical); in iwl_pcie_ctxt_info_dbg_enable()
133 cpu_to_le64(trans_pcie->rxq->bd_dma); in iwl_pcie_ctxt_info_gen3_init()
178 cpu_to_le64(trans_pcie->prph_info_dma_addr); in iwl_pcie_ctxt_info_gen3_init()
180 cpu_to_le64(trans_pcie->prph_scratch_dma_addr); in iwl_pcie_ctxt_info_gen3_init()
184 cpu_to_le64(trans_pcie->rxq->rb_stts_dma); in iwl_pcie_ctxt_info_gen3_init()
192 cpu_to_le64(trans_pcie->rxq->used_bd_dma); in iwl_pcie_ctxt_info_gen3_init()
366 cpu_to_le64(dram_regions->drams[i].physical); in iwl_pcie_load_payloads_segments()
440 cpu_to_le64(dram_regions->prph_scratch_mem_desc.physical); in iwl_pcie_set_pnvm_segments()
452 cpu_to_le64(trans_pcie->pnvm_data.drams[0].physical); in iwl_pcie_set_continuous_pnvm()
[all …]
H A Dctxt-info.c117 cpu_to_le64(dram->fw[dram->fw_cnt].physical); in iwl_pcie_init_fw_sec()
131 cpu_to_le64(dram->fw[dram->fw_cnt].physical); in iwl_pcie_init_fw_sec()
156 cpu_to_le64(dram->paging[i].physical); in iwl_pcie_init_fw_sec()
215 rx_cfg->free_rbd_addr = cpu_to_le64(trans_pcie->rxq->bd_dma); in iwl_pcie_ctxt_info_init()
216 rx_cfg->used_rbd_addr = cpu_to_le64(trans_pcie->rxq->used_bd_dma); in iwl_pcie_ctxt_info_init()
217 rx_cfg->status_wr_ptr = cpu_to_le64(trans_pcie->rxq->rb_stts_dma); in iwl_pcie_ctxt_info_init()
221 cpu_to_le64(trans->txqs.txq[trans->txqs.cmd.q_id]->dma_addr); in iwl_pcie_ctxt_info_init()
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_hw.c448 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_sre_macaddr_change()
607 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_nic_set_promisc()
609 req.words[0] = cpu_to_le64(mode); in qlcnic_82xx_nic_set_promisc()
831 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_config_hw_lro()
866 req.req_hdr = cpu_to_le64(word); in qlcnic_config_bridged_mode()
902 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_config_rss()
947 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_config_ipaddr()
949 req.words[0] = cpu_to_le64(cmd); in qlcnic_82xx_config_ipaddr()
969 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_linkevent_request()
995 req.req_hdr = cpu_to_le64(word); in qlcnic_send_lro_cleanup()
[all …]
/openbmc/linux/fs/nilfs2/
H A Ddat.c97 entry->de_start = cpu_to_le64(NILFS_CNO_MIN); in nilfs_dat_commit_alloc()
98 entry->de_end = cpu_to_le64(NILFS_CNO_MAX); in nilfs_dat_commit_alloc()
99 entry->de_blocknr = cpu_to_le64(0); in nilfs_dat_commit_alloc()
121 entry->de_start = cpu_to_le64(NILFS_CNO_MIN); in nilfs_dat_commit_free()
122 entry->de_end = cpu_to_le64(NILFS_CNO_MIN); in nilfs_dat_commit_free()
123 entry->de_blocknr = cpu_to_le64(0); in nilfs_dat_commit_free()
151 entry->de_start = cpu_to_le64(nilfs_mdt_cno(dat)); in nilfs_dat_commit_start()
152 entry->de_blocknr = cpu_to_le64(blocknr); in nilfs_dat_commit_start()
213 entry->de_end = cpu_to_le64(end); in nilfs_dat_commit_end()
367 if (unlikely(entry->de_blocknr == cpu_to_le64(0))) { in nilfs_dat_move()
[all …]
/openbmc/linux/drivers/scsi/snic/
H A Dsnic_res.h23 req->u.icmnd.tgt_id = cpu_to_le64(tgt_id); in snic_icmnd_init()
29 req->u.icmnd.sg_addr = cpu_to_le64(sgl_addr); in snic_icmnd_init()
31 req->u.icmnd.sense_addr = cpu_to_le64(sns_addr_pa); in snic_icmnd_init()
44 req->u.itmf.tgt_id = cpu_to_le64(tgt_id); in snic_itmf_init()
/openbmc/linux/lib/crypto/
H A Dchacha20poly1305.c80 b.lens[0] = cpu_to_le64(ad_len); in __chacha20poly1305_encrypt()
81 b.lens[1] = cpu_to_le64(src_len); in __chacha20poly1305_encrypt()
102 iv[1] = cpu_to_le64(nonce); in chacha20poly1305_encrypt()
153 b.lens[0] = cpu_to_le64(ad_len); in __chacha20poly1305_decrypt()
154 b.lens[1] = cpu_to_le64(dst_len); in __chacha20poly1305_decrypt()
181 iv[1] = cpu_to_le64(nonce); in chacha20poly1305_decrypt()
242 b.iv[1] = cpu_to_le64(nonce); in chacha20poly1305_crypt_sg_inplace()
300 b.lens[0] = cpu_to_le64(ad_len); in chacha20poly1305_crypt_sg_inplace()
301 b.lens[1] = cpu_to_le64(src_len); in chacha20poly1305_crypt_sg_inplace()
/openbmc/u-boot/drivers/net/
H A 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()
/openbmc/qemu/hw/i386/
H A De820_memory_layout.c20 e820_table[e820_entries].address = cpu_to_le64(address); in e820_add_entry()
21 e820_table[e820_entries].length = cpu_to_le64(length); in e820_add_entry()
H A Dfw_cfg.c139 numa_fw_cfg[0] = cpu_to_le64(nb_numa_nodes); in fw_cfg_arch_create()
143 numa_fw_cfg[apic_id + 1] = cpu_to_le64(cpus->cpus[i].props.node_id); in fw_cfg_arch_create()
147 cpu_to_le64(ms->numa_state->nodes[i].node_mem); in fw_cfg_arch_create()
190 *val = cpu_to_le64(feature_control_bits | FEATURE_CONTROL_LOCKED); in fw_cfg_build_feature_control()
/openbmc/u-boot/tools/
H 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()
/openbmc/linux/fs/ntfs3/
H A Dattrib.c322 attr->nres.data_size = cpu_to_le64(rsize); in attr_make_nonresident()
463 attr_b->nres.data_size = cpu_to_le64(new_size); in attr_set_size()
509 attr_b->nres.data_size = cpu_to_le64(new_size); in attr_set_size()
727 attr->nres.evcn = cpu_to_le64((u64)vcn - 1); in attr_set_size()
831 attr_b->nres.data_size = cpu_to_le64(old_size); in attr_set_size()
1183 attr->nres.svcn = cpu_to_le64(next_svcn); in attr_data_get_block()
1188 le->vcn = cpu_to_le64(next_svcn); in attr_data_get_block()
1808 attr->nres.svcn = cpu_to_le64(next_svcn); in attr_allocate_frame()
1813 le->vcn = cpu_to_le64(next_svcn); in attr_allocate_frame()
1945 attr->nres.svcn = cpu_to_le64(svcn - len); in attr_collapse_range()
[all …]
/openbmc/u-boot/fs/ubifs/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c995 mask = cpu_to_le64(IONIC_PKT_CLS_NTP_ALL); in ionic_get_ts_info()
999 mask = cpu_to_le64(IONIC_PKT_CLS_PTP1_SYNC); in ionic_get_ts_info()
1003 mask = cpu_to_le64(IONIC_PKT_CLS_PTP1_DREQ); in ionic_get_ts_info()
1007 mask = cpu_to_le64(IONIC_PKT_CLS_PTP1_ALL); in ionic_get_ts_info()
1011 mask = cpu_to_le64(IONIC_PKT_CLS_PTP2_L4_SYNC); in ionic_get_ts_info()
1015 mask = cpu_to_le64(IONIC_PKT_CLS_PTP2_L4_DREQ); in ionic_get_ts_info()
1019 mask = cpu_to_le64(IONIC_PKT_CLS_PTP2_L4_ALL); in ionic_get_ts_info()
1031 mask = cpu_to_le64(IONIC_PKT_CLS_PTP2_L2_ALL); in ionic_get_ts_info()
1035 mask = cpu_to_le64(IONIC_PKT_CLS_PTP2_SYNC); in ionic_get_ts_info()
1039 mask = cpu_to_le64(IONIC_PKT_CLS_PTP2_DREQ); in ionic_get_ts_info()
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_ctx.c299 prq->host_rsp_dma_addr = cpu_to_le64(cardrsp_phys_addr); in nx_fw_cmd_create_rx_ctx()
328 prq_rds[i].host_phys_addr = cpu_to_le64(rds_ring->phys_addr); in nx_fw_cmd_create_rx_ctx()
331 prq_rds[i].buff_size = cpu_to_le64(rds_ring->dma_size); in nx_fw_cmd_create_rx_ctx()
341 prq_sds[i].host_phys_addr = cpu_to_le64(sds_ring->phys_addr); in nx_fw_cmd_create_rx_ctx()
451 prq->host_rsp_dma_addr = cpu_to_le64(rsp_phys_addr); in nx_fw_cmd_create_tx_ctx()
465 prq->cmd_cons_dma_addr = cpu_to_le64(offset); in nx_fw_cmd_create_tx_ctx()
469 prq_cds->host_phys_addr = cpu_to_le64(tx_ring->phys_addr); in nx_fw_cmd_create_tx_ctx()
696 hwctx->cmd_ring_addr = cpu_to_le64(tx_ring->phys_addr); in netxen_init_old_ctx()
704 cpu_to_le64(rds_ring->phys_addr); in netxen_init_old_ctx()
713 hwctx->sts_ring_addr = cpu_to_le64(sds_ring->phys_addr); in netxen_init_old_ctx()
[all …]
/openbmc/linux/fs/ntfs/
H A Dendian.h61 return (__force sle64)cpu_to_le64(x); in cpu_to_sle64()
76 return (__force sle64)cpu_to_le64(*x); in cpu_to_sle64p()
/openbmc/linux/include/soc/fsl/
H A Ddpaa2-fd.h116 fd->simple.addr = cpu_to_le64(addr); in dpaa2_fd_set_addr()
179 fd->simple.flc = cpu_to_le64(flc_addr); in dpaa2_fd_set_flc()
322 sg->addr = cpu_to_le64(addr); in dpaa2_sg_set_addr()
493 fle->addr = cpu_to_le64(addr); in dpaa2_fl_set_addr()
557 fle->flc = cpu_to_le64(flc_addr); in dpaa2_fl_set_flc()

12345678910>>...25