lib/libagentx/ax.c
1214
return le16toh(value);
regress/usr.sbin/snmpd/agentx.c
78
be16toh(value) : le16toh(value))
sys/dev/i2c/iatp.c
514
le16toh(object->start_pos), object->num_report_ids, min_id,
sys/dev/i2c/iatp.c
535
sc->t5_address = le16toh(object->start_pos);
sys/dev/i2c/iatp.c
543
sc->t6_address = le16toh(object->start_pos);
sys/dev/i2c/iatp.c
552
sc->t7_address = le16toh(object->start_pos);
sys/dev/i2c/iatp.c
597
sc->t44_address = le16toh(object->start_pos);
sys/dev/i2c/iatp.c
628
sc->max_x = le16toh(range_y);
sys/dev/i2c/iatp.c
629
sc->max_y = le16toh(range_x);
sys/dev/i2c/iatp.c
631
sc->max_x = le16toh(range_x);
sys/dev/i2c/iatp.c
632
sc->max_y = le16toh(range_y);
sys/dev/i2c/ietp.c
184
sc->product_id = le16toh(buf);
sys/dev/i2c/ietp.c
215
sc->max_x = le16toh(buf);
sys/dev/i2c/ietp.c
221
sc->max_y = le16toh(buf);
sys/dev/ic/bwfm.c
725
if (le16toh(sta.ver) < 3)
sys/dev/ic/bwfm.c
732
if (le16toh(sta.ver) >= 4) {
sys/dev/ic/dwqe.c
781
m->m_pkthdr.ether_vtag = le16toh(tag);
sys/dev/ic/qwx.c
14742
val16 = le16toh(addr_h16);
sys/dev/ic/qwx.c
1619
return le16toh(desc->u.ipq8074.mpdu_start.sw_peer_id);
sys/dev/ic/qwx.c
1644
return le16toh(desc->u.ipq8074.mpdu_start.phy_ppdu_id);
sys/dev/ic/qwx.c
1693
le16toh(desc->u.qcn9074.msdu_end.info4));
sys/dev/ic/qwx.c
1700
le16toh(desc->u.qcn9074.msdu_end.info4));
sys/dev/ic/qwx.c
1707
le16toh(desc->u.qcn9074.msdu_end.info4));
sys/dev/ic/qwx.c
1830
return le16toh(desc->u.qcn9074.mpdu_start.sw_peer_id);
sys/dev/ic/qwx.c
1855
return le16toh(desc->u.qcn9074.mpdu_start.phy_ppdu_id);
sys/dev/ic/qwx.c
2028
return le16toh(desc->u.wcn6855.mpdu_start.sw_peer_id);
sys/dev/ic/qwx.c
2053
return le16toh(desc->u.wcn6855.mpdu_start.phy_ppdu_id);
sys/dev/ic/qwx.c
7239
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwx.c
7241
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwx.c
7245
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwx.c
7246
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwx.c
7265
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwx.c
7267
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwx.c
7269
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwx.c
7270
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwx.c
7289
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwx.c
7291
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwx.c
7293
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwx.c
7294
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwx.c
7345
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwx.c
7347
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwx.c
7349
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwx.c
7350
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwx.c
7371
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwx.c
7373
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwx.c
7375
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwx.c
7376
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwx.c
7397
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwx.c
7399
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwx.c
7401
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwx.c
7402
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwx.c
7423
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwx.c
7425
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwx.c
7427
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwx.c
7428
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwx.c
7449
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwx.c
7451
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwx.c
7453
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwx.c
7454
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwx.c
7475
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwx.c
7477
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwx.c
7479
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwx.c
7480
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwx.c
7593
__func__, hdr.type, le16toh(hdr.txn_id),
sys/dev/ic/qwx.c
7594
le16toh(hdr.msg_id), le16toh(hdr.msg_len));
sys/dev/ic/qwx.c
7596
txn_id = le16toh(hdr.txn_id);
sys/dev/ic/qwx.c
7597
msg_id = le16toh(hdr.msg_id);
sys/dev/ic/qwx.c
7598
msg_len = le16toh(hdr.msg_len);
sys/dev/ic/qwz.c
1186
return le16toh(desc->u.wcn7850.mpdu_start.sw_peer_id);
sys/dev/ic/qwz.c
1207
return le16toh(desc->u.wcn7850.mpdu_start.phy_ppdu_id);
sys/dev/ic/qwz.c
12399
val16 = le16toh(addr_h16);
sys/dev/ic/qwz.c
4668
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwz.c
4670
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwz.c
4684
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwz.c
4685
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwz.c
4704
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwz.c
4706
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwz.c
4710
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwz.c
4711
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwz.c
4730
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwz.c
4732
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwz.c
4734
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwz.c
4735
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwz.c
4754
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwz.c
4756
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwz.c
4758
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwz.c
4759
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwz.c
4825
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwz.c
4827
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwz.c
4829
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwz.c
4830
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwz.c
4851
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwz.c
4853
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwz.c
4855
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwz.c
4856
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwz.c
4877
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwz.c
4879
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwz.c
4881
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwz.c
4882
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwz.c
4903
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwz.c
4905
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwz.c
4907
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwz.c
4908
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwz.c
4929
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwz.c
4931
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwz.c
4933
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwz.c
4934
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwz.c
4955
__func__, le16toh(resp.resp.result));
sys/dev/ic/qwz.c
4957
__func__, le16toh(resp.resp.error));
sys/dev/ic/qwz.c
4959
sc->qmi_resp.result = le16toh(resp.resp.result);
sys/dev/ic/qwz.c
4960
sc->qmi_resp.error = le16toh(resp.resp.error);
sys/dev/ic/qwz.c
5076
__func__, hdr.type, le16toh(hdr.txn_id),
sys/dev/ic/qwz.c
5077
le16toh(hdr.msg_id), le16toh(hdr.msg_len));
sys/dev/ic/qwz.c
5079
txn_id = le16toh(hdr.txn_id);
sys/dev/ic/qwz.c
5080
msg_id = le16toh(hdr.msg_id);
sys/dev/ic/qwz.c
5081
msg_len = le16toh(hdr.msg_len);
sys/dev/pci/if_bnxt.c
1704
uint16_t type = le16toh(ae->event_id);
sys/dev/pci/if_bnxt.c
1775
type = le16toh(cmpl->type) & CMPL_BASE_TYPE_MASK;
sys/dev/pci/if_bnxt.c
1814
type = le16toh(cmpl->type) & CMPL_BASE_TYPE_MASK;
sys/dev/pci/if_bnxt.c
1906
type = le16toh(cmpl->type) & CMPL_BASE_TYPE_MASK;
sys/dev/pci/if_bnxt.c
2886
le16toh(req->seq_id));
sys/dev/pci/if_bnxt.c
2900
softc->sc_cmd_timeo, le16toh(req->req_type),
sys/dev/pci/if_bnxt.c
2901
le16toh(req->seq_id), msg_len,
sys/dev/pci/if_bnxt.c
2906
err = le16toh(resp->error_code);
sys/dev/pci/if_bnxt.c
3046
softc->ver_info->chip_num = le16toh(resp->chip_num);
sys/dev/pci/if_bnxt.c
3054
softc->sc_max_req_len = le16toh(resp->max_req_win_len);
sys/dev/pci/if_bnxt.c
3056
softc->sc_max_ext_req_len = le16toh(resp->max_ext_req_len);
sys/dev/pci/if_bnxt.c
3058
softc->sc_cmd_timeo = le16toh(resp->def_req_timeout);
sys/dev/pci/if_bnxt.c
3542
ring->phys_id = le16toh(resp->ring_id);
sys/dev/pci/if_bnxt.c
4177
*mfg_id = le16toh(resp->manufacturer_id);
sys/dev/pci/if_bnxt.c
4179
*device_id = le16toh(resp->device_id);
sys/dev/pci/if_bnxt.c
4214
*year = le16toh(resp->year);
sys/dev/pci/if_bnxt.c
4226
*millisecond = le16toh(resp->millisecond);
sys/dev/pci/if_bnxt.c
4228
*zone = le16toh(resp->zone);
sys/dev/pci/if_bwfm_pci.c
602
sc->sc_max_submissionrings = le16toh(ringinfo.max_submissionrings);
sys/dev/pci/if_bwfm_pci.c
603
sc->sc_max_flowrings = le16toh(ringinfo.max_flowrings);
sys/dev/pci/if_bwfm_pci.c
604
sc->sc_max_completionrings = le16toh(ringinfo.max_completionrings);
sys/dev/pci/if_bwfm_pci.c
606
sc->sc_max_submissionrings = le16toh(ringinfo.max_flowrings);
sys/dev/pci/if_ice.c
10153
rl_prof_id = le16toh(rl_prof_info->profile.profile_id);
sys/dev/pci/if_ice.c
10408
__func__, le16toh(buf->txqs[0].txq_id),
sys/dev/pci/if_ice.c
10520
if (pf_q == le16toh(qg->txqs[0].txq_id))
sys/dev/pci/if_ice.c
10633
le16toh(qg_list[0].q_id[0]),
sys/dev/pci/if_ice.c
14907
section_count = le16toh(hdr->section_count);
sys/dev/pci/if_ice.c
14911
data_end = le16toh(hdr->data_end);
sys/dev/pci/if_ice.c
15030
size = le16toh(section->section_entry[0].size);
sys/dev/pci/if_ice.c
15031
offset = le16toh(section->section_entry[0].offset);
sys/dev/pci/if_ice.c
15598
if (++state->sect_idx < le16toh(state->buf->section_count))
sys/dev/pci/if_ice.c
15641
offset = le16toh(state->buf->section_entry[state->sect_idx].offset);
sys/dev/pci/if_ice.c
15645
size = le16toh(state->buf->section_entry[state->sect_idx].size);
sys/dev/pci/if_ice.c
15658
le16toh(state->buf->section_entry[state->sect_idx].offset);
sys/dev/pci/if_ice.c
15925
if (index >= le16toh(labels->count))
sys/dev/pci/if_ice.c
15958
*value = le16toh(label->value);
sys/dev/pci/if_ice.c
15991
if (index >= le16toh(boost->count))
sys/dev/pci/if_ice.c
16024
if (tcam && le16toh(tcam->addr) == addr) {
sys/dev/pci/if_ice.c
17420
sect_len = le16toh(xlt1->count) *
sys/dev/pci/if_ice.c
17433
sect_len = le16toh(xlt2->count) *
sys/dev/pci/if_ice.c
17446
sect_len = le16toh(pid->count) *
sys/dev/pci/if_ice.c
17459
sect_len = le16toh(pr->count) *
sys/dev/pci/if_ice.c
17472
sect_len = (uint32_t)(le16toh(es->count) *
sys/dev/pci/if_ice.c
17550
if (index >= le16toh(fv_section->count))
sys/dev/pci/if_ice.c
17558
*offset = le16toh(fv_section->base_offset) + index;
sys/dev/pci/if_ice.c
1852
datalen = le16toh(cq_desc->datalen);
sys/dev/pci/if_ice.c
1853
flags = le16toh(cq_desc->flags);
sys/dev/pci/if_ice.c
1857
response ? "Response" : "Command", le16toh(cq_desc->opcode),
sys/dev/pci/if_ice.c
1858
flags, datalen, le16toh(cq_desc->retval));
sys/dev/pci/if_ice.c
19474
data_end = le16toh(buf->data_end);
sys/dev/pci/if_ice.c
19483
sect_count = le16toh(buf->section_count);
sys/dev/pci/if_ice.c
19528
section_count = le16toh(buf->section_count);
sys/dev/pci/if_ice.c
19536
data_end = le16toh(buf->data_end) +
sys/dev/pci/if_ice.c
19562
return le16toh(buf->section_count);
sys/dev/pci/if_ice.c
19865
status = ice_aq_update_pkg(hw, bh, le16toh(bh->data_end),
sys/dev/pci/if_ice.c
2024
uint16_t copy_size = le16toh(desc->datalen);
sys/dev/pci/if_ice.c
2035
retval = le16toh(desc->retval);
sys/dev/pci/if_ice.c
2039
le16toh(desc->opcode), retval);
sys/dev/pci/if_ice.c
20865
vsi_ctx->vsis_allocd = le16toh(resp->vsi_used);
sys/dev/pci/if_ice.c
20866
vsi_ctx->vsis_unallocated = le16toh(resp->vsi_free);
sys/dev/pci/if_ice.c
2132
opcode = le16toh(desc->opcode);
sys/dev/pci/if_ice.c
21608
vsi_ctx->vsi_num = le16toh(res->vsi_num) & ICE_AQ_VSI_NUM_M;
sys/dev/pci/if_ice.c
21609
vsi_ctx->vsis_allocd = le16toh(res->vsi_used);
sys/dev/pci/if_ice.c
21610
vsi_ctx->vsis_unallocated = le16toh(res->vsi_free);
sys/dev/pci/if_ice.c
2554
if (le16toh(cmd_resp->status) == ICE_AQ_RES_GLBL_SUCCESS) {
sys/dev/pci/if_ice.c
2557
} else if (le16toh(cmd_resp->status) ==
sys/dev/pci/if_ice.c
2561
} else if (le16toh(cmd_resp->status) ==
sys/dev/pci/if_ice.c
26284
params->lut_size = le16toh(desc.datalen);
sys/dev/pci/if_ice.c
26926
KASSERT(le16toh(e->desc.datalen) >= ICE_GET_LINK_STATUS_DATALEN_V1);
sys/dev/pci/if_ice.c
27026
ice_info_fwlog(hw, 32, 1, (uint8_t *)buf, le16toh(desc->datalen));
sys/dev/pci/if_ice.c
27142
*local_len = le16toh(cmd->local_len);
sys/dev/pci/if_ice.c
27144
*remote_len = le16toh(cmd->remote_len);
sys/dev/pci/if_ice.c
27684
uint16_t app_prio = le16toh(cee_cfg->oper_app_prio);
sys/dev/pci/if_ice.c
28189
uint16_t status_code = le16toh(elem->health_status_code);
sys/dev/pci/if_ice.c
28322
status_count = le16toh(
sys/dev/pci/if_ice.c
28350
opcode = le16toh(event->desc.opcode);
sys/dev/pci/if_ice.c
28426
rq_last_status = (enum ice_aq_err)le16toh(desc->retval);
sys/dev/pci/if_ice.c
28427
flags = le16toh(desc->flags);
sys/dev/pci/if_ice.c
28432
__func__, le16toh(desc->opcode), rq_last_status);
sys/dev/pci/if_ice.c
28435
datalen = le16toh(desc->datalen);
sys/dev/pci/if_ice.c
29372
status0 = le16toh(cur->wb.status_error0);
sys/dev/pci/if_ice.c
29388
len = le16toh(cur->wb.pkt_len) & ICE_RX_FLX_DESC_PKT_LEN_M;
sys/dev/pci/if_ice.c
29414
le16toh(cur->wb.l2tag1);
sys/dev/pci/if_ice.c
29426
ptype = le16toh(cur->wb.ptype_flex_flags0) &
sys/dev/pci/if_ice.c
3079
module_id_cnt = le16toh(cmd->ops.cfg.mdl_cnt);
sys/dev/pci/if_ice.c
3092
cfg->log_resolution = le16toh(cmd->ops.cfg.log_resolution);
sys/dev/pci/if_ice.c
3106
le16toh(fw_module->module_identifier);
sys/dev/pci/if_ice.c
3683
*data = le16toh(data_local);
sys/dev/pci/if_ice.c
3924
*data = le16toh(data_local);
sys/dev/pci/if_ice.c
4090
*data = le16toh(data_local);
sys/dev/pci/if_ice.c
4287
*data = le16toh(data_local);
sys/dev/pci/if_ice.c
4353
id_blk[i] = le16toh(((uint16_t *)id_blk)[i]);
sys/dev/pci/if_ice.c
4625
uint16_t cap = le16toh(elem->cap);
sys/dev/pci/if_ice.c
4972
uint16_t cap = le16toh(cap_resp[i].cap);
sys/dev/pci/if_ice.c
5144
uint16_t cap = le16toh(cap_resp[i].cap);
sys/dev/pci/if_ice.c
5412
*req_desc = le16toh(cmd->element);
sys/dev/pci/if_ice.c
5413
*num_elems = le16toh(cmd->num_elems);
sys/dev/pci/if_ice.c
5483
vsi_port_num = le16toh(ele->vsi_port_num) &
sys/dev/pci/if_ice.c
5486
pf_vf_num = le16toh(ele->pf_vf_num) &
sys/dev/pci/if_ice.c
5489
swid = le16toh(ele->swid);
sys/dev/pci/if_ice.c
5491
if (le16toh(ele->pf_vf_num) &
sys/dev/pci/if_ice.c
5495
res_type = (uint8_t)(le16toh(ele->vsi_port_num) >>
sys/dev/pci/if_ice.c
5567
(uint8_t)le16toh(buf->sched_props.logical_levels);
sys/dev/pci/if_ice.c
5569
(uint8_t)le16toh(buf->sched_props.phys_levels);
sys/dev/pci/if_ice.c
5582
hw->max_children[i] = le16toh(max_sibl);
sys/dev/pci/if_ice.c
5793
*elems_resp = le16toh(cmd->num_elem_resp);
sys/dev/pci/if_ice.c
6154
num_elems = le16toh(buf[0].hdr.num_elems);
sys/dev/pci/if_ice.c
6181
num_elems = le16toh(buf[i].hdr.num_elems);
sys/dev/pci/if_ice.c
6245
*num_processed = le16toh(cmd->num_processed);
sys/dev/pci/if_ice.c
6831
li->link_speed = le16toh(link_data.link_speed);
sys/dev/pci/if_ice.c
6838
li->max_frame_size = le16toh(link_data.max_frame_size);
sys/dev/pci/if_ice.c
7026
flags = le16toh(cmd->flags) & ICE_AQC_MAN_MAC_READ_M;
sys/dev/pci/if_ice.c
8386
f_entry->fltr_info.fltr_rule_id = le16toh(s_rule->index);
sys/dev/pci/if_ice.c
8387
fm_entry->fltr_info.fltr_rule_id = le16toh(s_rule->index);
sys/dev/pci/if_ice.c
8488
*vsi_list_id = le16toh(vsi_ele->e.sw_resp);
sys/dev/pci/if_ice.c
9064
f_info->fltr_rule_id = le16toh(r_iter->index);
sys/dev/pci/if_ice.c
9732
rl_prof_id = le16toh(data->cir_bw.bw_profile_idx);
sys/dev/pci/if_ice.c
9736
rl_prof_id = le16toh(data->eir_bw.bw_profile_idx);
sys/dev/pci/if_ice.c
9740
rl_prof_id = le16toh(data->srl_id);
sys/dev/pci/if_ice.c
9813
le16toh(rl_prof_elem->profile.profile_id) == profile_id) {
sys/dev/pci/if_icevar.h
1186
le16toh((x)->info.cir_bw.bw_profile_idx)
sys/dev/pci/if_icevar.h
1188
le16toh((x)->info.eir_bw.bw_profile_idx)
sys/dev/pci/if_icevar.h
1189
#define ICE_TXSCHED_GET_SRL_ID(x) le16toh((x)->info.srl_id)
sys/dev/pci/if_icevar.h
1191
le16toh((x)->info.cir_bw.bw_alloc)
sys/dev/pci/if_icevar.h
1193
le16toh((x)->info.eir_bw.bw_alloc)
sys/dev/pci/if_icevar.h
1578
#define ICE_TXSCHED_GET_RL_PROF_ID(p) le16toh((p)->info.profile_id)
sys/dev/pci/if_icevar.h
1579
#define ICE_TXSCHED_GET_RL_MBS(p) le16toh((p)->info.max_burst_size)
sys/dev/pci/if_icevar.h
1580
#define ICE_TXSCHED_GET_RL_MULTIPLIER(p) le16toh((p)->info.rl_multiply)
sys/dev/pci/if_icevar.h
1581
#define ICE_TXSCHED_GET_RL_WAKEUP_MV(p) le16toh((p)->info.wake_up_calc)
sys/dev/pci/if_icevar.h
1582
#define ICE_TXSCHED_GET_RL_ENCODE(p) le16toh((p)->info.rl_encode)
sys/dev/pci/if_igc.c
1351
hashtype = le16toh(rxdesc->wb.lower.lo_dword.hs_rss.pkt_info) &
sys/dev/pci/if_iwm.c
11201
DEVNAME(sc), le16toh(notif->temperature));
sys/dev/pci/if_iwm.c
11392
hw = le16toh(sc->rxq.stat->closed_rb_num) & 0xfff;
sys/dev/pci/if_iwm.c
150
#define le16_to_cpup(_a_) (le16toh(*(const uint16_t *)(_a_)))
sys/dev/pci/if_iwm.c
2592
uint16_t type = le16toh(phy_db_notif->type);
sys/dev/pci/if_iwm.c
2593
uint16_t size = le16toh(phy_db_notif->length);
sys/dev/pci/if_iwm.c
2599
chg_id = le16toh(*(uint16_t *)phy_db_notif->data);
sys/dev/pci/if_iwm.c
2679
if (le16toh(txp_chg->max_channel_idx) >= ch_index)
sys/dev/pci/if_iwm.c
2717
phy_db_cmd.type = le16toh(type);
sys/dev/pci/if_iwm.c
2718
phy_db_cmd.length = le16toh(length);
sys/dev/pci/if_iwm.c
2961
err = le16toh(nvm_resp->status);
sys/dev/pci/if_iwm.c
2962
bytes_read = le16toh(nvm_resp->length);
sys/dev/pci/if_iwm.c
2963
offset_read = le16toh(nvm_resp->offset);
sys/dev/pci/if_iwm.c
4890
len = le16toh(rx_res->byte_count);
sys/dev/pci/if_iwm.c
5359
len = le16toh(desc->mpdu_len);
sys/dev/pci/if_iwm.c
5402
if ((le16toh(desc->status) &
sys/dev/pci/if_iwm.c
5452
if (iwm_rx_hwdecrypt(sc, m, le16toh(desc->status), &rxi)) {
sys/dev/pci/if_iwm.c
5462
phy_info = le16toh(desc->phy_info);
sys/dev/pci/if_iwm.c
5480
iwm_rx_frame(sc, m, chanidx, le16toh(desc->status),
sys/dev/pci/if_iwm.c
5623
int status = le16toh(tx_resp->status.status) & IWM_TX_STATUS_MSK;
sys/dev/pci/if_iwm.c
5740
uint16_t txstatus = (le16toh(agg_status[i].status) &
sys/dev/pci/if_iwm.c
5873
status = le16toh(tx_resp->status.status) & IWM_TX_STATUS_MSK;
sys/dev/pci/if_iwm.c
5970
qid = le16toh(ban->scd_flow);
sys/dev/pci/if_iwm.c
5994
seq = le16toh(ban->seq_ctl) >> IEEE80211_SEQ_SEQ_SHIFT;
sys/dev/pci/if_iwm.c
6002
ssn = le16toh(ban->scd_ssn);
sys/dev/pci/if_iwm.c
8130
(le16toh(notif->mcc) & 0xff00) >> 8, le16toh(notif->mcc) & 0xff);
sys/dev/pci/if_iwm.c
8134
"(0x%x)\n", DEVNAME(sc), alpha2, le16toh(notif->mcc));
sys/dev/pci/if_iwn.c
2349
qid = le16toh(cba->qid);
sys/dev/pci/if_iwn.c
2371
seq = le16toh(cba->seq) >> IEEE80211_SEQ_SEQ_SHIFT;
sys/dev/pci/if_iwn.c
2379
ssn = le16toh(cba->ssn);
sys/dev/pci/if_iwn.c
2582
uint16_t txstatus = (le16toh(agg_status[i].status) &
sys/dev/pci/if_iwx.c
10985
DEVNAME(sc), le16toh(notif->temperature));
sys/dev/pci/if_iwx.c
11280
hw = le16toh(*status) & 0xfff;
sys/dev/pci/if_iwx.c
11282
hw = le16toh(sc->rxq.stat->closed_rb_num) & 0xfff;
sys/dev/pci/if_iwx.c
134
#define le16_to_cpup(_a_) (le16toh(*(const uint16_t *)(_a_)))
sys/dev/pci/if_iwx.c
2981
fwqid = le16toh(resp->queue_number);
sys/dev/pci/if_iwx.c
2982
wr_idx = le16toh(resp->write_pointer);
sys/dev/pci/if_iwx.c
4007
nvm->nvm_version = le16toh(rsp->general.nvm_version);
sys/dev/pci/if_iwx.c
5214
len = le16toh(desc->mpdu_len);
sys/dev/pci/if_iwx.c
5327
phy_info = le16toh(desc->phy_info);
sys/dev/pci/if_iwx.c
5351
uint8_t num_tbs = le16toh(desc->num_tbs) & 0x1f;
sys/dev/pci/if_iwx.c
5430
status = le16toh(tx_resp->status.status) & IWX_TX_STATUS_MSK;
sys/dev/pci/if_iwx.c
5494
tfd_cnt = le16toh(ba_res->tfd_cnt);
sys/dev/pci/if_iwx.c
5495
ra_tid_cnt = le16toh(ba_res->ra_tid_cnt);
sys/dev/pci/if_iwx.c
5519
idx = le16toh(ba_tfd->tfd_index);
sys/dev/pci/if_iwx.c
6488
if (le16toh(resp->sta_id) != sta_id) {
sys/dev/pci/if_iwx.c
6493
num_flushed_queues = le16toh(resp->num_flushed_queues);
sys/dev/pci/if_iwx.c
6501
uint16_t tid = le16toh(queue_info->tid);
sys/dev/pci/if_iwx.c
6502
uint16_t read_after = le16toh(queue_info->read_after_flush);
sys/dev/pci/if_iwx.c
6503
uint16_t qid = le16toh(queue_info->queue_num);
sys/dev/pci/if_iwx.c
7706
(le16toh(notif->mcc) & 0xff00) >> 8, le16toh(notif->mcc) & 0xff);
sys/dev/pci/if_iwx.c
7710
"(0x%x)\n", DEVNAME(sc), alpha2, le16toh(notif->mcc));
sys/dev/pci/if_mwx.c
2387
len = sizeof(*rxd) - sizeof(rxd->rxd) + le16toh(rxd->len);
sys/dev/pci/if_mwx.c
3233
count = le16toh(hdr->n_elements);
sys/dev/pci/if_mwx.c
4803
len = sizeof(*rxd) - sizeof(rxd->rxd) + le16toh(rxd->len);
sys/dev/pci/if_mwx.c
5160
wtbl->len = htole16(le16toh(wtbl->len) + wlen);
sys/dev/pci/if_ngbe.c
4317
hashtype = le16toh(rxdesc->wb.lower.lo_dword.hs_rss.pkt_info) &
sys/dev/pci/if_rtwn.c
797
return le16toh(val);
sys/dev/usb/if_mtw.c
857
le16toh(hdr->build_ver), le16toh(hdr->fw_ver)));
usr.bin/file/magic-test.c
1299
wanted = le16toh(s);
usr.bin/file/magic-test.c
1309
wanted = le16toh(l);
usr.bin/file/magic-test.c
357
value = le16toh(value);
usr.bin/file/magic-test.c
497
value = le16toh(value);
usr.sbin/nsd/simdzone/src/generic/endian.h
215
# if !defined le16toh
usr.sbin/snmpd/ax.c
1336
return le16toh(value);
usr.sbin/tcpdump/print-802_11.c
244
printf("TID %u ", le16toh(qos) & IEEE80211_QOS_TID);