Home
last modified time | relevance | path

Searched refs:cpu_to_be32 (Results 1 – 25 of 846) sorted by relevance

12345678910>>...34

/linux-6.1.9/fs/nfsd/
Dnfsd.h200 #define nfs_ok cpu_to_be32(NFS_OK)
201 #define nfserr_perm cpu_to_be32(NFSERR_PERM)
202 #define nfserr_noent cpu_to_be32(NFSERR_NOENT)
203 #define nfserr_io cpu_to_be32(NFSERR_IO)
204 #define nfserr_nxio cpu_to_be32(NFSERR_NXIO)
205 #define nfserr_eagain cpu_to_be32(NFSERR_EAGAIN)
206 #define nfserr_acces cpu_to_be32(NFSERR_ACCES)
207 #define nfserr_exist cpu_to_be32(NFSERR_EXIST)
208 #define nfserr_xdev cpu_to_be32(NFSERR_XDEV)
209 #define nfserr_nodev cpu_to_be32(NFSERR_NODEV)
[all …]
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()
102 *p++ = cpu_to_be32(len); in nfsd4_ff_encode_getdeviceinfo()
103 *p++ = cpu_to_be32(1); /* 1 netaddr */ in nfsd4_ff_encode_getdeviceinfo()
[all …]
Dnfsxdr.c89 *p++ = cpu_to_be32((u32)time->tv_sec); in encode_timeval()
91 *p++ = cpu_to_be32(time->tv_nsec / NSEC_PER_USEC); in encode_timeval()
228 *p++ = cpu_to_be32(nfs_ftypes[type >> 12]); in svcxdr_encode_fattr()
229 *p++ = cpu_to_be32((u32)stat->mode); in svcxdr_encode_fattr()
230 *p++ = cpu_to_be32((u32)stat->nlink); in svcxdr_encode_fattr()
231 *p++ = cpu_to_be32((u32)from_kuid_munged(userns, stat->uid)); in svcxdr_encode_fattr()
232 *p++ = cpu_to_be32((u32)from_kgid_munged(userns, stat->gid)); in svcxdr_encode_fattr()
235 *p++ = cpu_to_be32(NFS_MAXPATHLEN); in svcxdr_encode_fattr()
237 *p++ = cpu_to_be32((u32) stat->size); in svcxdr_encode_fattr()
238 *p++ = cpu_to_be32((u32) stat->blksize); in svcxdr_encode_fattr()
[all …]
Dnfs4xdr.c2476 *p++ = cpu_to_be32(convert_to_wallclock(exp->cd->flush_time)); in encode_change()
2503 *p++ = cpu_to_be32(ts.tv_nsec); in encode_time_delta()
2510 *p++ = cpu_to_be32(c->atomic); in encode_cinfo()
2646 *p++ = cpu_to_be32(ncomponents); in nfsd4_encode_path()
2707 *p++ = cpu_to_be32(fslocs->locations_count); in nfsd4_encode_fs_locations()
2752 *p++ = cpu_to_be32(i); in nfsd4_encode_layout_types()
2756 *p++ = cpu_to_be32(i); in nfsd4_encode_layout_types()
2781 *p++ = cpu_to_be32(0); /* lfs */ in nfsd4_encode_security_label()
2782 *p++ = cpu_to_be32(0); /* pi */ in nfsd4_encode_security_label()
2838 *p++ = cpu_to_be32(3); in nfsd4_encode_bitmap()
[all …]
Dblocklayoutxdr.c28 *p++ = cpu_to_be32(len); in nfsd4_block_encode_layoutget()
29 *p++ = cpu_to_be32(1); /* we always return a single extent */ in nfsd4_block_encode_layoutget()
36 *p++ = cpu_to_be32(b->es); in nfsd4_block_encode_layoutget()
53 *p++ = cpu_to_be32(b->type); in nfsd4_block_encode_volume()
54 *p++ = cpu_to_be32(1); /* single signature */ in nfsd4_block_encode_volume()
64 *p++ = cpu_to_be32(b->type); in nfsd4_block_encode_volume()
65 *p++ = cpu_to_be32(b->scsi.code_set); in nfsd4_block_encode_volume()
66 *p++ = cpu_to_be32(b->scsi.designator_type); in nfsd4_block_encode_volume()
100 *p++ = cpu_to_be32(len); in nfsd4_block_encode_getdeviceinfo()
101 *p++ = cpu_to_be32(dev->nr_volumes); in nfsd4_block_encode_getdeviceinfo()
/linux-6.1.9/drivers/crypto/
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(0x40000000)
[all …]
/linux-6.1.9/include/linux/sunrpc/
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(length); in xdr_encode_rdma_segment()
[all …]
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_REPLY)
[all …]
/linux-6.1.9/drivers/gpu/drm/radeon/
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_cntl); in rv730_populate_mclk_value()
[all …]
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()
270 mclk->mclk770.mclk_value = cpu_to_be32(memory_clock); in rv740_populate_mclk_value()
271 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in rv740_populate_mclk_value()
272 mclk->mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); in rv740_populate_mclk_value()
273 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in rv740_populate_mclk_value()
[all …]
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_ag.c408 arec->ar_startblock = cpu_to_be32(mp->m_ag_prealloc_blocks); in xfs_freesp_init_recs()
420 arec->ar_blockcount = cpu_to_be32(start - in xfs_freesp_init_recs()
428 nrec->ar_startblock = cpu_to_be32( in xfs_freesp_init_recs()
446 arec->ar_blockcount = cpu_to_be32(id->agsize - in xfs_freesp_init_recs()
500 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
506 rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
507 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init()
513 rrec->rm_startblock = cpu_to_be32(XFS_IBT_BLOCK(mp)); in xfs_rmaproot_init()
514 rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - in xfs_rmaproot_init()
521 rrec->rm_startblock = cpu_to_be32(XFS_RMAP_BLOCK(mp)); in xfs_rmaproot_init()
[all …]
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_MAGIC): in xfs_dir3_data_reada_verify()
[all …]
/linux-6.1.9/fs/xfs/scrub/
Dagheader_repair.c63 ~cpu_to_be32(XFS_SB_FEAT_INCOMPAT_NEEDSREPAIR); in xrep_superblock()
198 agf->agf_magicnum = cpu_to_be32(XFS_AGF_MAGIC); in xrep_agf_init_header()
199 agf->agf_versionnum = cpu_to_be32(XFS_AGF_VERSION); in xrep_agf_init_header()
200 agf->agf_seqno = cpu_to_be32(sc->sa.pag->pag_agno); in xrep_agf_init_header()
201 agf->agf_length = cpu_to_be32(sc->sa.pag->block_count); in xrep_agf_init_header()
221 cpu_to_be32(fab[XREP_AGF_BNOBT].root); in xrep_agf_set_roots()
223 cpu_to_be32(fab[XREP_AGF_BNOBT].height); in xrep_agf_set_roots()
226 cpu_to_be32(fab[XREP_AGF_CNTBT].root); in xrep_agf_set_roots()
228 cpu_to_be32(fab[XREP_AGF_CNTBT].height); in xrep_agf_set_roots()
231 cpu_to_be32(fab[XREP_AGF_RMAPBT].root); in xrep_agf_set_roots()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
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()
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_qp.c355 return cpu_to_be32(hw_access_flags); in get_hw_access_flags()
544 cpu_to_be32((rdma_ah_get_sl(ah) << 28) | in mthca_path_set()
549 path->sl_tclass_flowlabel = cpu_to_be32(rdma_ah_get_sl(ah) << in mthca_path_set()
581 qp_context->flags = cpu_to_be32((to_mthca_state(new_state) << 28) | in __mthca_modify_qp()
583 qp_context->flags |= cpu_to_be32(MTHCA_QP_BIT_DE); in __mthca_modify_qp()
585 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_MIGRATED << 11); in __mthca_modify_qp()
587 qp_param->opt_param_mask |= cpu_to_be32(MTHCA_QP_OPTPAR_PM_STATE); in __mthca_modify_qp()
590 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_MIGRATED << 11); in __mthca_modify_qp()
593 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_REARM << 11); in __mthca_modify_qp()
596 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_ARMED << 11); in __mthca_modify_qp()
[all …]
/linux-6.1.9/drivers/crypto/aspeed/
Daspeed-hace-hash.c18 cpu_to_be32(SHA1_H0), cpu_to_be32(SHA1_H1),
19 cpu_to_be32(SHA1_H2), cpu_to_be32(SHA1_H3),
20 cpu_to_be32(SHA1_H4), 0, 0, 0
24 cpu_to_be32(SHA224_H0), cpu_to_be32(SHA224_H1),
25 cpu_to_be32(SHA224_H2), cpu_to_be32(SHA224_H3),
26 cpu_to_be32(SHA224_H4), cpu_to_be32(SHA224_H5),
27 cpu_to_be32(SHA224_H6), cpu_to_be32(SHA224_H7),
31 cpu_to_be32(SHA256_H0), cpu_to_be32(SHA256_H1),
32 cpu_to_be32(SHA256_H2), cpu_to_be32(SHA256_H3),
33 cpu_to_be32(SHA256_H4), cpu_to_be32(SHA256_H5),
[all …]
/linux-6.1.9/tools/testing/selftests/powerpc/syscalls/
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_start), in test()
[all …]
/linux-6.1.9/sound/firewire/
Dcmp.c145 c->last_pcr_value = cpu_to_be32(0x80000000); in cmp_connection_init()
169 *used = !!(pcr & cpu_to_be32(PCR_BCAST_CONN | in cmp_connection_check_used()
222 ipcr &= ~cpu_to_be32(PCR_BCAST_CONN | in ipcr_set_modify()
225 ipcr |= cpu_to_be32(1 << PCR_P2P_CONN_SHIFT); in ipcr_set_modify()
226 ipcr |= cpu_to_be32(c->resources.channel << PCR_CHANNEL_SHIFT); in ipcr_set_modify()
263 opcr &= ~cpu_to_be32(PCR_BCAST_CONN | in opcr_set_modify()
269 opcr |= cpu_to_be32(1 << PCR_P2P_CONN_SHIFT); in opcr_set_modify()
270 opcr |= cpu_to_be32(xspd << OPCR_XSPEED_SHIFT); in opcr_set_modify()
271 opcr |= cpu_to_be32(c->resources.channel << PCR_CHANNEL_SHIFT); in opcr_set_modify()
272 opcr |= cpu_to_be32(spd << OPCR_SPEED_SHIFT); in opcr_set_modify()
[all …]
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ptp.c134 c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | in cxgb4_ptprx_timestamping()
138 c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16)); in cxgb4_ptprx_timestamping()
155 c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | in cxgb4_ptp_txtype()
159 c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16)); in cxgb4_ptp_txtype()
179 c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | in cxgb4_ptp_redirect_rx_packet()
184 c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16)); in cxgb4_ptp_redirect_rx_packet()
212 c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | in cxgb4_ptp_adjfreq()
216 c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16)); in cxgb4_ptp_adjfreq()
221 c.u.ts.ppb = cpu_to_be32(ppb); in cxgb4_ptp_adjfreq()
244 c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | in cxgb4_ptp_fineadjtime()
[all …]
/linux-6.1.9/crypto/
Dfcrypt.c73 #define Z(x) cpu_to_be32(x << 3)
110 #define Z(x) cpu_to_be32(((x & 0x1f) << 27) | (x >> 5))
147 #define Z(x) cpu_to_be32(x << 11)
184 #define Z(x) cpu_to_be32(x << 19)
328 ctx->sched[0x0] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
329 ctx->sched[0x1] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
330 ctx->sched[0x2] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
331 ctx->sched[0x3] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
332 ctx->sched[0x4] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
333 ctx->sched[0x5] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
[all …]
/linux-6.1.9/drivers/net/ethernet/fungible/funcore/
Dfun_hci.h138 .type = (_type), .id = cpu_to_be32(_id), \
160 .data = cpu_to_be32(_data), \
260 .id = cpu_to_be32(_id), .epsqid = cpu_to_be32(_epsqid), \
269 .scan_start_id = cpu_to_be32(_scan_start_id), \
270 .scan_end_id = cpu_to_be32(_scan_end_id), \
277 .id = cpu_to_be32(_id), .headroom = cpu_to_be16(_headroom), \
335 .id = cpu_to_be32(_id), .epcqid = cpu_to_be32(_epcqid), \
343 .scan_start_id = cpu_to_be32(_scan_start_id), \
344 .scan_end_id = cpu_to_be32(_scan_end_id), \
512 s->sgl_len = cpu_to_be32(sgl_len); in fun_dataop_gl_init()
[all …]
/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_adminq.c458 cmd.opcode = cpu_to_be32(GVE_ADMINQ_CONFIGURE_DEVICE_RESOURCES); in gve_adminq_configure_device_resources()
462 .num_counters = cpu_to_be32(num_counters), in gve_adminq_configure_device_resources()
464 .num_irq_dbs = cpu_to_be32(num_ntfy_blks), in gve_adminq_configure_device_resources()
465 .irq_db_stride = cpu_to_be32(sizeof(*priv->irq_db_indices)), in gve_adminq_configure_device_resources()
467 cpu_to_be32(GVE_NTFY_BLK_BASE_MSIX_IDX), in gve_adminq_configure_device_resources()
479 cmd.opcode = cpu_to_be32(GVE_ADMINQ_DECONFIGURE_DEVICE_RESOURCES); in gve_adminq_deconfigure_device_resources()
490 cmd.opcode = cpu_to_be32(GVE_ADMINQ_CREATE_TX_QUEUE); in gve_adminq_create_tx_queue()
492 .queue_id = cpu_to_be32(queue_index), in gve_adminq_create_tx_queue()
496 .ntfy_id = cpu_to_be32(tx->ntfy_id), in gve_adminq_create_tx_queue()
503 cmd.create_tx_queue.queue_page_list_id = cpu_to_be32(qpl_id); in gve_adminq_create_tx_queue()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ar5523/
Dar5523.c261 hdr->len = cpu_to_be32(xferlen); in ar5523_cmd()
262 hdr->code = cpu_to_be32(code); in ar5523_cmd()
266 hdr->magic = cpu_to_be32(1 << 24); in ar5523_cmd()
316 write.reg = cpu_to_be32(reg); in ar5523_config()
317 write.len = cpu_to_be32(0); /* 0 = single write */ in ar5523_config()
318 *(__be32 *)write.data = cpu_to_be32(val); in ar5523_config()
333 write.reg = cpu_to_be32(reg); in ar5523_config_multi()
334 write.len = cpu_to_be32(len); in ar5523_config_multi()
352 which_be = cpu_to_be32(which); in ar5523_get_status()
365 cap_be = cpu_to_be32(cap); in ar5523_get_capability()
[all …]
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c529 vi_cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_VI_CMD) | in t4vf_port_init()
532 vi_cmd.alloc_to_len16 = cpu_to_be32(FW_LEN16(vi_cmd)); in t4vf_port_init()
550 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4vf_port_init()
554 port_cmd.action_to_len16 = cpu_to_be32( in t4vf_port_init()
606 cmd.op_to_write = cpu_to_be32(FW_CMD_OP_V(FW_RESET_CMD) | in t4vf_fw_reset()
608 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); in t4vf_fw_reset()
634 cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_PARAMS_CMD) | in t4vf_query_params()
639 cmd.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); in t4vf_query_params()
672 cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_PARAMS_CMD) | in t4vf_set_params()
677 cmd.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); in t4vf_set_params()
[all …]
/linux-6.1.9/drivers/fsi/
Dfsi-master-hub.c75 cmd = cpu_to_be32(0xc0de0000); in hub_master_break()
91 reg = cpu_to_be32(0x80000000 >> bit); in hub_master_link_enable()
130 reg = cpu_to_be32(FSI_MRESP_RST_ALL_MASTER | FSI_MRESP_RST_ALL_LINK in hub_master_init()
137 reg = cpu_to_be32(FSI_MRESP_RST_ALL_MASTER | FSI_MRESP_RST_ALL_LINK in hub_master_init()
143 reg = cpu_to_be32(FSI_MECTRL_EOAE | FSI_MECTRL_P8_AUTO_TERM); in hub_master_init()
148 reg = cpu_to_be32(FSI_MMODE_EIP | FSI_MMODE_ECRC | FSI_MMODE_EPC in hub_master_init()
155 reg = cpu_to_be32(0xffff0000); in hub_master_init()
160 reg = cpu_to_be32(~0); in hub_master_init()
176 reg = cpu_to_be32(FSI_MRESP_RST_ALL_MASTER | FSI_MRESP_RST_ALL_LINK); in hub_master_init()
186 reg = cpu_to_be32(FSI_MRESB_RST_GEN); in hub_master_init()
[all …]

12345678910>>...34