Home
last modified time | relevance | path

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

12345678910>>...21

/Linux-v6.6/crypto/
Dstreebog_generic.c25 cpu_to_le64(0x200), 0, 0, 0, 0, 0, 0, 0
30 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),
[all …]
Dnhpoly1305.c69 hash[0] = cpu_to_le64(sums[0]); in nh_generic()
70 hash[1] = cpu_to_le64(sums[1]); in nh_generic()
71 hash[2] = cpu_to_le64(sums[2]); in nh_generic()
72 hash[3] = cpu_to_le64(sums[3]); in nh_generic()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Dcoex.c18 {cpu_to_le64(0), cpu_to_le64(0), cpu_to_le64(0)},
20 cpu_to_le64(0x0000001FFFULL),
21 cpu_to_le64(0x0ULL),
22 cpu_to_le64(0x00007FFFFFULL),
25 cpu_to_le64(0x000000FFFFULL),
26 cpu_to_le64(0x0ULL),
27 cpu_to_le64(0x0003FFFFFFULL),
30 cpu_to_le64(0x000003FFFCULL),
31 cpu_to_le64(0x0ULL),
32 cpu_to_le64(0x000FFFFFFCULL),
[all …]
/Linux-v6.6/fs/ceph/
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()
81 read->sq_sum = cpu_to_le64(m->metric[METRIC_READ].latency_sq_sum); in ceph_mdsc_send_metrics()
82 read->count = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics()
94 write->sq_sum = cpu_to_le64(m->metric[METRIC_WRITE].latency_sq_sum); in ceph_mdsc_send_metrics()
95 write->count = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics()
107 meta->sq_sum = cpu_to_le64(m->metric[METRIC_METADATA].latency_sq_sum); in ceph_mdsc_send_metrics()
108 meta->count = cpu_to_le64(m->metric[METRIC_METADATA].total); in ceph_mdsc_send_metrics()
117 dlease->hit = cpu_to_le64(percpu_counter_sum(&m->d_lease_hit)); in ceph_mdsc_send_metrics()
[all …]
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()
/Linux-v6.6/drivers/net/vmxnet3/
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
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/pcie/
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()
186 cpu_to_le64(trans_pcie->prph_info_dma_addr + PAGE_SIZE / 2); in iwl_pcie_ctxt_info_gen3_init()
188 cpu_to_le64(trans_pcie->prph_info_dma_addr + 3 * PAGE_SIZE / 4); in iwl_pcie_ctxt_info_gen3_init()
190 cpu_to_le64(trans->txqs.txq[trans->txqs.cmd.q_id]->dma_addr); in iwl_pcie_ctxt_info_gen3_init()
192 cpu_to_le64(trans_pcie->rxq->used_bd_dma); in iwl_pcie_ctxt_info_gen3_init()
[all …]
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()
/Linux-v6.6/fs/quota/
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()
300 d->dqb_ihardlimit = cpu_to_le64(m->dqb_ihardlimit); in v2r1_mem2diskdqb()
301 d->dqb_isoftlimit = cpu_to_le64(m->dqb_isoftlimit); in v2r1_mem2diskdqb()
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()
[all …]
/Linux-v6.6/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c445 req.qhdr = cpu_to_le64(QLCNIC_REQUEST << 23); in qlcnic_82xx_sre_macaddr_change()
448 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_sre_macaddr_change()
603 req.qhdr = cpu_to_le64(QLCNIC_HOST_REQUEST << 23); in qlcnic_82xx_nic_set_promisc()
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()
707 req.qhdr = cpu_to_le64(QLCNIC_HOST_REQUEST << 23); in qlcnic_set_fw_loopback()
708 req.req_hdr = cpu_to_le64(QLCNIC_H2C_OPCODE_CONFIG_LOOPBACK | in qlcnic_set_fw_loopback()
711 req.words[0] = cpu_to_le64(flag); in qlcnic_set_fw_loopback()
775 req.qhdr = cpu_to_le64(QLCNIC_HOST_REQUEST << 23); in qlcnic_82xx_set_rx_coalesce()
777 req.req_hdr = cpu_to_le64(QLCNIC_CONFIG_INTR_COALESCE | in qlcnic_82xx_set_rx_coalesce()
[all …]
/Linux-v6.6/fs/nilfs2/
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 …]
Ddirect.c32 *(nilfs_direct_dptrs(direct) + key) = cpu_to_le64(ptr); in nilfs_direct_set_ptr()
245 cpu_to_le64(ptrs[j]) : in nilfs_direct_delete_and_convert()
301 binfo->bi_v.bi_vblocknr = cpu_to_le64(ptr); in nilfs_direct_assign_v()
302 binfo->bi_v.bi_blkoff = cpu_to_le64(key); in nilfs_direct_assign_v()
315 binfo->bi_dat.bi_blkoff = cpu_to_le64(key); in nilfs_direct_assign_p()
/Linux-v6.6/lib/crypto/
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()
/Linux-v6.6/drivers/scsi/snic/
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()
/Linux-v6.6/fs/ntfs3/
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()
599 attr_b->nres.alloc_size = cpu_to_le64(new_alloc_tmp); in attr_set_size()
604 attr_b->nres.data_size = cpu_to_le64(new_size); in attr_set_size()
685 attr_b->nres.alloc_size = cpu_to_le64(old_size); in attr_set_size()
727 attr->nres.evcn = cpu_to_le64((u64)vcn - 1); in attr_set_size()
731 attr_b->nres.alloc_size = cpu_to_le64(new_alloc_tmp); in attr_set_size()
734 attr_b->nres.data_size = cpu_to_le64(new_size); in attr_set_size()
797 __le64 valid = cpu_to_le64(min(*new_valid, new_size)); in attr_set_size()
[all …]
/Linux-v6.6/drivers/net/ethernet/pensando/ionic/
Dionic_ethtool.c982 mask = cpu_to_le64(BIT_ULL(IONIC_TXSTAMP_ONESTEP_SYNC)); in ionic_get_ts_info()
986 mask = cpu_to_le64(BIT_ULL(IONIC_TXSTAMP_ONESTEP_P2P)); in ionic_get_ts_info()
995 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()
1023 mask = cpu_to_le64(IONIC_PKT_CLS_PTP2_L2_SYNC); in ionic_get_ts_info()
[all …]
/Linux-v6.6/drivers/net/ethernet/qlogic/netxen/
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()
462 prq->dummy_dma_addr = cpu_to_le64(adapter->dummy_dma.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()
[all …]
Dnetxen_nic_hw.c609 req.qhdr = cpu_to_le64(NX_NIC_REQUEST << 23); in nx_p3_sre_macaddr_change()
612 req.req_hdr = cpu_to_le64(word); in nx_p3_sre_macaddr_change()
703 req.qhdr = cpu_to_le64(NX_HOST_REQUEST << 23); in netxen_p3_nic_set_promisc()
707 req.req_hdr = cpu_to_le64(word); in netxen_p3_nic_set_promisc()
709 req.words[0] = cpu_to_le64(mode); in netxen_p3_nic_set_promisc()
750 req.qhdr = cpu_to_le64(NX_HOST_REQUEST << 23); in netxen_config_intr_coalesce()
753 req.req_hdr = cpu_to_le64(word[0]); in netxen_config_intr_coalesce()
757 req.words[i] = cpu_to_le64(word[i]); in netxen_config_intr_coalesce()
779 req.qhdr = cpu_to_le64(NX_HOST_REQUEST << 23); in netxen_config_hw_lro()
782 req.req_hdr = cpu_to_le64(word); in netxen_config_hw_lro()
[all …]
/Linux-v6.6/drivers/dma/
Dbcm-sba-raid.c575 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_interrupt_msg()
594 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_interrupt_msg()
663 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_memcpy_msg()
682 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_memcpy_msg()
783 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_xor_msg()
801 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_xor_msg()
821 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_xor_msg()
930 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_pq_msg()
949 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_pq_msg()
964 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_pq_msg()
[all …]
/Linux-v6.6/include/soc/fsl/
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()
/Linux-v6.6/drivers/net/ethernet/freescale/dpaa2/
Ddpni.c856 cmd_params->options = cpu_to_le64(cfg->options); in dpni_set_link_cfg()
1451 cmd_params->key_cfg_iova = cpu_to_le64(cfg->key_cfg_iova); in dpni_set_rx_tc_dist()
1494 cmd_params->message_iova = cpu_to_le64(cfg->message_iova); in dpni_set_congestion_notification()
1495 cmd_params->message_ctx = cpu_to_le64(cfg->message_ctx); in dpni_set_congestion_notification()
1546 cmd_params->flc = cpu_to_le64(queue->flc.value); in dpni_set_queue()
1547 cmd_params->user_context = cpu_to_le64(queue->user_context); in dpni_set_queue()
1822 cmd_params->key_cfg_iova = cpu_to_le64(cfg->key_cfg_iova); in dpni_set_rx_fs_dist()
1856 cmd_params->key_cfg_iova = cpu_to_le64(cfg->key_cfg_iova); in dpni_set_rx_hash_dist()
1896 cmd_params->key_iova = cpu_to_le64(cfg->key_iova); in dpni_add_fs_entry()
1897 cmd_params->mask_iova = cpu_to_le64(cfg->mask_iova); in dpni_add_fs_entry()
[all …]
Ddpmac.c139 cmd_params->options = cpu_to_le64(link_state->options); in dpmac_set_link_state()
144 cmd_params->supported = cpu_to_le64(link_state->supported); in dpmac_set_link_state()
145 cmd_params->advertising = cpu_to_le64(link_state->advertising); in dpmac_set_link_state()
/Linux-v6.6/drivers/crypto/bcm/
Dspu2.c589 fmd->ctrl0 = cpu_to_le64(ctrl0); in spu2_fmd_init()
590 fmd->ctrl1 = cpu_to_le64(ctrl1); in spu2_fmd_init()
591 fmd->ctrl2 = cpu_to_le64(ctrl2); in spu2_fmd_init()
592 fmd->ctrl3 = cpu_to_le64(ctrl3); in spu2_fmd_init()
637 fmd->ctrl0 = cpu_to_le64(ctrl0); in spu2_fmd_ctrl0_write()
718 fmd->ctrl1 = cpu_to_le64(ctrl1); in spu2_fmd_ctrl1_write()
752 fmd->ctrl2 = cpu_to_le64(ctrl2); in spu2_fmd_ctrl2_write()
766 fmd->ctrl3 = cpu_to_le64(ctrl3); in spu2_fmd_ctrl3_write()
1213 fmd->ctrl0 = cpu_to_le64(ctrl0); in spu2_cipher_req_finish()
1224 fmd->ctrl3 = cpu_to_le64(ctrl3); in spu2_cipher_req_finish()
[all …]
/Linux-v6.6/fs/ubifs/
Dsb.c200 sup->max_bud_bytes = cpu_to_le64(tmp64); in create_default_filesystem()
220 sup->rp_size = cpu_to_le64(tmp64); in create_default_filesystem()
229 mst->highest_inum = cpu_to_le64(UBIFS_FIRST_INO); in create_default_filesystem()
238 mst->index_size = cpu_to_le64(ALIGN(tmp, 8)); in create_default_filesystem()
257 mst->total_free = cpu_to_le64(tmp64); in create_default_filesystem()
264 mst->total_dirty = cpu_to_le64(tmp64); in create_default_filesystem()
268 mst->total_dark = cpu_to_le64(tmp64); in create_default_filesystem()
270 mst->total_used = cpu_to_le64(UBIFS_INO_NODE_SZ); in create_default_filesystem()
294 ino->creat_sqnum = cpu_to_le64(++c->max_sqnum); in create_default_filesystem()
298 tmp_le64 = cpu_to_le64(ts.tv_sec); in create_default_filesystem()
[all …]
/Linux-v6.6/fs/ntfs/
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()

12345678910>>...21