/openbmc/linux/net/netfilter/ |
H A D | nft_quota.c | 150 if (nla_put_be64(skb, NFTA_QUOTA_BYTES, cpu_to_be64(quota), in nft_quota_do_dump() 152 nla_put_be64(skb, NFTA_QUOTA_CONSUMED, cpu_to_be64(consumed_cap), in nft_quota_do_dump()
|
H A D | nfnetlink_acct.c | 170 if (nla_put_be64(skb, NFACCT_PKTS, cpu_to_be64(pkts), in nfnl_acct_fill_info() 172 nla_put_be64(skb, NFACCT_BYTES, cpu_to_be64(bytes), in nfnl_acct_fill_info() 180 nla_put_be64(skb, NFACCT_QUOTA, cpu_to_be64(*quota), in nfnl_acct_fill_info()
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | sm4-ce-gcm-glue.c | 151 lengths.a = cpu_to_be64(req->assoclen * 8); in gcm_crypt() 152 lengths.b = cpu_to_be64(walk->total * 8); in gcm_crypt()
|
/openbmc/qemu/block/ |
H A D | vpc.c | 871 dyndisk_header.data_offset = cpu_to_be64(0xFFFFFFFFFFFFFFFFULL); in create_dynamic_disk() 872 dyndisk_header.table_offset = cpu_to_be64(3 * 512); in create_dynamic_disk() 1055 footer.data_offset = cpu_to_be64(sizeof(footer)); in vpc_co_create() 1057 footer.data_offset = cpu_to_be64(0xFFFFFFFFFFFFFFFFULL); in vpc_co_create() 1064 footer.orig_size = cpu_to_be64(total_size); in vpc_co_create() 1065 footer.current_size = cpu_to_be64(total_size); in vpc_co_create()
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_ag.c | 600 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_FS); in xfs_rmaproot_init() 607 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_AG); in xfs_rmaproot_init() 615 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_INOBT); in xfs_rmaproot_init() 622 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_AG); in xfs_rmaproot_init() 630 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_REFC); in xfs_rmaproot_init() 642 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_LOG); in xfs_rmaproot_init()
|
H A D | xfs_btree.c | 75 if (dsibling == cpu_to_be64(NULLFSBLOCK)) in xfs_btree_check_lblock_siblings() 1076 if (b->bb_u.l.bb_leftsib == cpu_to_be64(NULLFSBLOCK)) in xfs_btree_setbuf() 1094 return ptr->l == cpu_to_be64(NULLFSBLOCK); in xfs_btree_ptr_is_null() 1105 ptr->l = cpu_to_be64(NULLFSBLOCK); in xfs_btree_set_ptr_null() 1176 buf->bb_u.l.bb_leftsib = cpu_to_be64(NULLFSBLOCK); in xfs_btree_init_block_int() 1177 buf->bb_u.l.bb_rightsib = cpu_to_be64(NULLFSBLOCK); in xfs_btree_init_block_int() 1179 buf->bb_u.l.bb_blkno = cpu_to_be64(blkno); in xfs_btree_init_block_int() 1180 buf->bb_u.l.bb_owner = cpu_to_be64(owner); in xfs_btree_init_block_int() 1192 buf->bb_u.s.bb_blkno = cpu_to_be64(blkno); in xfs_btree_init_block_int() 1269 ptr->l = cpu_to_be64(XFS_DADDR_TO_FSB(cur->bc_mp, in xfs_btree_buf_to_ptr() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_offload.c | 334 data.bitwise_data = cpu_to_be64(BIT_ULL(54)); in mlx5e_ipsec_update_esn_state() 346 data.bitwise_data = cpu_to_be64(BIT_ULL(57) + BIT_ULL(31)); in mlx5e_ipsec_aso_update_hard() 358 data.bitwise_data = cpu_to_be64(val); in mlx5e_ipsec_aso_update_soft() 359 data.data_mask = cpu_to_be64(U32_MAX); in mlx5e_ipsec_aso_update_soft()
|
/openbmc/linux/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 242 req->opt0 = cpu_to_be64(opt0); in send_act_open_req() 266 req->opt0 = cpu_to_be64(opt0); in send_act_open_req() 267 req->params = cpu_to_be64(FILTER_TUPLE_V( in send_act_open_req() 294 req->opt0 = cpu_to_be64(opt0); in send_act_open_req() 295 req->params = cpu_to_be64(FILTER_TUPLE_V( in send_act_open_req() 367 req->opt0 = cpu_to_be64(opt0); in send_act_open_req6() 390 req->opt0 = cpu_to_be64(opt0); in send_act_open_req6() 413 req->opt0 = cpu_to_be64(opt0); in send_act_open_req6() 2096 req->mask = cpu_to_be64(0x3 << 8); in ddp_setup_conn_pgidx() 2097 req->val = cpu_to_be64(pg_idx << 8); in ddp_setup_conn_pgidx() [all …]
|
/openbmc/linux/drivers/scsi/csiostor/ |
H A D | csio_mb.c | 528 cmdp->iqaddr |= cpu_to_be64(iq_params->iqaddr); in csio_mb_iq_write() 553 cmdp->fl0addr |= cpu_to_be64(iq_params->fl0addr); in csio_mb_iq_write() 737 cmdp->eqaddr |= cpu_to_be64(eq_ofld_params->eqaddr); in csio_mb_eq_ofld_write() 1168 cmd[i / 8] = cpu_to_be64(csio_rd_reg64(hw, data_reg + i)); in csio_mb_debug_cmd_handler() 1312 hdr = cpu_to_be64(csio_rd_reg64(hw, data_reg)); in csio_mb_issue() 1323 *cmd++ = cpu_to_be64(csio_rd_reg64 in csio_mb_issue() 1518 hdr = cpu_to_be64(csio_rd_reg64(hw, data_reg)); in csio_mb_isr_handler() 1537 *cmd++ = cpu_to_be64(csio_rd_reg64 in csio_mb_isr_handler()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | uverbs_marshall.c | 36 #define OPA_DEFAULT_GID_PREFIX cpu_to_be64(0xfe80000000000000ULL) 56 cpu_to_be64(port_attr.subnet_prefix)); in rdma_ah_conv_opa_to_ib()
|
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_hw.c | 34 req->mask = cpu_to_be64(mask); in __set_tcb_field_direct() 35 req->val = cpu_to_be64(val); in __set_tcb_field_direct() 240 kctx->iv_to_auth = cpu_to_be64(KEYCTX_TX_WR_IV_V(6ULL) | in chtls_rxkey_ivauth()
|
/openbmc/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_main.c | 57 cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS1), in gve_verify_driver_compatibility() 58 cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS2), in gve_verify_driver_compatibility() 59 cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS3), in gve_verify_driver_compatibility() 60 cpu_to_be64(GVE_DRIVER_CAPABILITY_FLAGS4), in gve_verify_driver_compatibility() 1949 .value = cpu_to_be64(priv->tx[idx].wake_queue), in gve_handle_report_stats() 1954 .value = cpu_to_be64(priv->tx[idx].stop_queue), in gve_handle_report_stats() 1959 .value = cpu_to_be64(tx_frames), in gve_handle_report_stats() 1964 .value = cpu_to_be64(tx_bytes), in gve_handle_report_stats() 1969 .value = cpu_to_be64(last_completion), in gve_handle_report_stats() 1984 .value = cpu_to_be64(priv->rx[idx].desc.seqno), in gve_handle_report_stats() [all …]
|
/openbmc/linux/include/crypto/ |
H A D | sha1_base.h | 90 *bits = cpu_to_be64(sctx->count << 3); in sha1_base_do_finalize()
|
H A D | sm3_base.h | 93 *bits = cpu_to_be64(sctx->count << 3); in sm3_base_do_finalize()
|
H A D | sha256_base.h | 100 *bits = cpu_to_be64(sctx->count << 3); in lib_sha256_base_do_finalize()
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | sha1.c | 69 bits = cpu_to_be64(sctx->count << 3); in powerpc_sha1_final()
|
H A D | aes-gcm-p10-glue.c | 146 __be64 clen = cpu_to_be64(len << 3); in finish_tag() 147 __be64 alen = cpu_to_be64(gctx->aadLen << 3); in finish_tag()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_selftest.c | 136 mlxh->magic = cpu_to_be64(MLX5E_TEST_MAGIC); in mlx5e_test_get_udp_skb() 186 if (mlxh->magic != cpu_to_be64(MLX5E_TEST_MAGIC)) in mlx5e_test_loopback_validate()
|
/openbmc/linux/lib/crypto/ |
H A D | aesgcm.c | 79 be128 tail = { cpu_to_be64(assoc_len * 8), cpu_to_be64(src_len * 8) }; in aesgcm_mac()
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | slb.c | 78 WRITE_ONCE(p->save_area[index].vsid, cpu_to_be64(mk_vsid_data(ea, ssize, flags))); in slb_shadow_update() 79 WRITE_ONCE(p->save_area[index].esid, cpu_to_be64(mk_esid_data(ea, ssize, index))); in slb_shadow_update() 84 WRITE_ONCE(get_slb_shadow()->save_area[index].esid, cpu_to_be64(index)); in slb_shadow_clear()
|
/openbmc/linux/drivers/infiniband/sw/siw/ |
H A D | siw_qp_tx.c | 138 cpu_to_be64(wqe->sqe.sge[0].laddr); in siw_qp_prepare_tx() 140 c_tx->pkt.rreq.source_to = cpu_to_be64(wqe->sqe.raddr); in siw_qp_prepare_tx() 197 c_tx->pkt.rwrite.sink_to = cpu_to_be64(wqe->sqe.raddr); in siw_qp_prepare_tx() 211 c_tx->pkt.rresp.sink_to = cpu_to_be64(wqe->sqe.raddr); in siw_qp_prepare_tx() 245 cpu_to_be64(wqe->sqe.raddr); in siw_qp_prepare_tx() 729 cpu_to_be64(wqe->sqe.raddr + wqe->processed); in siw_prepare_fpdu()
|
/openbmc/linux/fs/ufs/ |
H A D | swab.h | 41 return (__force __fs64)cpu_to_be64(n); in cpu_to_fs64()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_resources.c | 83 context->db_rec_addr = cpu_to_be64(priv->res.db.dma << 2); in mlx4_en_fill_qp_context()
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-hash.c | 310 *bebits = cpu_to_be64(byte_count << 3); in hash_pad() 315 *bebits = cpu_to_be64(byte_count >> 61); in hash_pad() 318 *bebits = cpu_to_be64(byte_count << 3); in hash_pad()
|
/openbmc/linux/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_ddp.c | 28 ppod->addr[i] = cpu_to_be64(addr + offset); in cxgbit_set_one_ppod() 60 ppod->addr[i] = sg ? cpu_to_be64(addr + offset) : 0ULL; in cxgbit_set_one_ppod()
|