Home
last modified time | relevance | path

Searched refs:be64_to_cpu (Results 1 – 25 of 432) sorted by relevance

12345678910>>...18

/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dpci.c243 be64_to_cpu(data->lemFir), in pnv_pci_dump_p7ioc_diag_data()
245 be64_to_cpu(data->lemWOF)); in pnv_pci_dump_p7ioc_diag_data()
321 be64_to_cpu(data->nFir), in pnv_pci_dump_phb3_diag_data()
322 be64_to_cpu(data->nFirMask), in pnv_pci_dump_phb3_diag_data()
327 be64_to_cpu(data->phbCsr)); in pnv_pci_dump_phb3_diag_data()
330 be64_to_cpu(data->lemFir), in pnv_pci_dump_phb3_diag_data()
332 be64_to_cpu(data->lemWOF)); in pnv_pci_dump_phb3_diag_data()
398 be64_to_cpu(data->nFir), in pnv_pci_dump_phb4_diag_data()
404 be64_to_cpu(data->phbCsr)); in pnv_pci_dump_phb4_diag_data()
407 be64_to_cpu(data->lemFir), in pnv_pci_dump_phb4_diag_data()
[all …]
H A Dopal-fadump.c60 addr = be64_to_cpu(addr); in opal_fadump_dt_scan()
77 fadump_conf->boot_mem_top = be64_to_cpu(addr); in opal_fadump_dt_scan()
130 base = be64_to_cpu(fdm->rgn[i].src); in opal_fadump_get_config()
131 size = be64_to_cpu(fdm->rgn[i].size); in opal_fadump_get_config()
164 i, be64_to_cpu(fdm->rgn[i].src), in opal_fadump_get_config()
165 be64_to_cpu(fdm->rgn[i].size)); in opal_fadump_get_config()
282 be64_to_cpu(opal_fdm->rgn[i].src), in opal_fadump_register()
584 be64_to_cpu(fdm_ptr->rgn[i].src), in opal_fadump_region_show()
585 be64_to_cpu(fdm_ptr->rgn[i].dest)); in opal_fadump_region_show()
699 addr = be64_to_cpu(be_addr); in opal_fadump_dt_scan()
[all …]
H A Dopal-memory-errors.c38 paddr_start = be64_to_cpu(merr_evt->u.resilience.physical_address_start); in handle_memory_error_event()
39 paddr_end = be64_to_cpu(merr_evt->u.resilience.physical_address_end); in handle_memory_error_event()
42 paddr_start = be64_to_cpu(merr_evt->u.dyn_dealloc.physical_address_start); in handle_memory_error_event()
43 paddr_end = be64_to_cpu(merr_evt->u.dyn_dealloc.physical_address_end); in handle_memory_error_event()
H A Deeh-powernv.c1265 be64_to_cpu(data->gemXfir), in pnv_eeh_dump_hub_diag_common()
1266 be64_to_cpu(data->gemRfir), in pnv_eeh_dump_hub_diag_common()
1267 be64_to_cpu(data->gemRirqfir), in pnv_eeh_dump_hub_diag_common()
1268 be64_to_cpu(data->gemMask), in pnv_eeh_dump_hub_diag_common()
1269 be64_to_cpu(data->gemRwof)); in pnv_eeh_dump_hub_diag_common()
1275 be64_to_cpu(data->lemFir), in pnv_eeh_dump_hub_diag_common()
1276 be64_to_cpu(data->lemErrMask), in pnv_eeh_dump_hub_diag_common()
1277 be64_to_cpu(data->lemAction0), in pnv_eeh_dump_hub_diag_common()
1278 be64_to_cpu(data->lemAction1), in pnv_eeh_dump_hub_diag_common()
1279 be64_to_cpu(data->lemWof)); in pnv_eeh_dump_hub_diag_common()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_port.c143 ret += be64_to_cpu(*curr); in en_stats_adder()
342 be64_to_cpu(mlx4_en_stats->RInRangeLengthErr); in mlx4_en_DUMP_ETH_STATS()
402 be64_to_cpu(flowstats[i].rx_pause); in mlx4_en_DUMP_ETH_STATS()
404 be64_to_cpu(flowstats[i].rx_pause_duration); in mlx4_en_DUMP_ETH_STATS()
408 be64_to_cpu(flowstats[i].tx_pause); in mlx4_en_DUMP_ETH_STATS()
410 be64_to_cpu(flowstats[i].tx_pause_duration); in mlx4_en_DUMP_ETH_STATS()
417 be64_to_cpu(flowstats[0].rx_pause); in mlx4_en_DUMP_ETH_STATS()
419 be64_to_cpu(flowstats[0].rx_pause_duration); in mlx4_en_DUMP_ETH_STATS()
421 be64_to_cpu(flowstats[0].rx_pause_transition); in mlx4_en_DUMP_ETH_STATS()
423 be64_to_cpu(flowstats[0].tx_pause); in mlx4_en_DUMP_ETH_STATS()
[all …]
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Drtas-fadump.c33 be64_to_cpu(fdm->rmr_region.destination_address); in rtas_fadump_update_config()
47 be64_to_cpu(fdm->rmr_region.source_address); in rtas_fadump_get_config()
59 be64_to_cpu(fdm->cpu_state_data.destination_address); in rtas_fadump_get_config()
290 be64_to_cpu(reg_entry->reg_value)); in rtas_fadump_read_regs()
326 if (be64_to_cpu(reg_header->magic_number) != in rtas_fadump_build_cpu_notes()
352 if (be64_to_cpu(reg_entry->reg_id) != in rtas_fadump_build_cpu_notes()
359 cpu = (be64_to_cpu(reg_entry->reg_value) & in rtas_fadump_build_cpu_notes()
455 be64_to_cpu(cpu_data_section->source_len), in rtas_fadump_region_show()
456 be64_to_cpu(cpu_data_section->bytes_dumped)); in rtas_fadump_region_show()
462 be64_to_cpu(fdm_ptr->hpte_region.source_len), in rtas_fadump_region_show()
[all …]
H A Dpapr_platform_attributes.c122 (buf + be64_to_cpu(hdr->array_offset)); in papr_get_attr()
125 be64_to_cpu(hdr->array_offset) + (be64_to_cpu(hdr->num_attrs) in papr_get_attr()
174 return sysfs_emit(buf, "%llu\n", be64_to_cpu(esi.val)); in val_show()
288 num_attrs = be64_to_cpu(esi_hdr->num_attrs); in papr_init()
290 (esi_buf + be64_to_cpu(esi_hdr->array_offset)); in papr_init()
293 be64_to_cpu(esi_hdr->array_offset) + in papr_init()
323 be64_to_cpu(esi_attrs[idx].id)); in papr_init()
336 if (add_attr_group(be64_to_cpu(esi_attrs[idx].id), in papr_init()
H A Ddtl.c78 if (index + N_DISPATCH_LOG < be64_to_cpu(vpa->dtl_idx)) in consume_dtle()
176 return be64_to_cpu(lppaca_of(dtl->cpu).dtl_idx); in dtl_current_index()
388 if (i == be64_to_cpu(vpa->dtl_idx)) in scan_dispatch_log()
390 while (i < be64_to_cpu(vpa->dtl_idx)) { in scan_dispatch_log()
391 dtb = be64_to_cpu(dtl->timebase); in scan_dispatch_log()
395 if (i + N_DISPATCH_LOG < be64_to_cpu(vpa->dtl_idx)) { in scan_dispatch_log()
397 i = be64_to_cpu(vpa->dtl_idx) - N_DISPATCH_LOG; in scan_dispatch_log()
439 if (get_paca()->dtl_ridx != be64_to_cpu(get_lppaca()->dtl_idx)) in pseries_calculate_stolen_time()
H A Dras.c449 regs->gpr[3] = be64_to_cpu(savep[0]); /* restore original r3 */ in fwnmi_get_errinfo()
495 if ((be64_to_cpu(regs->msr) & in pSeries_system_reset_exception()
498 regs_set_return_ip(regs, be64_to_cpu((__be64)regs->nip)); in pSeries_system_reset_exception()
518 regs->gpr[3] = be64_to_cpu(savep[0]); /* restore original r3 */ in pSeries_system_reset_exception()
642 eaddr = be64_to_cpu(mce_log->effective_address); in mce_handle_err_virtmode()
645 paddr = be64_to_cpu(mce_log->logical_address); in mce_handle_err_virtmode()
670 eaddr = be64_to_cpu(mce_log->effective_address); in mce_handle_err_virtmode()
687 eaddr = be64_to_cpu(mce_log->effective_address); in mce_handle_err_virtmode()
704 eaddr = be64_to_cpu(mce_log->effective_address); in mce_handle_err_virtmode()
725 eaddr = be64_to_cpu(mce_log->effective_address); in mce_handle_err_virtmode()
/openbmc/linux/fs/ocfs2/dlm/
H A Ddlmast.c89 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
90 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
97 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
309 dlm_get_lock_cookie_node(be64_to_cpu(cookie)), in dlm_proxy_ast_handler()
310 dlm_get_lock_cookie_seq(be64_to_cpu(cookie)), in dlm_proxy_ast_handler()
320 dlm_get_lock_cookie_node(be64_to_cpu(cookie)), in dlm_proxy_ast_handler()
321 dlm_get_lock_cookie_seq(be64_to_cpu(cookie)), in dlm_proxy_ast_handler()
369 dlm_get_lock_cookie_node(be64_to_cpu(cookie)), in dlm_proxy_ast_handler()
370 dlm_get_lock_cookie_seq(be64_to_cpu(cookie)), in dlm_proxy_ast_handler()
385 dlm_get_lock_cookie_node(be64_to_cpu(cookie)), in dlm_proxy_ast_handler()
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Dpgtable-be-types.h13 return be64_to_cpu(x.pte); in pte_val()
28 return be64_to_cpu(x.pmd); in pmd_val()
42 return be64_to_cpu(x.pud); in pud_val()
58 return be64_to_cpu(x.pgd); in pgd_val()
110 return be64_to_cpu(x.pdbe); in hpd_val()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_rmap_btree.c203 off = be64_to_cpu(key->rmap.rm_offset); in xfs_rmapbt_init_high_key_from_rec()
256 x = be64_to_cpu(kp->rm_owner); in xfs_rmapbt_key_diff()
263 x = offset_keymask(be64_to_cpu(kp->rm_offset)); in xfs_rmapbt_key_diff()
293 x = be64_to_cpu(kp1->rm_owner); in xfs_rmapbt_diff_two_keys()
294 y = be64_to_cpu(kp2->rm_owner); in xfs_rmapbt_diff_two_keys()
305 x = offset_keymask(be64_to_cpu(kp1->rm_offset)); in xfs_rmapbt_diff_two_keys()
306 y = offset_keymask(be64_to_cpu(kp2->rm_offset)); in xfs_rmapbt_diff_two_keys()
416 a = be64_to_cpu(k1->rmap.rm_owner); in xfs_rmapbt_keys_inorder()
417 b = be64_to_cpu(k2->rmap.rm_owner); in xfs_rmapbt_keys_inorder()
446 a = be64_to_cpu(r1->rmap.rm_owner); in xfs_rmapbt_recs_inorder()
[all …]
H A Dxfs_dquot_buf.c86 be64_to_cpu(ddq->d_bcount) > be64_to_cpu(ddq->d_blk_softlimit) && in xfs_dquot_verify()
91 be64_to_cpu(ddq->d_icount) > be64_to_cpu(ddq->d_ino_softlimit) && in xfs_dquot_verify()
96 be64_to_cpu(ddq->d_rtbcount) > be64_to_cpu(ddq->d_rtb_softlimit) && in xfs_dquot_verify()
H A Dxfs_inode_buf.c161 return xfs_inode_decode_bigtime(be64_to_cpu(ts)); in xfs_inode_from_disk_ts()
228 ip->i_disk_size = be64_to_cpu(from->di_size); in xfs_inode_from_disk()
229 ip->i_nblocks = be64_to_cpu(from->di_nblocks); in xfs_inode_from_disk()
240 be64_to_cpu(from->di_changecount)); in xfs_inode_from_disk()
242 ip->i_diflags2 = be64_to_cpu(from->di_flags2); in xfs_inode_from_disk()
375 if (be64_to_cpu(dip->di_size) <= fork_size && in xfs_dinode_verify_fork()
380 if (be64_to_cpu(dip->di_size) > fork_size && in xfs_dinode_verify_fork()
480 if (be64_to_cpu(dip->di_ino) != ino) in xfs_dinode_verify()
487 di_size = be64_to_cpu(dip->di_size); in xfs_dinode_verify()
505 nblocks = be64_to_cpu(dip->di_nblocks); in xfs_dinode_verify()
[all …]
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Dev.c74 be64_to_cpu(p[0]), be64_to_cpu(p[1]), be64_to_cpu(p[2]), in dump_err_cqe()
75 be64_to_cpu(p[3]), be64_to_cpu(p[4]), be64_to_cpu(p[5]), in dump_err_cqe()
76 be64_to_cpu(p[6]), be64_to_cpu(p[7])); in dump_err_cqe()
/openbmc/linux/tools/perf/util/
H A Ds390-sample-raw.c89 te.flags = be64_to_cpu(tep->flags); in s390_cpumcfdg_dumptrail()
93 te.timestamp = be64_to_cpu(tep->timestamp); in s390_cpumcfdg_dumptrail()
94 te.progusage1 = be64_to_cpu(tep->progusage1); in s390_cpumcfdg_dumptrail()
95 te.progusage2 = be64_to_cpu(tep->progusage2); in s390_cpumcfdg_dumptrail()
96 te.progusage3 = be64_to_cpu(tep->progusage3); in s390_cpumcfdg_dumptrail()
97 te.tod_base = be64_to_cpu(tep->tod_base); in s390_cpumcfdg_dumptrail()
208 ev_name ?: "<unknown>", be64_to_cpu(*p)); in s390_cpumcfdg_dump()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_64_mmu_hv.c1092 v = be64_to_cpu(hptep[0]); in kvm_test_clear_dirty_npages()
1093 r = be64_to_cpu(hptep[1]); in kvm_test_clear_dirty_npages()
1247 vpte = be64_to_cpu(hptep[0]); in resize_hpt_rehash_hpte()
1254 vpte = be64_to_cpu(hptep[0]); in resize_hpt_rehash_hpte()
1294 vpte = be64_to_cpu(hptep[0]); in resize_hpt_rehash_hpte()
1302 rpte = be64_to_cpu(hptep[1]); in resize_hpt_rehash_hpte()
1682 v = be64_to_cpu(hptp[0]); in record_hpte()
1683 hr = be64_to_cpu(hptp[1]); in record_hpte()
1888 v = be64_to_cpu(hpte_v); in kvm_htab_write()
1889 r = be64_to_cpu(hpte_r); in kvm_htab_write()
[all …]
H A Dbook3s_hv_rm_mmu.c346 pte = be64_to_cpu(hpte[0]); in kvmppc_do_h_enter()
600 hp0 = be64_to_cpu(hp[0]); in kvmppc_h_bulk_remove()
601 hp1 = be64_to_cpu(hp[1]); in kvmppc_h_bulk_remove()
663 be64_to_cpu(hp[0]), be64_to_cpu(hp[1])); in kvmppc_h_bulk_remove()
766 r = be64_to_cpu(hpte[1]); in kvmppc_h_read()
805 v = be64_to_cpu(hpte[0]); in kvmppc_h_clear_ref()
806 r = be64_to_cpu(hpte[1]); in kvmppc_h_clear_ref()
853 v = be64_to_cpu(hpte[0]); in kvmppc_h_clear_mod()
854 r = be64_to_cpu(hpte[1]); in kvmppc_h_clear_mod()
867 r = be64_to_cpu(hpte[1]); in kvmppc_h_clear_mod()
[all …]
/openbmc/linux/fs/omfs/
H A Dfile.c70 next = be64_to_cpu(oe->e_next); in omfs_shrink_inode()
76 start = be64_to_cpu(entry->e_cluster); in omfs_shrink_inode()
77 count = be64_to_cpu(entry->e_blocks); in omfs_shrink_inode()
145 new_block = be64_to_cpu(entry->e_cluster) + in omfs_grow_extent()
146 be64_to_cpu(entry->e_blocks); in omfs_grow_extent()
151 be64_to_cpu(~terminator->e_blocks) + 1)); in omfs_grow_extent()
176 be64_to_cpu(~terminator->e_blocks) + (u64) new_count)); in omfs_grow_extent()
198 be64_to_cpu(ent->e_blocks)); in find_block()
208 be64_to_cpu(ent->e_cluster)) + in find_block()
247 next = be64_to_cpu(oe->e_next); in omfs_get_block()
H A Ddir.c60 block = be64_to_cpu(oi->i_sibling); in omfs_scan_list()
78 block = be64_to_cpu(*((__be64 *) &bh->b_data[ofs])); in omfs_find_entry()
128 block = be64_to_cpu(*entry); in omfs_add_link()
175 block = be64_to_cpu(*entry); in omfs_delete_entry()
306 ino_t ino = be64_to_cpu(oi->i_head.h_self); in omfs_lookup()
320 u64 ino = be64_to_cpu(header->h_self); in omfs_is_bad()
350 fsblock = be64_to_cpu(oi->i_sibling); in omfs_fill_chain()
438 __u64 fsblock = be64_to_cpu(*p++); in omfs_readdir()
H A Dinode.c224 if (ino != be64_to_cpu(oi->i_head.h_self)) in omfs_iget()
230 ctime = be64_to_cpu(oi->i_ctime); in omfs_iget()
252 inode->i_size = be64_to_cpu(oi->i_size); in omfs_iget()
498 sbi->s_num_blocks = be64_to_cpu(omfs_sb->s_num_blocks); in omfs_fill_super()
501 sbi->s_root_ino = be64_to_cpu(omfs_sb->s_root_block); in omfs_fill_super()
537 bh2 = omfs_bread(sb, be64_to_cpu(omfs_sb->s_root_block)); in omfs_fill_super()
543 sbi->s_bitmap_ino = be64_to_cpu(omfs_rb->r_bitmap); in omfs_fill_super()
546 if (sbi->s_num_blocks != be64_to_cpu(omfs_rb->r_num_blocks)) { in omfs_fill_super()
550 (unsigned long long)be64_to_cpu(omfs_rb->r_num_blocks)); in omfs_fill_super()
575 root = omfs_iget(sb, be64_to_cpu(omfs_rb->r_root_dir)); in omfs_fill_super()
/openbmc/linux/drivers/scsi/csiostor/
H A Dcsio_attr.c341 be64_to_cpu(fcoe_port_stats.tx_mcast_frames) + in csio_get_stats()
342 be64_to_cpu(fcoe_port_stats.tx_ucast_frames) + in csio_get_stats()
343 be64_to_cpu(fcoe_port_stats.tx_offload_frames)); in csio_get_stats()
345 be64_to_cpu(fcoe_port_stats.tx_mcast_bytes) + in csio_get_stats()
346 be64_to_cpu(fcoe_port_stats.tx_ucast_bytes) + in csio_get_stats()
347 be64_to_cpu(fcoe_port_stats.tx_offload_bytes)) / in csio_get_stats()
350 be64_to_cpu(fcoe_port_stats.rx_mcast_frames) + in csio_get_stats()
351 be64_to_cpu(fcoe_port_stats.rx_ucast_frames)); in csio_get_stats()
352 fhs->rx_words += (be64_to_cpu(fcoe_port_stats.rx_bcast_bytes) + in csio_get_stats()
353 be64_to_cpu(fcoe_port_stats.rx_mcast_bytes) + in csio_get_stats()
[all …]
/openbmc/linux/include/crypto/
H A Dgf128mul.h184 u64 a = be64_to_cpu(x->a); in gf128mul_x_lle()
185 u64 b = be64_to_cpu(x->b); in gf128mul_x_lle()
197 u64 a = be64_to_cpu(x->a); in gf128mul_x_bbe()
198 u64 b = be64_to_cpu(x->b); in gf128mul_x_bbe()
/openbmc/linux/arch/powerpc/sysdev/xive/
H A Dnative.c63 opal_flags = be64_to_cpu(flags); in xive_native_populate_irq_data()
70 data->eoi_page = be64_to_cpu(eoi_page); in xive_native_populate_irq_data()
71 data->trig_page = be64_to_cpu(trig_page); in xive_native_populate_irq_data()
122 *target = be64_to_cpu(vp); in xive_native_get_irq_config()
161 q->eoi_phys = be64_to_cpu(qeoi_page_be); in xive_native_configure_queue()
424 vp_cam = be64_to_cpu(vp_cam_be); in xive_native_setup_cpu()
803 *out_qpage = be64_to_cpu(qpage); in xive_native_get_queue_info()
805 *out_qsize = be64_to_cpu(qsize); in xive_native_get_queue_info()
807 *out_qeoi_page = be64_to_cpu(qeoi_page); in xive_native_get_queue_info()
811 *out_qflags = be64_to_cpu(qflags); in xive_native_get_queue_info()
[all …]
/openbmc/linux/arch/powerpc/boot/
H A Dopal.c49 len = be64_to_cpu(olen); in opal_con_putc()
74 opal.base = be64_to_cpu(opal.base); in opal_init()
77 opal.entry = be64_to_cpu(opal.entry); in opal_init()

12345678910>>...18