/freebsd-10-stable/sys/ofed/drivers/infiniband/util/ |
H A D | madeye.c | 240 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 D | byteorder.h | 54 #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 D | cq.c | 514 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 D | sysfs.c | 147 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 D | mad.c | 232 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 D | ah.c | 178 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 D | mthca_mad.c | 118 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 D | mthca_srq.c | 426 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 D | mthca_av.c | 302 attr->dlid = be16_to_cpu(ah->av->dlid);
|
/freebsd-10-stable/contrib/ofed/include/infiniband/ |
H A D | byteorder.h | 51 #define be16_to_cpu be16toh macro
|
/freebsd-10-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_fs.c | 50 be16_to_cpu(((__be16 *) gid->raw)[i])); 220 be16_to_cpu(path.pathrec.dlid),
|
H A D | ipoib_multicast.c | 182 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 D | ipoib_main.c | 451 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 D | sysfs.c | 696 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 D | multicast.c | 374 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 D | mlx5_ib_ah.c | 135 ah_attr->dlid = be16_to_cpu(ah->av.rlid);
|
H A D | mlx5_ib_mad.c | 82 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 D | mlx5_ib_cq.c | 187 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 D | mlx5_ib_srq.c | 394 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 D | mlx5_en_rx.c | 129 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 D | osdep.h | 103 #define be16_to_cpu(x) be16toh(x) macro
|
/freebsd-10-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_cmd.c | 703 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 D | mlx5_eq.c | 310 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 D | srq.c | 268 *limit_watermark = be16_to_cpu(srq_context->limit_watermark);
|
H A D | port.c | 596 mtu = be16_to_cpu(gen_context->mtu); 1165 if (be16_to_cpu(outmad->status)) { 1167 ret = be16_to_cpu(outmad->status);
|