Home
last modified time | relevance | path

Searched refs:cpu_to_le64 (Results 226 – 250 of 606) sorted by relevance

12345678910>>...25

/openbmc/linux/drivers/md/
H A Ddm-integrity.c813 section_le = cpu_to_le64(section); in section_mac()
1654 __le64 sector_le = cpu_to_le64(sector); in integrity_sector_checksum()
3294 ic->sb->recalc_sector = cpu_to_le64(0); in dm_integrity_resume()
3306 ic->sb->recalc_sector = cpu_to_le64(0); in dm_integrity_resume()
3313 ic->sb->recalc_sector = cpu_to_le64(0); in dm_integrity_resume()
3326 ic->sb->recalc_sector = cpu_to_le64(0); in dm_integrity_resume()
3848 ic->commit_ids[0] = cpu_to_le64(0x1111111111111111ULL); in create_journal()
3849 ic->commit_ids[1] = cpu_to_le64(0x2222222222222222ULL); in create_journal()
3850 ic->commit_ids[2] = cpu_to_le64(0x3333333333333333ULL); in create_journal()
3851 ic->commit_ids[3] = cpu_to_le64(0x4444444444444444ULL); in create_journal()
[all …]
H A Ddm-raid.c2072 sb->failed_devices = cpu_to_le64(failed_devices[0]); in sb_update_failed_devices()
2074 sb->extended_failed_devices[i] = cpu_to_le64(failed_devices[i+1]); in sb_update_failed_devices()
2115 sb->events = cpu_to_le64(mddev->events); in super_sync()
2117 sb->disk_recovery_offset = cpu_to_le64(rdev->recovery_offset); in super_sync()
2118 sb->array_resync_offset = cpu_to_le64(mddev->recovery_cp); in super_sync()
2136 sb->reshape_position = cpu_to_le64(mddev->reshape_position); in super_sync()
2148 sb->array_sectors = cpu_to_le64(mddev->array_sectors); in super_sync()
2149 sb->data_offset = cpu_to_le64(rdev->data_offset); in super_sync()
2150 sb->new_data_offset = cpu_to_le64(rdev->new_data_offset); in super_sync()
2151 sb->sectors = cpu_to_le64(rdev->sectors); in super_sync()
H A Dmd-cluster.c264 ri->lo = cpu_to_le64(lo); in add_resync_info()
265 ri->hi = cpu_to_le64(hi); in add_resync_info()
1119 cmsg.high = cpu_to_le64(size); in update_bitmap_size()
1356 cmsg.low = cpu_to_le64(lo); in resync_info_update()
1357 cmsg.high = cpu_to_le64(hi); in resync_info_update()
/openbmc/linux/lib/crypto/
H A Dgf128mul.c176 r->a = cpu_to_le64((a << 8) | (b >> 56)); in gf128mul_x8_ble()
177 r->b = cpu_to_le64((b << 8) ^ _tt); in gf128mul_x8_ble()
/openbmc/linux/net/ipv4/
H A Dtcp_fastopen.c127 foc->val[0] = cpu_to_le64(siphash(&iph->saddr, in __tcp_fastopen_cookie_gen_cipher()
138 foc->val[0] = cpu_to_le64(siphash(&ip6h->saddr, in __tcp_fastopen_cookie_gen_cipher()
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_fw.c104 sgel->address = cpu_to_le64(dma_addr); in mpi3mr_add_sg_single()
1948 create_req.base_address = cpu_to_le64( in mpi3mr_create_op_reply_q()
1951 create_req.base_address = cpu_to_le64( in mpi3mr_create_op_reply_q()
2056 create_req.base_address = cpu_to_le64( in mpi3mr_create_op_req_q()
2059 create_req.base_address = cpu_to_le64( in mpi3mr_create_op_req_q()
3118 mrioc->reply_free_q[i] = cpu_to_le64(phy_addr); in mpimr_initialize_reply_sbuf_queues()
3119 mrioc->reply_free_q[i] = cpu_to_le64(0); in mpimr_initialize_reply_sbuf_queues()
3124 mrioc->sense_buf_q[i] = cpu_to_le64(phy_addr); in mpimr_initialize_reply_sbuf_queues()
3125 mrioc->sense_buf_q[i] = cpu_to_le64(0); in mpimr_initialize_reply_sbuf_queues()
3186 cpu_to_le64(mrioc->reply_free_q_dma); in mpi3mr_issue_iocinit()
[all …]
/openbmc/linux/fs/ntfs3/
H A Dfrecord.c615 attr->nres.svcn = le->vcn = cpu_to_le64(next_svcn); in ni_repack()
1314 attr->nres.evcn = cpu_to_le64(svcn - 1); in ni_expand_mft_list()
1359 attr->nres.svcn = cpu_to_le64(svcn); in ni_expand_mft_list()
1360 attr->nres.evcn = cpu_to_le64(evcn); in ni_expand_mft_list()
1489 attr->nres.svcn = cpu_to_le64(svcn); in ni_insert_nonresident()
1490 attr->nres.evcn = cpu_to_le64((u64)svcn + len - 1); in ni_insert_nonresident()
1495 *(__le64 *)&attr->nres.run_off = cpu_to_le64(run_off); in ni_insert_nonresident()
1498 svcn ? 0 : cpu_to_le64((u64)len << ni->mi.sbi->cluster_bits); in ni_insert_nonresident()
3159 dup->alloc_size = cpu_to_le64(ALIGN(data_size, 8)); in ni_update_parent()
3160 dup->data_size = cpu_to_le64(data_size); in ni_update_parent()
[all …]
H A Dfslog.c1383 ra->current_lsn = cpu_to_le64(log->last_lsn); in log_create_ra()
1391 ra->l_size = cpu_to_le64(log->l_size); in log_create_ra()
2990 attr->nres.data_size = cpu_to_le64(size); in attr_create_nonres_log()
3342 attr->nres.evcn = cpu_to_le64(t64); in do_action()
3672 __le64 t64 = cpu_to_le64(*rlsn); in do_action()
4410 tr->first_lsn = cpu_to_le64(rec_lsn); in log_replay()
4481 dp->vcn = cpu_to_le64(t64 & ~((u64)t32 - 1)); in log_replay()
4482 dp->oldest_lsn = cpu_to_le64(rec_lsn); in log_replay()
4601 tr->prev_lsn = cpu_to_le64(rec_lsn); in log_replay()
4817 attr->nres.alloc_size = cpu_to_le64(size); in log_replay()
[all …]
/openbmc/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_v2_hw.c961 itct->qw0 = cpu_to_le64(qw0); in setup_itct_v2_hw()
965 itct->sas_addr = cpu_to_le64(__swab64(sas_addr)); in setup_itct_v2_hw()
969 itct->qw2 = cpu_to_le64((5000ULL << ITCT_HDR_INLT_OFF) | in setup_itct_v2_hw()
1685 entry->addr = cpu_to_le64(sg_dma_address(sg)); in prep_prd_sge_v2_hw()
1691 hdr->prd_table_addr = cpu_to_le64(hisi_sas_sge_addr_dma(slot)); in prep_prd_sge_v2_hw()
1731 hdr->cmd_table_addr = cpu_to_le64(req_dma_addr); in prep_smp_v2_hw()
1732 hdr->sts_buffer_addr = cpu_to_le64(hisi_sas_status_buf_addr_dma(slot)); in prep_smp_v2_hw()
1793 hdr->cmd_table_addr = cpu_to_le64(hisi_sas_cmd_hdr_addr_dma(slot)); in prep_ssp_v2_hw()
1794 hdr->sts_buffer_addr = cpu_to_le64(hisi_sas_status_buf_addr_dma(slot)); in prep_ssp_v2_hw()
2568 hdr->cmd_table_addr = cpu_to_le64(hisi_sas_cmd_hdr_addr_dma(slot)); in prep_ata_v2_hw()
[all …]
/openbmc/linux/drivers/scsi/mvsas/
H A Dmv_94xx.c464 cpu_to_le64(mvi->phy[i].dev_sas_addr)); in mvs_94xx_init()
791 buf_prd->addr = cpu_to_le64(sg_dma_address(sg)); in mvs_94xx_make_prd()
1007 buf_prd->addr = cpu_to_le64(virt_to_phys(buf_prd - 1)); in mvs_94xx_fix_dma()
1011 buf_prd->addr = cpu_to_le64(buf_dma); in mvs_94xx_fix_dma()
/openbmc/linux/drivers/firmware/
H A Dqcom_scm-smc.c191 args[i] = cpu_to_le64(desc->args[i + in __scm_smc_call()
/openbmc/linux/fs/erofs/
H A Derofs_fs.h458 fmh != cpu_to_le64(1ULL << 63) : 0); in erofs_check_ondisk_layout_definitions()
/openbmc/linux/drivers/dma/xilinx/
H A Dxdma.c160 desc->next_desc = cpu_to_le64(block[1].dma_addr); in xdma_link_desc_blocks()
495 desc->src_addr = cpu_to_le64(*src); in xdma_prep_device_sg()
496 desc->dst_addr = cpu_to_le64(*dst); in xdma_prep_device_sg()
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_init.c997 data = cpu_to_le64(ptr64[i]); in netxen_load_firmware()
1011 data = cpu_to_le64(ptr64[i]); in netxen_load_firmware()
1022 data = cpu_to_le64(ptr64[i]); in netxen_load_firmware()
1702 cpu_to_le64(STATUS_OWNER_PHANTOM); in netxen_process_rcv_ring()
1834 pdesc->addr_buffer = cpu_to_le64(buffer->dma); in netxen_post_rx_buffers()
1896 pdesc->addr_buffer = cpu_to_le64(buffer->dma); in netxen_post_rx_buffers_nodb()
/openbmc/qemu/block/
H A Dqed.c78 le->features = cpu_to_le64(cpu->features); in qed_header_cpu_to_le()
79 le->compat_features = cpu_to_le64(cpu->compat_features); in qed_header_cpu_to_le()
80 le->autoclear_features = cpu_to_le64(cpu->autoclear_features); in qed_header_cpu_to_le()
81 le->l1_table_offset = cpu_to_le64(cpu->l1_table_offset); in qed_header_cpu_to_le()
82 le->image_size = cpu_to_le64(cpu->image_size); in qed_header_cpu_to_le()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_xsk.c179 rx_desc->read.pkt_addr = cpu_to_le64(dma); in ixgbe_alloc_rx_buffers_zc()
427 tx_desc->read.buffer_addr = cpu_to_le64(dma); in ixgbe_xmit_zc()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c56 txbd->tx_bd_haddr = cpu_to_le64(mapping); in bnxt_xmit_bd()
79 txbd->tx_bd_haddr = cpu_to_le64(frag_mapping); in bnxt_xmit_bd()
/openbmc/linux/drivers/scsi/snic/
H A Dsnic_disc.c56 sgd[0].addr = cpu_to_le64(rsp_buf_pa); in snic_report_tgt_init()
59 req->u.rpt_tgts.sg_addr = cpu_to_le64((ulong)sgd); in snic_report_tgt_init()
/openbmc/linux/drivers/ata/
H A Dsata_qstor.c249 *(__le64 *)prd = cpu_to_le64(addr); in qs_fill_sg()
285 *(__le64 *)(&buf[16]) = cpu_to_le64(addr); in qs_qc_prep()
/openbmc/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c773 reply_desc->Words = cpu_to_le64(ULLONG_MAX); in megasas_alloc_reply_fusion()
896 cpu_to_le64(rdpq_chunk_phys[k] + offset); in megasas_alloc_rdpq_fusion()
1157 cpu_to_le64(fusion->rdpq_phys) : in megasas_ioc_init_fusion()
1158 cpu_to_le64(fusion->reply_frames_desc_phys[0]); in megasas_ioc_init_fusion()
2190 main_chain_element->Address = cpu_to_le64(ptr_sgl_phys); in megasas_make_prp_nvme()
2205 ptr_first_sgl->Address = cpu_to_le64(sge_addr); in megasas_make_prp_nvme()
2229 *ptr_sgl = cpu_to_le64(ptr_sgl_phys); in megasas_make_prp_nvme()
2234 *ptr_sgl = cpu_to_le64(sge_addr); in megasas_make_prp_nvme()
2289 sgl_ptr->Address = cpu_to_le64(sg_dma_address(os_sgl)); in megasas_make_sgl_fusion()
3660 desc->Words = cpu_to_le64(ULLONG_MAX); in complete_cmd_fusion()
[all …]
/openbmc/linux/drivers/staging/greybus/
H A Daudio_apbridgea.c105 req.timestamp = cpu_to_le64(timestamp); in gb_audio_apbridgea_start_tx()
/openbmc/u-boot/fs/btrfs/
H A Dconv-funcs.h81 __u64: cpu_to_le64, \
/openbmc/qemu/hw/net/rocker/
H A Drocker_tlv.h219 value = cpu_to_le64(value); in rocker_tlv_put_le64()
/openbmc/linux/fs/smb/client/
H A Dsmb2pdu.c138 shdr->SessionId = cpu_to_le64(tcon->ses->Suid); in smb2_hdr_assemble()
1470 req->hdr.SessionId = cpu_to_le64(ses->Suid); in SMB2_sess_alloc_buffer()
1804 req->hdr.SessionId = cpu_to_le64(ses->Suid); in SMB2_sess_auth_rawntlmssp_authenticate()
1974 req->hdr.SessionId = cpu_to_le64(ses->Suid); in SMB2_logoff()
2562 buf->Timestamp = cpu_to_le64(timewarp); in create_twarp_buf()
4420 req->Offset = cpu_to_le64(io_parms->offset); in smb2_new_read_req()
4868 req->Offset = cpu_to_le64(io_parms->offset); in smb2_async_writev()
5025 req->Offset = cpu_to_le64(io_parms->offset); in SMB2_write()
5594 info.EndOfFile = cpu_to_le64(new_eof); in SMB2_set_eof()
6069 lock.Offset = cpu_to_le64(offset); in SMB2_lock()
[all …]
/openbmc/linux/fs/ubifs/
H A Dorphan.c376 orph->inos[i] = cpu_to_le64(orphan->inum); in write_orph_node()
385 orph->cmt_no = cpu_to_le64(c->cmt_no); in write_orph_node()
388 orph->cmt_no = cpu_to_le64((c->cmt_no) | (1ULL << 63)); in write_orph_node()

12345678910>>...25