Home
last modified time | relevance | path

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

/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.h541 rec->ib.slid = cpu_to_be16(slid); in sa_path_set_slid()
549 rec->ib.dlid = cpu_to_be16(dlid); in sa_path_set_dlid()
Dib_verbs.h794 #define IB_LID_PERMISSIVE cpu_to_be16(0xFFFF)
795 #define IB_MULTICAST_LID_BASE cpu_to_be16(0xC000)
4601 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.h14 return protocol == cpu_to_be16(ETH_P_IP); in virtio_net_hdr_match_proto()
16 return protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto()
18 return protocol == cpu_to_be16(ETH_P_IP) || in virtio_net_hdr_match_proto()
19 protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto()
34 skb->protocol = cpu_to_be16(ETH_P_IP); in virtio_net_hdr_set_proto()
37 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()
Dtpm.h327 head->tag = cpu_to_be16(tag); in tpm_buf_reset()
390 __be16 value2 = cpu_to_be16(value); in tpm_buf_append_u16()
Detherdevice.h80 static const __be16 m = cpu_to_be16(0xfff0); in is_link_local_ether_addr()
/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/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 INET_ECN_set_ect1()
200 case cpu_to_be16(ETH_P_IPV6): in INET_ECN_set_ect1()
Dmrp.h19 #define MRP_VECATTR_HDR_LEN_MASK cpu_to_be16(0x1FFF)
20 #define MRP_VECATTR_HDR_FLAG_LA cpu_to_be16(0x2000)
Dbond_3ad.h15 #define PKT_TYPE_LACPDU cpu_to_be16(ETH_P_SLOW)
Dip_vs.h286 #define FTPPORT cpu_to_be16(21)
287 #define FTPDATA cpu_to_be16(20)
/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/asm-generic/
Dunaligned.h72 __put_unaligned_t(__be16, cpu_to_be16(val), p); in put_unaligned_be16()
/include/linux/mlx5/
Ddevice.h136 cpu_to_be16((be16_to_cpu(*((__be16 *)(p) + __mlx5_16_off(typ, fld))) & \
152 tmp = (__force type_t)cpu_to_be16(MLX5_GET(typ, p, fld)); \
1060 #define MLX5_ATTR_EXTENDED_PORT_INFO cpu_to_be16(0xff90)
/include/linux/mlx4/
Ddevice.h267 #define MLX4_ATTR_EXTENDED_PORT_INFO cpu_to_be16(0xff90)