Searched refs:be16_to_cpu (Results 1 - 25 of 51) sorted by relevance

123

/freebsd-10-stable/sys/ofed/drivers/infiniband/util/
H A Dmadeye.c240 printk("Status.........0x%02x\n", be16_to_cpu(mad_hdr->status));
242 print_status_details(be16_to_cpu(mad_hdr->status));
243 printk("Class specific.0x%02x\n", be16_to_cpu(mad_hdr->class_specific));
248 be16_to_cpu(mad_hdr->attr_id),
249 get_sa_attr(be16_to_cpu(mad_hdr->attr_id)));
252 be16_to_cpu(mad_hdr->attr_id));
363 printk("Status.........0x%02x\n", be16_to_cpu(smp->status));
365 print_status_details(be16_to_cpu(smp->status));
370 printk("Attr ID........0x%02x (%s)\n", be16_to_cpu(smp->attr_id),
376 printk("DR SLID........0x%02x\n", be16_to_cpu(sm
[all...]
/freebsd-10-stable/sys/ofed/include/asm/
H A Dbyteorder.h54 #define be16_to_cpu be16toh macro
90 *var = cpu_to_be16(be16_to_cpu(*var) + val);
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dcq.c514 be32_to_cpu(cqe->my_qpn), be16_to_cpu(cqe->wqe_index),
592 wc->pkey_index = be16_to_cpu(hdr->tun.pkey_index);
593 wc->slid = be16_to_cpu(hdr->tun.slid_mac_47_32);
594 wc->sl = (u8) (be16_to_cpu(hdr->tun.sl_vid) >> 12);
681 wqe_ctr = be16_to_cpu(cqe->wqe_index);
688 wqe_ctr = be16_to_cpu(cqe->wqe_index);
784 wc->slid = be16_to_cpu(cqe->rlid);
794 wc->sl = be16_to_cpu(cqe->sl_vid) >> 13;
796 wc->sl = be16_to_cpu(cqe->sl_vid) >> 12;
868 mlx4_ib_free_srq_wqe(srq, be16_to_cpu(cq
[all...]
H A Dsysfs.c147 be16_to_cpu(((__be16 *) gid.raw)[0]),
148 be16_to_cpu(((__be16 *) gid.raw)[1]),
149 be16_to_cpu(((__be16 *) gid.raw)[2]),
150 be16_to_cpu(((__be16 *) gid.raw)[3]),
151 be16_to_cpu(((__be16 *) gid.raw)[4]),
152 be16_to_cpu(((__be16 *) gid.raw)[5]),
153 be16_to_cpu(((__be16 *) gid.raw)[6]),
154 be16_to_cpu(((__be16 *) gid.raw)[7]));
H A Dmad.c232 lid = be16_to_cpu(pinfo->lid);
235 be16_to_cpu(pinfo->sm_lid),
260 i + bn*32, be16_to_cpu(base[i]));
261 if (be16_to_cpu(base[i]) !=
265 be16_to_cpu(base[i]);
389 switch (be16_to_cpu(sa_mad->mad_hdr.attr_id)) {
696 be16_to_cpu(in_mad->mad_hdr.attr_id));
708 slid = in_wc ? in_wc->slid : be16_to_cpu(IB_LID_PERMISSIVE);
1179 u16 lid = be16_to_cpu(eqe->event.port_mgmt_change.params.port_info.mstr_sm_lid);
1279 switch (be16_to_cpu(sa_ma
[all...]
H A Dah.c178 ah_attr->dlid = ll == IB_LINK_LAYER_INFINIBAND ? be16_to_cpu(ah->av.ib.dlid) : 0;
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c118 u16 lid = be16_to_cpu(pinfo->lid);
122 be16_to_cpu(pinfo->sm_lid),
203 u16 slid = in_wc ? in_wc->slid : be16_to_cpu(IB_LID_PERMISSIVE);
H A Dmthca_srq.c426 srq_attr->srq_limit = be16_to_cpu(arbel_ctx->limit_watermark);
429 srq_attr->srq_limit = be16_to_cpu(tavor_ctx->limit_watermark);
H A Dmthca_av.c302 attr->dlid = be16_to_cpu(ah->av->dlid);
/freebsd-10-stable/contrib/ofed/include/infiniband/
H A Dbyteorder.h51 #define be16_to_cpu be16toh macro
/freebsd-10-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_fs.c50 be16_to_cpu(((__be16 *) gid->raw)[i]));
220 be16_to_cpu(path.pathrec.dlid),
H A Dipoib_multicast.c182 ret = ipoib_mcast_attach(priv, be16_to_cpu(mcast->mcmember.mlid),
195 .dlid = be16_to_cpu(mcast->mcmember.mlid),
220 be16_to_cpu(mcast->mcmember.mlid),
603 be16_to_cpu(mcast->mcmember.mlid));
H A Dipoib_main.c451 be16_to_cpu(path->pathrec.dlid),
499 be16_to_cpu(pathrec->dlid), pathrec->dgid.raw, ":");
522 ah, be16_to_cpu(pathrec->dlid), pathrec->sl);
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/
H A Dsysfs.c696 be16_to_cpu(((__be16 *) &attr.sys_image_guid)[0]),
697 be16_to_cpu(((__be16 *) &attr.sys_image_guid)[1]),
698 be16_to_cpu(((__be16 *) &attr.sys_image_guid)[2]),
699 be16_to_cpu(((__be16 *) &attr.sys_image_guid)[3]));
708 be16_to_cpu(((__be16 *) &dev->node_guid)[0]),
709 be16_to_cpu(((__be16 *) &dev->node_guid)[1]),
710 be16_to_cpu(((__be16 *) &dev->node_guid)[2]),
711 be16_to_cpu(((__be16 *) &dev->node_guid)[3]));
H A Dmulticast.c374 be16_to_cpu(group->rec.pkey), &pkey_index);
501 be16_to_cpu(rec->pkey), &pkey_index);
704 ah_attr->dlid = be16_to_cpu(rec->mlid);
/freebsd-10-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_ah.c135 ah_attr->dlid = be16_to_cpu(ah->av.rlid);
H A Dmlx5_ib_mad.c82 slid = in_wc ? in_wc->slid : be16_to_cpu(IB_LID_PERMISSIVE);
236 packet_error = be16_to_cpu(out_mad->status);
404 *pkey = be16_to_cpu(((__be16 *)out_mad->data)[index % 32]);
H A Dmlx5_ib_cq.c187 wqe_ctr = be16_to_cpu(cqe->wqe_counter);
221 wc->slid = be16_to_cpu(cqe->slid);
520 wqe_ctr = be16_to_cpu(cqe64->wqe_counter);
552 wqe_ctr = be16_to_cpu(cqe64->wqe_counter);
561 wqe_ctr = be16_to_cpu(cqe64->wqe_counter);
976 mlx5_ib_free_srq_wqe(srq, be16_to_cpu(cqe64->wqe_counter));
H A Dmlx5_ib_srq.c394 srq_attr->srq_limit = be16_to_cpu(out->ctx.lwm);
473 srq->head = be16_to_cpu(next->next_wqe_index);
/freebsd-10-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_rx.c129 mlx5_wq_ll_push(&rq->wq, be16_to_cpu(wqe->next.next_wqe_index));
312 mb->m_pkthdr.ether_vtag = be16_to_cpu(cqe->vlan_info);
362 title_wqe_counter = be16_to_cpu(title.wqe_counter);
411 wqe_counter = be16_to_cpu(wqe_counter_be);
/freebsd-10-stable/sys/dev/cxgbe/
H A Dosdep.h103 #define be16_to_cpu(x) be16toh(x) macro
/freebsd-10-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cmd.c703 u16 op = be16_to_cpu(((struct mlx5_inbox_hdr *)(ent->lay->in))->opcode);
955 u16 opcode = be16_to_cpu(in_hdr->opcode);
1079 return be16_to_cpu(hdr->opcode);
1152 op = be16_to_cpu(((struct mlx5_inbox_hdr *)in->first.data)->opcode);
1426 return be16_to_cpu(in->opcode) == MLX5_CMD_OP_MANAGE_PAGES;
H A Dmlx5_eq.c310 u16 func_id = be16_to_cpu(eqe->data.req_pages.func_id);
327 u16 vport_num = be16_to_cpu(vc_eqe->vport_num);
/freebsd-10-stable/sys/ofed/drivers/net/mlx4/
H A Dsrq.c268 *limit_watermark = be16_to_cpu(srq_context->limit_watermark);
H A Dport.c596 mtu = be16_to_cpu(gen_context->mtu);
1165 if (be16_to_cpu(outmad->status)) {
1167 ret = be16_to_cpu(outmad->status);

Completed in 295 milliseconds

123