Home
last modified time | relevance | path

Searched refs:cpu_to_be16 (Results 1 – 25 of 26) sorted by relevance

12

/include/rdma/
Dib_pma.h16 #define IB_PMA_CLASS_CAP_ALLPORTSELECT cpu_to_be16(1 << 8)
17 #define IB_PMA_CLASS_CAP_EXT_WIDTH cpu_to_be16(1 << 9)
18 #define IB_PMA_CLASS_CAP_EXT_WIDTH_NOIETF cpu_to_be16(1 << 10)
19 #define IB_PMA_CLASS_CAP_XMIT_WAIT cpu_to_be16(1 << 12)
21 #define IB_PMA_CLASS_PORT_INFO cpu_to_be16(0x0001)
22 #define IB_PMA_PORT_SAMPLES_CONTROL cpu_to_be16(0x0010)
23 #define IB_PMA_PORT_SAMPLES_RESULT cpu_to_be16(0x0011)
24 #define IB_PMA_PORT_COUNTERS cpu_to_be16(0x0012)
25 #define IB_PMA_PORT_COUNTERS_EXT cpu_to_be16(0x001D)
26 #define IB_PMA_PORT_SAMPLES_RESULT_EXT cpu_to_be16(0x001E)
[all …]
Dib_smi.h39 #define IB_SMP_DIRECTION cpu_to_be16(0x8000)
42 #define IB_SMP_ATTR_NOTICE cpu_to_be16(0x0002)
43 #define IB_SMP_ATTR_NODE_DESC cpu_to_be16(0x0010)
44 #define IB_SMP_ATTR_NODE_INFO cpu_to_be16(0x0011)
45 #define IB_SMP_ATTR_SWITCH_INFO cpu_to_be16(0x0012)
46 #define IB_SMP_ATTR_GUID_INFO cpu_to_be16(0x0014)
47 #define IB_SMP_ATTR_PORT_INFO cpu_to_be16(0x0015)
48 #define IB_SMP_ATTR_PKEY_TABLE cpu_to_be16(0x0016)
49 #define IB_SMP_ATTR_SL_TO_VL_TABLE cpu_to_be16(0x0017)
50 #define IB_SMP_ATTR_VL_ARB_TABLE cpu_to_be16(0x0018)
[all …]
Dopa_smi.h53 #define OPA_ATTRIB_ID_NODE_DESCRIPTION cpu_to_be16(0x0010)
54 #define OPA_ATTRIB_ID_NODE_INFO cpu_to_be16(0x0011)
55 #define OPA_ATTRIB_ID_PORT_INFO cpu_to_be16(0x0015)
56 #define OPA_ATTRIB_ID_PARTITION_TABLE cpu_to_be16(0x0016)
57 #define OPA_ATTRIB_ID_SL_TO_SC_MAP cpu_to_be16(0x0017)
58 #define OPA_ATTRIB_ID_VL_ARBITRATION cpu_to_be16(0x0018)
59 #define OPA_ATTRIB_ID_SM_INFO cpu_to_be16(0x0020)
60 #define OPA_ATTRIB_ID_CABLE_INFO cpu_to_be16(0x0032)
61 #define OPA_ATTRIB_ID_AGGREGATE cpu_to_be16(0x0080)
62 #define OPA_ATTRIB_ID_SC_TO_SL_MAP cpu_to_be16(0x0082)
[all …]
Dib_cm.h261 #define CM_REQ_ATTR_ID cpu_to_be16(0x0010)
262 #define CM_MRA_ATTR_ID cpu_to_be16(0x0011)
263 #define CM_REJ_ATTR_ID cpu_to_be16(0x0012)
264 #define CM_REP_ATTR_ID cpu_to_be16(0x0013)
265 #define CM_RTU_ATTR_ID cpu_to_be16(0x0014)
266 #define CM_DREQ_ATTR_ID cpu_to_be16(0x0015)
267 #define CM_DREP_ATTR_ID cpu_to_be16(0x0016)
268 #define CM_SIDR_REQ_ATTR_ID cpu_to_be16(0x0017)
269 #define CM_SIDR_REP_ATTR_ID cpu_to_be16(0x0018)
270 #define CM_LAP_ATTR_ID cpu_to_be16(0x0019)
[all …]
Dib_mad.h115 #define IB_NOTICE_PROD_CA cpu_to_be16(1)
116 #define IB_NOTICE_PROD_SWITCH cpu_to_be16(2)
117 #define IB_NOTICE_PROD_ROUTER cpu_to_be16(3)
118 #define IB_NOTICE_PROD_CLASS_MGR cpu_to_be16(4)
213 #define IB_MGMT_CLASSPORTINFO_ATTR_ID cpu_to_be16(0x0001)
Diba.h29 *ptr = cpu_to_be16((be16_to_cpu(*ptr) & ~mask) | prep_value); in _iba_set16()
Dib_sa.h542 rec->ib.slid = cpu_to_be16(slid); in sa_path_set_slid()
550 rec->ib.dlid = cpu_to_be16(dlid); in sa_path_set_dlid()
Dib_verbs.h814 #define IB_LID_PERMISSIVE cpu_to_be16(0xFFFF)
815 #define IB_MULTICAST_LID_BASE cpu_to_be16(0xC000)
4707 return cpu_to_be16((u16)lid); in ib_lid_be16()
/include/linux/
Dsctp.h163 SCTP_PARAM_HEARTBEAT_INFO = cpu_to_be16(1),
165 SCTP_PARAM_IPV4_ADDRESS = cpu_to_be16(5),
166 SCTP_PARAM_IPV6_ADDRESS = cpu_to_be16(6),
167 SCTP_PARAM_STATE_COOKIE = cpu_to_be16(7),
168 SCTP_PARAM_UNRECOGNIZED_PARAMETERS = cpu_to_be16(8),
169 SCTP_PARAM_COOKIE_PRESERVATIVE = cpu_to_be16(9),
170 SCTP_PARAM_HOST_NAME_ADDRESS = cpu_to_be16(11),
171 SCTP_PARAM_SUPPORTED_ADDRESS_TYPES = cpu_to_be16(12),
172 SCTP_PARAM_ECN_CAPABLE = cpu_to_be16(0x8000),
175 SCTP_PARAM_RANDOM = cpu_to_be16(0x8002),
[all …]
Dvirtio_net.h16 return protocol == cpu_to_be16(ETH_P_IP); in virtio_net_hdr_match_proto()
18 return protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto()
21 return protocol == cpu_to_be16(ETH_P_IP) || in virtio_net_hdr_match_proto()
22 protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto()
38 skb->protocol = cpu_to_be16(ETH_P_IP); in virtio_net_hdr_set_proto()
41 skb->protocol = cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_set_proto()
Dt10-pi.h37 #define T10_PI_APP_ESCAPE cpu_to_be16(0xffff)
Dvirtio_byteorder.h29 return (__force __virtio16)cpu_to_be16(val); in __cpu_to_virtio16()
Dunaligned.h63 __put_unaligned_t(__be16, cpu_to_be16(val), p); in put_unaligned_be16()
Detherdevice.h93 static const __be16 m = cpu_to_be16(0xfff0); in is_link_local_ether_addr()
Dtpm.h551 head->tag = cpu_to_be16(TPM2_ST_NO_SESSIONS); in tpm_buf_append_hmac_session_opt()
/include/net/
Dinet_ecn.h175 case cpu_to_be16(ETH_P_IP): in INET_ECN_set_ce()
181 case cpu_to_be16(ETH_P_IPV6): in INET_ECN_set_ce()
194 case cpu_to_be16(ETH_P_IP): in skb_get_dsfield()
199 case cpu_to_be16(ETH_P_IPV6): in skb_get_dsfield()
211 case cpu_to_be16(ETH_P_IP): in INET_ECN_set_ect1()
217 case cpu_to_be16(ETH_P_IPV6): in INET_ECN_set_ect1()
Dmrp.h23 #define MRP_VECATTR_HDR_LEN_MASK cpu_to_be16(0x1FFF)
24 #define MRP_VECATTR_HDR_FLAG_LA cpu_to_be16(0x2000)
Dbond_3ad.h15 #define PKT_TYPE_LACPDU cpu_to_be16(ETH_P_SLOW)
Dip_tunnels.h272 ret = cpu_to_be16(bitmap_read(flags, 0, BITS_PER_TYPE(__be16))); in ip_tunnel_flags_to_be16()
Dip_vs.h269 #define FTPPORT cpu_to_be16(21)
270 #define FTPDATA cpu_to_be16(20)
/include/soc/fsl/
Dbman.h61 buf->hi = cpu_to_be16(upper_32_bits(addr)); in bm_buffer_set64()
72 buf->bpid = cpu_to_be16(bpid & 0xff); in bm_buffer_set_bpid()
Dqman.h417 fqd->context_a.context_hi = cpu_to_be16(upper_32_bits(addr)); in qm_fqd_stashing_set64()
447 fqd->td = cpu_to_be16(td); in qm_fqd_set_taildrop()
485 fqd->dest_wq = cpu_to_be16((ch << QM_FQD_CHAN_OFF) | in qm_fqd_set_destwq()
598 th->word = cpu_to_be16(((val & 0xff) << 5) | (e & 0x1f)); in qm_cgr_cs_thres_set64()
/include/linux/byteorder/
Dgeneric.h96 #define cpu_to_be16 __cpu_to_be16 macro
178 *var = cpu_to_be16(be16_to_cpu(*var) + val); in be16_add_cpu()
/include/linux/rpmsg/
Dbyteorder.h32 return (__force __rpmsg16)cpu_to_be16(val); in __cpu_to_rpmsg16()
/include/linux/mlx5/
Ddevice.h137 cpu_to_be16((be16_to_cpu(*((__be16 *)(p) + __mlx5_16_off(typ, fld))) & \
153 tmp = (__force type_t)cpu_to_be16(MLX5_GET(typ, p, fld)); \
1119 #define MLX5_ATTR_EXTENDED_PORT_INFO cpu_to_be16(0xff90)

12