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

12

/freebsd-13-stable/contrib/ofed/infiniband-diags/src/
H A Dibsendtrap.c80 n->g_or_v.generic.prod_type_lsb = cl_hton16(get_node_type(port));
81 n->g_or_v.generic.trap_num = cl_hton16(145);
82 n->issuer_lid = cl_hton16((uint16_t) port->lid);
89 n->g_or_v.generic.prod_type_lsb = cl_hton16(get_node_type(port));
90 n->g_or_v.generic.trap_num = cl_hton16(144);
91 n->issuer_lid = cl_hton16((uint16_t) port->lid);
116 n->g_or_v.generic.prod_type_lsb = cl_hton16(get_node_type(port));
117 n->g_or_v.generic.trap_num = cl_hton16(129);
118 n->issuer_lid = cl_hton16((uint16_t) port->lid);
127 n->g_or_v.generic.prod_type_lsb = cl_hton16(get_node_typ
[all...]
/freebsd-13-stable/contrib/ofed/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,
134 * than the cl_hton16 function.
151 * cl_hton16, cl_hton32, cl_hton64, cl_ntoh
182 * This function is analogous to cl_hton16.
185 * Byte Swapping, cl_hton16, cl_ntoh32, cl_ntoh64, cl_ntoh
187 /****f* Component Library: Byte Swapping/cl_hton16
189 * cl_hton16
192 * The cl_hton16 function converts a 16-bit value from host byte order to
197 * cl_hton16(
215 #define cl_hton16 CL_HTON1 macro
[all...]
/freebsd-13-stable/contrib/ofed/opensm/opensm/
H A Dosm_prtn.c114 cl_hton16(p->pkey));
258 pkey = p->pkey | cl_hton16(0x8000);
301 pkey = cl_hton16(pkey);
329 pkey &= cl_hton16((uint16_t) ~ 0x8000);
H A Dosm_inform.c513 if ((cl_hton16(p_ii->lid_range_begin) >
514 cl_hton16(p_ntc->issuer_lid))
515 || (cl_hton16(p_ntc->issuer_lid) >
516 cl_hton16(p_ii->lid_range_end))) {
519 cl_hton16(p_ii->lid_range_begin),
520 cl_hton16(p_ntc->issuer_lid),
521 cl_hton16(p_ii->lid_range_end));
H A Dosm_sa_class_port_info.c177 p_resp_cpi->cap_mask = cl_hton16(p_resp_cpi->cap_mask);
H A Dosm_prtn_config.c125 return (ipsig == cl_hton16(0x401b) || ipsig == cl_hton16(0x601b));
138 || mpkey == (conf->p_prtn->pkey | cl_hton16(0x8000)))
230 pkey = cl_hton16((uint16_t)strtoul(id, &end, 0));
614 ib_net16_t pkey = conf->p_prtn->pkey | cl_hton16(0x8000);
H A Dosm_congestion_control.c150 cl_hton16(p_opt->cc_sw_cong_setting_credit_starvation_threshold << 12);
153 cl_hton16(p_opt->cc_sw_cong_setting_credit_starvation_return_delay.shift << 14
196 p_cc->cc_tbl[i].ccti_limit = cl_hton16(ccti_limit);
211 cl_hton16(p_opt->cc_cct.entries[k].shift << 14
H A Dosm_lid_mgr.c1139 p_mgr->p_subn->master_sm_base_lid = cl_hton16(min_lid_ho);
1140 p_mgr->p_subn->sm_base_lid = cl_hton16(min_lid_ho);
1151 cl_hton16(min_lid_ho));
1242 cl_hton16(min_lid_ho)))
H A Dosm_mcast_mgr.c1024 mbox = osm_get_mbox_by_mlid(sm->p_subn, cl_hton16(mlid));
1071 mcast_top = cl_hton16(sm->mlids_init_max);
1074 mcast_top = cl_hton16(IB_LID_MCAST_START_HO - 1);
1076 mcast_top = cl_hton16(IB_LID_MCAST_START_HO +
H A Dosm_sa_lft_record.c97 p_rec_item->resp.lft_rec.block_num = cl_hton16(block);
H A Dosm_sa_mft_record.c102 p_rec_item->resp.mft_rec.position_block_num = cl_hton16(position_block_num);
H A Dosm_ucast_dfsssp.c1971 srcdest2vl_table->lids[i] = cl_hton16(dlid);
2030 cl_hton16(slid),
2031 cl_hton16(dlid),
2082 cl_hton16(slid),
2083 cl_hton16(dlid))) {
2094 cl_hton16
2098 cl_hton16
2132 cl_hton16(slid),
2133 cl_hton16(dlid),
H A Dosm_sa_path_record.c183 dest_lid = cl_hton16(dest_lid_ho);
720 pkey & cl_hton16((uint16_t) ~
819 cl_hton16(src_lid_ho), cl_hton16(dest_lid_ho));
912 p_pr->dlid = cl_hton16(dest_lid_ho);
913 p_pr->slid = cl_hton16(src_lid_ho);
H A Dosm_qos_policy.c337 (p_src_physp, p_dest_physp, cl_hton16(pkey_ho),
339 return cl_hton16(pkey_ho);
957 pkey = cl_hton16((uint16_t)(pkey_64 & 0x7fff));
H A Dosm_sa_multipath_record.c173 dest_lid = cl_hton16(dest_lid_ho);
848 p_pr->dlid = cl_hton16(dest_lid_ho);
849 p_pr->slid = cl_hton16(src_lid_ho);
H A Dosm_req.c414 ntc->g_or_v.generic.trap_num = cl_hton16(SM_LOCAL_CHANGES_TRAP); /* 144 */
/freebsd-13-stable/contrib/ofed/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.c410 cl_hton16(p_bind->p_vendor->umad_port.sm_lid);
412 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.c501 p_madw->mad_addr.dest_lid = cl_hton16(p_bind->sm_lid);
503 p_madw->mad_addr.addr_type.smi.source_lid = cl_hton16(p_bind->lid);
H A Dosm_vendor_ts.c87 p_mad_addr->dest_lid = cl_hton16(p_mad->slid);
92 p_mad_addr->addr_type.smi.source_lid = cl_hton16(p_mad->slid);
/freebsd-13-stable/contrib/ofed/opensm/include/iba/
H A Dib_types.h2869 p_rec->qos_class_sl = cl_hton16((sl & IB_PATH_REC_SL_MASK) |
2992 cl_hton16(sl & IB_PATH_REC_SL_MASK);
3056 cl_hton16(qos_class << 4);
4476 return (cl_hton16((uint16_t) (attr_size >> 3)));
6867 cl_hton16(sl & IB_MULTIPATH_REC_SL_MASK);
6931 cl_hton16(qos_class << 4);
8100 cl_hton16((uint16_t) (ptv & 0x0000ffff));
8134 cl_hton16((uint16_t) (prod_type_val_ho & 0x0000ffff));
8199 cl_hton16((uint16_t) (vi & 0x0000ffff));
8232 cl_hton16((uint16_
[all...]

Completed in 123 milliseconds

12