/linux-master/include/rdma/ |
H 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( [all...] |
H 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) 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( [all...] |
H A 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( [all...] |
H 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( [all...] |
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | opa_compat.h | 16 #define OPA_ATTRIB_ID_CONGESTION_INFO cpu_to_be16(0x008b) 17 #define OPA_ATTRIB_ID_HFI_CONGESTION_LOG cpu_to_be16(0x008f) 18 #define OPA_ATTRIB_ID_HFI_CONGESTION_SETTING cpu_to_be16(0x0090) 19 #define OPA_ATTRIB_ID_CONGESTION_CONTROL_TABLE cpu_to_be16(0x0091) 22 #define OPA_PM_ATTRIB_ID_PORT_STATUS cpu_to_be16(0x0040) 23 #define OPA_PM_ATTRIB_ID_CLEAR_PORT_STATUS cpu_to_be16(0x0041) 24 #define OPA_PM_ATTRIB_ID_DATA_PORT_COUNTERS cpu_to_be16(0x0042) 25 #define OPA_PM_ATTRIB_ID_ERROR_PORT_COUNTERS cpu_to_be16(0x0043) 26 #define OPA_PM_ATTRIB_ID_ERROR_INFO cpu_to_be16(0x0044) 29 #define OPA_PM_STATUS_REQUEST_TOO_LARGE cpu_to_be16( [all...] |
H A D | mad.h | 17 #define OPA_TRAP_GID_NOW_IN_SERVICE cpu_to_be16(64) 18 #define OPA_TRAP_GID_OUT_OF_SERVICE cpu_to_be16(65) 19 #define OPA_TRAP_ADD_MULTICAST_GROUP cpu_to_be16(66) 20 #define OPA_TRAL_DEL_MULTICAST_GROUP cpu_to_be16(67) 21 #define OPA_TRAP_UNPATH cpu_to_be16(68) 22 #define OPA_TRAP_REPATH cpu_to_be16(69) 23 #define OPA_TRAP_PORT_CHANGE_STATE cpu_to_be16(128) 24 #define OPA_TRAP_LINK_INTEGRITY cpu_to_be16(129) 25 #define OPA_TRAP_EXCESSIVE_BUFFER_OVERRUN cpu_to_be16(130) 26 #define OPA_TRAP_FLOW_WATCHDOG cpu_to_be16(13 [all...] |
/linux-master/include/linux/ |
H 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), 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( [all...] |
/linux-master/drivers/infiniband/sw/siw/ |
H A D | iwarp.h | 31 MPA_RR_FLAG_MARKERS = cpu_to_be16(0x8000), 32 MPA_RR_FLAG_CRC = cpu_to_be16(0x4000), 33 MPA_RR_FLAG_REJECT = cpu_to_be16(0x2000), 34 MPA_RR_FLAG_ENHANCED = cpu_to_be16(0x1000), 35 MPA_RR_FLAG_GSO_EXP = cpu_to_be16(0x0800), 36 MPA_RR_MASK_REVISION = cpu_to_be16(0x00ff) 50 (cpu_to_be16(rev) & MPA_RR_MASK_REVISION); 61 MPA_V2_PEER_TO_PEER = cpu_to_be16(0x8000), 62 MPA_V2_ZERO_LENGTH_RTR = cpu_to_be16(0x4000), 63 MPA_V2_RDMA_WRITE_RTR = cpu_to_be16( [all...] |
/linux-master/arch/um/drivers/ |
H A D | vector_user.h | 37 #define GRE_MODE_CHECKSUM cpu_to_be16(8 << 12) /* checksum */ 38 #define GRE_MODE_RESERVED cpu_to_be16(4 << 12) /* unused */ 39 #define GRE_MODE_KEY cpu_to_be16(2 << 12) /* KEY present */ 40 #define GRE_MODE_SEQUENCE cpu_to_be16(1 << 12) /* sequence */ 42 #define GRE_IRB cpu_to_be16(0x6558)
|
/linux-master/drivers/infiniband/hw/qib/ |
H A D | qib_mad.h | 40 cpu_to_be16(IB_MGMT_MAD_STATUS_BAD_VERSION) 43 cpu_to_be16(IB_MGMT_MAD_STATUS_UNSUPPORTED_METHOD) 46 cpu_to_be16(IB_MGMT_MAD_STATUS_UNSUPPORTED_METHOD_ATTRIB) 49 cpu_to_be16(IB_MGMT_MAD_STATUS_INVALID_ATTRIB_VALUE) 56 #define IB_PMA_PORT_COUNTERS_CONG cpu_to_be16(0xFF00) 99 #define IB_CC_ATTR_CLASSPORTINFO cpu_to_be16(0x0001) 100 #define IB_CC_ATTR_NOTICE cpu_to_be16(0x0002) 101 #define IB_CC_ATTR_CONGESTION_INFO cpu_to_be16(0x0011) 102 #define IB_CC_ATTR_CONGESTION_KEY_INFO cpu_to_be16(0x0012) 103 #define IB_CC_ATTR_CONGESTION_LOG cpu_to_be16( [all...] |
/linux-master/drivers/gpu/drm/amd/pm/powerplay/inc/ |
H A D | pp_endian.h | 30 #define PP_HOST_TO_SMC_US(X) cpu_to_be16(X)
|
/linux-master/drivers/infiniband/hw/erdma/ |
H A D | erdma_cm.h | 36 MPA_RR_FLAG_MARKERS = cpu_to_be16(0x8000), 37 MPA_RR_FLAG_CRC = cpu_to_be16(0x4000), 38 MPA_RR_FLAG_REJECT = cpu_to_be16(0x2000), 39 MPA_RR_RESERVED = cpu_to_be16(0x1f00), 40 MPA_RR_MASK_REVISION = cpu_to_be16(0x00ff)
|
/linux-master/drivers/gpu/drm/amd/display/modules/power/ |
H A D | power_helpers.c | 34 ((big_endian) ? cpu_to_be16(value) : cpu_to_le16(value)) 271 cpu_to_be16(DIV_ROUNDUP((i * 65536), num_entries)); 273 cpu_to_be16(params.backlight_lut_array[lut_index]); 303 cpu_to_be16(DIV_ROUNDUP((i * 65536), num_entries)) : 306 cpu_to_be16(params.backlight_lut_array[lut_index]) : 316 cpu_to_be16(params.min_abm_backlight); 320 cpu_to_be16(params.backlight_ramping_reduction); 322 cpu_to_be16(params.backlight_ramping_start); 456 ram_table->crgb_thresh[0] = cpu_to_be16(0x13b6); 457 ram_table->crgb_thresh[1] = cpu_to_be16( [all...] |
/linux-master/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_vema_iface.c | 96 cntrs->vp_instance = cpu_to_be16(adapter->vport_num); 97 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); 135 cntrs->vp_instance = cpu_to_be16(adapter->vport_num); 136 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); 167 info->fabric_id = cpu_to_be16(src->fabric_id); 168 info->vesw_id = cpu_to_be16(src->vesw_id); 170 info->def_port_mask = cpu_to_be16(src->def_port_mask); 172 info->pkey = cpu_to_be16(src->pkey); 182 info->eth_mtu = cpu_to_be16(src->eth_mtu); 242 info->max_mac_tbl_ent = cpu_to_be16(sr [all...] |
/linux-master/drivers/net/ethernet/fungible/funcore/ |
H A D | fun_hci.h | 41 .op = (_op), .len8 = (_len8), .flags = cpu_to_be16(_flags), \ 42 .suboff8 = (_suboff8), .cid = cpu_to_be16(_cid), \ 159 .subop = (_subop), .flags = cpu_to_be16(_flags), \ 259 .subop = (_subop), .flags = cpu_to_be16(_flags), \ 262 .nentries = cpu_to_be16(_nentries), \ 264 .tailroom = cpu_to_be16(_tailroom), .headroom = _headroom, \ 268 .intid = cpu_to_be16(_intid), \ 271 .tph_cpuid = cpu_to_be16(_tph_cpuid), \ 276 .subop = (_subop), .flags = cpu_to_be16(_flags), \ 277 .id = cpu_to_be32(_id), .headroom = cpu_to_be16(_headroo [all...] |
/linux-master/drivers/input/misc/ |
H A D | ad714x-i2c.c | 21 chip->xfer_buf[0] = cpu_to_be16(reg); 22 chip->xfer_buf[1] = cpu_to_be16(data); 41 chip->xfer_buf[0] = cpu_to_be16(reg);
|
H A D | ad714x-spi.c | 30 chip->xfer_buf[0] = cpu_to_be16(AD714x_SPI_CMD_PREFIX | 58 chip->xfer_buf[0] = cpu_to_be16(AD714x_SPI_CMD_PREFIX | reg); 59 chip->xfer_buf[1] = cpu_to_be16(data);
|
/linux-master/fs/gfs2/ |
H A D | dir.h | 72 dent->de_rec_len = cpu_to_be16(reclen); 73 dent->de_name_len = cpu_to_be16(name->len); 74 dent->de_type = cpu_to_be16(0);
|
/linux-master/arch/powerpc/boot/ |
H A D | libfdt_env.h | 21 #define cpu_to_fdt16(x) cpu_to_be16(x)
|
H A D | of.h | 30 #define cpu_to_be16(x) swab16(x) macro 37 #define cpu_to_be16(x) (x) macro
|
/linux-master/include/soc/fsl/ |
H A D | bman.h | 61 buf->hi = cpu_to_be16(upper_32_bits(addr)); 72 buf->bpid = cpu_to_be16(bpid & 0xff);
|
/linux-master/fs/xfs/ |
H A D | xfs_attr_inactive.c | 190 case cpu_to_be16(XFS_DA_NODE_MAGIC): 191 case cpu_to_be16(XFS_DA3_NODE_MAGIC): 195 case cpu_to_be16(XFS_ATTR_LEAF_MAGIC): 196 case cpu_to_be16(XFS_ATTR3_LEAF_MAGIC): 283 case cpu_to_be16(XFS_DA_NODE_MAGIC): 284 case cpu_to_be16(XFS_DA3_NODE_MAGIC): 287 case cpu_to_be16(XFS_ATTR_LEAF_MAGIC): 288 case cpu_to_be16(XFS_ATTR3_LEAF_MAGIC):
|
/linux-master/fs/hfs/ |
H A D | mdb.c | 97 if (mdb->drSigWord == cpu_to_be16(HFS_SUPER_MAGIC)) 134 if (mdb->drSigWord != cpu_to_be16(HFS_SUPER_MAGIC)) 163 if (mdb2->drSigWord == cpu_to_be16(HFS_SUPER_MAGIC)) { 211 if (!(attrib & cpu_to_be16(HFS_SB_ATTRIB_UNMNT))) { 215 if ((attrib & cpu_to_be16(HFS_SB_ATTRIB_SLOCK))) { 221 attrib &= cpu_to_be16(~HFS_SB_ATTRIB_UNMNT); 222 attrib |= cpu_to_be16(HFS_SB_ATTRIB_INCNSTNT); 275 mdb->drFreeBks = cpu_to_be16(HFS_SB(sb)->free_ablocks); 277 mdb->drNmFls = cpu_to_be16(HFS_SB(sb)->root_files); 278 mdb->drNmRtDirs = cpu_to_be16(HFS_S [all...] |
/linux-master/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_pes.c | 103 pts_dts.pts2 = cpu_to_be16(((args->pts & mask2) >> 14) | 0x1); 104 pts_dts.pts3 = cpu_to_be16(((args->pts & mask3) << 1) | 0x1); 107 pts_dts.dts2 = cpu_to_be16(((args->dts & mask2) >> 14) | 0x1); 108 pts_dts.dts3 = cpu_to_be16(((args->dts & mask3) << 1) | 0x1); 115 pts.pts2 = cpu_to_be16(((args->pts & mask2) >> 14) | 0x1); 116 pts.pts3 = cpu_to_be16(((args->pts & mask3) << 1) | 0x1); 144 pes_header.length = cpu_to_be16(vidtv_pes_op_get_len(args->send_pts, 153 pes_optional.bitfield = cpu_to_be16(pes_opt_bitfield); 281 ts_header.bitfield = cpu_to_be16((payload_start << 14) | args.pid);
|
/linux-master/drivers/net/ethernet/qualcomm/ |
H A D | qca_7k.c | 41 tx_data = cpu_to_be16(QCA7K_SPI_READ | QCA7K_SPI_INTERNAL | reg); 81 tx_data[0] = cpu_to_be16(QCA7K_SPI_WRITE | QCA7K_SPI_INTERNAL | reg); 82 tx_data[1] = cpu_to_be16(value);
|