Home
last modified time | relevance | path

Searched refs:cpu_to_be32 (Results 1 - 25 of 1671) sorted by relevance

12345678910>>...67

/kernel/linux/linux-5.10/fs/nfsd/
H A Dnfsd.h178 #define nfs_ok cpu_to_be32(NFS_OK)
179 #define nfserr_perm cpu_to_be32(NFSERR_PERM)
180 #define nfserr_noent cpu_to_be32(NFSERR_NOENT)
181 #define nfserr_io cpu_to_be32(NFSERR_IO)
182 #define nfserr_nxio cpu_to_be32(NFSERR_NXIO)
183 #define nfserr_eagain cpu_to_be32(NFSERR_EAGAIN)
184 #define nfserr_acces cpu_to_be32(NFSERR_ACCES)
185 #define nfserr_exist cpu_to_be32(NFSERR_EXIST)
186 #define nfserr_xdev cpu_to_be32(NFSERR_XDEV)
187 #define nfserr_nodev cpu_to_be32(NFSERR_NODE
[all...]
H A Dflexfilelayoutxdr.c51 *p++ = cpu_to_be32(len); in nfsd4_ff_encode_layoutget()
54 *p++ = cpu_to_be32(1); /* single mirror */ in nfsd4_ff_encode_layoutget()
55 *p++ = cpu_to_be32(1); /* single data server */ in nfsd4_ff_encode_layoutget()
60 *p++ = cpu_to_be32(1); /* efficiency */ in nfsd4_ff_encode_layoutget()
62 *p++ = cpu_to_be32(fl->stateid.si_generation); in nfsd4_ff_encode_layoutget()
66 *p++ = cpu_to_be32(1); /* single file handle */ in nfsd4_ff_encode_layoutget()
72 *p++ = cpu_to_be32(fl->flags); in nfsd4_ff_encode_layoutget()
73 *p++ = cpu_to_be32(0); /* No stats collect hint */ in nfsd4_ff_encode_layoutget()
111 *p++ = cpu_to_be32(len); in nfsd4_ff_encode_getdeviceinfo()
112 *p++ = cpu_to_be32( in nfsd4_ff_encode_getdeviceinfo()
[all...]
/kernel/linux/linux-6.6/fs/nfsd/
H A Dnfsd.h198 #define nfs_ok cpu_to_be32(NFS_OK)
199 #define nfserr_perm cpu_to_be32(NFSERR_PERM)
200 #define nfserr_noent cpu_to_be32(NFSERR_NOENT)
201 #define nfserr_io cpu_to_be32(NFSERR_IO)
202 #define nfserr_nxio cpu_to_be32(NFSERR_NXIO)
203 #define nfserr_eagain cpu_to_be32(NFSERR_EAGAIN)
204 #define nfserr_acces cpu_to_be32(NFSERR_ACCES)
205 #define nfserr_exist cpu_to_be32(NFSERR_EXIST)
206 #define nfserr_xdev cpu_to_be32(NFSERR_XDEV)
207 #define nfserr_nodev cpu_to_be32(NFSERR_NODE
[all...]
H A Dflexfilelayoutxdr.c51 *p++ = cpu_to_be32(len); in nfsd4_ff_encode_layoutget()
54 *p++ = cpu_to_be32(1); /* single mirror */ in nfsd4_ff_encode_layoutget()
55 *p++ = cpu_to_be32(1); /* single data server */ in nfsd4_ff_encode_layoutget()
60 *p++ = cpu_to_be32(1); /* efficiency */ in nfsd4_ff_encode_layoutget()
62 *p++ = cpu_to_be32(fl->stateid.si_generation); in nfsd4_ff_encode_layoutget()
66 *p++ = cpu_to_be32(1); /* single file handle */ in nfsd4_ff_encode_layoutget()
72 *p++ = cpu_to_be32(fl->flags); in nfsd4_ff_encode_layoutget()
73 *p++ = cpu_to_be32(0); /* No stats collect hint */ in nfsd4_ff_encode_layoutget()
111 *p++ = cpu_to_be32(len); in nfsd4_ff_encode_getdeviceinfo()
112 *p++ = cpu_to_be32( in nfsd4_ff_encode_getdeviceinfo()
[all...]
/kernel/linux/linux-5.10/drivers/crypto/
H A Dtalitos.h328 #define DESC_HDR_DONE cpu_to_be32(0xff000000)
329 #define DESC_HDR_LO_ICCR1_MASK cpu_to_be32(0x00180000)
330 #define DESC_HDR_LO_ICCR1_PASS cpu_to_be32(0x00080000)
331 #define DESC_HDR_LO_ICCR1_FAIL cpu_to_be32(0x00100000)
334 #define DESC_HDR_SEL0_MASK cpu_to_be32(0xf0000000)
335 #define DESC_HDR_SEL0_AFEU cpu_to_be32(0x10000000)
336 #define DESC_HDR_SEL0_DEU cpu_to_be32(0x20000000)
337 #define DESC_HDR_SEL0_MDEUA cpu_to_be32(0x30000000)
338 #define DESC_HDR_SEL0_MDEUB cpu_to_be32(0xb0000000)
339 #define DESC_HDR_SEL0_RNG cpu_to_be32(
[all...]
/kernel/linux/linux-6.6/drivers/crypto/
H A Dtalitos.h328 #define DESC_HDR_DONE cpu_to_be32(0xff000000)
329 #define DESC_HDR_LO_ICCR1_MASK cpu_to_be32(0x00180000)
330 #define DESC_HDR_LO_ICCR1_PASS cpu_to_be32(0x00080000)
331 #define DESC_HDR_LO_ICCR1_FAIL cpu_to_be32(0x00100000)
334 #define DESC_HDR_SEL0_MASK cpu_to_be32(0xf0000000)
335 #define DESC_HDR_SEL0_AFEU cpu_to_be32(0x10000000)
336 #define DESC_HDR_SEL0_DEU cpu_to_be32(0x20000000)
337 #define DESC_HDR_SEL0_MDEUA cpu_to_be32(0x30000000)
338 #define DESC_HDR_SEL0_MDEUB cpu_to_be32(0xb0000000)
339 #define DESC_HDR_SEL0_RNG cpu_to_be32(
[all...]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_ag.c79 arec->ar_startblock = cpu_to_be32(mp->m_ag_prealloc_blocks); in xfs_freesp_init_recs()
91 arec->ar_blockcount = cpu_to_be32(start - in xfs_freesp_init_recs()
99 nrec->ar_startblock = cpu_to_be32( in xfs_freesp_init_recs()
117 arec->ar_blockcount = cpu_to_be32(id->agsize - in xfs_freesp_init_recs()
171 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
177 rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
178 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init()
184 rrec->rm_startblock = cpu_to_be32(XFS_IBT_BLOCK(mp)); in xfs_rmaproot_init()
185 rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - in xfs_rmaproot_init()
192 rrec->rm_startblock = cpu_to_be32(XFS_RMAP_BLOC in xfs_rmaproot_init()
[all...]
H A Dxfs_dir2_data.c130 case cpu_to_be32(XFS_DIR3_BLOCK_MAGIC): in __xfs_dir3_data_check()
131 case cpu_to_be32(XFS_DIR2_BLOCK_MAGIC): in __xfs_dir3_data_check()
139 case cpu_to_be32(XFS_DIR3_DATA_MAGIC): in __xfs_dir3_data_check()
140 case cpu_to_be32(XFS_DIR2_DATA_MAGIC): in __xfs_dir3_data_check()
231 if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in __xfs_dir3_data_check()
232 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) { in __xfs_dir3_data_check()
254 if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in __xfs_dir3_data_check()
255 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) { in __xfs_dir3_data_check()
258 cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in __xfs_dir3_data_check()
323 case cpu_to_be32(XFS_DIR2_BLOCK_MAGI in xfs_dir3_data_reada_verify()
[all...]
/kernel/linux/linux-5.10/include/linux/sunrpc/
H A Drpc_rdma.h49 #define rpcrdma_version cpu_to_be32(RPCRDMA_VERSION)
84 #define rdma_msg cpu_to_be32(RDMA_MSG)
85 #define rdma_nomsg cpu_to_be32(RDMA_NOMSG)
86 #define rdma_msgp cpu_to_be32(RDMA_MSGP)
87 #define rdma_done cpu_to_be32(RDMA_DONE)
88 #define rdma_error cpu_to_be32(RDMA_ERROR)
90 #define err_vers cpu_to_be32(ERR_VERS)
91 #define err_chunk cpu_to_be32(ERR_CHUNK)
140 *p++ = cpu_to_be32(handle); in xdr_encode_rdma_segment()
141 *p++ = cpu_to_be32(lengt in xdr_encode_rdma_segment()
[all...]
H A Dxdr.h83 #define xdr_zero cpu_to_be32(0)
84 #define xdr_one cpu_to_be32(1)
85 #define xdr_two cpu_to_be32(2)
87 #define rpc_auth_null cpu_to_be32(RPC_AUTH_NULL)
88 #define rpc_auth_unix cpu_to_be32(RPC_AUTH_UNIX)
89 #define rpc_auth_short cpu_to_be32(RPC_AUTH_SHORT)
90 #define rpc_auth_gss cpu_to_be32(RPC_AUTH_GSS)
92 #define rpc_call cpu_to_be32(RPC_CALL)
93 #define rpc_reply cpu_to_be32(RPC_REPLY)
95 #define rpc_msg_accepted cpu_to_be32(RPC_MSG_ACCEPTE
[all...]
/kernel/linux/linux-6.6/include/linux/sunrpc/
H A Drpc_rdma.h49 #define rpcrdma_version cpu_to_be32(RPCRDMA_VERSION)
84 #define rdma_msg cpu_to_be32(RDMA_MSG)
85 #define rdma_nomsg cpu_to_be32(RDMA_NOMSG)
86 #define rdma_msgp cpu_to_be32(RDMA_MSGP)
87 #define rdma_done cpu_to_be32(RDMA_DONE)
88 #define rdma_error cpu_to_be32(RDMA_ERROR)
90 #define err_vers cpu_to_be32(ERR_VERS)
91 #define err_chunk cpu_to_be32(ERR_CHUNK)
140 *p++ = cpu_to_be32(handle); in xdr_encode_rdma_segment()
141 *p++ = cpu_to_be32(lengt in xdr_encode_rdma_segment()
[all...]
H A Dxdr.h90 #define xdr_zero cpu_to_be32(0)
91 #define xdr_one cpu_to_be32(1)
92 #define xdr_two cpu_to_be32(2)
94 #define rpc_auth_null cpu_to_be32(RPC_AUTH_NULL)
95 #define rpc_auth_unix cpu_to_be32(RPC_AUTH_UNIX)
96 #define rpc_auth_short cpu_to_be32(RPC_AUTH_SHORT)
97 #define rpc_auth_gss cpu_to_be32(RPC_AUTH_GSS)
98 #define rpc_auth_tls cpu_to_be32(RPC_AUTH_TLS)
100 #define rpc_call cpu_to_be32(RPC_CALL)
101 #define rpc_reply cpu_to_be32(RPC_REPL
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Drv730_dpm.c108 sclk->sclk_value = cpu_to_be32(engine_clock); in rv730_populate_sclk_value()
109 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in rv730_populate_sclk_value()
110 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv730_populate_sclk_value()
111 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv730_populate_sclk_value()
112 sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum); in rv730_populate_sclk_value()
113 sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(cg_spll_spread_spectrum_2); in rv730_populate_sclk_value()
185 mclk->mclk730.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in rv730_populate_mclk_value()
186 mclk->mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv730_populate_mclk_value()
187 mclk->mclk730.mclk_value = cpu_to_be32(memory_clock); in rv730_populate_mclk_value()
188 mclk->mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cnt in rv730_populate_mclk_value()
[all...]
H A Drv740_dpm.c176 sclk->sclk_value = cpu_to_be32(engine_clock); in rv740_populate_sclk_value()
177 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in rv740_populate_sclk_value()
178 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv740_populate_sclk_value()
179 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv740_populate_sclk_value()
180 sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum); in rv740_populate_sclk_value()
181 sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(cg_spll_spread_spectrum_2); in rv740_populate_sclk_value()
275 mclk->mclk770.mclk_value = cpu_to_be32(memory_clock); in rv740_populate_mclk_value()
276 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in rv740_populate_mclk_value()
277 mclk->mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); in rv740_populate_mclk_value()
278 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cnt in rv740_populate_mclk_value()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Drv730_dpm.c106 sclk->sclk_value = cpu_to_be32(engine_clock); in rv730_populate_sclk_value()
107 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in rv730_populate_sclk_value()
108 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv730_populate_sclk_value()
109 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv730_populate_sclk_value()
110 sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum); in rv730_populate_sclk_value()
111 sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(cg_spll_spread_spectrum_2); in rv730_populate_sclk_value()
183 mclk->mclk730.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in rv730_populate_mclk_value()
184 mclk->mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv730_populate_mclk_value()
185 mclk->mclk730.mclk_value = cpu_to_be32(memory_clock); in rv730_populate_mclk_value()
186 mclk->mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cnt in rv730_populate_mclk_value()
[all...]
H A Drv740_dpm.c175 sclk->sclk_value = cpu_to_be32(engine_clock); in rv740_populate_sclk_value()
176 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in rv740_populate_sclk_value()
177 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv740_populate_sclk_value()
178 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv740_populate_sclk_value()
179 sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum); in rv740_populate_sclk_value()
180 sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(cg_spll_spread_spectrum_2); in rv740_populate_sclk_value()
274 mclk->mclk770.mclk_value = cpu_to_be32(memory_clock); in rv740_populate_mclk_value()
275 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in rv740_populate_mclk_value()
276 mclk->mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); in rv740_populate_mclk_value()
277 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cnt in rv740_populate_mclk_value()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
H A Dgve_adminq.c294 cmd.opcode = cpu_to_be32(GVE_ADMINQ_CONFIGURE_DEVICE_RESOURCES); in gve_adminq_configure_device_resources()
298 .num_counters = cpu_to_be32(num_counters), in gve_adminq_configure_device_resources()
300 .num_irq_dbs = cpu_to_be32(num_ntfy_blks), in gve_adminq_configure_device_resources()
301 .irq_db_stride = cpu_to_be32(sizeof(priv->ntfy_blocks[0])), in gve_adminq_configure_device_resources()
303 cpu_to_be32(GVE_NTFY_BLK_BASE_MSIX_IDX), in gve_adminq_configure_device_resources()
314 cmd.opcode = cpu_to_be32(GVE_ADMINQ_DECONFIGURE_DEVICE_RESOURCES); in gve_adminq_deconfigure_device_resources()
326 cmd.opcode = cpu_to_be32(GVE_ADMINQ_CREATE_TX_QUEUE); in gve_adminq_create_tx_queue()
328 .queue_id = cpu_to_be32(queue_index), in gve_adminq_create_tx_queue()
333 .queue_page_list_id = cpu_to_be32(tx->tx_fifo.qpl->id), in gve_adminq_create_tx_queue()
334 .ntfy_id = cpu_to_be32(t in gve_adminq_create_tx_queue()
[all...]
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Dagheader_repair.c68 ~cpu_to_be32(XFS_SB_FEAT_INCOMPAT_NEEDSREPAIR); in xrep_superblock()
204 agf->agf_magicnum = cpu_to_be32(XFS_AGF_MAGIC); in xrep_agf_init_header()
205 agf->agf_versionnum = cpu_to_be32(XFS_AGF_VERSION); in xrep_agf_init_header()
206 agf->agf_seqno = cpu_to_be32(pag->pag_agno); in xrep_agf_init_header()
207 agf->agf_length = cpu_to_be32(pag->block_count); in xrep_agf_init_header()
227 cpu_to_be32(fab[XREP_AGF_BNOBT].root); in xrep_agf_set_roots()
229 cpu_to_be32(fab[XREP_AGF_BNOBT].height); in xrep_agf_set_roots()
232 cpu_to_be32(fab[XREP_AGF_CNTBT].root); in xrep_agf_set_roots()
234 cpu_to_be32(fab[XREP_AGF_CNTBT].height); in xrep_agf_set_roots()
237 cpu_to_be32(fa in xrep_agf_set_roots()
[all...]
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Dagheader_repair.c188 agf->agf_magicnum = cpu_to_be32(XFS_AGF_MAGIC); in xrep_agf_init_header()
189 agf->agf_versionnum = cpu_to_be32(XFS_AGF_VERSION); in xrep_agf_init_header()
190 agf->agf_seqno = cpu_to_be32(sc->sa.agno); in xrep_agf_init_header()
191 agf->agf_length = cpu_to_be32(xfs_ag_block_count(mp, sc->sa.agno)); in xrep_agf_init_header()
211 cpu_to_be32(fab[XREP_AGF_BNOBT].root); in xrep_agf_set_roots()
213 cpu_to_be32(fab[XREP_AGF_BNOBT].height); in xrep_agf_set_roots()
216 cpu_to_be32(fab[XREP_AGF_CNTBT].root); in xrep_agf_set_roots()
218 cpu_to_be32(fab[XREP_AGF_CNTBT].height); in xrep_agf_set_roots()
221 cpu_to_be32(fab[XREP_AGF_RMAPBT].root); in xrep_agf_set_roots()
223 cpu_to_be32(fa in xrep_agf_set_roots()
[all...]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_dir2_data.c130 case cpu_to_be32(XFS_DIR3_BLOCK_MAGIC): in __xfs_dir3_data_check()
131 case cpu_to_be32(XFS_DIR2_BLOCK_MAGIC): in __xfs_dir3_data_check()
139 case cpu_to_be32(XFS_DIR3_DATA_MAGIC): in __xfs_dir3_data_check()
140 case cpu_to_be32(XFS_DIR2_DATA_MAGIC): in __xfs_dir3_data_check()
231 if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in __xfs_dir3_data_check()
232 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) { in __xfs_dir3_data_check()
254 if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in __xfs_dir3_data_check()
255 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) { in __xfs_dir3_data_check()
258 cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in __xfs_dir3_data_check()
323 case cpu_to_be32(XFS_DIR2_BLOCK_MAGI in xfs_dir3_data_reada_verify()
[all...]
H A Dxfs_ag.c488 arec->ar_startblock = cpu_to_be32(mp->m_ag_prealloc_blocks); in xfs_freesp_init_recs()
501 arec->ar_blockcount = cpu_to_be32(start - in xfs_freesp_init_recs()
510 nrec->ar_startblock = cpu_to_be32( in xfs_freesp_init_recs()
525 arec->ar_blockcount = cpu_to_be32(id->agsize - in xfs_freesp_init_recs()
579 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
585 rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
586 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init()
592 rrec->rm_startblock = cpu_to_be32(XFS_IBT_BLOCK(mp)); in xfs_rmaproot_init()
593 rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - in xfs_rmaproot_init()
600 rrec->rm_startblock = cpu_to_be32(XFS_RMAP_BLOC in xfs_rmaproot_init()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Den_resources.c48 context->flags = cpu_to_be32(7 << 16 | rss << MLX4_RSS_QPC_FLAG_OFFSET); in mlx4_en_fill_qp_context()
49 context->pd = cpu_to_be32(mdev->priv_pdn); in mlx4_en_fill_qp_context()
56 context->params2 |= cpu_to_be32(MLX4_QP_BIT_FPP); in mlx4_en_fill_qp_context()
61 context->usr_page = cpu_to_be32(mlx4_to_hw_uar_index(mdev->dev, in mlx4_en_fill_qp_context()
63 context->local_qpn = cpu_to_be32(qpn); in mlx4_en_fill_qp_context()
72 context->cqn_send = cpu_to_be32(cqn); in mlx4_en_fill_qp_context()
73 context->cqn_recv = cpu_to_be32(cqn); in mlx4_en_fill_qp_context()
85 context->param3 |= cpu_to_be32(1 << 30); in mlx4_en_fill_qp_context()
90 context->srqn = cpu_to_be32(7 << 28); /* this fills bits 30:28 */ in mlx4_en_fill_qp_context()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Den_resources.c48 context->flags = cpu_to_be32(7 << 16 | rss << MLX4_RSS_QPC_FLAG_OFFSET); in mlx4_en_fill_qp_context()
49 context->pd = cpu_to_be32(mdev->priv_pdn); in mlx4_en_fill_qp_context()
56 context->params2 |= cpu_to_be32(MLX4_QP_BIT_FPP); in mlx4_en_fill_qp_context()
61 context->usr_page = cpu_to_be32(mlx4_to_hw_uar_index(mdev->dev, in mlx4_en_fill_qp_context()
63 context->local_qpn = cpu_to_be32(qpn); in mlx4_en_fill_qp_context()
72 context->cqn_send = cpu_to_be32(cqn); in mlx4_en_fill_qp_context()
73 context->cqn_recv = cpu_to_be32(cqn); in mlx4_en_fill_qp_context()
85 context->param3 |= cpu_to_be32(1 << 30); in mlx4_en_fill_qp_context()
90 context->srqn = cpu_to_be32(7 << 28); /* this fills bits 30:28 */ in mlx4_en_fill_qp_context()
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/
H A Dgve_adminq.c480 cmd.opcode = cpu_to_be32(GVE_ADMINQ_CONFIGURE_DEVICE_RESOURCES); in gve_adminq_configure_device_resources()
484 .num_counters = cpu_to_be32(num_counters), in gve_adminq_configure_device_resources()
486 .num_irq_dbs = cpu_to_be32(num_ntfy_blks), in gve_adminq_configure_device_resources()
487 .irq_db_stride = cpu_to_be32(sizeof(*priv->irq_db_indices)), in gve_adminq_configure_device_resources()
489 cpu_to_be32(GVE_NTFY_BLK_BASE_MSIX_IDX), in gve_adminq_configure_device_resources()
501 cmd.opcode = cpu_to_be32(GVE_ADMINQ_DECONFIGURE_DEVICE_RESOURCES); in gve_adminq_deconfigure_device_resources()
512 cmd.opcode = cpu_to_be32(GVE_ADMINQ_CREATE_TX_QUEUE); in gve_adminq_create_tx_queue()
514 .queue_id = cpu_to_be32(queue_index), in gve_adminq_create_tx_queue()
518 .ntfy_id = cpu_to_be32(tx->ntfy_id), in gve_adminq_create_tx_queue()
525 cmd.create_tx_queue.queue_page_list_id = cpu_to_be32(qpl_i in gve_adminq_create_tx_queue()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/syscalls/
H A Drtas_filter.c23 #define cpu_to_be32(x) bswap_32(x) macro
26 #define cpu_to_be32(x) (x) macro
187 args.token = cpu_to_be32(token); in rtas_call()
188 args.nargs = cpu_to_be32(nargs); in rtas_call()
189 args.nret = cpu_to_be32(nrets); in rtas_call()
251 rc = rtas_call("ibm,get-system-parameter", 3, 1, 0, cpu_to_be32(rmo_start), in test()
252 cpu_to_be32(rmo_end - rmo_start + 1), rets); in test()
259 rc = rtas_call("ibm,get-system-parameter", 3, 1, 0, cpu_to_be32(rmo_end + 1), in test()
260 cpu_to_be32(4000), rets); in test()
267 rc = rtas_call("ibm,get-system-parameter", 3, 1, 0, cpu_to_be32(rmo_star in test()
[all...]

Completed in 16 milliseconds

12345678910>>...67