Searched refs:cpu_to_be16 (Results 1 – 25 of 25) sorted by relevance
/include/rdma/ |
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 …]
|
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) 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 …]
|
D | opa_smi.h | 53 #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 …]
|
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 …]
|
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)
|
D | iba.h | 29 *ptr = cpu_to_be16((be16_to_cpu(*ptr) & ~mask) | prep_value); in _iba_set16()
|
D | ib_sa.h | 541 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()
|
D | ib_verbs.h | 794 #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/ |
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), 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 …]
|
D | virtio_net.h | 14 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()
|
D | t10-pi.h | 37 #define T10_PI_APP_ESCAPE cpu_to_be16(0xffff)
|
D | virtio_byteorder.h | 29 return (__force __virtio16)cpu_to_be16(val); in __cpu_to_virtio16()
|
D | tpm.h | 327 head->tag = cpu_to_be16(tag); in tpm_buf_reset() 390 __be16 value2 = cpu_to_be16(value); in tpm_buf_append_u16()
|
D | etherdevice.h | 80 static const __be16 m = cpu_to_be16(0xfff0); in is_link_local_ether_addr()
|
/include/soc/fsl/ |
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()
|
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/net/ |
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 INET_ECN_set_ect1() 200 case cpu_to_be16(ETH_P_IPV6): in INET_ECN_set_ect1()
|
D | mrp.h | 19 #define MRP_VECATTR_HDR_LEN_MASK cpu_to_be16(0x1FFF) 20 #define MRP_VECATTR_HDR_FLAG_LA cpu_to_be16(0x2000)
|
D | bond_3ad.h | 15 #define PKT_TYPE_LACPDU cpu_to_be16(ETH_P_SLOW)
|
D | ip_vs.h | 286 #define FTPPORT cpu_to_be16(21) 287 #define FTPDATA cpu_to_be16(20)
|
/include/linux/byteorder/ |
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/ |
D | byteorder.h | 32 return (__force __rpmsg16)cpu_to_be16(val); in __cpu_to_rpmsg16()
|
/include/asm-generic/ |
D | unaligned.h | 72 __put_unaligned_t(__be16, cpu_to_be16(val), p); in put_unaligned_be16()
|
/include/linux/mlx5/ |
D | device.h | 136 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/ |
D | device.h | 267 #define MLX4_ATTR_EXTENDED_PORT_INFO cpu_to_be16(0xff90)
|