Searched refs:be16_to_cpu (Results 26 - 50 of 51) sorted by relevance

123

/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dsrq.c337 srq->head = be16_to_cpu(next->next_wqe_index);
H A Dmcg.c655 status = be16_to_cpu(group->response_sa_mad.mad_hdr.status);
1022 be16_to_cpu(group->rec.pkey),
H A Dalias_GUID.c231 be16_to_cpu(guid_rec->lid), cb_ctx->port,
H A Dmain.c504 *pkey = be16_to_cpu(((__be16 *) out_mad->data)[index % 32]);
H A Dqp.c3465 ib_ah_attr->dlid = be16_to_cpu(path->rlid);
/freebsd-10-stable/sys/ofed/drivers/net/mlx4/
H A Dmcg.c886 be16_to_cpu(cur->eth.ether_type));
890 be16_to_cpu(cur->eth.vlan_id));
909 be16_to_cpu(cur->tcp_udp.src_port));
913 be16_to_cpu(cur->tcp_udp.dst_port));
H A Dcmd.c872 pkey[i] = be16_to_cpu(((__be16 *) out_mad->data)[i]);
998 be16_to_cpu(smp->attr_id));
1631 vhcr->token = be16_to_cpu(vhcr_cmd->token);
1632 vhcr->op = be16_to_cpu(vhcr_cmd->opcode) & 0xfff;
1633 vhcr->op_modifier = (u8) (be16_to_cpu(vhcr_cmd->opcode) >> 12);
H A Deq.c543 be16_to_cpu(eqe->event.cmd.token),
705 be16_to_cpu(eqe->event.warming.warning_threshold),
706 be16_to_cpu(eqe->event.warming.current_temperature));
H A Den_rx.c635 mb->m_pkthdr.ether_vtag = be16_to_cpu(cqe->sl_vid);
H A Den_tx.c416 new_index = be16_to_cpu(cqe->wqe_index) & size_mask;
/freebsd-10-stable/sys/dev/drm2/
H A Ddrm_os_freebsd.h39 #define be16_to_cpu(x) be16toh(x) macro
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/
H A Dsa_query.c665 ah_attr->dlid = be16_to_cpu(rec->dlid);
667 ah_attr->src_path_bits = be16_to_cpu(rec->slid) &
H A Dlocal_sa.c307 attr_offset = be16_to_cpu(mad->sa_hdr.attr_offset) * 8;
H A Dmad.c744 send_wr->wr_id, be16_to_cpu(smp->dr_slid),
2402 be16_to_cpu(IB_LID_PERMISSIVE),
H A Duser_mad.c491 ah_attr.dlid = be16_to_cpu(packet->mad.hdr.lid);
H A Dcm.c383 be16_to_cpu(path->pkey), &av->pkey_index);
3227 attr_index = be16_to_cpu(((struct ib_mad_hdr *)
3450 attr_id = be16_to_cpu(mad_recv_wc->recv_buf.mad->mad_hdr.attr_id);
H A Dcma.c1351 return cpu_to_be64(((u64)ps << 16) + be16_to_cpu(cma_port(addr)));
/freebsd-10-stable/sys/dev/cxgbe/common/
H A Dt4_hw.c3510 if ((unsigned int) be16_to_cpu(hdr->len512) * 512 != size) {
6295 *valp = be16_to_cpu(c.u.mdio.rval);
7091 *rss_size = G_FW_VI_CMD_RSSSIZE(be16_to_cpu(c.norss_rsssize));
7092 return G_FW_VI_CMD_VIID(be16_to_cpu(c.type_to_viid));
7262 be16_to_cpu(p->valid_to_idx));
7330 ret = G_FW_VI_MAC_CMD_IDX(be16_to_cpu(p->valid_to_idx));
7614 lc->supported = be16_to_cpu(p->pcap);
7615 lc->advertising = be16_to_cpu(p->acap);
7616 lc->lp_advertising = be16_to_cpu(p->lpacap);
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c636 entry->slid = be16_to_cpu(cqe->rlid);
H A Dmthca_eq.c327 be16_to_cpu(eqe->event.cmd.token),
H A Dmthca_provider.c272 *pkey = be16_to_cpu(((__be16 *) out_mad->data)[index % 32]);
H A Dmthca_qp.c408 ib_ah_attr->dlid = be16_to_cpu(path->rlid);
/freebsd-10-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_qp.c144 ret = be16_to_cpu(context->hw_sq_wqe_counter) & (qp->sq.wqe_cnt - 1);
2832 ib_ah_attr->dlid = be16_to_cpu(path->rlid);
2893 qp_attr->alt_pkey_index = be16_to_cpu(context->alt_path.pkey_index);
2897 qp_attr->pkey_index = be16_to_cpu(context->pri_path.pkey_index);
/freebsd-10-stable/sys/dev/mlx5/
H A Ddevice.h594 return be16_to_cpu(cqe->vlan_info) & 0xfff;
/freebsd-10-stable/contrib/ofed/libcxgb4/src/
H A Dt4.h62 #define be16_to_cpu ntohs macro

Completed in 426 milliseconds

123