htobe16
#define OSSL_HTOBE16(x) htobe16(x)
#define OSSL_HTOBE16(x) htobe16(x)
l = htobe16(l);
ver->gv_version = htobe16(ver->gv_version);
ver->gv_error = htobe16(ver->gv_error);
cinit->gc_nconn = htobe16(cinit->gc_nconn);
sinit->gs_error = htobe16(sinit->gs_error);
hdr->gh_error = htobe16(hdr->gh_error);
machi = htobe16(RD4(sc, GENET_UMAC_MAC1) & 0xffff);
#define __cpu_to_be16(x) htobe16(x)
#define __cpu_to_be16p(x) htobe16(*((const uint16_t *)(x)))
#define aic_htobe16(x) htobe16(x)
ap->op = htobe16(op);
ap->len = htobe16(len);
#define be16_to_cpu(x) htobe16(x)
#define bce_htobe16(x) htobe16(x)
app[*num_inputs].protocol = htobe16(fw_app->protocol_id);
if (fw_app->protocol_id == htobe16(app->protocol) &&
fw_app->protocol_id = htobe16(app->protocol);
htobe16(bwi_read_sprom(sc, eaddr_ofs + 2 * i));
req->reply_ctrl = htobe16(F_NO_REPLY);
req->word_cookie = htobe16(V_WORD(word) | V_COOKIE(0));
req->reply_ctrl = htobe16(V_T7_QUEUENO(qid) |
req->reply_ctrl = htobe16(V_QUEUENO(qid) |
req->word_cookie = htobe16(V_WORD(word) |
*(uint16_t *)(b0 + CCM_B0_SIZE) = htobe16(crp->crp_aad_length);
cpl->rss_hdr_int.qid = htobe16(s->port->rxq->iq.abs_id);
sgl->len[j] = htobe16(DSGL_SGE_MAXLEN);
sgl->len[j] = htobe16(seglen);
htobe16(kctx->u.txhdr.dualck_to_txvalid);
kwr->mfs = htobe16(tls->params.max_frame_len);
cpl->len = htobe16(pktlen);
cpl->len = htobe16(pktlen);
cpl->len = htobe16(pktlen);
cpl->reply_ctrl = htobe16(F_NO_REPLY);
cpl->word_cookie = htobe16(V_WORD(word));
rss->qid = htobe16(rx_qid);
cpl->len = htobe16(hash_len);
len[0] = htobe16(crypto_hdr_len);
len[1] = htobe16(leading_waste);
len[2] = htobe16(m_tls->m_len);
len[3] = htobe16(trailing_waste);
cpl->len = htobe16(pktlen);
keyctx->u.txhdr.dualck_to_txvalid &= ~htobe16(
keyctx->u.txhdr.dualck_to_txvalid |= htobe16(
tx_pkt->len = htobe16(m->m_len + m_tls->m_len);
lso->ipid_ofst = htobe16(0);
lso->mss = htobe16(mss);
#define cpu_to_be16(x) htobe16(x)
req->reply_ctrl = htobe16(F_NO_REPLY);
req->reply_ctrl = htobe16(V_T7_QUEUENO(qid) |
req->reply_ctrl = htobe16(V_QUEUENO(qid) |
req->word_cookie = htobe16(V_WORD(word) | V_COOKIE(CPL_COOKIE_HASHFILTER));
cpl->local_port = htobe16(f->fs.val.dport);
cpl->peer_port = htobe16(f->fs.val.sport);
cpl->local_port = htobe16(f->fs.val.dport);
cpl->peer_port = htobe16(f->fs.val.sport);
fwr->ethtype = htobe16(f->fs.val.ethtype);
fwr->ethtypem = htobe16(f->fs.mask.ethtype);
fwr->rx_chan_rx_rpl_iq = htobe16(V_FW_FILTER_WR_RX_CHAN(0) |
fwr->ivlan = htobe16(f->fs.val.vlan);
fwr->ivlanm = htobe16(f->fs.mask.vlan);
fwr->ovlan = htobe16(f->fs.val.vnic);
fwr->ovlanm = htobe16(f->fs.mask.vnic);
fwr->lp = htobe16(f->fs.val.dport);
fwr->lpm = htobe16(f->fs.mask.dport);
fwr->fp = htobe16(f->fs.val.sport);
fwr->fpm = htobe16(f->fs.mask.sport);
fwr->newlport = htobe16(f->fs.nat_dport);
fwr->newfport = htobe16(f->fs.nat_sport);
htobe16(V_FW_LDST_CMD_FID(FW_LDST_MPS_RPLC) |
htobe16(V_FW_LDST_CMD_FID(FW_LDST_MPS_RPLC) |
htobe16(V_FW_LDST_CMD_FID(FW_LDST_MPS_RPLC) |
caps.x##caps &= htobe16(caps_allowed->x##caps); \
if (caps.niccaps & htobe16(FW_CAPS_CONFIG_NIC_HASHFILTER)) {
sc->x = htobe16(caps.x); \
while (spg->cidx != htobe16(eq->pidx))
spg->pidx = spg->cidx = htobe16(eq->cidx);
cpl->len = htobe16(slot->len);
wr->plen = htobe16(len);
c.iqid = htobe16(nm_rxq->iq_cntxt_id);
c.fl0id = htobe16(nm_rxq->fl_cntxt_id);
c.fl1id = htobe16(0xffff);
c.physiqid = htobe16(nm_rxq->iq_abs_id);
c.iqdroprss_to_iqesize = htobe16(V_FW_IQ_CMD_IQPCIECH(pi->hw_port) |
c.iqsize = htobe16(vi->qsize_rxq);
htobe16(V_FW_IQ_CMD_FL0FBMIN(chip_id(sc) <= CHELSIO_T5 ?
c.fl0size = htobe16(na->num_rx_desc / 8 + sp->spg_len / EQ_ESIZE);
c.iqdroprss_to_iqesize = htobe16(V_FW_IQ_CMD_IQPCIECH(pi->hw_port) |
c.iqsize = htobe16(iq->qsize);
htobe16(V_FW_IQ_CMD_FL0FBMIN(chip_id(sc) <= CHELSIO_T5 ?
c.fl0size = htobe16(fl->qsize);
lso->ipid_ofst = htobe16(0);
lso->mss = htobe16(m0->m_pkthdr.tso_segsz);
htobe16(F_CPL_TX_TNL_LSO_UDPCHKCLROUT |
htobe16(V_CPL_TX_TNL_LSO_MSS(m0->m_pkthdr.tso_segsz));
cpl->len = htobe16(pktlen);
cpl->len = htobe16(pktlen);
wr->plen = htobe16(txp->plen);
cpl->len = htobe16(m->m_pkthdr.len);
wr->plen = htobe16(txp->plen);
cpl->len = htobe16(m->m_pkthdr.len);
wr->u.udpseg.iplen = htobe16(m0->m_pkthdr.l3hlen);
wr->u.udpseg.mss = htobe16(pktlen - immhdrs);
wr->u.tcpseg.iplen = htobe16(m0->m_pkthdr.l3hlen);
wr->u.tcpseg.mss = htobe16(m0->m_pkthdr.tso_segsz);
lso->ipid_ofst = htobe16(0);
lso->mss = htobe16(m0->m_pkthdr.tso_segsz);
wr->u.tcpseg.mss = htobe16(0xffff);
cpl->len = htobe16(pktlen);
req->reply_ctrl = htobe16(F_NO_REPLY);
req->reply_ctrl = htobe16(V_T7_QUEUENO(qid) |
req->reply_ctrl = htobe16(V_QUEUENO(qid) |
req->word_cookie = htobe16(V_WORD(word) | V_COOKIE(cookie));
req->reply_ctrl = htobe16(lctx->ofld_rxq->iq.abs_id);
req->rsvd = htobe16(0);
tls_hdr_pkt->length = htobe16(m->m_pkthdr.len -
txwr->mfs = htobe16(tls_ofld->frag_size);
txwr->adjustedplen_pkd = htobe16(
txwr->expinplenmax_pkd = htobe16(
tgr->tls_length = htobe16(tls_data->m_pkthdr.len);
htobe16(V_T7_QUEUENO(sc->sge.ofld_rxq[0].iq.cntxt_id) |
htobe16(V_QUEUENO(sc->sge.ofld_rxq[0].iq.cntxt_id) |
#define cpu_to_be16(x) htobe16(x)
machi = htobe16(RD4(sc, GMAC_MAC_ADDRESS0_HIGH) & 0xFFFF);
htobe16((mac & 0x0000ffff) + (device_get_unit(dev) << 8)));
.rx_ring_size = htobe16(priv->rx_desc_cnt),
htobe16(GVE_DEFAULT_RX_BUFFER_SIZE);
htobe16(priv->rx_desc_cnt);
htobe16(priv->rx_buf_size_dqo);
.tx_ring_size = htobe16(priv->tx_desc_cnt),
htobe16(priv->tx_desc_cnt);
#define GVE_RXFLG(x) htobe16(1 << (3 + (x)))
pkt_desc->len = htobe16(pkt_len);
pkt_desc->seg_len = htobe16(first_seg_len);
seg_desc->mss = htobe16(tso_mss);
seg_desc->seg_len = htobe16(len);
#define CPU_TO_BE16 htobe16
lword = htobe16(lword);
lword = htobe16(lword);
input.formatted.vlan_id = htobe16(mp->m_pkthdr.ether_vtag);
#define IXGBE_CPU_TO_BE16 htobe16
vdata->major = htobe16(LIO_BASE_MAJOR_VERSION);
vdata->minor = htobe16(LIO_BASE_MINOR_VERSION);
vdata->micro = htobe16(LIO_BASE_MICRO_VERSION);
io_request->CDB.EEDP32.PrimaryApplicationTagMask = htobe16(0xffff);
pseudo_hdr_offset = htobe16(mss);
req->length = htobe16(seglen);
pseudo_hdr_offset = htobe16(pseudo_hdr_offset);
req->length = htobe16(seg->ds_len);
req->length = htobe16(60 - cum_len);
return htobe16((~cur_sum) & 0xFFFF);
htobe16(pseudolen));
udph->len = htobe16(len-iphlen);
iph->tot_len = htobe16(len);
iph->id = htobe16(be16toh(iph->id) + idx);
ip6h->payload_len = htobe16(len-iphlen);
#define ocs_htobe16(v) htobe16(v)
#define QAT_UTILS_OS_HOST_TO_NW_16(uData) htobe16(uData)
#define OSAL_CPU_TO_BE16(val) htobe16(val)
#define qla_host_to_be16(x) htobe16(x)
#define qla_host_to_be16(x) htobe16(x)
#define qla_host_to_be16(x) htobe16(x)
#define BE_16(x) htobe16(x)
return sc->sc_flags & EHCI_SCFLG_BIGEDESC ? htobe16(v) : htole16(v);
data_read_force_send.len = htobe16(in_len);
req.rlen = htobe16(to_read);
req.len = htobe16(to_read);
i2c_cfg.retry_count = htobe16(1);
sc->sc_txd.desc_type = htobe16(USIE_IP_TX);
hip->len = htobe16(sizeof(struct usie_cns) + cns_len);
cns->obj = htobe16(obj);
sc->sc_txd.hip.len = htobe16(m->m_pkthdr.len +
lvalue = htobe16(value);
chunk->length = htobe16(sizeof (struct uath_tx_desc));
chunk->length = htobe16(msglen);
uuid.seq = htobe16(uuid.seq | 0x8000);
x = htobe16(x);
tgr.tls_length = htobe16(tls_len - tls->params.tls_hlen -
if (tgr.tls_length == htobe16(0)) {
r->r_wlan = htobe16(vap->iv_ifp->if_dunit);
r->r_src = htobe16(srcid);
req.addr = htobe16(msgs[i].slave >> 1);
crq.iu_length = htobe16(xp->srp_iu_size);
login->buffer_formats = htobe16(0x1 | 0x2); /* Direct and indirect */
crq.iu_length = htobe16(xp->srp_iu_size);
crq.iu_length = htobe16(xp->srp_iu_size);
mad_adapter_info.length = htobe16(sizeof(mad_adapter_info.payload));
crq.iu_length = htobe16(xp->srp_iu_size);
#define H16(x) htobe16(x)
#define O16(x) htobe16(x)
#define H16(x) htobe16(x)
#define O16(x) htobe16(x)
fm.vfm_dst = htobe16(mp->m_glyph->g_index);
fm.vfm_len = htobe16(mp->m_length - 1);
fwcfg_sc.directory->files[file_index].be_selector = htobe16(index);
apm16 = htobe16(0x504d);
apm16 = htobe16(0x4552);
apm16 = htobe16(512);
apm16 = htobe16(1);
*v = htobe16(*v);
pkt.eth.ether_type = htobe16(0x0800);
pkt.ip.len = htobe16(total_ip);
pkt.udp.srcport = htobe16(port);
pkt.udp.dstport = htobe16(port);
pkt.udp.len = htobe16(total_ip - sizeof(pkt.ip));
pkt.rtp.header16[1] = htobe16(pvc->profile->http.rtp_seqnum);