Searched refs:h2b16 (Results 1 – 10 of 10) sorted by relevance
1256 h2b16((uint16_t)ioc->ioc_attr.hca_version_id); in srpt_ioc_init_profile()1260 ioc->ioc_profile.ioc_io_class = h2b16(SRP_REV_16A_IO_CLASS); in srpt_ioc_init_profile()1261 ioc->ioc_profile.ioc_io_subclass = h2b16(SRP_IO_SUBCLASS); in srpt_ioc_init_profile()1262 ioc->ioc_profile.ioc_protocol = h2b16(SRP_PROTOCOL); in srpt_ioc_init_profile()1263 ioc->ioc_profile.ioc_protocol_ver = h2b16(SRP_PROTOCOL_VERSION); in srpt_ioc_init_profile()1264 ioc->ioc_profile.ioc_send_msg_qdepth = h2b16(srpt_send_msg_depth); in srpt_ioc_init_profile()
1633 h2b16(SRP_DIRECT_BUFR_DESC | SRP_INDIRECT_BUFR_DESC); in srpt_format_login_rej()1652 h2b16(SRP_DIRECT_BUFR_DESC | SRP_INDIRECT_BUFR_DESC); in srpt_format_login_rsp()
2206 hdr->AttributeID = h2b16(IB_DM_ATTR_CLASSPORTINFO); in ibdm_set_classportinfo()2217 cpi->TrapLID = h2b16(gid_info->gl_slid); in ibdm_set_classportinfo()2219 cpi->TrapP_Key = h2b16(gid_info->gl_p_key); in ibdm_set_classportinfo()2293 hdr->AttributeID = h2b16(IB_DM_ATTR_CLASSPORTINFO); in ibdm_send_classportinfo()2487 hdr->AttributeID = h2b16(IB_DM_ATTR_IO_UNITINFO); in ibdm_handle_classportinfo()2556 hdr->AttributeID = h2b16(IB_DM_ATTR_IO_UNITINFO); in ibdm_send_iounitinfo()2791 hdr->AttributeID = h2b16(IB_DM_ATTR_IOC_CTRL_PROFILE); in ibdm_handle_iounitinfo()3024 hdr->AttributeID = h2b16(IB_DM_ATTR_SERVICE_ENTRIES); in ibdm_handle_ioc_profile()3217 hdr->AttributeID = h2b16(IB_DM_ATTR_DIAG_CODE); in ibdm_get_diagcode()4090 hdr->AttributeID = h2b16(IB_DM_ATTR_CLASSPORTINFO); in ibdm_retry_command()[all …]
662 req_msgp->req_part_key = h2b16(prim_pkey); in ibt_open_rc_channel()705 req_msgp->req_primary_l_port_lid = h2b16(primary_slid); in ibt_open_rc_channel()707 h2b16(IBCM_PRIM_ADDS_VECT(chan_args).av_dlid); in ibt_open_rc_channel()760 req_msgp->req_alt_l_port_lid = h2b16(alternate_slid); in ibt_open_rc_channel()762 h2b16(IBCM_ALT_ADDS_VECT(chan_args).av_dlid); in ibt_open_rc_channel()868 h2b16(IBCM_INCOMING_REQ + IBCM_ATTR_BASE_ID); in ibt_open_rc_channel()2096 sidr_req_msgp->sidr_req_pkey = h2b16(ud_pkey); in ibcm_ud_get_dqpn()2098 h2b16(IBCM_INCOMING_SIDR_REQ + IBCM_ATTR_BASE_ID); in ibcm_ud_get_dqpn()2371 h2b16(IBCM_INCOMING_MRA + IBCM_ATTR_BASE_ID); in ibt_cm_delay()4399 h2b16(alternate_slid)); in ibt_set_alt_path()[all …]
2651 h2b16(IBCM_INCOMING_DREQ + IBCM_ATTR_BASE_ID); in ibcm_post_dreq_mad()2711 h2b16(IBCM_INCOMING_DREP + IBCM_ATTR_BASE_ID); in ibcm_post_drep_mad()3036 rej_msg->rej_rejection_reason = h2b16((uint16_t)reject_reason); in ibcm_post_rej_mad()3042 h2b16(IBCM_INCOMING_REJ + IBCM_ATTR_BASE_ID); in ibcm_post_rej_mad()3115 rej_msg->rej_rejection_reason = h2b16(reject_reason); in ibcm_build_n_post_rej_mad()3118 h2b16(IBCM_INCOMING_REJ + IBCM_ATTR_BASE_ID); in ibcm_build_n_post_rej_mad()3163 rej_msg->rej_rejection_reason = h2b16(IBT_CM_CLASS_NO_SUPPORT); in ibcm_post_rej_ver_mismatch()3168 h2b16(IBCM_INCOMING_REJ + IBCM_ATTR_BASE_ID); in ibcm_post_rej_ver_mismatch()3169 IBCM_OUT_HDRP(cm_rej_msg)->Status = h2b16(MAD_STATUS_BAD_VERSION); in ibcm_post_rej_ver_mismatch()3211 h2b16(IBCM_INCOMING_REP + IBCM_ATTR_BASE_ID); in ibcm_post_rep_mad()[all …]
1539 *p16++ = h2b16(sb_data->s_data16[i]); in ibcm_swizzle_from_srv()1564 sb_data->s_data16[i] = h2b16(*p16++); in ibcm_swizzle_to_srv()
534 h2b16(IBCM_CPINFO_CAP_RC | IBCM_CPINFO_CAP_SIDR); in ibcm_init_classportinfo()
55 #define h2b16(x) (htons(x)) macro70 #define h2b16(x) (x)
433 hca->ih_iou.iou_changeid = h2b16(1); in ibdma_hca_init()899 hca->ih_iou.iou_changeid = h2b16(id); in ibdma_set_ioc_state()
1748 mad_hdr->AttributeID = h2b16(attr_id); in ibmf_saa_impl_init_msg()