/freebsd/contrib/ofed/opensm/include/complib/ |
H A D | cl_byteswap_osd.h | 63 #define cl_hton32(x) bswap_32(x) macro 70 #define cl_hton32(x) (x)
|
H A D | cl_byteswap.h | 335 #define cl_hton32 CL_HTON32 macro
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | ibsendtrap.c | 93 n->data_details.ntc_144.new_cap_mask = cl_hton32(get_cap_mask(port)); in build_trap144_local() 163 n->data_details.ntc_257_258.key = cl_hton32(0x12345678); in build_trap257_258() 164 n->data_details.ntc_257_258.qp1 = cl_hton32(0x010101); in build_trap257_258() 165 n->data_details.ntc_257_258.qp2 = cl_hton32(0x020202); in build_trap257_258()
|
H A D | saquery.c | 1086 (pr.hop_flow_raw & cl_hton32(~0x0FFFFF00)) | flow; in query_path_records()
|
/freebsd/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_mlx_sender.c | 269 p_resp_mad->seg_num = cl_hton32(seg_num); in osmv_rmpp_send_ack() 270 p_resp_mad->paylen_newwin = cl_hton32(nwl); in osmv_rmpp_send_ack()
|
H A D | osm_vendor_mlx_ibmgt.c | 714 p_mad_addr->addr_type.gsi.remote_qp = cl_hton32(p_rcv_desc->qp); in __osmv_IBMGT_rcv_desc_to_osm_addr()
|
H A D | osm_vendor_mtl.c | 105 p_mad_addr->addr_type.gsi.remote_qp = cl_hton32(p_rcv_desc->qp); in __osm_mtl_conv_ibmgt_rcv_desc_to_osm_addr()
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_link_mgr.c | 467 attr_mod = cl_hton32(port_num); in link_mgr_set_physp_pi() 469 attr_mod |= cl_hton32(1 << 31); /* AM SMSupportExtendedSpeeds */ in link_mgr_set_physp_pi() 490 cl_hton32(port_num), FALSE, m_key, in link_mgr_set_physp_pi()
|
H A D | osm_guid_mgr.c | 76 cl_hton32((uint32_t)block_num), FALSE, in guidinfo_set()
|
H A D | osm_sw_info_rcv.c | 96 cl_hton32(block_id_ho), TRUE, 0, 178 cl_hton32(attr_mod_ho), TRUE, 0,
|
H A D | osm_port_info_rcv.c | 242 IB_MAD_ATTR_PORT_INFO, cl_hton32(port), in pi_rcv_process_switch_port0() 340 cl_hton32(port_num), FALSE, m_key, in pi_rcv_process_switch_ext_port() 524 cl_hton32(attr_mod_ho), FALSE, in get_pkey_table()
|
H A D | osm_sminfo_rcv.c | 98 p_smi->act_count = cl_hton32(sm->p_subn->p_osm->stats.qp0_mads_sent); in smi_rcv_process_get_request() 173 p_smi->act_count = cl_hton32(sm->p_subn->p_osm->stats.qp0_mads_sent); in smi_rcv_process_set_request()
|
H A D | osm_congestion_control.c | 105 cl_hton32(IB_QP1_WELL_KNOWN_Q_KEY); in cc_mad_post() 346 IB_MAD_ATTR_CC_TBL, cl_hton32(index)); in cc_send_cct()
|
H A D | osm_node_info_rcv.c | 350 IB_MAD_ATTR_PORT_INFO, cl_hton32(port), in ni_rcv_get_port_info() 360 cl_hton32(port), in ni_rcv_get_port_info()
|
H A D | osm_pkey_mgr.c | 249 cl_hton32(attr_mod), FALSE, m_key, in pkey_mgr_update_pkey_entry() 311 cl_hton32(osm_physp_get_port_num(p_physp)), in pkey_mgr_enforce_partition()
|
H A D | osm_sa_path_record.c | 915 p_pr->hop_flow_raw &= cl_hton32(1 << 31); in pr_rcv_build_pr() 919 p_pr->hop_flow_raw |= cl_hton32(IB_HOPLIMIT_MAX); in pr_rcv_build_pr() 1702 cl_hton32(hop_limit) | (flow_label << 8); in pr_process_multicast()
|
H A D | osm_qos.c | 129 attr_id, cl_hton32(attr_mod), in osm_qos_mad_create()
|
H A D | osm_trap_rcv.c | 263 cl_hton32(osm_physp_get_port_num(p)), in disable_port()
|
H A D | osm_lid_mgr.c | 1081 cl_hton32(osm_physp_get_port_num(p_physp)), in lid_mgr_set_physp_pi()
|
H A D | osm_mcast_mgr.c | 379 cl_hton32(block_id_ho), FALSE, in mcast_mgr_set_mft_block()
|
H A D | osm_ucast_mgr.c | 1023 cl_hton32(block_id_ho), FALSE, in set_lft_block()
|
H A D | osm_subnet.c | 367 if (cl_hton32(val) != *p_val1) { in opts_parse_net32() 371 *p_val1 = *p_val2 = cl_hton32(val); in opts_parse_net32()
|
H A D | osm_sa_multipath_record.c | 851 p_pr->hop_flow_raw &= cl_hton32(1 << 31); in mpr_rcv_build_pr()
|
H A D | osm_state_mgr.c | 998 p_smi->act_count = cl_hton32(sm->p_subn->p_osm->stats.qp0_mads_sent); in state_mgr_send_handover()
|
/freebsd/contrib/ofed/opensm/include/iba/ |
H A D | ib_types.h | 3586 cl_hton32(val & IB_CLASS_RESP_TIME_MASK); in ib_class_set_resp_time_val() 3651 cl_hton32(cap_mask2 << IB_CLASS_CAPMASK2_SHIFT); in ib_class_set_cap_mask2() 7692 return cl_hton32(tmp); in ib_member_set_sl_flow_hop() 8070 return cl_hton32(pt); in ib_notice_get_prod_type() 8170 return cl_hton32(vi); in ib_notice_get_vend_id() 8297 *p_qpn = cl_hton32((tmp & 0xffffff00) >> 8); in ib_inform_info_get_qpn_resp_time() 8336 cl_hton32((tmp & 0x000000ff) | ((qpn_h << 8) & 0xffffff00) in ib_inform_info_set_qpn() 8366 return cl_hton32(nt); in ib_inform_info_get_prod_type() 8399 return cl_hton32(vi); in ib_inform_info_get_vend_id() 8975 p_ioc_profile->vend_id = (cl_hton32(vend_id) << 8); in ib_ioc_profile_set_vend_id()
|