| /linux/drivers/crypto/ |
| H A D | talitos.h | 328 #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/fs/nfsd/ |
| H A D | flexfilelayoutxdr.c | 51 *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() 59 *p++ = cpu_to_be32(1); /* efficiency */ in nfsd4_ff_encode_layoutget() 61 *p++ = cpu_to_be32(fl->stateid.si_generation); in nfsd4_ff_encode_layoutget() 65 *p++ = cpu_to_be32(1); /* single file handle */ in nfsd4_ff_encode_layoutget() 71 *p++ = cpu_to_be32(fl->flags); in nfsd4_ff_encode_layoutget() 72 *p++ = cpu_to_be32(0); /* No stats collect hint */ in nfsd4_ff_encode_layoutget() 110 *p++ = cpu_to_be32(len); in nfsd4_ff_encode_getdeviceinfo() 111 *p++ = cpu_to_be32(1); /* 1 netaddr */ in nfsd4_ff_encode_getdeviceinfo() [all …]
|
| H A D | blocklayoutxdr.c | 42 *p++ = cpu_to_be32(len); in nfsd4_block_encode_layoutget() 43 *p++ = cpu_to_be32(bl->nr_extents); in nfsd4_block_encode_layoutget() 52 *p++ = cpu_to_be32(bex->es); in nfsd4_block_encode_layoutget() 71 *p++ = cpu_to_be32(b->type); in nfsd4_block_encode_volume() 72 *p++ = cpu_to_be32(1); /* single signature */ in nfsd4_block_encode_volume() 82 *p++ = cpu_to_be32(b->type); in nfsd4_block_encode_volume() 83 *p++ = cpu_to_be32(b->scsi.code_set); in nfsd4_block_encode_volume() 84 *p++ = cpu_to_be32(b->scsi.designator_type); in nfsd4_block_encode_volume() 127 *p++ = cpu_to_be32(len); in nfsd4_block_encode_getdeviceinfo() 128 *p++ = cpu_to_be32(dev->nr_volumes); in nfsd4_block_encode_getdeviceinfo()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | rv730_dpm.c | 106 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 …]
|
| H A D | rv740_dpm.c | 175 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_cntl); in rv740_populate_mclk_value() [all …]
|
| /linux/include/linux/sunrpc/ |
| H A D | rpc_rdma.h | 49 #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 …]
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_ag.c | 329 arec->ar_startblock = cpu_to_be32(mp->m_ag_prealloc_blocks); in xfs_freesp_init_recs() 342 arec->ar_blockcount = cpu_to_be32(start - in xfs_freesp_init_recs() 351 nrec->ar_startblock = cpu_to_be32( in xfs_freesp_init_recs() 366 arec->ar_blockcount = cpu_to_be32(id->agsize - in xfs_freesp_init_recs() 410 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init() 416 rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init() 417 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init() 423 rrec->rm_startblock = cpu_to_be32(XFS_IBT_BLOCK(mp)); in xfs_rmaproot_init() 424 rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - in xfs_rmaproot_init() 431 rrec->rm_startblock = cpu_to_be32(XFS_RMAP_BLOCK(mp)); in xfs_rmaproot_init() [all …]
|
| /linux/drivers/infiniband/hw/mthca/ |
| H A D | mthca_qp.c | 355 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/tools/testing/selftests/powerpc/syscalls/ |
| H A D | rtas_filter.c | 24 #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/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_resources.c | 48 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/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_ptp.c | 134 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() 215 c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | in cxgb4_ptp_adjfine() 219 c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16)); 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() [all …]
|
| /linux/drivers/net/ethernet/fungible/funcore/ |
| H A D | fun_hci.h | 138 .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/arch/powerpc/kernel/ |
| H A D | prom_init.c | 393 args.service = cpu_to_be32(ADDR(service)); in call_prom() 394 args.nargs = cpu_to_be32(nargs); in call_prom() 395 args.nret = cpu_to_be32(nret); in call_prom() 399 args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t)); in call_prom() 418 args.service = cpu_to_be32(ADDR(service)); in call_prom_ret() 419 args.nargs = cpu_to_be32(nargs); in call_prom_ret() 420 args.nret = cpu_to_be32(nret); in call_prom_ret() 424 args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t)); in call_prom_ret() 979 .mask = cpu_to_be32(0xfffe0000), /* POWER5/POWER5+ */ 980 .val = cpu_to_be32(0x003a0000), [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
| H A D | t4vf_hw.c | 529 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/drivers/net/wireless/ath/ar5523/ |
| H A D | ar5523.c | 261 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/drivers/fsi/ |
| H A D | fsi-master-hub.c | 75 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 …]
|
| H A D | fsi-occ.c | 271 cmd[2] = cpu_to_be32(1); /* Normal mode */ in occ_getsram() 272 cmd[3] = cpu_to_be32(OCC_P9_SRAM_RSP_ADDR + offset); in occ_getsram() 277 cmd[2] = cpu_to_be32(OCC_P10_SRAM_MODE); in occ_getsram() 279 cmd[4] = cpu_to_be32(OCC_P10_SRAM_RSP_ADDR + offset); in occ_getsram() 283 cmd[0] = cpu_to_be32(cmd_len); in occ_getsram() 284 cmd[1] = cpu_to_be32(SBEFIFO_CMD_GET_OCC_SRAM); in occ_getsram() 285 cmd[4 + idx] = cpu_to_be32(data_len); in occ_getsram() 331 buf[0] = cpu_to_be32(cmd_len); in occ_putsram() 332 buf[1] = cpu_to_be32(SBEFIFO_CMD_PUT_OCC_SRAM); in occ_putsram() 337 buf[2] = cpu_to_be32(1); /* Normal mode */ in occ_putsram() [all …]
|
| /linux/fs/nfs/ |
| H A D | nfs2xdr.c | 145 if (unlikely(*p != cpu_to_be32(NFS_OK))) in decode_stat() 211 *p++ = cpu_to_be32((u32)timep->tv_sec); in xdr_encode_time() 213 *p++ = cpu_to_be32(timep->tv_nsec / NSEC_PER_USEC); in xdr_encode_time() 215 *p++ = cpu_to_be32(0); in xdr_encode_time() 229 *p++ = cpu_to_be32(timep->tv_sec); in xdr_encode_current_server_time() 230 *p++ = cpu_to_be32(1000000); in xdr_encode_current_server_time() 331 *p++ = cpu_to_be32(NFS2_SATTR_NOT_SET); in xdr_time_not_set() 332 *p++ = cpu_to_be32(NFS2_SATTR_NOT_SET); in xdr_time_not_set() 344 *p++ = cpu_to_be32(attr->ia_mode); in encode_sattr() 346 *p++ = cpu_to_be32(NFS2_SATTR_NOT_SET); in encode_sattr() [all …]
|
| /linux/arch/powerpc/boot/ |
| H A D | oflib.c | 47 args.service = cpu_to_be32(ADDR(service)); in of_call_prom() 48 args.nargs = cpu_to_be32(nargs); in of_call_prom() 49 args.nret = cpu_to_be32(nret); in of_call_prom() 53 args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t)); in of_call_prom() 72 args.service = cpu_to_be32(ADDR(service)); in of_call_prom_ret() 73 args.nargs = cpu_to_be32(nargs); in of_call_prom_ret() 74 args.nret = cpu_to_be32(nret); in of_call_prom_ret() 78 args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t)); in of_call_prom_ret()
|
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_hdr.h | 188 bth->qpn = cpu_to_be32((BTH_QPN_MASK & qpn) | in __bth_set_qpn() 196 return 0 != (cpu_to_be32(BTH_FECN_MASK) & bth->qpn); in __bth_fecn() 204 bth->qpn |= cpu_to_be32(BTH_FECN_MASK); in __bth_set_fecn() 206 bth->qpn &= ~cpu_to_be32(BTH_FECN_MASK); in __bth_set_fecn() 213 return 0 != (cpu_to_be32(BTH_BECN_MASK) & bth->qpn); in __bth_becn() 221 bth->qpn |= cpu_to_be32(BTH_BECN_MASK); in __bth_set_becn() 223 bth->qpn &= ~cpu_to_be32(BTH_BECN_MASK); in __bth_set_becn() 237 bth->qpn &= cpu_to_be32(~BTH_RESV6A_MASK); in __bth_set_resv6a() 244 return 0 != (cpu_to_be32(BTH_ACK_MASK) & bth->apsn); in __bth_ack() 252 bth->apsn |= cpu_to_be32(BTH_ACK_MASK); in __bth_set_ack() [all …]
|
| /linux/arch/mips/cavium-octeon/ |
| H A D | octeon-platform.c | 911 f = cpu_to_be32(octeon_get_io_clock_rate()); in octeon_prune_device_tree() 989 __be32 width = cpu_to_be32(8); in octeon_prune_device_tree() 995 new_reg[0] = cpu_to_be32(cs); in octeon_prune_device_tree() 996 new_reg[1] = cpu_to_be32(0); in octeon_prune_device_tree() 997 new_reg[2] = cpu_to_be32(0x10000); in octeon_prune_device_tree() 998 new_reg[3] = cpu_to_be32(cs + 1); in octeon_prune_device_tree() 999 new_reg[4] = cpu_to_be32(0); in octeon_prune_device_tree() 1000 new_reg[5] = cpu_to_be32(0x10000); in octeon_prune_device_tree() 1011 ranges[(cs * 5) + 2] = cpu_to_be32(region_base >> 32); in octeon_prune_device_tree() 1012 ranges[(cs * 5) + 3] = cpu_to_be32(region_base & 0xffffffff); in octeon_prune_device_tree() [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | agheader_repair.c | 74 ~cpu_to_be32(XFS_SB_FEAT_INCOMPAT_NEEDSREPAIR); in xrep_superblock() 209 agf->agf_magicnum = cpu_to_be32(XFS_AGF_MAGIC); in xrep_agf_init_header() 210 agf->agf_versionnum = cpu_to_be32(XFS_AGF_VERSION); in xrep_agf_init_header() 211 agf->agf_seqno = cpu_to_be32(pag_agno(pag)); in xrep_agf_init_header() 212 agf->agf_length = cpu_to_be32(pag_group(pag)->xg_block_count); in xrep_agf_init_header() 231 agf->agf_bno_root = cpu_to_be32(fab[XREP_AGF_BNOBT].root); in xrep_agf_set_roots() 232 agf->agf_bno_level = cpu_to_be32(fab[XREP_AGF_BNOBT].height); in xrep_agf_set_roots() 234 agf->agf_cnt_root = cpu_to_be32(fab[XREP_AGF_CNTBT].root); in xrep_agf_set_roots() 235 agf->agf_cnt_level = cpu_to_be32(fab[XREP_AGF_CNTBT].height); in xrep_agf_set_roots() 237 agf->agf_rmap_root = cpu_to_be32(fab[XREP_AGF_RMAPBT].root); in xrep_agf_set_roots() [all …]
|
| /linux/drivers/nvme/host/ |
| H A D | fc.h | 42 acc->rqst.desc_tag = cpu_to_be32(FCNVME_LSDESC_RQST); in nvme_fc_format_rsp_hdr() 57 rjt->rjt.desc_tag = cpu_to_be32(FCNVME_LSDESC_RJT); in nvme_fc_format_rjt() 174 discon_rqst->desc_list_len = cpu_to_be32( in nvmefc_fmt_lsreq_discon_assoc() 178 discon_rqst->associd.desc_tag = cpu_to_be32(FCNVME_LSDESC_ASSOC_ID); in nvmefc_fmt_lsreq_discon_assoc() 185 discon_rqst->discon_cmd.desc_tag = cpu_to_be32( in nvmefc_fmt_lsreq_discon_assoc() 204 else if (rqst->associd.desc_tag != cpu_to_be32(FCNVME_LSDESC_ASSOC_ID)) in nvmefc_vldt_lsreq_discon_assoc() 211 cpu_to_be32(FCNVME_LSDESC_DISCONN_CMD)) in nvmefc_vldt_lsreq_discon_assoc()
|
| /linux/drivers/misc/genwqe/ |
| H A D | card_ddcb.h | 127 #define DDCB_INTR_BE32 cpu_to_be32(0x00000004) 128 #define DDCB_PURGE_BE32 cpu_to_be32(0x00000002) 129 #define DDCB_NEXT_BE32 cpu_to_be32(0x00000001) 130 #define DDCB_COMPLETED_BE32 cpu_to_be32(0x00004000) 131 #define DDCB_FETCHED_BE32 cpu_to_be32(0x00000400)
|
| /linux/drivers/infiniband/hw/cxgb4/ |
| H A D | qp.c | 314 res_wr->op_nres = cpu_to_be32( in create_qp() 318 res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); in create_qp() 330 res->u.sqrq.fetchszm_to_iqid = cpu_to_be32( in create_qp() 336 res->u.sqrq.dcaen_to_eqsize = cpu_to_be32( in create_qp() 345 res->u.sqrq.eqid = cpu_to_be32(wq->sq.qid); in create_qp() 360 cpu_to_be32(FW_RI_RES_WR_HOSTFCMODE_V(0) | in create_qp() 367 cpu_to_be32(FW_RI_RES_WR_DCAEN_V(0) | in create_qp() 374 res->u.sqrq.eqid = cpu_to_be32(wq->rq.qid); in create_qp() 445 immdp->immdlen = cpu_to_be32(plen); in build_immd() 498 wqe->send.sendop_pkd = cpu_to_be32( in build_rdma_send() [all …]
|