Searched refs:cpu_to_be16 (Results 1 – 25 of 26) sorted by relevance
12
| /include/rdma/ |
| A D | ib_pma.h | 16 #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 …]
|
| A D | ib_smi.h | 39 #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) 46 #define IB_SMP_ATTR_GUID_INFO cpu_to_be16(0x0014) 47 #define IB_SMP_ATTR_PORT_INFO cpu_to_be16(0x0015) 54 #define IB_SMP_ATTR_SM_INFO cpu_to_be16(0x0020) 56 #define IB_SMP_ATTR_LED_INFO cpu_to_be16(0x0031) 130 #define IB_NOTICE_TRAP_BAD_MKEY cpu_to_be16(256) 131 #define IB_NOTICE_TRAP_BAD_PKEY cpu_to_be16(257) [all …]
|
| A D | opa_smi.h | 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) 63 #define OPA_ATTRIB_ID_SC_TO_VLR_MAP cpu_to_be16(0x0083) [all …]
|
| A D | ib_cm.h | 261 #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 …]
|
| A D | ib_mad.h | 115 #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)
|
| A D | iba.h | 29 *ptr = cpu_to_be16((be16_to_cpu(*ptr) & ~mask) | prep_value); in _iba_set16()
|
| A D | ib_sa.h | 542 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()
|
| A D | ib_verbs.h | 831 #define IB_LID_PERMISSIVE cpu_to_be16(0xFFFF) 832 #define IB_MULTICAST_LID_BASE cpu_to_be16(0xC000) 4807 return cpu_to_be16((u16)lid); in ib_lid_be16()
|
| /include/linux/ |
| A D | sctp.h | 163 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), 175 SCTP_PARAM_RANDOM = cpu_to_be16(0x8002), 176 SCTP_PARAM_CHUNKS = cpu_to_be16(0x8003), 186 SCTP_PARAM_ADD_IP = cpu_to_be16(0xc001), 187 SCTP_PARAM_DEL_IP = cpu_to_be16(0xc002), 188 SCTP_PARAM_ERR_CAUSE = cpu_to_be16(0xc003), 473 SCTP_ERROR_NO_ERROR = cpu_to_be16(0x00), [all …]
|
| A D | virtio_net.h | 16 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()
|
| A D | t10-pi.h | 37 #define T10_PI_APP_ESCAPE cpu_to_be16(0xffff)
|
| A D | virtio_byteorder.h | 29 return (__force __virtio16)cpu_to_be16(val); in __cpu_to_virtio16()
|
| A D | unaligned.h | 63 __put_unaligned_t(__be16, cpu_to_be16(val), p); in put_unaligned_be16()
|
| A D | etherdevice.h | 93 static const __be16 m = cpu_to_be16(0xfff0); in is_link_local_ether_addr()
|
| A D | tpm.h | 553 head->tag = cpu_to_be16(TPM2_ST_NO_SESSIONS); in tpm_buf_append_hmac_session_opt()
|
| /include/net/ |
| A D | inet_ecn.h | 175 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()
|
| A D | mrp.h | 23 #define MRP_VECATTR_HDR_LEN_MASK cpu_to_be16(0x1FFF) 24 #define MRP_VECATTR_HDR_FLAG_LA cpu_to_be16(0x2000)
|
| A D | bond_3ad.h | 15 #define PKT_TYPE_LACPDU cpu_to_be16(ETH_P_SLOW)
|
| A D | ip_tunnels.h | 273 ret = cpu_to_be16(bitmap_read(flags, 0, BITS_PER_TYPE(__be16))); in ip_tunnel_flags_to_be16()
|
| A D | ip_vs.h | 269 #define FTPPORT cpu_to_be16(21) 270 #define FTPDATA cpu_to_be16(20)
|
| /include/soc/fsl/ |
| A D | bman.h | 61 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()
|
| A D | qman.h | 417 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/ |
| A D | generic.h | 96 #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/ |
| A D | byteorder.h | 32 return (__force __rpmsg16)cpu_to_be16(val); in __cpu_to_rpmsg16()
|
| /include/linux/mlx5/ |
| A D | device.h | 137 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)); \ 1120 #define MLX5_ATTR_EXTENDED_PORT_INFO cpu_to_be16(0xff90)
|
Completed in 87 milliseconds
12