Home
last modified time | relevance | path

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

1234567891011

/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_port.c143 ret += be64_to_cpu(*curr); in en_stats_adder()
310 stats->rx_errors = be64_to_cpu(mlx4_en_stats->PCS) + in mlx4_en_DUMP_ETH_STATS()
314 be64_to_cpu(mlx4_en_stats->RInRangeLengthErr) + in mlx4_en_DUMP_ETH_STATS()
315 be64_to_cpu(mlx4_en_stats->ROutRangeLengthErr) + in mlx4_en_DUMP_ETH_STATS()
342 be64_to_cpu(mlx4_en_stats->RInRangeLengthErr); in mlx4_en_DUMP_ETH_STATS()
344 be64_to_cpu(mlx4_en_stats->ROutRangeLengthErr); in mlx4_en_DUMP_ETH_STATS()
356 priv->pkstats.rx_prio[0][0] = be64_to_cpu(mlx4_en_stats->RTOT_prio_0); in mlx4_en_DUMP_ETH_STATS()
357 priv->pkstats.rx_prio[0][1] = be64_to_cpu(mlx4_en_stats->ROCT_prio_0); in mlx4_en_DUMP_ETH_STATS()
358 priv->pkstats.rx_prio[1][0] = be64_to_cpu(mlx4_en_stats->RTOT_prio_1); in mlx4_en_DUMP_ETH_STATS()
359 priv->pkstats.rx_prio[1][1] = be64_to_cpu(mlx4_en_stats->ROCT_prio_1); in mlx4_en_DUMP_ETH_STATS()
[all …]
/linux/arch/powerpc/platforms/pseries/
H A Drtas-fadump.c57 addr = be64_to_cpu(fdm->rgn[i].destination_address); in rtas_fadump_get_config()
70 base = be64_to_cpu(fdm->rgn[i].source_address); in rtas_fadump_get_config()
71 size = be64_to_cpu(fdm->rgn[i].source_len); in rtas_fadump_get_config()
75 be64_to_cpu(fdm->rgn[i].destination_address); in rtas_fadump_get_config()
86 fadump_conf->param_area = be64_to_cpu(fdm->rgn[i].destination_address); in rtas_fadump_get_config()
338 while (be64_to_cpu(reg_entry->reg_id) != fadump_str_to_u64("CPUEND")) { in rtas_fadump_read_regs()
339 rtas_fadump_set_regval(regs, be64_to_cpu(reg_entry->reg_id), in rtas_fadump_read_regs()
340 be64_to_cpu(reg_entry->reg_value)); in rtas_fadump_read_regs()
374 if (be64_to_cpu(reg_header->magic_number) != in rtas_fadump_build_cpu_notes()
381 pr_debug("Magic Number: %llx\n", be64_to_cpu(reg_header->magic_number)); in rtas_fadump_build_cpu_notes()
[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 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()
H A Dhvconsole.c35 lbuf[0] = be64_to_cpu(retbuf[1]); in hvc_get_chars()
36 lbuf[1] = be64_to_cpu(retbuf[2]); in hvc_get_chars()
/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()
98 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_ast()
108 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
109 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_ast()
155 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_bast()
156 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_bast()
203 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_do_local_ast()
204 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in dlm_do_local_ast()
[all …]
/linux/arch/powerpc/platforms/powernv/
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()
104 fadump_conf->boot_mem_dest_addr = be64_to_cpu(fdm->rgn[0].dest); in opal_fadump_update_config()
108 fadump_conf->fadumphdr_addr = be64_to_cpu(fdm->fadumphdr_addr); in opal_fadump_update_config()
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()
146 fadump_conf->reserve_dump_area_start = be64_to_cpu(fdm->rgn[0].dest); 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()
212 opal_fdm->fadumphdr_addr = cpu_to_be64(be64_to_cpu(opal_fdm->rgn[0].dest) + in opal_fadump_init_mem_struct()
[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.c1264 be64_to_cpu(data->gemXfir), in pnv_eeh_dump_hub_diag_common()
1265 be64_to_cpu(data->gemRfir), in pnv_eeh_dump_hub_diag_common()
1266 be64_to_cpu(data->gemRirqfir), in pnv_eeh_dump_hub_diag_common()
1267 be64_to_cpu(data->gemMask), in pnv_eeh_dump_hub_diag_common()
1268 be64_to_cpu(data->gemRwof)); in pnv_eeh_dump_hub_diag_common()
1274 be64_to_cpu(data->lemFir), in pnv_eeh_dump_hub_diag_common()
1275 be64_to_cpu(data->lemErrMask), in pnv_eeh_dump_hub_diag_common()
1276 be64_to_cpu(data->lemAction0), in pnv_eeh_dump_hub_diag_common()
1277 be64_to_cpu(data->lemAction1), in pnv_eeh_dump_hub_diag_common()
1278 be64_to_cpu(data->lemWof)); in pnv_eeh_dump_hub_diag_common()
[all …]
/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()
/linux/arch/powerpc/kvm/
H A Dbook3s_hv_rm_mmu.c309 if ((be64_to_cpu(*hpte) & HPTE_V_VALID) == 0 && in kvmppc_do_h_enter()
327 pte = be64_to_cpu(hpte[0]); in kvmppc_do_h_enter()
346 pte = be64_to_cpu(hpte[0]); in kvmppc_do_h_enter()
501 pte = orig_pte = be64_to_cpu(hpte[0]); in kvmppc_do_h_remove()
502 pte_r = be64_to_cpu(hpte[1]); in kvmppc_do_h_remove()
530 be64_to_cpu(hpte[1])); in kvmppc_do_h_remove()
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()
691 v = pte_v = be64_to_cpu(hpte[0]); in kvmppc_h_protect()
[all …]
H A Dbook3s_pr_papr.c60 if ((be64_to_cpu(*hpte) & HPTE_V_VALID) == 0) in kvmppc_h_pr_enter()
100 pte[0] = be64_to_cpu((__force __be64)pte[0]); in kvmppc_h_pr_remove()
101 pte[1] = be64_to_cpu((__force __be64)pte[1]); in kvmppc_h_pr_remove()
183 pte[0] = be64_to_cpu((__force __be64)pte[0]); in kvmppc_h_pr_bulk_remove()
184 pte[1] = be64_to_cpu((__force __be64)pte[1]); in kvmppc_h_pr_bulk_remove()
228 pte[0] = be64_to_cpu((__force __be64)pte[0]); in kvmppc_h_pr_protect()
229 pte[1] = be64_to_cpu((__force __be64)pte[1]); in kvmppc_h_pr_protect()
/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 Dinode.c226 if (ino != be64_to_cpu(oi->i_head.h_self)) in omfs_iget()
232 ctime = be64_to_cpu(oi->i_ctime); in omfs_iget()
252 inode->i_size = be64_to_cpu(oi->i_size); in omfs_iget()
497 sbi->s_num_blocks = be64_to_cpu(omfs_sb->s_num_blocks); in omfs_fill_super()
500 sbi->s_root_ino = be64_to_cpu(omfs_sb->s_root_block); in omfs_fill_super()
536 bh2 = omfs_bread(sb, be64_to_cpu(omfs_sb->s_root_block)); in omfs_fill_super()
542 sbi->s_bitmap_ino = be64_to_cpu(omfs_rb->r_bitmap); in omfs_fill_super()
545 if (sbi->s_num_blocks != be64_to_cpu(omfs_rb->r_num_blocks)) { in omfs_fill_super()
549 (unsigned long long)be64_to_cpu(omfs_rb->r_num_blocks)); in omfs_fill_super()
574 root = omfs_iget(sb, be64_to_cpu(omfs_rb->r_root_dir)); in omfs_fill_super()
/linux/fs/xfs/libxfs/
H A Dxfs_rmap_btree.c204 if (XFS_RMAP_NON_INODE_OWNER(be64_to_cpu(rec->rmap.rm_owner)) || in xfs_rmapbt_init_high_key_from_rec()
205 XFS_RMAP_IS_BMBT_BLOCK(be64_to_cpu(rec->rmap.rm_offset))) in xfs_rmapbt_init_high_key_from_rec()
207 off = be64_to_cpu(key->rmap.rm_offset); in xfs_rmapbt_init_high_key_from_rec()
255 cmp_int(be64_to_cpu(kp->rm_owner), rec->rm_owner) ?: in xfs_rmapbt_cmp_key_with_cur()
256 cmp_int(offset_keymask(be64_to_cpu(kp->rm_offset)), in xfs_rmapbt_cmp_key_with_cur()
280 d = cmp_int(be64_to_cpu(kp1->rm_owner), in xfs_rmapbt_cmp_two_keys()
281 be64_to_cpu(kp2->rm_owner)); in xfs_rmapbt_cmp_two_keys()
290 d = cmp_int(offset_keymask(be64_to_cpu(kp1->rm_offset)), in xfs_rmapbt_cmp_two_keys()
291 offset_keymask(be64_to_cpu(kp2->rm_offset))); in xfs_rmapbt_cmp_two_keys()
410 a = be64_to_cpu(k1->rmap.rm_owner); in xfs_rmapbt_keys_inorder()
[all …]
H A Dxfs_rtrmap_btree.c150 if (XFS_RMAP_NON_INODE_OWNER(be64_to_cpu(rec->rmap.rm_owner)) || in xfs_rtrmapbt_init_high_key_from_rec()
151 XFS_RMAP_IS_BMBT_BLOCK(be64_to_cpu(rec->rmap.rm_offset))) in xfs_rtrmapbt_init_high_key_from_rec()
153 off = be64_to_cpu(key->rmap.rm_offset); in xfs_rtrmapbt_init_high_key_from_rec()
197 cmp_int(be64_to_cpu(kp->rm_owner), rec->rm_owner) ?: in xfs_rtrmapbt_cmp_key_with_cur()
198 cmp_int(offset_keymask(be64_to_cpu(kp->rm_offset)), in xfs_rtrmapbt_cmp_key_with_cur()
222 d = cmp_int(be64_to_cpu(kp1->rm_owner), in xfs_rtrmapbt_cmp_two_keys()
223 be64_to_cpu(kp2->rm_owner)); in xfs_rtrmapbt_cmp_two_keys()
232 d = cmp_int(offset_keymask(be64_to_cpu(kp1->rm_offset)), in xfs_rtrmapbt_cmp_two_keys()
233 offset_keymask(be64_to_cpu(kp2->rm_offset))); in xfs_rtrmapbt_cmp_two_keys()
324 a = be64_to_cpu(k1->rmap.rm_owner); in xfs_rtrmapbt_keys_inorder()
[all …]
H A Dxfs_inode_buf.c168 return xfs_inode_decode_bigtime(be64_to_cpu(ts)); in xfs_inode_from_disk_ts()
240 ip->i_disk_size = be64_to_cpu(from->di_size); in xfs_inode_from_disk()
241 ip->i_nblocks = be64_to_cpu(from->di_nblocks); in xfs_inode_from_disk()
252 be64_to_cpu(from->di_changecount)); in xfs_inode_from_disk()
254 ip->i_diflags2 = be64_to_cpu(from->di_flags2); in xfs_inode_from_disk()
399 be64_to_cpu(dip->di_size) <= fork_size && in xfs_dinode_verify_fork()
411 if (be64_to_cpu(dip->di_size) <= fork_size && in xfs_dinode_verify_fork()
422 if (be64_to_cpu(dip->di_size) > fork_size && in xfs_dinode_verify_fork()
613 if (be64_to_cpu(dip->di_ino) != ino) in xfs_dinode_verify()
637 di_size = be64_to_cpu(dip->di_size); in xfs_dinode_verify()
[all …]
H A Dxfs_bmap_btree.c101 return (xfs_filblks_t)(be64_to_cpu(r->l1) & xfs_mask64lo(21)); in xfs_bmbt_disk_get_blockcount()
111 return ((xfs_fileoff_t)be64_to_cpu(r->l0) & in xfs_bmbt_disk_get_startoff()
237 error = xfs_alloc_vextent_start_ag(&args, be64_to_cpu(start->l)); in xfs_bmbt_alloc_block()
377 return cmp_int(be64_to_cpu(key->bmbt.br_startoff), in xfs_bmbt_cmp_key_with_cur()
390 return cmp_int(be64_to_cpu(k1->bmbt.br_startoff), in xfs_bmbt_cmp_two_keys()
391 be64_to_cpu(k2->bmbt.br_startoff)); in xfs_bmbt_cmp_two_keys()
479 return be64_to_cpu(k1->bmbt.br_startoff) < in xfs_bmbt_keys_inorder()
480 be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_keys_inorder()
503 return xbtree_key_contig(be64_to_cpu(key1->bmbt.br_startoff), in xfs_bmbt_keys_contiguous()
504 be64_to_cpu(key2->bmbt.br_startoff)); in xfs_bmbt_keys_contiguous()
/linux/drivers/scsi/csiostor/
H A Dcsio_attr.c340 fhs->tx_frames += (be64_to_cpu(fcoe_port_stats.tx_bcast_frames) + in csio_get_stats()
341 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()
344 fhs->tx_words += (be64_to_cpu(fcoe_port_stats.tx_bcast_bytes) + 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()
349 fhs->rx_frames += (be64_to_cpu(fcoe_port_stats.rx_bcast_frames) + in csio_get_stats()
350 be64_to_cpu(fcoe_port_stats.rx_mcast_frames) + in csio_get_stats()
[all …]
/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()
/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()
254 ev_name ?: "<unknown>", be64_to_cpu(*p)); in s390_cpumcfdg_dump()
302 pai_data.event_val = be64_to_cpu(pai_data.event_val); in s390_pai_all_dump()
/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()
760 *out_cam_id = be64_to_cpu(vp_cam_be) & 0xffffffffu; in xive_native_get_vp_info()
801 *out_qpage = be64_to_cpu(qpage); in xive_native_get_queue_info()
803 *out_qsize = be64_to_cpu(qsize); in xive_native_get_queue_info()
805 *out_qeoi_page = be64_to_cpu(qeoi_page); in xive_native_get_queue_info()
[all …]
/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()
/linux/net/rds/
H A Dthreads.c280 if (be64_to_cpu(*a1) < be64_to_cpu(*a2)) in rds_addr_cmp()
285 x = be64_to_cpu(*++a1); in rds_addr_cmp()
286 y = be64_to_cpu(*++a2); in rds_addr_cmp()
/linux/include/rdma/
H A Dopa_addr.h35 return ((be64_to_cpu(gid->global.interface_id) >> 40) == in ib_is_opa_gid()
48 return be64_to_cpu(gid->global.interface_id) & 0xFFFFFFFF; in opa_get_lid_from_gid()

1234567891011