Home
last modified time | relevance | path

Searched refs:le64_to_cpu (Results 1 – 25 of 584) sorted by relevance

12345678910>>...24

/openbmc/linux/block/partitions/
H A Defi.c288 if (read_lba(state, le64_to_cpu(gpt->partition_entry_lba), in alloc_read_gpt_entries()
347 if (le64_to_cpu((*gpt)->signature) != GPT_HEADER_SIGNATURE) { in is_gpt_valid()
350 (unsigned long long)le64_to_cpu((*gpt)->signature), in is_gpt_valid()
386 if (le64_to_cpu((*gpt)->my_lba) != lba) { in is_gpt_valid()
388 (unsigned long long)le64_to_cpu((*gpt)->my_lba), in is_gpt_valid()
397 if (le64_to_cpu((*gpt)->first_usable_lba) > lastlba) { in is_gpt_valid()
399 (unsigned long long)le64_to_cpu((*gpt)->first_usable_lba), in is_gpt_valid()
403 if (le64_to_cpu((*gpt)->last_usable_lba) > lastlba) { in is_gpt_valid()
405 (unsigned long long)le64_to_cpu((*gpt)->last_usable_lba), in is_gpt_valid()
409 if (le64_to_cpu((*gp in is_gpt_valid()
[all...]
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_sp.c155 attr->max_mr_size = le64_to_cpu(sb->max_mr_size); in bnxt_qplib_get_dev_attr()
760 stats->to_retransmits = le64_to_cpu(sb->to_retransmits); in bnxt_qplib_get_roce_stats()
761 stats->seq_err_naks_rcvd = le64_to_cpu(sb->seq_err_naks_rcvd); in bnxt_qplib_get_roce_stats()
762 stats->max_retry_exceeded = le64_to_cpu(sb->max_retry_exceeded); in bnxt_qplib_get_roce_stats()
763 stats->rnr_naks_rcvd = le64_to_cpu(sb->rnr_naks_rcvd); in bnxt_qplib_get_roce_stats()
764 stats->missing_resp = le64_to_cpu(sb->missing_resp); in bnxt_qplib_get_roce_stats()
765 stats->unrecoverable_err = le64_to_cpu(sb->unrecoverable_err); in bnxt_qplib_get_roce_stats()
766 stats->bad_resp_err = le64_to_cpu(sb->bad_resp_err); in bnxt_qplib_get_roce_stats()
767 stats->local_qp_op_err = le64_to_cpu(sb->local_qp_op_err); in bnxt_qplib_get_roce_stats()
768 stats->local_protection_err = le64_to_cpu(sb->local_protection_err); in bnxt_qplib_get_roce_stats()
[all …]
H A Dhw_counters.c333 le64_to_cpu(hw_stats->tx_bcast_pkts); in bnxt_re_ib_get_hw_stats()
335 le64_to_cpu(hw_stats->tx_discard_pkts); in bnxt_re_ib_get_hw_stats()
337 le64_to_cpu(hw_stats->tx_error_pkts); in bnxt_re_ib_get_hw_stats()
339 le64_to_cpu(hw_stats->rx_error_pkts); in bnxt_re_ib_get_hw_stats()
341 le64_to_cpu(hw_stats->rx_discard_pkts); in bnxt_re_ib_get_hw_stats()
343 le64_to_cpu(hw_stats->rx_ucast_pkts); in bnxt_re_ib_get_hw_stats()
345 le64_to_cpu(hw_stats->rx_ucast_bytes); in bnxt_re_ib_get_hw_stats()
347 le64_to_cpu(hw_stats->tx_ucast_pkts); in bnxt_re_ib_get_hw_stats()
349 le64_to_cpu(hw_stats->tx_ucast_bytes); in bnxt_re_ib_get_hw_stats()
/openbmc/u-boot/disk/
H A Dpart_efi.c85 if (le64_to_cpu(gpt_h->signature) != GPT_HEADER_SIGNATURE_UBOOT) { in validate_gpt_header()
88 le64_to_cpu(gpt_h->signature), in validate_gpt_header()
112 if (le64_to_cpu(gpt_h->my_lba) != lba) { in validate_gpt_header()
114 le64_to_cpu(gpt_h->my_lba), in validate_gpt_header()
123 if (le64_to_cpu(gpt_h->first_usable_lba) > lastlba) { in validate_gpt_header()
125 le64_to_cpu(gpt_h->first_usable_lba), lastlba); in validate_gpt_header()
128 if (le64_to_cpu(gpt_h->last_usable_lba) > lastlba) { in validate_gpt_header()
130 le64_to_cpu(gpt_h->last_usable_lba), lastlba); in validate_gpt_header()
135 LBAF "\n", le64_to_cpu(gpt_h->first_usable_lba), in validate_gpt_header()
136 le64_to_cpu(gpt_h->last_usable_lba), lastlba); in validate_gpt_header()
[all …]
/openbmc/linux/fs/ntfs3/
H A Dattrib.c64 CLST svcn = le64_to_cpu(attr->nres.svcn); in attr_load_runs()
65 CLST evcn = le64_to_cpu(attr->nres.evcn); in attr_load_runs()
455 old_valid = le64_to_cpu(attr_b->nres.valid_size); in attr_set_size()
456 old_size = le64_to_cpu(attr_b->nres.data_size); in attr_set_size()
457 old_alloc = le64_to_cpu(attr_b->nres.alloc_size); in attr_set_size()
473 svcn = le64_to_cpu(attr_b->nres.svcn); in attr_set_size()
474 evcn = le64_to_cpu(attr_b->nres.evcn); in attr_set_size()
493 svcn = le64_to_cpu(attr->nres.svcn); in attr_set_size()
494 evcn = le64_to_cpu(attr->nres.evcn); in attr_set_size()
600 next_svcn = le64_to_cpu(attr->nres.evcn) + 1; in attr_set_size()
[all …]
H A Dfslog.c417 u64 lsn = le64_to_cpu(cr->oldest_lsn); in oldest_client_lsn()
512 l_size = le64_to_cpu(ra->l_size); in is_rst_area_valid()
660 u64 dp_vcn = le64_to_cpu(dp->vcn); in find_dp()
1106 lsn <= le64_to_cpu(log->ra->current_lsn); in is_lsn_in_file()
1113 return le64_to_cpu(hdr->rhdr.lsn); in hdr_file_off()
1121 u64 h_lsn = le64_to_cpu(hdr->rhdr.lsn); in base_lsn()
1126 h_lsn <= le64_to_cpu(hdr->record_hdr.last_end_lsn)) ? in base_lsn()
1138 return lsn >= le64_to_cpu(client->oldest_lsn) && in verify_client_lsn()
1139 lsn <= le64_to_cpu(log->ra->current_lsn) && lsn; in verify_client_lsn()
1287 info->last_lsn = le64_to_cpu(r_page->rhdr.lsn); in log_read_rst()
[all …]
/openbmc/linux/fs/squashfs/
H A Dxattr_id.c41 start_block = le64_to_cpu(msblk->xattr_id_table[block]); in squashfs_xattr_lookup()
48 *xattr = le64_to_cpu(id.xattr); in squashfs_xattr_lookup()
72 *xattr_table_start = le64_to_cpu(id_table->xattr_table_start); in squashfs_read_xattr_id_table()
109 start = le64_to_cpu(table[n]); in squashfs_read_xattr_id_table()
110 end = le64_to_cpu(table[n + 1]); in squashfs_read_xattr_id_table()
119 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_xattr_id_table()
126 if (*xattr_table_start >= le64_to_cpu(table[0])) { in squashfs_read_xattr_id_table()
H A Dexport.c53 start = le64_to_cpu(msblk->inode_lookup_table[blk]); in squashfs_inode_lookup()
60 (u64) le64_to_cpu(ino)); in squashfs_inode_lookup()
62 return le64_to_cpu(ino); in squashfs_inode_lookup()
152 start = le64_to_cpu(table[n]); in squashfs_read_inode_lookup_table()
153 end = le64_to_cpu(table[n + 1]); in squashfs_read_inode_lookup_table()
163 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_inode_lookup_table()
H A Did.c45 start_block = le64_to_cpu(msblk->id_table[block]); in squashfs_get_id()
97 start = le64_to_cpu(table[n]); in squashfs_read_id_index_table()
98 end = le64_to_cpu(table[n + 1]); in squashfs_read_id_index_table()
107 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_id_index_table()
H A Dsuper.c253 msblk->bytes_used = le64_to_cpu(sblk->bytes_used); in squashfs_fill_super()
283 root_inode = le64_to_cpu(sblk->root_inode); in squashfs_fill_super()
287 msblk->inode_table = le64_to_cpu(sblk->inode_table_start); in squashfs_fill_super()
288 msblk->directory_table = le64_to_cpu(sblk->directory_table_start); in squashfs_fill_super()
307 (u64) le64_to_cpu(sblk->fragment_table_start)); in squashfs_fill_super()
309 (u64) le64_to_cpu(sblk->id_table_start)); in squashfs_fill_super()
354 xattr_id_table_start = le64_to_cpu(sblk->xattr_id_table_start); in squashfs_fill_super()
375 le64_to_cpu(sblk->id_table_start), next_table, msblk->ids); in squashfs_fill_super()
382 next_table = le64_to_cpu(msblk->id_table[0]); in squashfs_fill_super()
385 lookup_table_start = le64_to_cpu(sblk->lookup_table_start); in squashfs_fill_super()
[all …]
H A Dfragment.c48 start_block = le64_to_cpu(msblk->fragment_index[block]); in squashfs_frag_lookup()
55 *fragment_block = le64_to_cpu(fragment_entry.start_block); in squashfs_frag_lookup()
83 if (!IS_ERR(table) && le64_to_cpu(table[0]) >= fragment_table_start) { in squashfs_read_fragment_index_table()
/openbmc/linux/include/linux/
H A Dsiphash.h61 return siphash_1u64(le64_to_cpu(data[0]), key); in ___siphash_aligned()
63 return siphash_2u64(le64_to_cpu(data[0]), le64_to_cpu(data[1]), in ___siphash_aligned()
66 return siphash_3u64(le64_to_cpu(data[0]), le64_to_cpu(data[1]), in ___siphash_aligned()
67 le64_to_cpu(data[2]), key); in ___siphash_aligned()
69 return siphash_4u64(le64_to_cpu(data[0]), le64_to_cpu(data[1]), in ___siphash_aligned()
70 le64_to_cpu(data[2]), le64_to_cpu(data[3]), in ___siphash_aligned()
/openbmc/qemu/target/i386/
H A Dmonitor.c109 pdpe = le64_to_cpu(pdpe); in tlb_info_pae32()
114 pde = le64_to_cpu(pde); in tlb_info_pae32()
124 pte = le64_to_cpu(pte); in tlb_info_pae32()
149 pml4e = le64_to_cpu(pml4e); in tlb_info_la48()
157 pdpe = le64_to_cpu(pdpe); in tlb_info_la48()
172 pde = le64_to_cpu(pde); in tlb_info_la48()
189 pte = le64_to_cpu(pte); in tlb_info_la48()
210 pml5e = le64_to_cpu(pml5e); in tlb_info_la57()
329 pdpe = le64_to_cpu(pdpe); in mem_info_pae32()
335 pde = le64_to_cpu(pde); in mem_info_pae32()
[all …]
/openbmc/qemu/block/
H A Dvhdx-endian.c39 h->sequence_number = le64_to_cpu(h->sequence_number); in vhdx_header_le_import()
48 h->log_offset = le64_to_cpu(h->log_offset); in vhdx_header_le_import()
83 d->file_offset = le64_to_cpu(d->file_offset); in vhdx_log_desc_le_import()
84 d->sequence_number = le64_to_cpu(d->sequence_number); in vhdx_log_desc_le_import()
124 hdr->sequence_number = le64_to_cpu(hdr->sequence_number); in vhdx_log_entry_hdr_le_import()
127 hdr->flushed_file_offset = le64_to_cpu(hdr->flushed_file_offset); in vhdx_log_entry_hdr_le_import()
128 hdr->last_file_offset = le64_to_cpu(hdr->last_file_offset); in vhdx_log_entry_hdr_le_import()
171 e->file_offset = le64_to_cpu(e->file_offset); in vhdx_region_entry_le_import()
192 hdr->signature = le64_to_cpu(hdr->signature); in vhdx_metadata_header_le_import()
H A Dvmdk.c706 header->magic = le64_to_cpu(header->magic); in check_se_sparse_const_header()
707 header->version = le64_to_cpu(header->version); in check_se_sparse_const_header()
708 header->grain_size = le64_to_cpu(header->grain_size); in check_se_sparse_const_header()
709 header->grain_table_size = le64_to_cpu(header->grain_table_size); in check_se_sparse_const_header()
710 header->flags = le64_to_cpu(header->flags); in check_se_sparse_const_header()
711 header->reserved1 = le64_to_cpu(header->reserved1); in check_se_sparse_const_header()
712 header->reserved2 = le64_to_cpu(header->reserved2); in check_se_sparse_const_header()
713 header->reserved3 = le64_to_cpu(header->reserved3); in check_se_sparse_const_header()
714 header->reserved4 = le64_to_cpu(header->reserved4); in check_se_sparse_const_header()
717 le64_to_cpu(header->volatile_header_offset); in check_se_sparse_const_header()
[all …]
/openbmc/linux/crypto/
H A Dstreebog_generic.c872 r0 = le64_to_cpu(x->qword[0] ^ y->qword[0]); in streebog_xlps()
873 r1 = le64_to_cpu(x->qword[1] ^ y->qword[1]); in streebog_xlps()
874 r2 = le64_to_cpu(x->qword[2] ^ y->qword[2]); in streebog_xlps()
875 r3 = le64_to_cpu(x->qword[3] ^ y->qword[3]); in streebog_xlps()
876 r4 = le64_to_cpu(x->qword[4] ^ y->qword[4]); in streebog_xlps()
877 r5 = le64_to_cpu(x->qword[5] ^ y->qword[5]); in streebog_xlps()
878 r6 = le64_to_cpu(x->qword[6] ^ y->qword[6]); in streebog_xlps()
879 r7 = le64_to_cpu(x->qword[7] ^ y->qword[7]); in streebog_xlps()
941 const u64 left = le64_to_cpu(x->qword[i]); in streebog_add512()
944 sum = left + le64_to_cpu(y->qword[i]) + carry; in streebog_add512()
/openbmc/linux/fs/nilfs2/
H A Ddat.c173 start = le64_to_cpu(entry->de_start); in nilfs_dat_prepare_end()
174 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_prepare_end()
208 end = start = le64_to_cpu(entry->de_start); in nilfs_dat_commit_end()
214 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_commit_end()
233 start = le64_to_cpu(entry->de_start); in nilfs_dat_abort_end()
234 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_abort_end()
371 (unsigned long long)le64_to_cpu(entry->de_start), in nilfs_dat_move()
372 (unsigned long long)le64_to_cpu(entry->de_end)); in nilfs_dat_move()
431 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_translate()
472 vinfo->vi_start = le64_to_cpu(entry->de_start); in nilfs_dat_get_vinfo()
[all …]
/openbmc/linux/fs/quota/
H A Dquota_v2.c231 m->dqb_itime = le64_to_cpu(d->dqb_itime); in v2r0_disk2memdqb()
234 m->dqb_curspace = le64_to_cpu(d->dqb_curspace); in v2r0_disk2memdqb()
235 m->dqb_btime = le64_to_cpu(d->dqb_btime); in v2r0_disk2memdqb()
281 m->dqb_ihardlimit = le64_to_cpu(d->dqb_ihardlimit); in v2r1_disk2memdqb()
282 m->dqb_isoftlimit = le64_to_cpu(d->dqb_isoftlimit); in v2r1_disk2memdqb()
283 m->dqb_curinodes = le64_to_cpu(d->dqb_curinodes); in v2r1_disk2memdqb()
284 m->dqb_itime = le64_to_cpu(d->dqb_itime); in v2r1_disk2memdqb()
285 m->dqb_bhardlimit = v2_qbtos(le64_to_cpu(d->dqb_bhardlimit)); in v2r1_disk2memdqb()
286 m->dqb_bsoftlimit = v2_qbtos(le64_to_cpu(d->dqb_bsoftlimit)); in v2r1_disk2memdqb()
287 m->dqb_curspace = le64_to_cpu(d->dqb_curspace); in v2r1_disk2memdqb()
[all …]
/openbmc/u-boot/arch/arm/lib/
H A Dimage.c55 image_size = le64_to_cpu(ih->image_size); in booti_setup()
56 text_offset = le64_to_cpu(ih->text_offset); in booti_setup()
67 if (!force_reloc && (le64_to_cpu(ih->flags) & BIT(3))) in booti_setup()
/openbmc/linux/fs/ocfs2/
H A Dinode.c292 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); in ocfs2_populate_inode()
305 inode_set_atime(inode, le64_to_cpu(fe->i_atime), in ocfs2_populate_inode()
307 inode_set_mtime(inode, le64_to_cpu(fe->i_mtime), in ocfs2_populate_inode()
309 inode_set_ctime(inode, le64_to_cpu(fe->i_ctime), in ocfs2_populate_inode()
312 if (OCFS2_I(inode)->ip_blkno != le64_to_cpu(fe->i_blkno)) in ocfs2_populate_inode()
316 (unsigned long long)le64_to_cpu(fe->i_blkno)); in ocfs2_populate_inode()
346 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
354 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
360 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
371 le64_to_cpu(fe->i_blkno)); in ocfs2_populate_inode()
[all …]
/openbmc/linux/drivers/bus/mhi/host/
H A Ddebugfs.c68 seq_printf(m, " base: 0x%0llx len: 0x%llx", le64_to_cpu(er_ctxt->rbase), in mhi_debugfs_events_show()
69 le64_to_cpu(er_ctxt->rlen)); in mhi_debugfs_events_show()
71 seq_printf(m, " rp: 0x%llx wp: 0x%llx", le64_to_cpu(er_ctxt->rp), in mhi_debugfs_events_show()
72 le64_to_cpu(er_ctxt->wp)); in mhi_debugfs_events_show()
119 le64_to_cpu(chan_ctxt->rbase), le64_to_cpu(chan_ctxt->rlen), in mhi_debugfs_channels_show()
120 le64_to_cpu(chan_ctxt->rp), le64_to_cpu(chan_ctxt->wp)); in mhi_debugfs_channels_show()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drx.c346 rx_status->mactime = le64_to_cpu(phy_info->timestamp); in iwl_mvm_rx_rx_mpdu()
857 mvm->radio_stats.rx_time = le64_to_cpu(stats->rx_time); in iwl_mvm_handle_rx_statistics_tlv()
858 mvm->radio_stats.tx_time = le64_to_cpu(stats->tx_time); in iwl_mvm_handle_rx_statistics_tlv()
859 mvm->radio_stats.on_time_rf = le64_to_cpu(stats->on_time_rf); in iwl_mvm_handle_rx_statistics_tlv()
861 le64_to_cpu(stats->on_time_scan); in iwl_mvm_handle_rx_statistics_tlv()
882 mvm->radio_stats.rx_time = le64_to_cpu(stats->rx_time); in iwl_mvm_handle_rx_statistics_tlv()
883 mvm->radio_stats.tx_time = le64_to_cpu(stats->tx_time); in iwl_mvm_handle_rx_statistics_tlv()
884 mvm->radio_stats.on_time_rf = le64_to_cpu(stats->on_time_rf); in iwl_mvm_handle_rx_statistics_tlv()
886 le64_to_cpu(stats->on_time_scan); in iwl_mvm_handle_rx_statistics_tlv()
950 le64_to_cpu(stats->general.common.rx_time); in iwl_mvm_handle_rx_statistics()
[all …]
/openbmc/u-boot/fs/ubifs/
H A Dmaster.c272 c->max_sqnum = le64_to_cpu(c->mst_node->ch.sqnum); in ubifs_read_master()
273 c->highest_inum = le64_to_cpu(c->mst_node->highest_inum); in ubifs_read_master()
274 c->cmt_no = le64_to_cpu(c->mst_node->cmt_no); in ubifs_read_master()
282 c->bi.old_idx_sz = le64_to_cpu(c->mst_node->index_size); in ubifs_read_master()
295 c->lst.total_free = le64_to_cpu(c->mst_node->total_free); in ubifs_read_master()
296 c->lst.total_dirty = le64_to_cpu(c->mst_node->total_dirty); in ubifs_read_master()
297 c->lst.total_used = le64_to_cpu(c->mst_node->total_used); in ubifs_read_master()
298 c->lst.total_dead = le64_to_cpu(c->mst_node->total_dead); in ubifs_read_master()
299 c->lst.total_dark = le64_to_cpu(c->mst_node->total_dark); in ubifs_read_master()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp_eth.c135 port = le64_to_cpu(src->port); in nfp_eth_port_translate()
136 state = le64_to_cpu(src->state); in nfp_eth_port_translate()
249 entry->link_modes_supp[i] = le64_to_cpu(ethm.supported_modes[i]); in nfp_eth_read_media()
250 entry->link_modes_ad[i] = le64_to_cpu(ethm.advertised_modes[i]); in nfp_eth_read_media()
437 reg = le64_to_cpu(entries[idx].state); in nfp_eth_set_mod_enable()
439 reg = le64_to_cpu(entries[idx].control); in nfp_eth_set_mod_enable()
484 reg = le64_to_cpu(entries[idx].state); in nfp_eth_set_configured()
486 reg = le64_to_cpu(entries[idx].control); in nfp_eth_set_configured()
516 reg = le64_to_cpu(entries[idx].raw[raw_idx]); in nfp_eth_set_bit_config()
551 reg = le64_to_cpu(entries[idx].control); in nfp_eth_set_idmode()
/openbmc/linux/drivers/net/ethernet/apm/xgene-v2/
H A Dmain.c96 addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers()
97 addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers()
165 if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && in is_tx_slot_available()
166 (GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)) == SLOT_EMPTY)) in is_tx_slot_available()
203 addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); in xge_start_xmit()
204 addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); in xge_start_xmit()
229 if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && in is_tx_hw_done()
230 !GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0))) in is_tx_hw_done()
309 if (GET_BITS(E, le64_to_cpu(raw_desc->m0))) in xge_rx_poll()
317 len = GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)); in xge_rx_poll()
[all …]

12345678910>>...24