Home
last modified time | relevance | path

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

12

/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)
468 *p = cpu_to_be32(n); in xdr_stream_encode_u32()
[all …]
/include/linux/lockd/
A 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)
A Dxdr.h30 #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)
/include/linux/mlx4/
A Dcq.h158 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx4_cq_arm()
166 doorbell[0] = cpu_to_be32(sn << 28 | cmd | cq->cqn); in mlx4_cq_arm()
167 doorbell[1] = cpu_to_be32(ci); in mlx4_cq_arm()
174 *cq->set_ci_db = cpu_to_be32(cq->cons_index & 0xffffff); in mlx4_cq_set_ci()
/include/net/
A Dvxlan.h31 #define VXLAN_HF_VNI cpu_to_be32(BIT(27))
35 #define VXLAN_VNI_MASK cpu_to_be32(VXLAN_VID_MASK << 8)
62 #define VXLAN_HF_RCO cpu_to_be32(BIT(21))
65 #define VXLAN_RCO_MASK cpu_to_be32(0x7f) /* Last byte of vni field */
112 #define VXLAN_HF_GBP cpu_to_be32(BIT(31))
114 #define VXLAN_GBP_USED_BITS (VXLAN_HF_GBP | cpu_to_be32(0xFFFFFF))
174 #define VXLAN_HF_VER cpu_to_be32(BIT(29) | BIT(28))
175 #define VXLAN_HF_NP cpu_to_be32(BIT(26))
176 #define VXLAN_HF_OAM cpu_to_be32(BIT(24))
179 cpu_to_be32(0xff))
[all …]
A Dmpls.h38 cpu_to_be32((label << MPLS_LS_LABEL_SHIFT) | in mpls_entry_encode()
A Dtransp_v6.h57 #define LOOPBACK4_IPV6 cpu_to_be32(0x7f000006)
/include/linux/
A Dpim.h9 #define PIM_V1_VERSION cpu_to_be32(0x10000000)
45 #define PIM_NULL_REGISTER cpu_to_be32(0x40000000)
A Dlibfdt_env.h18 #define cpu_to_fdt32(x) cpu_to_be32(x)
A Djbd2.h1304 cpu_to_be32(JBD2_SUPERBLOCK_V1); in jbd2_format_support_feature()
1313 cpu_to_be32(JBD2_FEATURE_COMPAT_##flagname)) != 0); \
1318 cpu_to_be32(JBD2_FEATURE_COMPAT_##flagname); \
1323 ~cpu_to_be32(JBD2_FEATURE_COMPAT_##flagname); \
1331 cpu_to_be32(JBD2_FEATURE_RO_COMPAT_##flagname)) != 0); \
1336 cpu_to_be32(JBD2_FEATURE_RO_COMPAT_##flagname); \
1341 ~cpu_to_be32(JBD2_FEATURE_RO_COMPAT_##flagname); \
1349 cpu_to_be32(JBD2_FEATURE_INCOMPAT_##flagname)) != 0); \
1354 cpu_to_be32(JBD2_FEATURE_INCOMPAT_##flagname); \
1359 ~cpu_to_be32(JBD2_FEATURE_INCOMPAT_##flagname); \
A Dt10-pi.h38 #define T10_PI_REF_ESCAPE cpu_to_be32(0xffffffff)
A Dvirtio_byteorder.h45 return (__force __virtio32)cpu_to_be32(val); in __cpu_to_virtio32()
A Dunaligned.h68 __put_unaligned_t(__be32, cpu_to_be32(val), p); in put_unaligned_be32()
/include/linux/mlx5/
A Dcq.h144 *cq->set_ci_db = cpu_to_be32(cq->cons_index & 0xffffff); in mlx5_cq_set_ci()
163 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm()
170 doorbell[0] = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm()
171 doorbell[1] = cpu_to_be32(cq->cqn); in mlx5_cq_arm()
/include/linux/byteorder/
A Dgeneric.h94 #define cpu_to_be32 __cpu_to_be32 macro
183 *var = cpu_to_be32(be32_to_cpu(*var) + val); in be32_add_cpu()
196 dst[i] = cpu_to_be32(src[i]); in cpu_to_be32_array()
/include/linux/sunrpc/xdrgen/
A D_builtins.h67 *p = cpu_to_be32(val); in xdrgen_encode_int()
89 *p = cpu_to_be32(val); in xdrgen_encode_unsigned_int()
111 *p = cpu_to_be32(val); in xdrgen_encode_long()
133 *p = cpu_to_be32(val); in xdrgen_encode_unsigned_long()
/include/rdma/
A Dib_hdrs.h284 return (ohdr->bth[1]) & cpu_to_be32(IB_BECN_SMASK); in ib_bth_get_becn()
289 return (ohdr->bth[1]) & cpu_to_be32(IB_FECN_SMASK); in ib_bth_get_fecn()
300 return ohdr->bth[0] & cpu_to_be32(IB_BTH_SOLICITED); in ib_bth_is_solicited()
305 return ohdr->bth[0] & cpu_to_be32(IB_BTH_MIG_REQ); in ib_bth_is_migration()
A Dib_mad.h53 #define IB_BM_ATTR_MOD_RESP cpu_to_be32(1)
96 #define IB_QP1 cpu_to_be32(1)
333 cpu_to_be32(~IB_CLASS_PORT_INFO_RESP_TIME_MASK)) | in ib_set_cpi_resp_time()
334 cpu_to_be32(rtime & IB_CLASS_PORT_INFO_RESP_TIME_MASK); in ib_set_cpi_resp_time()
359 cpu_to_be32(IB_CLASS_PORT_INFO_RESP_TIME_MASK)) | in ib_set_cpi_capmask2()
360 cpu_to_be32(capmask2 << in ib_set_cpi_capmask2()
A Dopa_smi.h20 #define OPA_LID_PERMISSIVE cpu_to_be32(0xFFFFFFFF)
A Diba.h39 *ptr = cpu_to_be32((be32_to_cpu(*ptr) & ~mask) | prep_value); in _iba_set32()
/include/soc/fsl/
A Dqman.h129 fd->addr_lo = cpu_to_be32(lower_32_bits(addr)); in qm_fd_addr_set64()
162 fd->cfg = cpu_to_be32(fmt | (len & QM_FD_LEN_BIG_MASK) | in qm_fd_set_param()
215 sg->addr_lo = cpu_to_be32(lower_32_bits(addr)); in qm_sg_entry_set64()
235 sg->cfg = cpu_to_be32(len & QM_SG_LEN_MASK); in qm_sg_entry_set_len()
240 sg->cfg = cpu_to_be32(QM_SG_FIN | (len & QM_SG_LEN_MASK)); in qm_sg_entry_set_f()
272 #define qm_fqid_set(p, v) ((p)->fqid = cpu_to_be32((v) & QM_FQID_MASK))
418 fqd->context_a.context_lo = cpu_to_be32(lower_32_bits(addr)); in qm_fqd_stashing_set64()
423 fqd->context_a.hi = cpu_to_be32(upper_32_bits(addr)); in qm_fqd_context_a_set64()
424 fqd->context_a.lo = cpu_to_be32(lower_32_bits(addr)); in qm_fqd_context_a_set64()
A Dbman.h62 buf->lo = cpu_to_be32(lower_32_bits(addr)); in bm_buffer_set64()
/include/uapi/linux/
A Dromfs_fs.h19 #define __mk4(a,b,c,d) cpu_to_be32(__mkl(__mkw(a,b),__mkw(c,d)))
/include/linux/rpmsg/
A Dbyteorder.h48 return (__force __rpmsg32)cpu_to_be32(val); in __cpu_to_rpmsg32()

Completed in 53 milliseconds

12