Home
last modified time | relevance | path

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

12345678910>>...15

/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dcoex.c78 {cpu_to_le64(0), cpu_to_le64(0), cpu_to_le64(0)},
80 cpu_to_le64(0x0000001FFFULL),
81 cpu_to_le64(0x0ULL),
82 cpu_to_le64(0x00007FFFFFULL),
85 cpu_to_le64(0x000000FFFFULL),
86 cpu_to_le64(0x0ULL),
87 cpu_to_le64(0x0003FFFFFFULL),
90 cpu_to_le64(0x000003FFFCULL),
91 cpu_to_le64(0x0ULL),
92 cpu_to_le64(0x000FFFFFFCULL),
[all …]
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/pcie/
Dctxt-info-gen3.c94 cpu_to_le64(trans_pcie->rxq->bd_dma); in iwl_pcie_ctxt_info_gen3_init()
99 cpu_to_le64(trans_pcie->fw_mon_phys); in iwl_pcie_ctxt_info_gen3_init()
131 cpu_to_le64(trans_pcie->prph_info_dma_addr); in iwl_pcie_ctxt_info_gen3_init()
133 cpu_to_le64(trans_pcie->prph_scratch_dma_addr); in iwl_pcie_ctxt_info_gen3_init()
137 cpu_to_le64(trans_pcie->rxq->rb_stts_dma); in iwl_pcie_ctxt_info_gen3_init()
139 cpu_to_le64(trans_pcie->rxq->tr_tail_dma); in iwl_pcie_ctxt_info_gen3_init()
141 cpu_to_le64(trans_pcie->rxq->cr_tail_dma); in iwl_pcie_ctxt_info_gen3_init()
147 cpu_to_le64(trans_pcie->txq[trans_pcie->cmd_queue]->dma_addr); in iwl_pcie_ctxt_info_gen3_init()
149 cpu_to_le64(trans_pcie->rxq->used_bd_dma); in iwl_pcie_ctxt_info_gen3_init()
Dctxt-info.c115 cpu_to_le64(dram->fw[dram->fw_cnt].physical); in iwl_pcie_init_fw_sec()
128 cpu_to_le64(dram->fw[dram->fw_cnt].physical); in iwl_pcie_init_fw_sec()
152 cpu_to_le64(dram->paging[i].physical); in iwl_pcie_init_fw_sec()
189 rx_cfg->free_rbd_addr = cpu_to_le64(trans_pcie->rxq->bd_dma); in iwl_pcie_ctxt_info_init()
190 rx_cfg->used_rbd_addr = cpu_to_le64(trans_pcie->rxq->used_bd_dma); in iwl_pcie_ctxt_info_init()
191 rx_cfg->status_wr_ptr = cpu_to_le64(trans_pcie->rxq->rb_stts_dma); in iwl_pcie_ctxt_info_init()
195 cpu_to_le64(trans_pcie->txq[trans_pcie->cmd_queue]->dma_addr); in iwl_pcie_ctxt_info_init()
/Linux-v4.19/fs/quota/
Dquota_v2.c212 empty.dqb_itime = cpu_to_le64(1); in v2r0_disk2memdqb()
227 d->dqb_itime = cpu_to_le64(m->dqb_itime); in v2r0_mem2diskdqb()
230 d->dqb_curspace = cpu_to_le64(m->dqb_curspace); in v2r0_mem2diskdqb()
231 d->dqb_btime = cpu_to_le64(m->dqb_btime); in v2r0_mem2diskdqb()
234 d->dqb_itime = cpu_to_le64(1); in v2r0_mem2diskdqb()
265 empty.dqb_itime = cpu_to_le64(1); in v2r1_disk2memdqb()
277 d->dqb_ihardlimit = cpu_to_le64(m->dqb_ihardlimit); in v2r1_mem2diskdqb()
278 d->dqb_isoftlimit = cpu_to_le64(m->dqb_isoftlimit); in v2r1_mem2diskdqb()
279 d->dqb_curinodes = cpu_to_le64(m->dqb_curinodes); in v2r1_mem2diskdqb()
280 d->dqb_itime = cpu_to_le64(m->dqb_itime); in v2r1_mem2diskdqb()
[all …]
/Linux-v4.19/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),
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c446 req.qhdr = cpu_to_le64(QLCNIC_REQUEST << 23); in qlcnic_82xx_sre_macaddr_change()
449 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_sre_macaddr_change()
608 req.qhdr = cpu_to_le64(QLCNIC_HOST_REQUEST << 23); in qlcnic_82xx_nic_set_promisc()
612 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_nic_set_promisc()
614 req.words[0] = cpu_to_le64(mode); in qlcnic_82xx_nic_set_promisc()
712 req.qhdr = cpu_to_le64(QLCNIC_HOST_REQUEST << 23); in qlcnic_set_fw_loopback()
713 req.req_hdr = cpu_to_le64(QLCNIC_H2C_OPCODE_CONFIG_LOOPBACK | in qlcnic_set_fw_loopback()
716 req.words[0] = cpu_to_le64(flag); in qlcnic_set_fw_loopback()
780 req.qhdr = cpu_to_le64(QLCNIC_HOST_REQUEST << 23); in qlcnic_82xx_set_rx_coalesce()
782 req.req_hdr = cpu_to_le64(QLCNIC_CONFIG_INTR_COALESCE | in qlcnic_82xx_set_rx_coalesce()
[all …]
/Linux-v4.19/fs/nilfs2/
Ddat.c84 entry->de_start = cpu_to_le64(NILFS_CNO_MIN); in nilfs_dat_commit_alloc()
85 entry->de_end = cpu_to_le64(NILFS_CNO_MAX); in nilfs_dat_commit_alloc()
86 entry->de_blocknr = cpu_to_le64(0); in nilfs_dat_commit_alloc()
108 entry->de_start = cpu_to_le64(NILFS_CNO_MIN); in nilfs_dat_commit_free()
109 entry->de_end = cpu_to_le64(NILFS_CNO_MIN); in nilfs_dat_commit_free()
110 entry->de_blocknr = cpu_to_le64(0); in nilfs_dat_commit_free()
135 entry->de_start = cpu_to_le64(nilfs_mdt_cno(dat)); in nilfs_dat_commit_start()
136 entry->de_blocknr = cpu_to_le64(blocknr); in nilfs_dat_commit_start()
188 entry->de_end = cpu_to_le64(end); in nilfs_dat_commit_end()
342 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-v4.19/crypto/
Daegis.h33 cpu_to_le64(U64_C(0x0d08050302010100)),
34 cpu_to_le64(U64_C(0x6279e99059372215)),
37 cpu_to_le64(U64_C(0xf12fc26d55183ddb)),
38 cpu_to_le64(U64_C(0xdd28b57342311120)),
/Linux-v4.19/arch/x86/include/asm/crypto/
Dglue_helper.h85 dst->a = cpu_to_le64(be64_to_cpu(src->a)); in be128_to_le128()
86 dst->b = cpu_to_le64(be64_to_cpu(src->b)); in be128_to_le128()
98 i->a = cpu_to_le64(a); in le128_inc()
99 i->b = cpu_to_le64(b); in le128_inc()
/Linux-v4.19/drivers/scsi/snic/
Dsnic_res.h37 req->u.icmnd.tgt_id = cpu_to_le64(tgt_id); in snic_icmnd_init()
43 req->u.icmnd.sg_addr = cpu_to_le64(sgl_addr); in snic_icmnd_init()
45 req->u.icmnd.sense_addr = cpu_to_le64(sns_addr_pa); in snic_icmnd_init()
58 req->u.itmf.tgt_id = cpu_to_le64(tgt_id); in snic_itmf_init()
/Linux-v4.19/fs/ceph/
Dlocks.c104 req->r_args.filelock_change.owner = cpu_to_le64(owner); in ceph_lock_message()
105 req->r_args.filelock_change.pid = cpu_to_le64((u64)fl->fl_pid); in ceph_lock_message()
106 req->r_args.filelock_change.start = cpu_to_le64(fl->fl_start); in ceph_lock_message()
107 req->r_args.filelock_change.length = cpu_to_le64(length); in ceph_lock_message()
370 cephlock->start = cpu_to_le64(lock->fl_start); in lock_to_ceph_filelock()
371 cephlock->length = cpu_to_le64(lock->fl_end - lock->fl_start + 1); in lock_to_ceph_filelock()
372 cephlock->client = cpu_to_le64(0); in lock_to_ceph_filelock()
373 cephlock->pid = cpu_to_le64((u64)lock->fl_pid); in lock_to_ceph_filelock()
374 cephlock->owner = cpu_to_le64(secure_addr(lock->fl_owner)); in lock_to_ceph_filelock()
/Linux-v4.19/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c314 prq->host_rsp_dma_addr = cpu_to_le64(cardrsp_phys_addr); in nx_fw_cmd_create_rx_ctx()
343 prq_rds[i].host_phys_addr = cpu_to_le64(rds_ring->phys_addr); in nx_fw_cmd_create_rx_ctx()
346 prq_rds[i].buff_size = cpu_to_le64(rds_ring->dma_size); in nx_fw_cmd_create_rx_ctx()
356 prq_sds[i].host_phys_addr = cpu_to_le64(sds_ring->phys_addr); in nx_fw_cmd_create_rx_ctx()
467 prq->host_rsp_dma_addr = cpu_to_le64(rsp_phys_addr); in nx_fw_cmd_create_tx_ctx()
478 prq->dummy_dma_addr = cpu_to_le64(adapter->dummy_dma.phys_addr); in nx_fw_cmd_create_tx_ctx()
481 prq->cmd_cons_dma_addr = cpu_to_le64(offset); in nx_fw_cmd_create_tx_ctx()
485 prq_cds->host_phys_addr = cpu_to_le64(tx_ring->phys_addr); in nx_fw_cmd_create_tx_ctx()
711 hwctx->cmd_ring_addr = cpu_to_le64(tx_ring->phys_addr); in netxen_init_old_ctx()
719 cpu_to_le64(rds_ring->phys_addr); in netxen_init_old_ctx()
[all …]
Dnetxen_nic_hw.c625 req.qhdr = cpu_to_le64(NX_NIC_REQUEST << 23); in nx_p3_sre_macaddr_change()
628 req.req_hdr = cpu_to_le64(word); in nx_p3_sre_macaddr_change()
719 req.qhdr = cpu_to_le64(NX_HOST_REQUEST << 23); in netxen_p3_nic_set_promisc()
723 req.req_hdr = cpu_to_le64(word); in netxen_p3_nic_set_promisc()
725 req.words[0] = cpu_to_le64(mode); in netxen_p3_nic_set_promisc()
766 req.qhdr = cpu_to_le64(NX_HOST_REQUEST << 23); in netxen_config_intr_coalesce()
769 req.req_hdr = cpu_to_le64(word[0]); in netxen_config_intr_coalesce()
773 req.words[i] = cpu_to_le64(word[i]); in netxen_config_intr_coalesce()
795 req.qhdr = cpu_to_le64(NX_HOST_REQUEST << 23); in netxen_config_hw_lro()
798 req.req_hdr = cpu_to_le64(word); in netxen_config_hw_lro()
[all …]
/Linux-v4.19/fs/ubifs/
Dsb.c177 sup->max_bud_bytes = cpu_to_le64(tmp64); in create_default_filesystem()
197 sup->rp_size = cpu_to_le64(tmp64); in create_default_filesystem()
214 mst->highest_inum = cpu_to_le64(UBIFS_FIRST_INO); in create_default_filesystem()
223 mst->index_size = cpu_to_le64(ALIGN(tmp, 8)); in create_default_filesystem()
241 mst->total_free = cpu_to_le64(tmp64); in create_default_filesystem()
248 mst->total_dirty = cpu_to_le64(tmp64); in create_default_filesystem()
252 mst->total_dark = cpu_to_le64(tmp64); in create_default_filesystem()
254 mst->total_used = cpu_to_le64(UBIFS_INO_NODE_SZ); in create_default_filesystem()
301 ino->creat_sqnum = cpu_to_le64(++c->max_sqnum); in create_default_filesystem()
306 tmp_le64 = cpu_to_le64(ts.tv_sec); in create_default_filesystem()
[all …]
Dcommit.c173 c->mst_node->cmt_no = cpu_to_le64(c->cmt_no); in do_commit()
180 c->mst_node->index_size = cpu_to_le64(c->bi.old_idx_sz); in do_commit()
192 c->mst_node->total_free = cpu_to_le64(lst.total_free); in do_commit()
193 c->mst_node->total_dirty = cpu_to_le64(lst.total_dirty); in do_commit()
194 c->mst_node->total_used = cpu_to_le64(lst.total_used); in do_commit()
195 c->mst_node->total_dead = cpu_to_le64(lst.total_dead); in do_commit()
196 c->mst_node->total_dark = cpu_to_le64(lst.total_dark); in do_commit()
/Linux-v4.19/fs/ntfs/
Dendian.h75 return (__force sle64)cpu_to_le64(x); in cpu_to_sle64()
90 return (__force sle64)cpu_to_le64(*x); in cpu_to_sle64p()
/Linux-v4.19/fs/cifs/
Dsmb2file.c156 cur->Length = cpu_to_le64(li->length); in smb2_unlock_range()
157 cur->Offset = cpu_to_le64(li->offset); in smb2_unlock_range()
217 cur->Length = cpu_to_le64(li->length); in smb2_push_mand_fdlocks()
218 cur->Offset = cpu_to_le64(li->offset); in smb2_push_mand_fdlocks()
/Linux-v4.19/drivers/crypto/bcm/
Dspu2.c599 fmd->ctrl0 = cpu_to_le64(ctrl0); in spu2_fmd_init()
600 fmd->ctrl1 = cpu_to_le64(ctrl1); in spu2_fmd_init()
601 fmd->ctrl2 = cpu_to_le64(ctrl2); in spu2_fmd_init()
602 fmd->ctrl3 = cpu_to_le64(ctrl3); in spu2_fmd_init()
647 fmd->ctrl0 = cpu_to_le64(ctrl0); in spu2_fmd_ctrl0_write()
727 fmd->ctrl1 = cpu_to_le64(ctrl1); in spu2_fmd_ctrl1_write()
761 fmd->ctrl2 = cpu_to_le64(ctrl2); in spu2_fmd_ctrl2_write()
775 fmd->ctrl3 = cpu_to_le64(ctrl3); in spu2_fmd_ctrl3_write()
1231 fmd->ctrl0 = cpu_to_le64(ctrl0); in spu2_cipher_req_finish()
1242 fmd->ctrl3 = cpu_to_le64(ctrl3); in spu2_cipher_req_finish()
[all …]
/Linux-v4.19/drivers/net/ethernet/apm/xgene-v2/
Dring.c38 raw_desc->m0 = cpu_to_le64(SET_BITS(E, 1) | in xge_setup_desc()
41 raw_desc->m1 = cpu_to_le64(SET_BITS(NEXT_DESC_ADDRL, next_dma) | in xge_setup_desc()
/Linux-v4.19/drivers/dma/
Dbcm-sba-raid.c584 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_interrupt_msg()
603 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_interrupt_msg()
672 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_memcpy_msg()
691 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_memcpy_msg()
792 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_xor_msg()
810 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_xor_msg()
830 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_xor_msg()
939 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_pq_msg()
958 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_pq_msg()
973 *cmdsp->cmd_dma = cpu_to_le64(cmd); in sba_fillup_pq_msg()
[all …]
/Linux-v4.19/drivers/md/persistent-data/
Ddm-space-map-disk.c222 root_le.nr_blocks = cpu_to_le64(smd->ll.nr_blocks); in sm_disk_copy_root()
223 root_le.nr_allocated = cpu_to_le64(smd->ll.nr_allocated); in sm_disk_copy_root()
224 root_le.bitmap_root = cpu_to_le64(smd->ll.bitmap_root); in sm_disk_copy_root()
225 root_le.ref_count_root = cpu_to_le64(smd->ll.ref_count_root); in sm_disk_copy_root()
Ddm-bitset.c67 *((__le64 *) value) = cpu_to_le64(word); in pack_bits()
90 __le64 value = default_value ? cpu_to_le64(~0) : cpu_to_le64(0); in dm_bitset_resize()
113 value = cpu_to_le64(info->current_bits); in dm_bitset_flush()
/Linux-v4.19/drivers/md/
Ddm-cache-metadata.c177 disk_super->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write()
265 __le64 *data_le, zero = cpu_to_le64(0); in __superblock_all_zeroes()
362 disk_super->magic = cpu_to_le64(CACHE_SUPERBLOCK_MAGIC); in __write_initial_superblock()
370 disk_super->mapping_root = cpu_to_le64(cmd->root); in __write_initial_superblock()
371 disk_super->hint_root = cpu_to_le64(cmd->hint_root); in __write_initial_superblock()
372 disk_super->discard_root = cpu_to_le64(cmd->discard_root); in __write_initial_superblock()
373 disk_super->discard_block_size = cpu_to_le64(cmd->discard_block_size); in __write_initial_superblock()
374 disk_super->discard_nr_blocks = cpu_to_le64(from_dblock(cmd->discard_nr_blocks)); in __write_initial_superblock()
385 disk_super->dirty_root = cpu_to_le64(cmd->dirty_root); in __write_initial_superblock()
692 disk_super->mapping_root = cpu_to_le64(cmd->root); in __commit_transaction()
[all …]
/Linux-v4.19/include/crypto/
Dgf128mul.h216 r->a = cpu_to_le64((a << 1) | (b >> 63)); in gf128mul_x_ble()
217 r->b = cpu_to_le64((b << 1) ^ _tt); in gf128mul_x_ble()

12345678910>>...15