Home
last modified time | relevance | path

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

12345678910>>...35

/linux-6.3-rc2/fs/nfsd/
A Dnfsd.h199 #define nfs_ok cpu_to_be32(NFS_OK)
200 #define nfserr_perm cpu_to_be32(NFSERR_PERM)
202 #define nfserr_io cpu_to_be32(NFSERR_IO)
203 #define nfserr_nxio cpu_to_be32(NFSERR_NXIO)
207 #define nfserr_xdev cpu_to_be32(NFSERR_XDEV)
212 #define nfserr_fbig cpu_to_be32(NFSERR_FBIG)
214 #define nfserr_rofs cpu_to_be32(NFSERR_ROFS)
235 #define nfserr_same cpu_to_be32(NFSERR_SAME)
316 #define nfserr_dropit cpu_to_be32(30000)
318 #define nfserr_eof cpu_to_be32(30001)
[all …]
A Dflexfilelayoutxdr.c51 *p++ = cpu_to_be32(len); in nfsd4_ff_encode_layoutget()
60 *p++ = cpu_to_be32(1); /* efficiency */ in nfsd4_ff_encode_layoutget()
72 *p++ = cpu_to_be32(fl->flags); 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()
107 *p++ = cpu_to_be32(1); /* 1 versions */ in nfsd4_ff_encode_getdeviceinfo()
109 *p++ = cpu_to_be32(da->version); in nfsd4_ff_encode_getdeviceinfo()
110 *p++ = cpu_to_be32(da->minor_version); in nfsd4_ff_encode_getdeviceinfo()
111 *p++ = cpu_to_be32(da->rsize); in nfsd4_ff_encode_getdeviceinfo()
112 *p++ = cpu_to_be32(da->wsize); in nfsd4_ff_encode_getdeviceinfo()
[all …]
A Dnfsxdr.c89 *p++ = cpu_to_be32((u32)time->tv_sec); in encode_timeval()
229 *p++ = cpu_to_be32((u32)stat->mode); in svcxdr_encode_fattr()
230 *p++ = cpu_to_be32((u32)stat->nlink); in svcxdr_encode_fattr()
235 *p++ = cpu_to_be32(NFS_MAXPATHLEN); in svcxdr_encode_fattr()
242 *p++ = cpu_to_be32(0xffffffff); in svcxdr_encode_fattr()
259 *p++ = cpu_to_be32(fsid); in svcxdr_encode_fattr()
261 *p++ = cpu_to_be32((u32)stat->ino); in svcxdr_encode_fattr()
541 *p++ = cpu_to_be32(stat->f_bsize); in nfssvc_encode_statfsres()
542 *p++ = cpu_to_be32(stat->f_blocks); in nfssvc_encode_statfsres()
543 *p++ = cpu_to_be32(stat->f_bfree); in nfssvc_encode_statfsres()
[all …]
A Dnfs4xdr.c2811 *p++ = cpu_to_be32(i); in nfsd4_encode_layout_types()
2897 *p++ = cpu_to_be32(3); in nfsd4_encode_bitmap()
2905 *p++ = cpu_to_be32(2); in nfsd4_encode_bitmap()
2912 *p++ = cpu_to_be32(1); in nfsd4_encode_bitmap()
3096 *p++ = cpu_to_be32(1); in nfsd4_encode_fattr()
3734 *p++ = cpu_to_be32(0); in nfsd4_encode_bind_conn_to_session()
4220 *p++ = cpu_to_be32(0); in nfsd4_encode_readdir()
4221 *p++ = cpu_to_be32(0); in nfsd4_encode_readdir()
4891 *p++ = cpu_to_be32(0); in nfsd4_encode_offload_status()
4999 *p++ = cpu_to_be32(1); in nfsd4_encode_copy_notify()
[all …]
A Dblocklayoutxdr.c29 *p++ = cpu_to_be32(len); in nfsd4_block_encode_layoutget()
30 *p++ = cpu_to_be32(1); /* we always return a single extent */ in nfsd4_block_encode_layoutget()
37 *p++ = cpu_to_be32(b->es); in nfsd4_block_encode_layoutget()
54 *p++ = cpu_to_be32(b->type); in nfsd4_block_encode_volume()
55 *p++ = cpu_to_be32(1); /* single signature */ in nfsd4_block_encode_volume()
65 *p++ = cpu_to_be32(b->type); in nfsd4_block_encode_volume()
66 *p++ = cpu_to_be32(b->scsi.code_set); in nfsd4_block_encode_volume()
67 *p++ = cpu_to_be32(b->scsi.designator_type); in nfsd4_block_encode_volume()
101 *p++ = cpu_to_be32(len); in nfsd4_block_encode_getdeviceinfo()
102 *p++ = cpu_to_be32(dev->nr_volumes); in nfsd4_block_encode_getdeviceinfo()
/linux-6.3-rc2/drivers/crypto/
A Dtalitos.h328 #define DESC_HDR_DONE cpu_to_be32(0xff000000)
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)
339 #define DESC_HDR_SEL0_RNG cpu_to_be32(0x40000000)
340 #define DESC_HDR_SEL0_PKEU cpu_to_be32(0x50000000)
341 #define DESC_HDR_SEL0_AESU cpu_to_be32(0x60000000)
342 #define DESC_HDR_SEL0_KEU cpu_to_be32(0x70000000)
343 #define DESC_HDR_SEL0_CRCU cpu_to_be32(0x80000000)
370 #define DESC_HDR_SEL1_MASK cpu_to_be32(0x000f0000)
[all …]
/linux-6.3-rc2/include/linux/sunrpc/
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(length); in xdr_encode_rdma_segment()
[all …]
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)
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)
105 #define rpc_success cpu_to_be32(RPC_SUCCESS)
116 #define rpc_auth_ok cpu_to_be32(RPC_AUTH_OK)
473 *p = cpu_to_be32(n); in xdr_stream_encode_u32()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Drv730_dpm.c106 sclk->sclk_value = cpu_to_be32(engine_clock); in rv730_populate_sclk_value()
184 mclk->mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv730_populate_mclk_value()
189 mclk->mclk730.vMPLL_SS = cpu_to_be32(mpll_ss); in rv730_populate_mclk_value()
190 mclk->mclk730.vMPLL_SS2 = cpu_to_be32(mpll_ss2); in rv730_populate_mclk_value()
325 cpu_to_be32(pi->clk_regs.rv730.mpll_func_cntl); in rv730_populate_smc_initial_state()
327 cpu_to_be32(pi->clk_regs.rv730.mpll_func_cntl2); in rv730_populate_smc_initial_state()
333 cpu_to_be32(pi->clk_regs.rv730.dll_cntl); in rv730_populate_smc_initial_state()
335 cpu_to_be32(pi->clk_regs.rv730.mpll_ss); in rv730_populate_smc_initial_state()
337 cpu_to_be32(pi->clk_regs.rv730.mpll_ss2); in rv730_populate_smc_initial_state()
340 cpu_to_be32(initial_state->low.mclk); in rv730_populate_smc_initial_state()
[all …]
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()
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()
273 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in rv740_populate_mclk_value()
275 mclk->mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in rv740_populate_mclk_value()
276 mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv740_populate_mclk_value()
277 mclk->mclk770.vMPLL_SS = cpu_to_be32(mpll_ss1); in rv740_populate_mclk_value()
[all …]
/linux-6.3-rc2/fs/xfs/libxfs/
A Dxfs_ag.c491 nrec->ar_startblock = cpu_to_be32( in xfs_freesp_init_recs()
570 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init()
585 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init()
593 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init()
603 rrec->rm_startblock = cpu_to_be32( in xfs_rmaproot_init()
651 cpu_to_be32(XFS_RMAP_BLOCK(mp)); in xfs_agfblock_init()
656 agf->agf_flfirst = cpu_to_be32(1); in xfs_agfblock_init()
665 agf->agf_refcount_root = cpu_to_be32( in xfs_agfblock_init()
716 agi->agi_level = cpu_to_be32(1); in xfs_agiblock_init()
729 agi->agi_iblocks = cpu_to_be32(1); in xfs_agiblock_init()
[all …]
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()
323 case cpu_to_be32(XFS_DIR2_BLOCK_MAGIC): in xfs_dir3_data_reada_verify()
324 case cpu_to_be32(XFS_DIR3_BLOCK_MAGIC): in xfs_dir3_data_reada_verify()
328 case cpu_to_be32(XFS_DIR2_DATA_MAGIC): in xfs_dir3_data_reada_verify()
329 case cpu_to_be32(XFS_DIR3_DATA_MAGIC): in xfs_dir3_data_reada_verify()
383 cpu_to_be32(XFS_DIR3_DATA_MAGIC) },
392 cpu_to_be32(XFS_DIR3_DATA_MAGIC) },
[all …]
/linux-6.3-rc2/tools/testing/selftests/powerpc/syscalls/
A Drtas_filter.c24 #define cpu_to_be32(x) bswap_32(x) macro
27 #define cpu_to_be32(x) (x) macro
126 args.token = cpu_to_be32(token); in rtas_call()
127 args.nargs = cpu_to_be32(nargs); in rtas_call()
128 args.nret = cpu_to_be32(nrets); in rtas_call()
190 rc = rtas_call("ibm,get-system-parameter", 3, 1, 0, cpu_to_be32(rmo_start), in test()
191 cpu_to_be32(rmo_end - rmo_start + 1), rets); in test()
198 rc = rtas_call("ibm,get-system-parameter", 3, 1, 0, cpu_to_be32(rmo_end + 1), in test()
199 cpu_to_be32(4000), rets); in test()
206 rc = rtas_call("ibm,get-system-parameter", 3, 1, 0, cpu_to_be32(rmo_start), in test()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
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()
/linux-6.3-rc2/drivers/infiniband/hw/mthca/
A Dmthca_qp.c355 return cpu_to_be32(hw_access_flags); in get_hw_access_flags()
637 cpu_to_be32(qp->port << 24); in __mthca_modify_qp()
648 cpu_to_be32(attr->pkey_index); in __mthca_modify_qp()
725 cpu_to_be32(MTHCA_QP_BIT_SRE | in __mthca_modify_qp()
1223 next->ee_nds = cpu_to_be32(size); in mthca_alloc_qp_common()
1590 rseg->rkey = cpu_to_be32(rkey); in set_raddr_seg()
1677 cpu_to_be32(1); in mthca_tavor_post_send()
1768 cpu_to_be32((1 << 31) | 4); in mthca_tavor_post_send()
1867 cpu_to_be32(MTHCA_NEXT_DBD); in mthca_tavor_post_receive()
2007 cpu_to_be32(1); in mthca_arbel_post_send()
[all …]
/linux-6.3-rc2/fs/xfs/scrub/
A Dagheader_repair.c222 cpu_to_be32(fab[XREP_AGF_BNOBT].root); in xrep_agf_set_roots()
224 cpu_to_be32(fab[XREP_AGF_BNOBT].height); in xrep_agf_set_roots()
227 cpu_to_be32(fab[XREP_AGF_CNTBT].root); in xrep_agf_set_roots()
229 cpu_to_be32(fab[XREP_AGF_CNTBT].height); in xrep_agf_set_roots()
232 cpu_to_be32(fab[XREP_AGF_RMAPBT].root); in xrep_agf_set_roots()
624 agf->agf_flfirst = cpu_to_be32(0); in xrep_agfl_update_agf()
625 agf->agf_flcount = cpu_to_be32(flcount); in xrep_agfl_update_agf()
674 agfl_bno[fl_off] = cpu_to_be32(agbno); in xrep_agfl_init_header()
888 agi->agi_iblocks = cpu_to_be32(blocks); in xrep_agi_calc_from_btrees()
892 agi->agi_count = cpu_to_be32(count); in xrep_agi_calc_from_btrees()
[all …]
/linux-6.3-rc2/drivers/crypto/aspeed/
A 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),
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),
34 cpu_to_be32(SHA256_H6), cpu_to_be32(SHA256_H7),
[all …]
/linux-6.3-rc2/sound/firewire/
A 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()
272 opcr |= cpu_to_be32(spd << OPCR_SPEED_SHIFT); in opcr_set_modify()
280 if (pcr & cpu_to_be32(PCR_BCAST_CONN | in pcr_set_check()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A 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()
215 c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | in cxgb4_ptp_adjfine()
224 c.u.ts.ppb = cpu_to_be32(ppb); in cxgb4_ptp_adjfine()
247 c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | in cxgb4_ptp_fineadjtime()
286 c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | in cxgb4_ptp_adjtime()
349 c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | in cxgb4_ptp_settime()
[all …]
/linux-6.3-rc2/crypto/
A Dfcrypt.c73 #define Z(x) cpu_to_be32(x << 3)
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()
343 ctx->sched[0xf] = cpu_to_be32(k); in fcrypt_setkey()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/google/gve/
A Dgve_adminq.c465 .num_counters = cpu_to_be32(num_counters), in gve_adminq_configure_device_resources()
467 .num_irq_dbs = cpu_to_be32(num_ntfy_blks), in gve_adminq_configure_device_resources()
495 .queue_id = cpu_to_be32(queue_index), in gve_adminq_create_tx_queue()
499 .ntfy_id = cpu_to_be32(tx->ntfy_id), in gve_adminq_create_tx_queue()
541 .queue_id = cpu_to_be32(queue_index), in gve_adminq_create_rx_queue()
542 .ntfy_id = cpu_to_be32(rx->ntfy_id), in gve_adminq_create_rx_queue()
597 .queue_id = cpu_to_be32(queue_index), in gve_adminq_destroy_tx_queue()
629 .queue_id = cpu_to_be32(queue_index), in gve_adminq_destroy_rx_queue()
831 .page_list_id = cpu_to_be32(qpl->id), in gve_adminq_register_page_list()
832 .num_pages = cpu_to_be32(num_entries), in gve_adminq_register_page_list()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/fungible/funcore/
A 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), \
335 .id = cpu_to_be32(_id), .epcqid = cpu_to_be32(_epcqid), \
512 s->sgl_len = cpu_to_be32(sgl_len); in fun_dataop_gl_init()
778 .id = cpu_to_be32(_id), .viid = cpu_to_be32(_viid), \
803 .id = cpu_to_be32(_id), .portid = cpu_to_be32(_portid), \
825 .id = cpu_to_be32(_id), .portid = cpu_to_be32(_portid), \
888 .id = cpu_to_be32(_id), .fourcc = cpu_to_be32(_fourcc), \
896 .id = cpu_to_be32(_id), .offset = cpu_to_be32(_offset), \
[all …]
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4vf/
A Dt4vf_hw.c554 port_cmd.action_to_len16 = cpu_to_be32( in t4vf_port_init()
608 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); in t4vf_fw_reset()
679 p->mnem = cpu_to_be32(*params++); in t4vf_set_params()
680 p->val = cpu_to_be32(*vals++); in t4vf_set_params()
1029 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); in t4vf_get_rss_glb_config()
1105 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); in t4vf_get_vfres()
1154 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); in t4vf_read_rss_vi_config()
1498 cpu_to_be32(FW_VI_RXMODE_CMD_MTU_V(mtu) | in t4vf_set_rxmode()
1640 cpu_to_be32(FW_VI_MAC_CMD_FREEMACS_V(0) | in t4vf_free_mac_filt()
1852 cpu_to_be32(FW_IQ_CMD_TYPE_V(iqtype)); in t4vf_iq_free()
[all …]
/linux-6.3-rc2/drivers/net/wireless/ath/ar5523/
A Dar5523.c261 hdr->len = cpu_to_be32(xferlen); in ar5523_cmd()
262 hdr->code = cpu_to_be32(code); in ar5523_cmd()
316 write.reg = cpu_to_be32(reg); 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()
445 rxfilter.op = cpu_to_be32(op); in ar5523_set_rxfilter()
454 __be32 qid = cpu_to_be32(0); in ar5523_reset_tx_queues()
1007 val = cpu_to_be32(0); in ar5523_start()
[all …]
/linux-6.3-rc2/drivers/fsi/
A 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 …]

Completed in 90 milliseconds

12345678910>>...35