Searched refs:cl_ntoh32 (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-11-stable/contrib/ofed/opensm/include/complib/
H A Dcl_byteswap_osd.h62 #define cl_ntoh32(x) bswap_32(x) macro
69 #define cl_ntoh32(x) (x)
H A Dcl_byteswap.h71 * cl_ntoh16, cl_hton16, cl_ntoh32, cl_hton32, cl_ntoh64, cl_hton64,
124 * cl_ntoh16, cl_ntoh32, cl_ntoh64, cl_ntoh
185 * Byte Swapping, cl_hton16, cl_ntoh32, cl_ntoh64, cl_ntoh
225 * than the cl_ntoh32 function.
242 * cl_ntoh16, cl_ntoh32, cl_ntoh64, cl_ntoh
281 /****f* Component Library: Byte Swapping/cl_ntoh32
283 * cl_ntoh32
286 * The cl_ntoh32 function converts a 32-bit value from network byte order to
291 * cl_ntoh32(
328 * This function is analogous to cl_ntoh32
334 #define cl_ntoh32 macro
[all...]
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_mcast_fwd_rcv.c82 block_num = cl_ntoh32(p_smp->attr_mod) & IB_MCAST_BLOCK_ID_MASK_HO;
83 position = (uint8_t) ((cl_ntoh32(p_smp->attr_mod) &
H A Dosm_pkey_rcv.c108 block_num = (uint16_t) ((cl_ntoh32(p_smp->attr_mod)) & 0x0000FFFF);
112 (uint8_t) (((cl_ntoh32(p_smp->attr_mod)) & 0x00FF0000) >>
H A Dosm_vl_arb_rcv.c116 block_num = (uint8_t) (cl_ntoh32(p_smp->attr_mod) >> 16);
119 port_num = (uint8_t) (cl_ntoh32(p_smp->attr_mod) & 0x000000FF);
H A Dosm_helper.c896 cl_ntoh32(p_pi->capability_mask),
917 cl_ntoh32(p_pi->link_rt_latency),
1093 cl_ntoh32(p_pi->capability_mask),
1114 cl_ntoh32(p_pi->link_rt_latency),
1263 cl_ntoh32(p_gir->reserved),
1322 cl_ntoh16(p_ni->device_id), cl_ntoh32(p_ni->revision),
1324 cl_ntoh32(ib_node_info_get_vendor_id(p_ni)));
1390 cl_ntoh16(p_ni->device_id), cl_ntoh32(p_ni->revision),
1392 cl_ntoh32(ib_node_info_get_vendor_id(p_ni)), desc);
1456 cl_ntoh32(p_p
[all...]
H A Dosm_inform.c552 if ((cl_ntoh32(ib_inform_info_get_prod_type(p_ii)) != 0xFFFFFF)
557 cl_ntoh32(ib_inform_info_get_prod_type(p_ii)),
560 cl_ntoh32(ib_notice_get_prod_type(p_ntc)),
678 cl_ntoh32(ntc->data_details.ntc_144.new_cap_mask));
699 cl_ntoh32(ntc->data_details.ntc_256.attr_mod),
717 cl_ntoh32(ntc->data_details.ntc_257_258.key),
718 cl_ntoh32(ntc->data_details.ntc_257_258.qp1) >> 28,
719 cl_ntoh32(ntc->data_details.ntc_257_258.qp1) & 0xffffff,
720 cl_ntoh32(ntc->data_details.ntc_257_258.qp2) & 0xffffff,
740 cl_ntoh32(nt
[all...]
H A Dosm_slvl_map_rcv.c121 attr_mod = cl_ntoh32(p_smp->attr_mod);
139 cl_ntoh32(attr_mod), cl_ntoh64(node_guid));
H A Dosm_guid_info_rcv.c89 block_num = (uint8_t) cl_ntoh32(p_smp->attr_mod);
H A Dosm_lin_fwd_rcv.c79 block_num = cl_ntoh32(p_smp->attr_mod);
H A Dosm_trap_rcv.c293 cl_ntoh32(ib_notice_get_prod_type(p_ntci)),
303 cl_ntoh32(p_ntci->data_details.ntc_257_258.key),
304 cl_ntoh32(p_ntci->data_details.ntc_257_258.qp1) >> 28,
306 cl_ntoh32(p_ntci->data_details.ntc_257_258.qp1) & 0xfff,
308 cl_ntoh32(p_ntci->data_details.ntc_257_258.qp2));
315 cl_ntoh32(ib_notice_get_vend_id(p_ntci)),
H A Dosm_resp.c145 cl_ntoh32(p_smp->attr_mod), cl_ntoh64(p_smp->trans_id));
H A Dosm_service.c68 p_svcr->lease_period = cl_ntoh32(p_svc_rec->service_lease);
H A Dosm_mlnx_ext_port_info_rcv.c87 port_num = (uint8_t) cl_ntoh32(p_smp->attr_mod);
H A Dosm_dump.c412 cl_ntoh32(ib_node_info_get_vendor_id
415 cl_ntoh32(p_node->node_info.revision),
441 cl_ntoh32(ib_node_info_get_vendor_id
443 cl_ntoh32(p_nbnode->node_info.device_id),
444 cl_ntoh32(p_nbnode->node_info.revision),
H A Dosm_sa.c641 cl_ntoh32(p_mgrp->mcmember_rec.qkey),
648 cl_ntoh32(p_mgrp->mcmember_rec.sl_flow_hop),
692 cl_ntoh32(p_iir->inform_info.g_or_v.generic.qpn_resp_time_val),
693 cl_ntoh32(ib_inform_info_get_prod_type(&p_iir->inform_info)),
697 cl_ntoh32(p_infr->report_addr.addr_type.gsi.remote_qp),
698 cl_ntoh32(p_infr->report_addr.addr_type.gsi.remote_qkey),
726 cl_ntoh32(p_sr->service_lease),
752 cl_ntoh32(p_sr->service_data32[0]),
753 cl_ntoh32(p_sr->service_data32[1]),
754 cl_ntoh32(p_s
[all...]
H A Dosm_req.c207 cl_ntoh32(attr_mod), cl_ntoh64(tid), cl_ntoh64(m_key_calc));
290 cl_ntoh32(attr_mod), cl_ntoh64(tid), cl_ntoh64(m_key_calc));
H A Dosm_perfmgr_db.c1058 reading->xmit_wait = cl_ntoh32(wire_read->xmit_wait);
1068 reading->xmit_data = cl_ntoh32(wire_read->xmit_data);
1069 reading->rcv_data = cl_ntoh32(wire_read->rcv_data);
1070 reading->xmit_pkts = cl_ntoh32(wire_read->xmit_pkts);
1071 reading->rcv_pkts = cl_ntoh32(wire_read->rcv_pkts);
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dsaquery.c174 cl_ntoh16(ni->device_id), cl_ntoh32(ni->revision),
176 cl_ntoh32(ib_node_info_get_vendor_id(ni)),
238 cl_ntoh32(p_pr->hop_flow_raw), p_pr->tclass, p_pr->num_path,
272 cl_ntoh32(cpi->redir_tc_sl_fl), cl_ntoh16(cpi->redir_lid),
273 cl_ntoh16(cpi->redir_pkey), cl_ntoh32(cpi->redir_qp),
274 cl_ntoh32(cpi->redir_qkey),
276 cl_ntoh32(cpi->trap_tc_sl_fl), cl_ntoh16(cpi->trap_lid),
277 cl_ntoh16(cpi->trap_pkey), cl_ntoh32(cpi->trap_hop_qp),
278 cl_ntoh32(cpi->trap_qkey));
294 cl_ntoh32(p_p
[all...]
/freebsd-11-stable/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_rmpp_ctx.c177 p_rmpp_mad->paylen_newwin = cl_ntoh32(paylen);
178 p_rmpp_mad->seg_num = cl_ntoh32(seg_idx);
292 num_bytes = cl_ntoh32(((ib_rmpp_mad_t *) p_list_mad)->paylen_newwin);
323 num_bytes = cl_ntoh32(((ib_rmpp_mad_t *) p_list_mad)->paylen_newwin);
H A Dosm_vendor_umadt.c619 cl_ntoh32(((ib_sa_mad_t_vM3 *) p_mad)->payload_len);
654 cl_ntoh32(seg_num++);
667 cl_ntoh32(IB_SA_DATA_SIZE);
668 p_sa_mad->seg_num = cl_ntoh32(seg_num++);
683 p_sa_mad->seg_num = cl_ntoh32(seg_num++);
686 cl_ntoh32(cl_ntoh32
692 cl_ntoh32(p_sa_mad->payload_len));
H A Dosm_vendor_mlx_dispatcher.c396 uint32_t seg_num = cl_ntoh32(((ib_rmpp_mad_t *) p_mad)->seg_num);
397 uint32_t new_wl = cl_ntoh32(((ib_rmpp_mad_t *) p_mad)->paylen_newwin);
651 uint32_t seg_num = cl_ntoh32(((ib_rmpp_mad_t *) p_mad)->seg_num);
700 uint32_t seg_num = cl_ntoh32(((ib_rmpp_mad_t *) p_req_mad)->seg_num);
H A Dosm_vendor_mlx_sim.c355 cl_ntoh32(p_osm_addr->addr_type.gsi.remote_qp);
382 cl_ntoh32(p_ibms_addr->sqpn);
H A Dosm_vendor_mlx_ts.c420 p_mad->dqpn = cl_ntoh32(p_mad_addr->addr_type.gsi.remote_qp);
444 p_mad_addr->addr_type.gsi.remote_qp = cl_ntoh32(p_mad->sqpn);
/freebsd-11-stable/contrib/ofed/opensm/include/iba/
H A Dib_types.h2050 if (cl_ntoh32(producer_type) >
2053 return (__ib_producer_type_str[cl_ntoh32(producer_type)]);
3327 return (((cl_ntoh32(p_rec->hop_flow_raw) >> 8) & 0x000FFFFF));
3356 return ((uint8_t) (cl_ntoh32(p_rec->hop_flow_raw) & 0x000000FF));
3618 return (uint8_t)(cl_ntoh32(p_cpi->cap_mask2_resp_time) &
3683 return (cl_ntoh32(p_cpi->cap_mask2_resp_time) >> IB_CLASS_CAPMASK2_SHIFT);
7641 tmp = cl_ntoh32(sl_flow_hop);
8098 uint32_t ptv = cl_ntoh32(prod_type_val);
8197 uint32_t vi = cl_ntoh32(vend_id);
8294 uint32_t tmp = cl_ntoh32(qpn_resp_time_va
[all...]

Completed in 303 milliseconds

12