/linux-master/fs/nfsd/ |
H A D | nfsd.h | 216 #define nfs_ok cpu_to_be32(NFS_OK) 217 #define nfserr_perm cpu_to_be32(NFSERR_PERM) 218 #define nfserr_noent cpu_to_be32(NFSERR_NOENT) 219 #define nfserr_io cpu_to_be32(NFSERR_IO) 220 #define nfserr_nxio cpu_to_be32(NFSERR_NXIO) 221 #define nfserr_eagain cpu_to_be32(NFSERR_EAGAIN) 222 #define nfserr_acces cpu_to_be32(NFSERR_ACCES) 223 #define nfserr_exist cpu_to_be32(NFSERR_EXIST) 224 #define nfserr_xdev cpu_to_be32(NFSERR_XDEV) 225 #define nfserr_nodev cpu_to_be32(NFSERR_NODE [all...] |
H A D | flexfilelayoutxdr.c | 51 *p++ = cpu_to_be32(len); 54 *p++ = cpu_to_be32(1); /* single mirror */ 55 *p++ = cpu_to_be32(1); /* single data server */ 60 *p++ = cpu_to_be32(1); /* efficiency */ 62 *p++ = cpu_to_be32(fl->stateid.si_generation); 66 *p++ = cpu_to_be32(1); /* single file handle */ 72 *p++ = cpu_to_be32(fl->flags); 73 *p++ = cpu_to_be32(0); /* No stats collect hint */ 111 *p++ = cpu_to_be32(len); 112 *p++ = cpu_to_be32( [all...] |
/linux-master/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( [all...] |
/linux-master/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); 141 *p++ = cpu_to_be32(lengt [all...] |
/linux-master/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); 49 context->pd = cpu_to_be32(mdev->priv_pdn); 56 context->params2 |= cpu_to_be32(MLX4_QP_BIT_FPP); 61 context->usr_page = cpu_to_be32(mlx4_to_hw_uar_index(mdev->dev, 63 context->local_qpn = cpu_to_be32(qpn); 72 context->cqn_send = cpu_to_be32(cqn); 73 context->cqn_recv = cpu_to_be32(cqn); 85 context->param3 |= cpu_to_be32(1 << 30); 90 context->srqn = cpu_to_be32(7 << 28); /* this fills bits 30:28 */
|
/linux-master/include/linux/lockd/ |
H A D | xdr4.h | 19 #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)
|
H A D | xdr.h | 30 #define nlm_granted cpu_to_be32(NLM_LCK_GRANTED) 31 #define nlm_lck_denied cpu_to_be32(NLM_LCK_DENIED) 32 #define nlm_lck_denied_nolocks cpu_to_be32(NLM_LCK_DENIED_NOLOCKS) 33 #define nlm_lck_blocked cpu_to_be32(NLM_LCK_BLOCKED) 34 #define nlm_lck_denied_grace_period cpu_to_be32(NLM_LCK_DENIED_GRACE_PERIOD) 36 #define nlm_drop_reply cpu_to_be32(30000)
|
/linux-master/arch/powerpc/boot/ |
H A D | xz_config.h | 23 #define cpu_to_be32(x) swab32(x) macro 30 #define cpu_to_be32(x) (x) macro 44 *((u32 *)p) = cpu_to_be32(val);
|
H A D | oflib.c | 47 args.service = cpu_to_be32(ADDR(service)); 48 args.nargs = cpu_to_be32(nargs); 49 args.nret = cpu_to_be32(nret); 53 args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t)); 72 args.service = cpu_to_be32(ADDR(service)); 73 args.nargs = cpu_to_be32(nargs); 74 args.nret = cpu_to_be32(nret); 78 args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t));
|
/linux-master/drivers/soc/fsl/qbman/ |
H A D | dpaa_sys.c | 79 res_array[0] = cpu_to_be32(upper_32_bits(*addr)); 80 res_array[1] = cpu_to_be32(lower_32_bits(*addr)); 81 res_array[2] = cpu_to_be32(upper_32_bits(*size)); 82 res_array[3] = cpu_to_be32(lower_32_bits(*size));
|
/linux-master/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-master/drivers/gpu/drm/radeon/ |
H A D | rv730_dpm.c | 106 sclk->sclk_value = cpu_to_be32(engine_clock); 107 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); 108 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); 109 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); 110 sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum); 111 sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(cg_spll_spread_spectrum_2); 183 mclk->mclk730.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); 184 mclk->mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl); 185 mclk->mclk730.mclk_value = cpu_to_be32(memory_clock); 186 mclk->mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cnt [all...] |
H A D | rv740_dpm.c | 175 sclk->sclk_value = cpu_to_be32(engine_clock); 176 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); 177 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); 178 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); 179 sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum); 180 sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(cg_spll_spread_spectrum_2); 274 mclk->mclk770.mclk_value = cpu_to_be32(memory_clock); 275 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); 276 mclk->mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); 277 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cnt [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_dir2_data.c | 131 case cpu_to_be32(XFS_DIR3_BLOCK_MAGIC): 132 case cpu_to_be32(XFS_DIR2_BLOCK_MAGIC): 140 case cpu_to_be32(XFS_DIR3_DATA_MAGIC): 141 case cpu_to_be32(XFS_DIR2_DATA_MAGIC): 232 if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || 233 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) { 255 if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || 256 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) { 259 cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) 324 case cpu_to_be32(XFS_DIR2_BLOCK_MAGI [all...] |
H A D | xfs_ag.c | 510 arec->ar_startblock = cpu_to_be32(mp->m_ag_prealloc_blocks); 523 arec->ar_blockcount = cpu_to_be32(start - 532 nrec->ar_startblock = cpu_to_be32( 547 arec->ar_blockcount = cpu_to_be32(id->agsize - 591 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); 597 rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); 598 rrec->rm_blockcount = cpu_to_be32(2); 604 rrec->rm_startblock = cpu_to_be32(XFS_IBT_BLOCK(mp)); 605 rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - 612 rrec->rm_startblock = cpu_to_be32(XFS_RMAP_BLOC [all...] |
/linux-master/arch/powerpc/perf/ |
H A D | hv-common.c | 18 .counter_request = cpu_to_be32( 20 .starting_index = cpu_to_be32(-1),
|
/linux-master/include/linux/ |
H A D | pim.h | 9 #define PIM_V1_VERSION cpu_to_be32(0x10000000) 45 #define PIM_NULL_REGISTER cpu_to_be32(0x40000000)
|
H A D | libfdt_env.h | 18 #define cpu_to_fdt32(x) cpu_to_be32(x)
|
/linux-master/drivers/infiniband/core/ |
H A D | cm_msgs.h | 63 cpu_to_be32(IBA_GET(CM_REP_LOCAL_EE_CONTEXT_NUMBER, 65 cpu_to_be32(IBA_GET(CM_REP_LOCAL_QPN, rep_msg));
|
/linux-master/drivers/gpu/drm/amd/pm/powerplay/inc/ |
H A D | pp_endian.h | 27 #define PP_HOST_TO_SMC_UL(X) cpu_to_be32(X)
|
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_wqe.h | 119 dseg->byte_count = cpu_to_be32(sg->length); 120 dseg->lkey = cpu_to_be32(sg->lkey); 127 dseg->lkey = cpu_to_be32(MTHCA_INVAL_LKEY);
|
/linux-master/fs/hfsplus/ |
H A D | ioctl.c | 43 cpu_to_be32(parent_ino(dentry)); 50 vh->finder_info[1] = bvh->finder_info[1] = cpu_to_be32(cnid); 54 cpu_to_be32(parent_ino(dentry));
|
/linux-master/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); 127 args.nargs = cpu_to_be32(nargs); 128 args.nret = cpu_to_be32(nrets); 190 rc = rtas_call("ibm,get-system-parameter", 3, 1, 0, cpu_to_be32(rmo_start), 191 cpu_to_be32(rmo_end - rmo_start + 1), rets); 198 rc = rtas_call("ibm,get-system-parameter", 3, 1, 0, cpu_to_be32(rmo_end + 1), 199 cpu_to_be32(4000), rets); 206 rc = rtas_call("ibm,get-system-parameter", 3, 1, 0, cpu_to_be32(rmo_star [all...] |
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | vphn.c | 50 cpu_to_be32(last << 16 | new); 58 cpu_to_be32(new & VPHN_FIELD_MASK); 70 unpacked[0] = cpu_to_be32(nr_assoc_doms);
|
/linux-master/tools/testing/selftests/powerpc/vphn/ |
H A D | vphn.c | 50 cpu_to_be32(last << 16 | new); 58 cpu_to_be32(new & VPHN_FIELD_MASK); 70 unpacked[0] = cpu_to_be32(nr_assoc_doms);
|