Home
last modified time | relevance | path

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

12

/freebsd/contrib/ofed/opensm/include/complib/
H A Dcl_byteswap_osd.h63 #define cl_hton32(x) bswap_32(x) macro
70 #define cl_hton32(x) (x)
H A Dcl_byteswap.h335 #define cl_hton32 CL_HTON32 macro
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dibsendtrap.c93 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 Dsaquery.c1086 (pr.hop_flow_raw & cl_hton32(~0x0FFFFF00)) | flow; in query_path_records()
/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_sender.c269 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 Dosm_vendor_mlx_ibmgt.c714 p_mad_addr->addr_type.gsi.remote_qp = cl_hton32(p_rcv_desc->qp); in __osmv_IBMGT_rcv_desc_to_osm_addr()
H A Dosm_vendor_mtl.c105 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 Dosm_link_mgr.c467 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 Dosm_guid_mgr.c76 cl_hton32((uint32_t)block_num), FALSE, in guidinfo_set()
H A Dosm_sw_info_rcv.c96 cl_hton32(block_id_ho), TRUE, 0,
178 cl_hton32(attr_mod_ho), TRUE, 0,
H A Dosm_port_info_rcv.c242 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 Dosm_sminfo_rcv.c98 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 Dosm_congestion_control.c105 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 Dosm_node_info_rcv.c350 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 Dosm_pkey_mgr.c249 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 Dosm_sa_path_record.c915 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 Dosm_trap_rcv.c263 cl_hton32(osm_physp_get_port_num(p)), in disable_port()
H A Dosm_qos.c129 attr_id, cl_hton32(attr_mod), in osm_qos_mad_create()
H A Dosm_lid_mgr.c1081 cl_hton32(osm_physp_get_port_num(p_physp)), in lid_mgr_set_physp_pi()
H A Dosm_mcast_mgr.c379 cl_hton32(block_id_ho), FALSE, in mcast_mgr_set_mft_block()
H A Dosm_ucast_mgr.c1023 cl_hton32(block_id_ho), FALSE, in set_lft_block()
H A Dosm_subnet.c367 if (cl_hton32(val) != *p_val1) { in opts_parse_net32()
371 *p_val1 = *p_val2 = cl_hton32(val); in opts_parse_net32()
H A Dosm_sa_multipath_record.c851 p_pr->hop_flow_raw &= cl_hton32(1 << 31); in mpr_rcv_build_pr()
H A Dosm_state_mgr.c998 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 Dib_types.h3586 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()

12