Home
last modified time | relevance | path

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

12345678910>>...31

/Linux-v5.4/fs/nfsd/
Dnfsd.h175 #define nfs_ok cpu_to_be32(NFS_OK)
176 #define nfserr_perm cpu_to_be32(NFSERR_PERM)
177 #define nfserr_noent cpu_to_be32(NFSERR_NOENT)
178 #define nfserr_io cpu_to_be32(NFSERR_IO)
179 #define nfserr_nxio cpu_to_be32(NFSERR_NXIO)
180 #define nfserr_eagain cpu_to_be32(NFSERR_EAGAIN)
181 #define nfserr_acces cpu_to_be32(NFSERR_ACCES)
182 #define nfserr_exist cpu_to_be32(NFSERR_EXIST)
183 #define nfserr_xdev cpu_to_be32(NFSERR_XDEV)
184 #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 …]
Dnfs4xdr.c2003 *p++ = cpu_to_be32(convert_to_wallclock(exp->cd->flush_time)); in encode_change()
2008 *p++ = cpu_to_be32(stat->ctime.tv_sec); in encode_change()
2009 *p++ = cpu_to_be32(stat->ctime.tv_nsec); in encode_change()
2034 *p++ = cpu_to_be32(ts.tv_nsec); in encode_time_delta()
2041 *p++ = cpu_to_be32(c->atomic); in encode_cinfo()
2046 *p++ = cpu_to_be32(c->before_ctime_sec); in encode_cinfo()
2047 *p++ = cpu_to_be32(c->before_ctime_nsec); in encode_cinfo()
2048 *p++ = cpu_to_be32(c->after_ctime_sec); in encode_cinfo()
2049 *p++ = cpu_to_be32(c->after_ctime_nsec); in encode_cinfo()
2184 *p++ = cpu_to_be32(ncomponents); in nfsd4_encode_path()
[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-v5.4/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-v5.4/fs/xfs/libxfs/
Dxfs_ag.c76 arec->ar_startblock = cpu_to_be32(mp->m_ag_prealloc_blocks); in xfs_freesp_init_recs()
88 arec->ar_blockcount = cpu_to_be32(start - in xfs_freesp_init_recs()
96 nrec->ar_startblock = cpu_to_be32( in xfs_freesp_init_recs()
114 arec->ar_blockcount = cpu_to_be32(id->agsize - in xfs_freesp_init_recs()
168 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
174 rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
175 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init()
181 rrec->rm_startblock = cpu_to_be32(XFS_IBT_BLOCK(mp)); in xfs_rmaproot_init()
182 rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - in xfs_rmaproot_init()
189 rrec->rm_startblock = cpu_to_be32(XFS_RMAP_BLOCK(mp)); in xfs_rmaproot_init()
[all …]
Dxfs_dir2_data.c77 case cpu_to_be32(XFS_DIR3_BLOCK_MAGIC): in __xfs_dir3_data_check()
78 case cpu_to_be32(XFS_DIR2_BLOCK_MAGIC): in __xfs_dir3_data_check()
93 case cpu_to_be32(XFS_DIR3_DATA_MAGIC): in __xfs_dir3_data_check()
94 case cpu_to_be32(XFS_DIR2_DATA_MAGIC): in __xfs_dir3_data_check()
185 if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in __xfs_dir3_data_check()
186 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) { in __xfs_dir3_data_check()
208 if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in __xfs_dir3_data_check()
209 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) { in __xfs_dir3_data_check()
212 cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in __xfs_dir3_data_check()
277 case cpu_to_be32(XFS_DIR2_BLOCK_MAGIC): in xfs_dir3_data_reada_verify()
[all …]
Dxfs_inode_buf.c280 to->di_uid = cpu_to_be32(from->di_uid); in xfs_inode_to_disk()
281 to->di_gid = cpu_to_be32(from->di_gid); in xfs_inode_to_disk()
286 to->di_atime.t_sec = cpu_to_be32(inode->i_atime.tv_sec); in xfs_inode_to_disk()
287 to->di_atime.t_nsec = cpu_to_be32(inode->i_atime.tv_nsec); in xfs_inode_to_disk()
288 to->di_mtime.t_sec = cpu_to_be32(inode->i_mtime.tv_sec); in xfs_inode_to_disk()
289 to->di_mtime.t_nsec = cpu_to_be32(inode->i_mtime.tv_nsec); in xfs_inode_to_disk()
290 to->di_ctime.t_sec = cpu_to_be32(inode->i_ctime.tv_sec); in xfs_inode_to_disk()
291 to->di_ctime.t_nsec = cpu_to_be32(inode->i_ctime.tv_nsec); in xfs_inode_to_disk()
292 to->di_nlink = cpu_to_be32(inode->i_nlink); in xfs_inode_to_disk()
293 to->di_gen = cpu_to_be32(inode->i_generation); in xfs_inode_to_disk()
[all …]
/Linux-v5.4/drivers/net/ethernet/google/gve/
Dgve_adminq.c168 cmd.opcode = cpu_to_be32(GVE_ADMINQ_CONFIGURE_DEVICE_RESOURCES); in gve_adminq_configure_device_resources()
172 .num_counters = cpu_to_be32(num_counters), in gve_adminq_configure_device_resources()
174 .num_irq_dbs = cpu_to_be32(num_ntfy_blks), in gve_adminq_configure_device_resources()
175 .irq_db_stride = cpu_to_be32(sizeof(priv->ntfy_blocks[0])), in gve_adminq_configure_device_resources()
177 cpu_to_be32(GVE_NTFY_BLK_BASE_MSIX_IDX), in gve_adminq_configure_device_resources()
188 cmd.opcode = cpu_to_be32(GVE_ADMINQ_DECONFIGURE_DEVICE_RESOURCES); in gve_adminq_deconfigure_device_resources()
199 cmd.opcode = cpu_to_be32(GVE_ADMINQ_CREATE_TX_QUEUE); in gve_adminq_create_tx_queue()
201 .queue_id = cpu_to_be32(queue_index), in gve_adminq_create_tx_queue()
205 .queue_page_list_id = cpu_to_be32(tx->tx_fifo.qpl->id), in gve_adminq_create_tx_queue()
206 .ntfy_id = cpu_to_be32(tx->ntfy_id), in gve_adminq_create_tx_queue()
[all …]
/Linux-v5.4/include/linux/sunrpc/
Dxdr.h86 #define xdr_zero cpu_to_be32(0)
87 #define xdr_one cpu_to_be32(1)
88 #define xdr_two cpu_to_be32(2)
90 #define rpc_auth_null cpu_to_be32(RPC_AUTH_NULL)
91 #define rpc_auth_unix cpu_to_be32(RPC_AUTH_UNIX)
92 #define rpc_auth_short cpu_to_be32(RPC_AUTH_SHORT)
93 #define rpc_auth_gss cpu_to_be32(RPC_AUTH_GSS)
95 #define rpc_call cpu_to_be32(RPC_CALL)
96 #define rpc_reply cpu_to_be32(RPC_REPLY)
98 #define rpc_msg_accepted cpu_to_be32(RPC_MSG_ACCEPTED)
[all …]
Drpc_rdma.h49 #define rpcrdma_version cpu_to_be32(RPCRDMA_VERSION)
83 #define rdma_msg cpu_to_be32(RDMA_MSG)
84 #define rdma_nomsg cpu_to_be32(RDMA_NOMSG)
85 #define rdma_msgp cpu_to_be32(RDMA_MSGP)
86 #define rdma_done cpu_to_be32(RDMA_DONE)
87 #define rdma_error cpu_to_be32(RDMA_ERROR)
89 #define err_vers cpu_to_be32(ERR_VERS)
90 #define err_chunk cpu_to_be32(ERR_CHUNK)
/Linux-v5.4/drivers/gpu/drm/radeon/
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_cntl); in rv730_populate_mclk_value()
[all …]
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()
271 mclk->mclk770.mclk_value = cpu_to_be32(memory_clock); in rv740_populate_mclk_value()
272 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in rv740_populate_mclk_value()
273 mclk->mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); in rv740_populate_mclk_value()
274 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in rv740_populate_mclk_value()
[all …]
/Linux-v5.4/drivers/infiniband/core/
Dcm_msgs.h105 return cpu_to_be32(be32_to_cpu(req_msg->offset32) >> 8); in cm_req_get_local_qpn()
110 req_msg->offset32 = cpu_to_be32((be32_to_cpu(qpn) << 8) | in cm_req_set_local_qpn()
122 req_msg->offset32 = cpu_to_be32(resp_res | in cm_req_set_resp_res()
135 req_msg->offset36 = cpu_to_be32(init_depth | in cm_req_set_init_depth()
148 req_msg->offset40 = cpu_to_be32((resp_timeout << 3) | in cm_req_set_remote_resp_timeout()
173 req_msg->offset40 = cpu_to_be32((be32_to_cpu( in cm_req_set_qp_type()
178 req_msg->offset40 = cpu_to_be32((be32_to_cpu( in cm_req_set_qp_type()
184 req_msg->offset40 = cpu_to_be32(be32_to_cpu( in cm_req_set_qp_type()
198 req_msg->offset40 = cpu_to_be32((flow_ctrl & 0x1) | in cm_req_set_flow_ctrl()
205 return cpu_to_be32(be32_to_cpu(req_msg->offset44) >> 8); in cm_req_get_starting_psn()
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/fs/xfs/scrub/
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(fab[XREP_AGF_RMAPBT].height); in xrep_agf_set_roots()
[all …]
/Linux-v5.4/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()
211 c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | in cxgb4_ptp_adjfreq()
215 c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16)); in cxgb4_ptp_adjfreq()
220 c.u.ts.ppb = cpu_to_be32(ppb); in cxgb4_ptp_adjfreq()
243 c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | in cxgb4_ptp_fineadjtime()
[all …]
/Linux-v5.4/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-v5.4/crypto/
Dfcrypt.c76 #define Z(x) cpu_to_be32(x << 3)
113 #define Z(x) cpu_to_be32(((x & 0x1f) << 27) | (x >> 5))
150 #define Z(x) cpu_to_be32(x << 11)
187 #define Z(x) cpu_to_be32(x << 19)
331 ctx->sched[0x0] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
332 ctx->sched[0x1] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
333 ctx->sched[0x2] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
334 ctx->sched[0x3] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
335 ctx->sched[0x4] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
336 ctx->sched[0x5] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
[all …]
/Linux-v5.4/include/linux/lockd/
Dxdr4.h19 #define nlm4_deadlock cpu_to_be32(NLM_DEADLCK)
20 #define nlm4_rofs cpu_to_be32(NLM_ROFS)
21 #define nlm4_stale_fh cpu_to_be32(NLM_STALE_FH)
22 #define nlm4_fbig cpu_to_be32(NLM_FBIG)
23 #define nlm4_failed cpu_to_be32(NLM_FAILED)
Dxdr.h29 #define nlm_granted cpu_to_be32(NLM_LCK_GRANTED)
30 #define nlm_lck_denied cpu_to_be32(NLM_LCK_DENIED)
31 #define nlm_lck_denied_nolocks cpu_to_be32(NLM_LCK_DENIED_NOLOCKS)
32 #define nlm_lck_blocked cpu_to_be32(NLM_LCK_BLOCKED)
33 #define nlm_lck_denied_grace_period cpu_to_be32(NLM_LCK_DENIED_GRACE_PERIOD)
35 #define nlm_drop_reply cpu_to_be32(30000)
/Linux-v5.4/fs/xfs/
Dxfs_icreate_item.c99 icp->ic_format.icl_ag = cpu_to_be32(agno); in xfs_icreate_log()
100 icp->ic_format.icl_agbno = cpu_to_be32(agbno); in xfs_icreate_log()
101 icp->ic_format.icl_count = cpu_to_be32(count); in xfs_icreate_log()
102 icp->ic_format.icl_isize = cpu_to_be32(inode_size); in xfs_icreate_log()
103 icp->ic_format.icl_length = cpu_to_be32(length); in xfs_icreate_log()
104 icp->ic_format.icl_gen = cpu_to_be32(generation); in xfs_icreate_log()
/Linux-v5.4/sound/firewire/tascam/
Dtascam-stream.c79 reg = cpu_to_be32(data); in set_clock()
88 reg = cpu_to_be32(0x0000001a); in set_clock()
90 reg = cpu_to_be32(0x0000000d); in set_clock()
156 reg = cpu_to_be32(data); in enable_data_channels()
171 reg = cpu_to_be32(data); in enable_data_channels()
183 reg = cpu_to_be32(0x00200000); in set_stream_formats()
208 reg = cpu_to_be32(0x00000000); in finish_session()
212 reg = cpu_to_be32(0x00000000); in finish_session()
216 reg = cpu_to_be32(0x00000000); in finish_session()
228 reg = cpu_to_be32(tscm->tx_resources.channel); in begin_session()
[all …]
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c530 vi_cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_VI_CMD) | in t4vf_port_init()
533 vi_cmd.alloc_to_len16 = cpu_to_be32(FW_LEN16(vi_cmd)); in t4vf_port_init()
551 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4vf_port_init()
555 port_cmd.action_to_len16 = cpu_to_be32( in t4vf_port_init()
607 cmd.op_to_write = cpu_to_be32(FW_CMD_OP_V(FW_RESET_CMD) | in t4vf_fw_reset()
609 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); in t4vf_fw_reset()
635 cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_PARAMS_CMD) | in t4vf_query_params()
640 cmd.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); in t4vf_query_params()
673 cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_PARAMS_CMD) | in t4vf_set_params()
678 cmd.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(len16)); in t4vf_set_params()
[all …]

12345678910>>...31