Home
last modified time | relevance | path

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

12

/include/linux/sunrpc/
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)
Dxdr.h85 #define xdr_zero cpu_to_be32(0)
86 #define xdr_one cpu_to_be32(1)
87 #define xdr_two cpu_to_be32(2)
89 #define rpc_auth_null cpu_to_be32(RPC_AUTH_NULL)
90 #define rpc_auth_unix cpu_to_be32(RPC_AUTH_UNIX)
91 #define rpc_auth_short cpu_to_be32(RPC_AUTH_SHORT)
92 #define rpc_auth_gss cpu_to_be32(RPC_AUTH_GSS)
94 #define rpc_call cpu_to_be32(RPC_CALL)
95 #define rpc_reply cpu_to_be32(RPC_REPLY)
97 #define rpc_msg_accepted cpu_to_be32(RPC_MSG_ACCEPTED)
[all …]
/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)
/include/net/
Dvxlan.h28 #define VXLAN_HF_VNI cpu_to_be32(BIT(27))
32 #define VXLAN_VNI_MASK cpu_to_be32(VXLAN_VID_MASK << 8)
59 #define VXLAN_HF_RCO cpu_to_be32(BIT(21))
62 #define VXLAN_RCO_MASK cpu_to_be32(0x7f) /* Last byte of vni field */
63 #define VXLAN_RCO_UDP cpu_to_be32(0x80) /* Indicate UDP RCO (TCP when not set *) */
109 #define VXLAN_HF_GBP cpu_to_be32(BIT(31))
111 #define VXLAN_GBP_USED_BITS (VXLAN_HF_GBP | cpu_to_be32(0xFFFFFF))
168 #define VXLAN_HF_VER cpu_to_be32(BIT(29) | BIT(28))
169 #define VXLAN_HF_NP cpu_to_be32(BIT(26))
170 #define VXLAN_HF_OAM cpu_to_be32(BIT(24))
[all …]
Dtransp_v6.h57 #define LOOPBACK4_IPV6 cpu_to_be32(0x7f000006)
Dipv6.h330 #define IPV6_FLOWINFO_MASK cpu_to_be32(0x0FFFFFFF)
331 #define IPV6_FLOWLABEL_MASK cpu_to_be32(0x000FFFFF)
332 #define IPV6_FLOWLABEL_STATELESS_FLAG cpu_to_be32(0x00080000)
675 a->s6_addr32[2] | (a->s6_addr32[3] ^ cpu_to_be32(1))) == 0; in ipv6_addr_loopback()
692 cpu_to_be32(0x0000ffff))) == 0UL; in ipv6_addr_v4mapped()
/include/linux/mlx4/
Dcq.h153 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx4_cq_arm()
161 doorbell[0] = cpu_to_be32(sn << 28 | cmd | cq->cqn); in mlx4_cq_arm()
162 doorbell[1] = cpu_to_be32(ci); in mlx4_cq_arm()
169 *cq->set_ci_db = cpu_to_be32(cq->cons_index & 0xffffff); in mlx4_cq_set_ci()
/include/linux/
Dpim.h9 #define PIM_V1_VERSION cpu_to_be32(0x10000000)
45 #define PIM_NULL_REGISTER cpu_to_be32(0x40000000)
Dlibfdt_env.h18 #define cpu_to_fdt32(x) cpu_to_be32(x)
Dt10-pi.h38 #define T10_PI_REF_ESCAPE cpu_to_be32(0xffffffff)
Djbd2.h276 ((j)->j_superblock->s_feature_compat & cpu_to_be32((mask))))
279 ((j)->j_superblock->s_feature_ro_compat & cpu_to_be32((mask))))
282 ((j)->j_superblock->s_feature_incompat & cpu_to_be32((mask))))
1182 cpu_to_be32(JBD2_FEATURE_COMPAT_##flagname)) != 0); \
1187 cpu_to_be32(JBD2_FEATURE_COMPAT_##flagname); \
1192 ~cpu_to_be32(JBD2_FEATURE_COMPAT_##flagname); \
1200 cpu_to_be32(JBD2_FEATURE_RO_COMPAT_##flagname)) != 0); \
1205 cpu_to_be32(JBD2_FEATURE_RO_COMPAT_##flagname); \
1210 ~cpu_to_be32(JBD2_FEATURE_RO_COMPAT_##flagname); \
1218 cpu_to_be32(JBD2_FEATURE_INCOMPAT_##flagname)) != 0); \
[all …]
Dvirtio_byteorder.h45 return (__force __virtio32)cpu_to_be32(val); in __cpu_to_virtio32()
Dnvme-fc.h87 return cpu_to_be32(sz - (2 * sizeof(u32))); in fcnvme_lsdesc_len()
/include/linux/mlx5/
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()
Ddevice.h77 cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \
90 cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \
155 tmp = (__force type_t)cpu_to_be32(MLX5_GET(typ, p, fld)); \
/include/linux/byteorder/
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/rdma/
Dib_hdrs.h330 return (ohdr->bth[1]) & cpu_to_be32(IB_BECN_SMASK); in ib_bth_get_becn()
335 return (ohdr->bth[1]) & cpu_to_be32(IB_FECN_SMASK); in ib_bth_get_fecn()
346 return ohdr->bth[0] & cpu_to_be32(IB_BTH_SOLICITED); in ib_bth_is_solicited()
351 return ohdr->bth[0] & cpu_to_be32(IB_BTH_MIG_REQ); in ib_bth_is_migration()
Dib_mad.h80 #define IB_BM_ATTR_MOD_RESP cpu_to_be32(1)
123 #define IB_QP1 cpu_to_be32(1)
357 cpu_to_be32(~IB_CLASS_PORT_INFO_RESP_TIME_MASK)) | in ib_set_cpi_resp_time()
358 cpu_to_be32(rtime & IB_CLASS_PORT_INFO_RESP_TIME_MASK); in ib_set_cpi_resp_time()
383 cpu_to_be32(IB_CLASS_PORT_INFO_RESP_TIME_MASK)) | in ib_set_cpi_capmask2()
384 cpu_to_be32(capmask2 << in ib_set_cpi_capmask2()
Dopa_smi.h47 #define OPA_LID_PERMISSIVE cpu_to_be32(0xFFFFFFFF)
Dib_sa.h597 rec->opa.slid = cpu_to_be32(slid); in sa_path_set_slid()
605 rec->opa.dlid = cpu_to_be32(dlid); in sa_path_set_dlid()
/include/soc/fsl/
Dqman.h128 fd->addr_lo = cpu_to_be32(lower_32_bits(addr)); in qm_fd_addr_set64()
161 fd->cfg = cpu_to_be32(fmt | (len & QM_FD_LEN_BIG_MASK) | in qm_fd_set_param()
214 sg->addr_lo = cpu_to_be32(lower_32_bits(addr)); in qm_sg_entry_set64()
234 sg->cfg = cpu_to_be32(len & QM_SG_LEN_MASK); in qm_sg_entry_set_len()
239 sg->cfg = cpu_to_be32(QM_SG_FIN | (len & QM_SG_LEN_MASK)); in qm_sg_entry_set_f()
271 #define qm_fqid_set(p, v) ((p)->fqid = cpu_to_be32((v) & QM_FQID_MASK))
417 fqd->context_a.context_lo = cpu_to_be32(lower_32_bits(addr)); in qm_fqd_stashing_set64()
422 fqd->context_a.hi = cpu_to_be32(upper_32_bits(addr)); in qm_fqd_context_a_set64()
423 fqd->context_a.lo = cpu_to_be32(lower_32_bits(addr)); in qm_fqd_context_a_set64()
Dbman.h62 buf->lo = cpu_to_be32(lower_32_bits(addr)); in bm_buffer_set64()
/include/uapi/linux/
Dromfs_fs.h19 #define __mk4(a,b,c,d) cpu_to_be32(__mkl(__mkw(a,b),__mkw(c,d)))
/include/linux/unaligned/
Daccess_ok.h60 *((__be32 *)p) = cpu_to_be32(val); in put_unaligned_be32()

12