Searched refs:cl_hton16 (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-10.0-release/contrib/ofed/management/opensm/include/complib/
H A Dcl_byteswap_osd.h61 #define cl_hton16(x) bswap_16(x) macro
68 #define cl_hton16(x) (x)
H A Dcl_byteswap.h71 * cl_ntoh16, cl_hton16, cl_ntoh32, cl_hton32, cl_ntoh64, cl_hton64,
135 * than the cl_hton16 function.
152 * cl_hton16, cl_hton32, cl_hton64, cl_ntoh
183 * This function is analogous to cl_hton16.
186 * Byte Swapping, cl_hton16, cl_ntoh32, cl_ntoh64, cl_ntoh
188 /****f* Component Library: Byte Swapping/cl_hton16
190 * cl_hton16
193 * The cl_hton16 function converts a 16-bit value from host byte order to
198 * cl_hton16(
216 #define cl_hton16 CL_HTON1 macro
[all...]
/freebsd-10.0-release/contrib/ofed/management/infiniband-diags/src/
H A Dibsendtrap.c76 notice.g_or_v.generic.prod_type_lsb = cl_hton16(IB_NODE_TYPE_CA);
77 notice.g_or_v.generic.trap_num = cl_hton16(144);
78 notice.issuer_lid = cl_hton16(selfportid.lid);
79 notice.data_details.ntc_144.lid = cl_hton16(selfportid.lid);
H A Dsaquery.c926 lid_pair.src_lid = cl_hton16(src_lid);
927 lid_pair.dest_lid = cl_hton16(dst_lid);
1139 pir.lid = cl_hton16(lid);
1143 pir.port_num = cl_hton16(port);
1216 lr.from_lid = cl_hton16(from_lid);
1224 lr.to_lid = cl_hton16(to_lid);
1257 slvl.lid = cl_hton16(lid);
1294 vlarb.lid = cl_hton16(lid);
1331 pktr.lid = cl_hton16(lid);
1368 lftr.lid = cl_hton16(li
[all...]
/freebsd-10.0-release/contrib/ofed/management/opensm/opensm/
H A Dosm_inform.c409 if ((cl_hton16(p_ii->lid_range_begin) >
410 cl_hton16(p_ntc->issuer_lid))
411 || (cl_hton16(p_ntc->issuer_lid) >
412 cl_hton16(p_ii->lid_range_end))) {
415 cl_hton16(p_ii->lid_range_begin),
416 cl_hton16(p_ntc->issuer_lid),
417 cl_hton16(p_ii->lid_range_end));
H A Dosm_prtn.c198 pkey = p->pkey | cl_hton16(0x8000);
259 pkey = cl_hton16(pkey);
287 pkey &= cl_hton16((uint16_t) ~ 0x8000);
H A Dosm_sa_class_port_info.c168 p_resp_cpi->cap_mask = cl_hton16(p_resp_cpi->cap_mask);
H A Dosm_lid_mgr.c1184 p_mgr->p_subn->master_sm_base_lid = cl_hton16(min_lid_ho);
1185 p_mgr->p_subn->sm_base_lid = cl_hton16(min_lid_ho);
1196 cl_hton16(min_lid_ho));
1305 (p_mgr, p_port, p_port->p_physp, cl_hton16(min_lid_ho)))
H A Dosm_qos_policy.c349 (p_src_physp, p_dest_physp, cl_hton16(pkey_ho)))
350 return cl_hton16(pkey_ho);
840 cl_hton16(p_mgrp->mcmember_rec.mlid),
983 pkey = cl_hton16((uint16_t)(pkey_64 & 0x7fff));
H A Dosm_req.c265 ntc->g_or_v.generic.trap_num = cl_hton16(144);
H A Dosm_sa_lft_record.c100 p_rec_item->rec.block_num = cl_hton16(block);
H A Dosm_sa_mft_record.c105 p_rec_item->rec.position_block_num = cl_hton16(position_block_num);
H A Dosm_trap_rcv.c384 cl_hton16(source_lid),
401 cl_hton16(source_lid),
H A Dosm_sa_path_record.c203 dest_lid = cl_hton16(dest_lid_ho);
653 pkey & cl_hton16((uint16_t) ~
801 p_pr->dlid = cl_hton16(dest_lid_ho);
802 p_pr->slid = cl_hton16(src_lid_ho);
H A Dosm_sa_multipath_record.c193 dest_lid = cl_hton16(dest_lid_ho);
770 p_pr->dlid = cl_hton16(dest_lid_ho);
771 p_pr->slid = cl_hton16(src_lid_ho);
H A Dosm_pkey_mgr.c153 pkey |= cl_hton16(0x8000);
/freebsd-10.0-release/contrib/ofed/management/opensm/osmtest/
H A Dosmt_inform.c392 p_ntc->g_or_v.generic.trap_num = cl_hton16(0x26);
393 p_ntc->issuer_lid = cl_hton16(2);
563 /* p_ii->lid_range_begin = cl_hton16(1); */
565 p_ii->lid_range_end = cl_hton16(p_osmt->max_lid);
581 /* p_ii->lid_range_begin = cl_hton16(1); */
583 p_ii->lid_range_end = cl_hton16(p_osmt->max_lid);
699 osmt_init_inform_info_by_trap(p_osmt, cl_hton16(64), &inform_info);
719 osmt_init_inform_info_by_trap(p_osmt, cl_hton16(65), &inform_info);
/freebsd-10.0-release/contrib/ofed/management/opensm/libvendor/
H A Dosm_vendor_mlx_ts_anafa.c385 p_mad_addr->dest_lid = cl_hton16(p_mad->slid);
390 p_mad_addr->addr_type.smi.source_lid = cl_hton16(p_mad->slid);
H A Dosm_vendor_mlx_sim.c371 p_osm_addr->dest_lid = cl_hton16(p_ibms_addr->slid);
377 cl_hton16(p_ibms_addr->slid);
H A Dosm_vendor_mlx_ts.c435 p_mad_addr->dest_lid = cl_hton16(p_mad->slid);
440 p_mad_addr->addr_type.smi.source_lid = cl_hton16(p_mad->slid);
H A Dosm_vendor_ibumad_sa.c424 cl_hton16(p_bind->p_vendor->umad_port.sm_lid);
426 cl_hton16(p_bind->p_vendor->umad_port.base_lid);
H A Dosm_vendor_mlx_ibmgt.c698 p_mad_addr->dest_lid = cl_hton16(p_rcv_desc->remote_lid);
708 cl_hton16(p_rcv_desc->remote_lid);
H A Dosm_vendor_mlx_sa.c537 p_madw->mad_addr.dest_lid = cl_hton16(p_bind->sm_lid);
539 p_madw->mad_addr.addr_type.smi.source_lid = cl_hton16(p_bind->lid);
H A Dosm_vendor_ts.c88 p_mad_addr->dest_lid = cl_hton16(p_mad->slid);
93 p_mad_addr->addr_type.smi.source_lid = cl_hton16(p_mad->slid);
/freebsd-10.0-release/contrib/ofed/management/opensm/include/iba/
H A Dib_types.h2704 p_rec->qos_class_sl = cl_hton16((sl & IB_PATH_REC_SL_MASK) |
2828 cl_hton16(sl & IB_PATH_REC_SL_MASK);
2892 cl_hton16(qos_class << 4);
4255 return (cl_hton16((uint16_t) (attr_size >> 3)));
6126 cl_hton16(sl & IB_MULTIPATH_REC_SL_MASK);
6190 cl_hton16(qos_class << 4);
7323 cl_hton16((uint16_t) (ptv & 0x0000ffff));
7357 cl_hton16((uint16_t) (prod_type_val_ho & 0x0000ffff));
7422 cl_hton16((uint16_t) (vi & 0x0000ffff));
7455 cl_hton16((uint16_
[all...]

Completed in 195 milliseconds

12