crypto/openssl/include/openssl/byteorder.h
53
#define OSSL_LE16TOH(x) le16toh(x)
crypto/openssl/include/openssl/byteorder.h
73
#define OSSL_LE16TOH(x) le16toh(x)
lib/libbluetooth/bluetooth.h
68
#define btohs(d) le16toh(d)
lib/libbluetooth/hci.c
189
if (n >= sizeof(*h) && n == (sizeof(*h) + le16toh(h->length)))
lib/libbluetooth/hci.c
522
i->clock_offset = le16toh(ir->clock_offset);
lib/libkvm/kvm_private.h
138
return (le16toh(val));
lib/libnvmf/nvmf_controller.c
241
le16toh(cmd->recfmt));
lib/libnvmf/nvmf_controller.c
247
qsize = le16toh(cmd->sqsize) + 1;
lib/libnvmf/nvmf_controller.c
316
cntlid = le16toh(data->cntlid);
lib/libnvmf/nvmf_host.c
136
status = le16toh(rc->nc_cqe.status);
lib/libnvmf/nvmf_host.c
158
sqhd = le16toh(rsp->sqhd);
lib/libnvmf/nvmf_host.c
177
qp->nq_cntlid = le16toh(rsp->status_code_specific.success.cntlid);
lib/libnvmf/nvmf_host.c
242
qp->nq_sqhd = le16toh(nc->nc_cqe.sqhd);
lib/libnvmf/nvmf_host.c
369
status = le16toh(rc->nc_cqe.status);
lib/libnvmf/nvmf_host.c
435
status = le16toh(rc->nc_cqe.status);
lib/libnvmf/nvmf_host.c
525
status = le16toh(rc->nc_cqe.status);
lib/libnvmf/nvmf_host.c
575
status = le16toh(rc->nc_cqe.status);
lib/libnvmf/nvmf_host.c
627
status = le16toh(rc->nc_cqe.status);
lib/libnvmf/nvmf_host.c
769
status = le16toh(rc->nc_cqe.status);
lib/libnvmf/nvmf_tcp.c
363
le16toh(hdr->fes), le32dec(hdr->fei));
lib/libnvmf/nvmf_tcp.c
868
if (le16toh(pdu->pfv) != 0) {
lib/libnvmf/nvmf_tcp.c
870
le16toh(pdu->pfv));
lib/libusb/libusb10.c
1792
return (le16toh(x));
lib/libusb/libusb10_io.c
749
+ le16toh(setup->wLength);
lib/libusb/usb.h
216
#define USB_LE16_TO_CPU(x) le16toh(x)
sbin/hastd/nv.c
651
(intmax_t)le16toh(*(int16_t *)(void *)data) :
sbin/hastd/nv.c
656
(uintmax_t)le16toh(*(uint16_t *)(void *)data) :
sbin/hastd/nv.c
693
(intmax_t)le16toh(((int16_t *)(void *)data)[ii]) :
sbin/hastd/nv.c
701
(uintmax_t)le16toh(((uint16_t *)(void *)data)[ii]) :
sbin/hastd/nv.c
923
le16toh(*(uint16_t *)(void *)p);
sbin/nvmecontrol/ns.c
523
n = le16toh(clist[0]);
sbin/nvmecontrol/ns.c
526
printf(" 0x%04x\n", le16toh(clist[i + 1]));
sbin/nvmecontrol/ns.c
886
n = le16toh(clist[0]);
sbin/nvmecontrol/ns.c
889
printf(" 0x%04x\n", le16toh(clist[i + 1]));
sbin/nvmecontrol/nvmecontrol.h
70
uint16_t: le16toh(x), \
sbin/nvmecontrol/reconnect.c
144
address, port, le16toh(dle->cntlid), subnqn, hostnqn,
sbin/nvmecontrol/reconnect.c
202
address, port, le16toh(dle->cntlid), dle->subnqn,
stand/common/part.c
117
uuid->time_mid = le16toh(uuid->time_mid);
stand/common/part.c
118
uuid->time_hi_and_version = le16toh(uuid->time_hi_and_version);
stand/common/part.c
486
dl->d_npartitions = le16toh(dl->d_npartitions);
stand/libsa/smbios.c
117
return (le16toh(v));
stand/libsa/smbios.c
302
f2 = le16toh(SMBIOS_GET16(addr, 4));
stand/libsa/smbios.c
303
f3 = le16toh(SMBIOS_GET16(addr, 6));
sys/arm/broadcom/bcm2835/bcm2838_pci.c
332
data = le16toh(bus_read_2(sc->base.base.res, offset));
sys/arm/mv/mv_pci.c
1127
data = le16toh(bus_space_read_2(sc->sc_bst, sc->sc_bsh,
sys/arm64/cavium/thunder_pcie_pem.c
597
data = le16toh(bus_space_read_2(t, h, reg));
sys/cam/ata/ata_all.c
1269
*ptr = le16toh(*ptr);
sys/cam/ctl/ctl.c
13388
le16toh(io->nvmeio.cmd.cid),
sys/cam/ctl/ctl_util.c
767
sbuf_printf(sb, " CID: 0x%x\n", le16toh(io->nvmeio.cmd.cid));
sys/cam/ctl/ctl_util.c
886
tag_num = le16toh(io->nvmeio.cmd.cid);
sys/compat/linuxkpi/common/include/asm/byteorder.h
52
#define __le16_to_cpu(x) le16toh(x)
sys/compat/linuxkpi/common/include/asm/byteorder.h
77
#define __le16_to_cpup(x) le16toh(*((const uint16_t *)(x)))
sys/compat/linuxkpi/common/include/linux/io.h
168
v = le16toh(__raw_readw(addr));
sys/compat/linuxkpi/common/include/linux/io.h
254
return (le16toh(__raw_readw(addr)));
sys/compat/linuxkpi/common/include/net/mac80211.h
1921
map = le16toh(vht_cap->supp_mcs.rx_mcs_map);
sys/compat/linuxkpi/common/include/net/mac80211.h
1938
if ((le16toh(vht_cap->supp_mcs.tx_mcs_map) &
sys/compat/linuxkpi/common/src/linux_80211.c
6036
params.buf_size = _IEEE80211_MASKSHIFT(le16toh(baparamset), IEEE80211_BAPS_BUFSIZ);
sys/compat/linuxkpi/common/src/linux_80211.c
6044
params.timeout = le16toh(batimeout);
sys/compat/linuxkpi/common/src/linux_80211.c
6045
params.ssn = _IEEE80211_MASKSHIFT(le16toh(baseqctl), IEEE80211_BASEQ_START);
sys/compat/linuxkpi/common/src/linux_80211.c
6046
params.tid = _IEEE80211_MASKSHIFT(le16toh(baparamset), IEEE80211_BAPS_TID);
sys/compat/x86bios/x86bios.c
361
return (le16toh(*va));
sys/compat/x86bios/x86bios.c
822
p += le16toh(*(uint16_t *)(p + 0x18));
sys/compat/x86bios/x86bios.c
824
le16toh(*(uint16_t *)(p + 0x0a)) < 0x18 || *(p + 0x14) != 0)
sys/compat/x86bios/x86bios.c
828
vendor = le16toh(*(uint16_t *)(p + 0x04));
sys/compat/x86bios/x86bios.c
829
device = le16toh(*(uint16_t *)(p + 0x06));
sys/dev/ae/if_ae.c
1805
flags = le16toh(txs->flags);
sys/dev/ae/if_ae.c
1821
le16toh(txs->len), le16toh(txd->len));
sys/dev/ae/if_ae.c
1826
sc->txd_ack = ((sc->txd_ack + le16toh(txd->len) +
sys/dev/ae/if_ae.c
1867
flags = le16toh(rxd->flags);
sys/dev/ae/if_ae.c
1872
size = le16toh(rxd->len) - ETHER_CRC_LEN;
sys/dev/ae/if_ae.c
1887
m->m_pkthdr.ether_vtag = AE_RXD_VLAN(le16toh(rxd->vlan));
sys/dev/ae/if_ae.c
1922
flags = le16toh(rxd->flags);
sys/dev/aic7xxx/aic_osm_lib.h
80
#define aic_le16toh(x) le16toh(x)
sys/dev/ath/if_ath_tx.c
2632
baparamset = le16toh(ia->rq_baparamset);
sys/dev/atopcase/atopcase.c
148
pl_len = le16toh(hdr->len);
sys/dev/atopcase/atopcase.c
156
crc = le16toh(*(uint16_t *)((uint8_t *)payload + pl_len));
sys/dev/atopcase/atopcase.c
164
unsigned _len = le16toh(len); \
sys/dev/atopcase/atopcase.c
165
unsigned _off = le16toh(off); \
sys/dev/atopcase/atopcase.c
192
sc->sc_vid = le16toh(dev->vid);
sys/dev/atopcase/atopcase.c
193
sc->sc_pid = le16toh(dev->pid);
sys/dev/atopcase/atopcase.c
194
sc->sc_ver = le16toh(dev->ver);
sys/dev/atopcase/atopcase.c
233
if (le16toh(pkt.checksum) != crc16(0, &pkt, sizeof(pkt) - 2)) {
sys/dev/atopcase/atopcase.c
255
length = le16toh(pkt.length);
sys/dev/atopcase/atopcase.c
256
remaining = le16toh(pkt.remaining);
sys/dev/atopcase/atopcase.c
257
offset = le16toh(pkt.offset);
sys/dev/bce/if_bcereg.h
574
#define bce_le16toh(x) le16toh(x)
sys/dev/bfe/if_bfe.c
1404
len = le16toh(rxheader->len);
sys/dev/bfe/if_bfe.c
1405
flags = le16toh(rxheader->flags);
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
628
BCM_READ_HDR_VAR(BCM_NVRAM_CFG0_SDRAM_INIT, u16, le16toh);
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
629
BCM_READ_HDR_VAR(BCM_NVRAM_CFG1_SDRAM_CFG, u16, le16toh);
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
630
BCM_READ_HDR_VAR(BCM_NVRAM_CFG1_SDRAM_REFRESH, u16, le16toh);
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom.c
1020
NV_PARSE_INT(uint32_t, u16, le16toh);
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom.c
1029
NV_PARSE_INT(int32_t, i16, le16toh);
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom.c
141
*magic = le16toh(*magic);
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
507
entry_cnt = le16toh(resp->entry_cnt);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1226
func->fw_fid = le16toh(resp->fid);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1228
func->max_rsscos_ctxs = le16toh(resp->max_rsscos_ctx);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1229
func->max_cp_rings = le16toh(resp->max_cmpl_rings);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1230
func->max_tx_rings = le16toh(resp->max_tx_rings);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1231
func->max_rx_rings = le16toh(resp->max_rx_rings);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1235
func->max_l2_ctxs = le16toh(resp->max_l2_ctxs);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1236
func->max_vnics = le16toh(resp->max_vnics);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1237
func->max_stat_ctxs = le16toh(resp->max_stat_ctx);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1241
pf->port_id = le16toh(resp->port_id);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1242
pf->first_vf_id = le16toh(resp->first_vf_id);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1243
pf->max_vfs = le16toh(resp->max_vfs);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1279
fn_qcfg->alloc_completion_rings = le16toh(resp->alloc_cmpl_rings);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1280
fn_qcfg->alloc_tx_rings = le16toh(resp->alloc_tx_rings);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1281
fn_qcfg->alloc_rx_rings = le16toh(resp->alloc_rx_rings);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1282
fn_qcfg->alloc_vnics = le16toh(resp->alloc_vnics);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1293
flags = le16toh(resp->flags);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1315
softc->db_offset = le16toh(resp->legacy_l2_db_size_kb) * 1024;
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1737
error_code = le16toh(resp->error_code);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1843
ring->phys_id = le16toh(resp->ring_id);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2007
le16toh(resp->rx_stat_size) / 8;
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2013
le16toh(resp->tx_stat_size) / 8 : 0;
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
224
le16toh(req->seq_id));
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2374
*ordinal = le16toh(resp->dir_ordinal);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2376
*index = le16toh(resp->dir_idx);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
238
softc->hwrm_cmd_timeo, le16toh(req->req_type),
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
239
le16toh(req->seq_id), msg_len,
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
244
err = le16toh(resp->error_code);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2565
*index = le16toh(resp->dir_idx);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2690
*mfg_id = le16toh(resp->manufacturer_id);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2692
*device_id = le16toh(resp->device_id);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2784
*year = le16toh(resp->year);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2796
*millisecond = le16toh(resp->millisecond);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2798
*zone = le16toh(resp->zone);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2921
link_info->link_speed = le16toh(resp->link_speed);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2928
link_info->force_link_speed = le16toh(resp->force_link_speed);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2929
link_info->auto_link_speeds = le16toh(resp->auto_link_speed);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2930
link_info->support_speeds = le16toh(resp->support_speeds);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2931
link_info->auto_link_speeds = le16toh(resp->auto_link_speed_mask);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2949
link_info->support_pam4_speeds = le16toh(resp->support_pam4_speeds);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2950
link_info->auto_pam4_link_speeds = le16toh(resp->auto_pam4_link_speed_mask);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2951
link_info->force_pam4_link_speed = le16toh(resp->force_pam4_link_speed);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2956
link_info->support_speeds2 = le16toh(resp->support_speeds2);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2957
link_info->auto_link_speeds2 = le16toh(resp->auto_link_speeds2);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2958
link_info->force_link_speeds2 = le16toh(resp->force_link_speeds2);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
3021
le16toh(resp->supported_speeds_auto_mode);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
3024
le16toh(resp->supported_speeds_force_mode);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
3027
le16toh(resp->supported_pam4_speeds_auto_mode);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
3030
le16toh(resp->supported_pam4_speeds_force_mode);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
3034
le16toh(resp->supported_speeds2_auto_mode);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
3038
le16toh(resp->supported_speeds2_force_mode);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
3059
next_handle = le16toh(resp->next_handle);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
738
hw_resc->max_tx_sch_inputs = le16toh(resp->max_tx_scheduler_inputs);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
742
hw_resc->min_rsscos_ctxs = le16toh(resp->min_rsscos_ctx);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
743
hw_resc->max_rsscos_ctxs = le16toh(resp->max_rsscos_ctx);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
744
hw_resc->min_cp_rings = le16toh(resp->min_cmpl_rings);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
745
hw_resc->max_cp_rings = le16toh(resp->max_cmpl_rings);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
746
hw_resc->min_tx_rings = le16toh(resp->min_tx_rings);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
747
hw_resc->max_tx_rings = le16toh(resp->max_tx_rings);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
748
hw_resc->min_rx_rings = le16toh(resp->min_rx_rings);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
749
hw_resc->max_rx_rings = le16toh(resp->max_rx_rings);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
750
hw_resc->min_hw_ring_grps = le16toh(resp->min_hw_ring_grps);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
751
hw_resc->max_hw_ring_grps = le16toh(resp->max_hw_ring_grps);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
752
hw_resc->min_l2_ctxs = le16toh(resp->min_l2_ctxs);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
753
hw_resc->max_l2_ctxs = le16toh(resp->max_l2_ctxs);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
754
hw_resc->min_vnics = le16toh(resp->min_vnics);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
755
hw_resc->max_vnics = le16toh(resp->max_vnics);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
756
hw_resc->min_stat_ctxs = le16toh(resp->min_stat_ctx);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
757
hw_resc->max_stat_ctxs = le16toh(resp->max_stat_ctx);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
760
hw_resc->max_nqs = le16toh(resp->max_msix);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
933
fw_min = le16toh(resp->hwrm_fw_minor);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
934
fw_bld = le16toh(resp->hwrm_fw_build);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
935
fw_rsv = le16toh(resp->hwrm_fw_patch);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
958
softc->ver_info->chip_num = le16toh(resp->chip_num);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
965
softc->hwrm_max_req_len = le16toh(resp->max_req_win_len);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
966
softc->hwrm_max_ext_req_len = le16toh(resp->max_ext_req_len);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
968
softc->hwrm_cmd_timeo = le16toh(resp->def_req_timeout);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
251
err = (le16toh(cmpl[cons].errors_v) &
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
388
type = le16toh(cmp[cons].type) & CMPL_BASE_TYPE_MASK;
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
520
ri->iri_frags[0].irf_len = le16toh(rcp->len);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
521
ri->iri_len = le16toh(rcp->len);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
530
errors = le16toh(rcph->errors_v2);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
564
ri->iri_frags[i].irf_len = le16toh(acp->len);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
565
ri->iri_len += le16toh(acp->len);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
590
if (le16toh(tpas->low.flags_type) & RX_TPA_START_CMPL_FLAGS_RSS_VALID) {
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
603
ri->iri_frags[0].irf_len = le16toh(tpas->low.len);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
604
ri->iri_len = le16toh(tpas->low.len);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
641
ri->iri_frags[i].irf_len = le16toh(acp->len);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
642
ri->iri_len += le16toh(acp->len);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
650
ri->iri_frags[i].irf_len = le16toh(agend->len);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
651
ri->iri_len += le16toh(agend->len);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
676
flags_type = le16toh(cmp->type);
sys/dev/bnxt/bnxt_en/if_bnxt.c
5031
uint16_t async_id = le16toh(ae->event_id);
sys/dev/bnxt/bnxt_en/if_bnxt.c
5065
softc->fw_reset_max_dsecs = le16toh(ae->timestamp_hi);
sys/dev/bnxt/bnxt_en/if_bnxt.c
5179
type = le16toh(cmpl->type) & CMPL_BASE_TYPE_MASK;
sys/dev/bwi/bwirf.c
2413
flags1 = le16toh(hdr->rxh_flags1);
sys/dev/bwi/bwirf.c
2414
flags3 = le16toh(hdr->rxh_flags3);
sys/dev/bwi/bwirf.c
2445
lna_gain = __SHIFTOUT(le16toh(hdr->rxh_phyinfo),
sys/dev/bwi/bwirf.c
2449
lna_gain, le16toh(hdr->rxh_phyinfo));
sys/dev/bwi/bwirf.c
2484
flags1 = le16toh(hdr->rxh_flags1);
sys/dev/bwi/if_bwi.c
2614
flags2 = le16toh(hdr->rxh_flags2);
sys/dev/bwi/if_bwi.c
2621
buflen = le16toh(hdr->rxh_buflen);
sys/dev/bwi/if_bwi.c
3377
_bwi_txeof(sc, le16toh(stats->txs_id),
sys/dev/bwi/if_bwi.c
3407
_bwi_txeof(sc, le16toh(tx_id), tx_status0 & BWI_TXSTATUS0_ACKED,
sys/dev/bwn/if_bwn.c
5578
len = le16toh(rxhdr->frame_len);
sys/dev/bwn/if_bwn.c
5712
len = le16toh(rxhdr.frame_len);
sys/dev/bwn/if_bwn.c
5983
phystat0 = le16toh(rxhdr->phy_status0);
sys/dev/bwn/if_bwn.c
5989
phystat3 = le16toh(rxhdr->ps3.lp.phy_status3);
sys/dev/bwn/if_bwn.c
5995
chanstat = le16toh(rxhdr->ps4.r351.channel);
sys/dev/bwn/if_bwn.c
5999
chanstat = le16toh(rxhdr->ps4.r598.channel);
sys/dev/bwn/if_bwn.c
7077
mt = le16toh(rxhdr->ps4.r351.mac_time);
sys/dev/bwn/if_bwn.c
7080
mt = le16toh(rxhdr->ps4.r598.mac_time);
sys/dev/bxe/bxe.c
2644
hw_cons = le16toh(*fp->tx_cons_sb);
sys/dev/bxe/bxe.c
2661
rx_cq_cons_sb = le16toh(*fp->rx_cq_cons_sb);
sys/dev/bxe/bxe.c
2791
tpa_info->parsing_flags = le16toh(cqe->pars_flags.flags);
sys/dev/bxe/bxe.c
2792
tpa_info->vlan_tag = le16toh(cqe->vlan_tag);
sys/dev/bxe/bxe.c
2793
tpa_info->len_on_bd = le16toh(cqe->len_on_bd);
sys/dev/bxe/bxe.c
2856
frag_size = le16toh(cqe->pkt_len) - tpa_info->len_on_bd;
sys/dev/bxe/bxe.c
2869
fp->index, cqe_idx, pages, le16toh(cqe->pkt_len),
sys/dev/bxe/bxe.c
2884
sge_idx = RX_SGE(le16toh(cqe->sgl_or_raw_data.sgl[j]));
sys/dev/bxe/bxe.c
2981
RX_SGE(le16toh(cqe->sgl[i])));
sys/dev/bxe/bxe.c
2987
le16toh(cqe->sgl[sge_len - 1]));
sys/dev/bxe/bxe.c
2991
le16toh(cqe->sgl[sge_len - 1]));
sys/dev/bxe/bxe.c
3044
le16toh(cqe->pkt_len), pages, tpa_info->vlan_tag);
sys/dev/bxe/bxe.c
3126
sge_idx = RX_SGE(le16toh(cqe_fp->sgl_or_raw_data.sgl[j]));
sys/dev/bxe/bxe.c
3164
hw_cq_cons = le16toh(*fp->rx_cq_cons_sb);
sys/dev/bxe/bxe.c
3216
le16toh(cqe_fp->vlan_tag),
sys/dev/bxe/bxe.c
3217
le16toh(cqe_fp->pkt_len_or_gro_seg_len),
sys/dev/bxe/bxe.c
3218
le16toh(cqe_fp->len_on_bd));
sys/dev/bxe/bxe.c
3249
frag_size = (le16toh(cqe->end_agg_cqe.pkt_len) -
sys/dev/bxe/bxe.c
3271
len = le16toh(cqe_fp->pkt_len_or_gro_seg_len);
sys/dev/bxe/bxe.c
3272
lenonbd = le16toh(cqe_fp->len_on_bd);
sys/dev/bxe/bxe.c
3434
nbd = le16toh(tx_start_bd->nbd) - 1;
sys/dev/bxe/bxe.c
3486
hw_cons = le16toh(*fp->tx_cons_sb);
sys/dev/bxe/bxe.c
5385
le16toh(tx_start_bd->nbytes),
sys/dev/bxe/bxe.c
5431
le16toh(tx_start_bd->nbd),
sys/dev/bxe/bxe.c
5432
le16toh(tx_start_bd->vlan_or_ethertype),
sys/dev/bxe/bxe.c
5450
le16toh(pbd_e1x->total_hlen_w));
sys/dev/bxe/bxe.c
5473
le16toh(tx_data_bd->nbytes),
sys/dev/bxe/bxe.c
8458
hw_cons = le16toh(*sc->eq_cons_sb);
sys/dev/bxe/bxe.c
8645
le16toh(sc->def_idx), IGU_INT_NOP, 1);
sys/dev/bxe/bxe.c
8656
le16toh(sc->def_att_idx), IGU_INT_ENABLE, 1);
sys/dev/bxe/bxe.c
8713
le16toh(fp->fp_hc_idx), IGU_INT_ENABLE, 1);
sys/dev/bxe/bxe.c
8754
le16toh(fp->fp_hc_idx), IGU_INT_ENABLE, 1);
sys/dev/bxe/bxe_stats.c
159
le16toh(sc->fw_stats_req->hdr.drv_stats_counter));
sys/dev/bxe/bxe_stats.c
949
if (le16toh(counters->xstats_counter) != cur_stats_counter) {
sys/dev/bxe/bxe_stats.c
953
le16toh(counters->xstats_counter), sc->stats_counter);
sys/dev/bxe/bxe_stats.c
957
if (le16toh(counters->ustats_counter) != cur_stats_counter) {
sys/dev/bxe/bxe_stats.c
961
le16toh(counters->ustats_counter), sc->stats_counter);
sys/dev/bxe/bxe_stats.c
965
if (le16toh(counters->cstats_counter) != cur_stats_counter) {
sys/dev/bxe/bxe_stats.c
969
le16toh(counters->cstats_counter), sc->stats_counter);
sys/dev/bxe/bxe_stats.c
973
if (le16toh(counters->tstats_counter) != cur_stats_counter) {
sys/dev/bxe/bxe_stats.c
977
le16toh(counters->tstats_counter), sc->stats_counter);
sys/dev/bxe/bxe_stats.h
521
ADD_64(s_hi, le16toh(a_hi_le), \
sys/dev/bxe/bxe_stats.h
522
s_lo, le16toh(a_lo_le))
sys/dev/cfi/cfi_core.c
103
val = le16toh(sval);
sys/dev/cxgb/cxgb_osdep.h
194
#define le16_to_cpu(x) le16toh(x)
sys/dev/cxgbe/nvmf/nvmf_che.c
1060
le16toh(hdr->fes), le32dec(hdr->fei));
sys/dev/cxgbe/nvmf/nvmf_che.c
1103
cid = le16toh(cpl.cid);
sys/dev/cxgbe/nvmf/nvmf_che.c
1128
qp->toep->tid, le16toh(rsp->rccqe.cid), cpl.cid);
sys/dev/cxgbe/nvmf/nvmf_che.c
1379
ttag = le16toh(h2c->ttag);
sys/dev/cxgbe/nvmf/nvmf_che.c
1516
cid = le16toh(c2h->cccid);
sys/dev/cxgbe/osdep.h
98
#define le16_to_cpu(x) le16toh(x)
sys/dev/dc/if_dc.c
614
*ptr = le16toh(word);
sys/dev/drm2/drm_os_freebsd.h
134
le16toh(*(volatile u_int16_t *)(((vm_offset_t)(map)->handle) + \
sys/dev/drm2/drm_os_freebsd.h
45
#define le16_to_cpu(x) le16toh(x)
sys/dev/e1000/em_txrx.c
680
len = le16toh(rxd->length);
sys/dev/e1000/em_txrx.c
711
ri->iri_vtag = le16toh(rxd->special);
sys/dev/e1000/em_txrx.c
746
len = le16toh(rxd->wb.upper.length);
sys/dev/e1000/em_txrx.c
776
ri->iri_vtag = le16toh(rxd->wb.upper.vlan);
sys/dev/e1000/igb_txrx.c
452
pkt_info = le16toh(rxd->wb.lower.lo_dword.hs_rss.pkt_info);
sys/dev/e1000/igb_txrx.c
456
len = le16toh(rxd->wb.upper.length);
sys/dev/e1000/igb_txrx.c
501
ri->iri_vtag = le16toh(rxd->wb.upper.vlan);
sys/dev/fb/vesa.c
842
vers = buf->v_version = le16toh(buf->v_version);
sys/dev/fb/vesa.c
846
buf->v_memsize = le16toh(buf->v_memsize);
sys/dev/fb/vesa.c
847
buf->v_revision = le16toh(buf->v_revision);
sys/dev/fb/vesa.c
878
vesa_vmodetab[i] = le16toh(vesa_vmodetab[i]);
sys/dev/fb/vesa.c
882
vmode.v_modeattr = le16toh(vmode.v_modeattr);
sys/dev/fb/vesa.c
883
vmode.v_wgran = le16toh(vmode.v_wgran);
sys/dev/fb/vesa.c
884
vmode.v_wsize = le16toh(vmode.v_wsize);
sys/dev/fb/vesa.c
885
vmode.v_waseg = le16toh(vmode.v_waseg);
sys/dev/fb/vesa.c
886
vmode.v_wbseg = le16toh(vmode.v_wbseg);
sys/dev/fb/vesa.c
888
vmode.v_bpscanline = le16toh(vmode.v_bpscanline);
sys/dev/fb/vesa.c
889
vmode.v_width = le16toh(vmode.v_width);
sys/dev/fb/vesa.c
890
vmode.v_height = le16toh(vmode.v_height);
sys/dev/fb/vesa.c
893
vmode.v_offscreensize = le16toh(vmode.v_offscreensize);
sys/dev/fb/vesa.c
894
vmode.v_linbpscanline = le16toh(vmode.v_linbpscanline);
sys/dev/fxp/if_fxp.c
1738
(le16toh(txp->tx_cb->cb_status) & FXP_CB_STATUS_C) != 0;
sys/dev/fxp/if_fxp.c
1920
status = le16toh(rfa->rfa_status);
sys/dev/fxp/if_fxp.c
1945
total_len = le16toh(rfa->actual_size) & 0x3fff;
sys/dev/fxp/if_fxp.c
2044
hsp->tx_tco += le16toh(sp->tx_tco);
sys/dev/fxp/if_fxp.c
2045
hsp->rx_tco += le16toh(sp->rx_tco);
sys/dev/fxp/if_fxp.c
367
if ((le16toh(*status) & FXP_CB_STATUS_C) != 0)
sys/dev/gve/gve_rx_dqo.c
625
buf_id = le16toh(compl_desc->buf_id);
sys/dev/gve/gve_rx_dqo.c
850
composed_id.all = le16toh(compl_desc->buf_id);
sys/dev/gve/gve_tx_dqo.c
1098
tx_head = le16toh(compl_desc->tx_head);
sys/dev/gve/gve_tx_dqo.c
1101
compl_tag = le16toh(compl_desc->completion_tag);
sys/dev/hid/bcm5974.c
192
#define BCM5974_LE2H(x) ((int32_t)(int16_t)le16toh(x))
sys/dev/hid/ietp.c
519
sc->product_id = le16toh(buf);
sys/dev/hid/ietp.c
550
sc->max_x = le16toh(buf);
sys/dev/hid/ietp.c
556
sc->max_y = le16toh(buf);
sys/dev/hyperv/input/hv_hid.c
298
hdi->rdescsize = le16toh(hdesc->hcdesc[0].wDescriptorLength);
sys/dev/hyperv/input/hv_hid.c
303
hdi->idVendor = le16toh(devinfo->vendor);
sys/dev/hyperv/input/hv_hid.c
304
hdi->idProduct = le16toh(devinfo->product);
sys/dev/hyperv/input/hv_hid.c
305
hdi->idVersion = le16toh(devinfo->version);
sys/dev/iavf/iavf_osdep.h
120
#define LE16_TO_CPU(a) le16toh(a)
sys/dev/iavf/iavf_txrx_iflib.c
730
ri->iri_vtag = le16toh(cur->wb.qword0.lo_dword.l2tag1);
sys/dev/ice/ice_iflib_txrx.c
333
status0 = le16toh(rxd->wb.status_error0);
sys/dev/ice/ice_iflib_txrx.c
407
status0 = le16toh(cur->wb.status_error0);
sys/dev/ice/ice_iflib_txrx.c
408
plen = le16toh(cur->wb.pkt_len) &
sys/dev/ice/ice_iflib_txrx.c
439
ri->iri_vtag = le16toh(cur->wb.l2tag1);
sys/dev/ice/ice_iflib_txrx.c
448
ptype = le16toh(cur->wb.ptype_flex_flags0) &
sys/dev/ice/ice_lib.c
10525
u16 status_code = le16toh(elem->health_status_code);
sys/dev/ice/ice_lib.c
10678
status_count = le16toh(event->desc.params.get_health_status.health_status_count);
sys/dev/ice/ice_lib.c
1704
if (pf_q == le16toh(qg->txqs[0].txq_id))
sys/dev/ice/ice_lib.c
2215
MPASS(le16toh(e->desc.datalen) >= ICE_GET_LINK_STATUS_DATALEN_V1);
sys/dev/ice/ice_lib.c
2276
opcode = le16toh(event->desc.opcode);
sys/dev/ice/ice_osdep.h
313
#define LE16_TO_CPU le16toh
sys/dev/igc/igc_txrx.c
480
pkt_info = le16toh(rxd->wb.lower.lo_dword.hs_rss.pkt_info);
sys/dev/igc/igc_txrx.c
484
len = le16toh(rxd->wb.upper.length);
sys/dev/igc/igc_txrx.c
523
ri->iri_vtag = le16toh(rxd->wb.upper.vlan);
sys/dev/iicbus/iichid.c
1026
hw->idVendor = le16toh(desc->wVendorID);
sys/dev/iicbus/iichid.c
1027
hw->idProduct = le16toh(desc->wProductID);
sys/dev/iicbus/iichid.c
1028
hw->idVersion = le16toh(desc->wVersionID);
sys/dev/iicbus/iichid.c
1042
le16toh(desc->wVendorID), le16toh(desc->wProductID));
sys/dev/iicbus/iichid.c
1047
hw->rdescsize = le16toh(desc->wReportDescLength);
sys/dev/iicbus/iichid.c
1101
if (le16toh(sc->desc.wHIDDescLength) != 30 ||
sys/dev/iicbus/iichid.c
1102
le16toh(sc->desc.bcdVersion) != 0x100 ||
sys/dev/iicbus/iichid.c
1103
le16toh(sc->desc.wMaxInputLength) < 2) {
sys/dev/iicbus/iichid.c
1140
sc->intr_bufsize = le16toh(sc->desc.wMaxInputLength) - 2;
sys/dev/iicbus/iichid.c
329
if (le16toh(sc->desc.wMaxOutputLength) == 0)
sys/dev/iicbus/iichid.c
407
le16toh(cmd), len);
sys/dev/iicbus/iichid.c
830
le16toh(sc->desc.wMaxInputLength) - 2 : rdesc->isize;
sys/dev/ipw/if_ipw.c
1262
switch (le16toh(status->code) & 0xf) {
sys/dev/ipw/if_ipw.c
1284
le16toh(status->code));
sys/dev/ipw/if_ipw.c
963
return le16toh(val);
sys/dev/isp/isp.c
4654
ver = le16toh((uint16_t) (ISP2XXX_FLT_VERSION(flthdr_data)));
sys/dev/isp/isp.c
4655
fcp->flt_length = le16toh((uint16_t) (ISP2XXX_FLT_LENGTH(flthdr_data)));
sys/dev/isp/isp.c
4656
csum = le16toh((uint16_t) (ISP2XXX_FLT_CSUM(flthdr_data)));
sys/dev/isp/isp.c
4699
le16toh((uint16_t) (ISP2XXX_FLT_REG_CODE(flt_data, count)));
sys/dev/isp/isp.c
4879
le16toh(image_status->generation),
sys/dev/isp/isp.c
4950
le16toh(pri_image_status->generation) -
sys/dev/isp/isp.c
4951
le16toh(sec_image_status->generation);
sys/dev/iwi/if_iwi.c
1189
framelen = le16toh(frame->len);
sys/dev/iwi/if_iwi.c
1199
le16toh(frame->len), frame->chan, frame->rssi,
sys/dev/iwi/if_iwi.c
1205
le16toh(frame->len), frame->chan, frame->rssi, frame->rssi_dbm));
sys/dev/iwi/if_iwi.c
1326
capinfo = le16toh(*(const uint16_t *)frm);
sys/dev/iwi/if_iwi.c
1330
associd = le16toh(*(const uint16_t *)frm);
sys/dev/iwi/if_iwi.c
1362
len = le16toh(notif->len);
sys/dev/iwi/if_iwi.c
1489
le16toh(notif->len) - sizeof(*assoc) - 1);
sys/dev/iwi/if_iwi.c
1560
notif->type, notif->flags, le16toh(notif->len)));
sys/dev/iwi/if_iwi.c
1923
ac, txq->cur, le16toh(desc->len), nsegs));
sys/dev/iwi/if_iwi.c
2788
, le16toh(scan.dwell_time[IWI_SCAN_TYPE_PASSIVE])
sys/dev/iwi/if_iwi.c
2789
, le16toh(scan.dwell_time[IWI_SCAN_TYPE_BROADCAST])
sys/dev/iwi/if_iwi.c
2790
, le16toh(scan.dwell_time[IWI_SCAN_TYPE_BDIRECTED])
sys/dev/iwi/if_iwi.c
2983
assoc->chan, le16toh(assoc->policy), assoc->auth,
sys/dev/iwi/if_iwi.c
2984
le16toh(assoc->capinfo), le16toh(assoc->lintval),
sys/dev/iwi/if_iwi.c
2985
le16toh(assoc->intval)));
sys/dev/iwm/if_iwm.c
1835
ret = le16toh(nvm_resp->status);
sys/dev/iwm/if_iwm.c
1836
bytes_read = le16toh(nvm_resp->length);
sys/dev/iwm/if_iwm.c
1837
offset_read = le16toh(nvm_resp->offset);
sys/dev/iwm/if_iwm.c
2762
status = le16toh(palive->status);
sys/dev/iwm/if_iwm.c
2767
status = le16toh(palive3->status);
sys/dev/iwm/if_iwm.c
3195
len = le16toh(rx_res->byte_count);
sys/dev/iwm/if_iwm.c
3233
le16toh(phy_info->channel),
sys/dev/iwm/if_iwm.c
3234
le16toh(phy_info->phy_flags));
sys/dev/iwm/if_iwm.c
3243
rxs.c_ieee = le16toh(phy_info->channel);
sys/dev/iwm/if_iwm.c
3244
if (le16toh(phy_info->phy_flags & IWM_RX_RES_PHY_FLAGS_BAND_24)) {
sys/dev/iwm/if_iwm.c
3319
len = le16toh(desc->mpdu_len);
sys/dev/iwm/if_iwm.c
3320
phy_info = le16toh(desc->phy_info);
sys/dev/iwm/if_iwm.c
3447
int status = le16toh(tx_resp->status.status) & IWM_TX_STATUS_MSK;
sys/dev/iwm/if_iwm.c
3457
(int) le16toh(tx_resp->status.status),
sys/dev/iwm/if_iwm.c
3458
(int) le16toh(tx_resp->status.sequence),
sys/dev/iwm/if_iwm.c
3464
(int) le16toh(tx_resp->wireless_media_time));
sys/dev/iwm/if_iwm.c
3934
iwm_update_sched(sc, ring->qid, ring->cur, tx->sta_id, le16toh(tx->len));
sys/dev/iwm/if_iwm.c
5646
hw = le16toh(sc->rxq.stat->closed_rb_num) & 0xfff;
sys/dev/iwm/if_iwm_phy_db.c
281
enum iwm_phy_db_section_type type = le16toh(phy_db_notif->type);
sys/dev/iwm/if_iwm_phy_db.c
282
uint16_t size = le16toh(phy_db_notif->length);
sys/dev/iwm/if_iwm_phy_db.c
290
chg_id = le16toh(*(uint16_t *)phy_db_notif->data);
sys/dev/iwm/if_iwm_phy_db.c
304
chg_id = le16toh(*(uint16_t *)phy_db_notif->data);
sys/dev/iwm/if_iwm_phy_db.c
400
if (le16toh(txp_chg->max_channel_idx) >= ch_index)
sys/dev/iwm/if_iwm_power.c
213
cmd->id_and_color, iwm_power_scheme, le16toh(cmd->flags));
sys/dev/iwm/if_iwm_power.c
215
"Keep alive = %u sec\n", le16toh(cmd->keep_alive_seconds));
sys/dev/iwm/if_iwmreg.h
69
#define le16_to_cpup(_a_) (le16toh(*(const uint16_t *)(_a_)))
sys/dev/iwn/if_iwn.c
1668
base = le16toh(next);
sys/dev/iwn/if_iwn.c
2228
DPRINTF(sc, IWN_DEBUG_RESET, "SKU capabilities=0x%04x\n", le16toh(val));
sys/dev/iwn/if_iwn.c
2234
sc->rfcfg = le16toh(val);
sys/dev/iwn/if_iwn.c
2293
sc->eeprom_voltage = (int16_t)le16toh(val);
sys/dev/iwn/if_iwn.c
2356
base = le16toh(val);
sys/dev/iwn/if_iwn.c
2371
base = le16toh(val);
sys/dev/iwn/if_iwn.c
2375
hdr.version, hdr.pa_type, le16toh(hdr.volt));
sys/dev/iwn/if_iwn.c
2379
sc->eeprom_voltage = le16toh(hdr.volt);
sys/dev/iwn/if_iwn.c
2381
sc->eeprom_temp_high=le16toh(val);
sys/dev/iwn/if_iwn.c
2383
sc->eeprom_temp = le16toh(val);
sys/dev/iwn/if_iwn.c
2389
sc->eeprom_temp = le16toh(val);
sys/dev/iwn/if_iwn.c
2391
volt = le16toh(val);
sys/dev/iwn/if_iwn.c
2639
base = le16toh(val);
sys/dev/iwn/if_iwn.c
3056
len = le16toh(mpdu->len);
sys/dev/iwn/if_iwn.c
3059
len = le16toh(stat->len);
sys/dev/iwn/if_iwn.c
3258
qid = le16toh(ba->qid);
sys/dev/iwn/if_iwn.c
3266
__func__, qid, tid, le16toh(ba->seq), le16toh(ba->ssn),
sys/dev/iwn/if_iwn.c
3273
shift = wn->agg[tid].startidx - ((le16toh(ba->seq) >> 4) & 0xff);
sys/dev/iwn/if_iwn.c
3472
__func__, desc->type, le16toh(desc->len));
sys/dev/iwn/if_iwn.c
3481
iwn_stats_update(sc, calib, stats, le16toh(desc->len));
sys/dev/iwn/if_iwn.c
3565
stat->rate, le16toh(stat->duration),
sys/dev/iwn/if_iwn.c
3590
stat->rate, le16toh(stat->duration),
sys/dev/iwn/if_iwn.c
3603
le16toh(stat->status) & 0xff);
sys/dev/iwn/if_iwn.c
3879
start = le16toh(*(aggstatus + nframes * 2)) & 0xff;
sys/dev/iwn/if_iwn.c
3882
uint16_t status = le16toh(aggstatus[i * 2]);
sys/dev/iwn/if_iwn.c
3887
idx = le16toh(aggstatus[i * 2 + 1]) & 0xff;
sys/dev/iwn/if_iwn.c
3986
hw = le16toh(sc->rxq.stat->closed_count) & 0xfff;
sys/dev/iwn/if_iwn.c
3999
iwn_intr_str(desc->type), le16toh(desc->len));
sys/dev/iwn/if_iwn.c
5865
mask = (le16toh(phy->antenna) >> 4) & IWN_ANT_ABC;
sys/dev/iwn/if_iwn.c
5866
agc = (le16toh(phy->agc) >> 7) & 0x7f;
sys/dev/iwn/if_iwn.c
5894
rssi = MAX(le16toh(phy->rssi[0]) & 0xff,
sys/dev/iwn/if_iwn.c
5895
le16toh(phy->rssi[1]) & 0xff);
sys/dev/iwn/if_iwn.c
5896
rssi = MAX(le16toh(phy->rssi[2]) & 0xff, rssi);
sys/dev/iwn/if_iwn.c
7470
tid = _IEEE80211_MASKSHIFT(le16toh(baparamset), IEEE80211_BAPS_TID);
sys/dev/iwn/if_iwn.c
7471
ssn = _IEEE80211_MASKSHIFT(le16toh(baseqctl), IEEE80211_BASEQ_START);
sys/dev/iwn/if_iwn.c
7896
le16toh(cmd.offset));
sys/dev/iwn/if_iwn.c
7920
le16toh(cmd.offset_low),
sys/dev/iwn/if_iwn.c
7921
le16toh(cmd.offset_high),
sys/dev/iwn/if_iwn.c
7922
le16toh(cmd.burnt_voltage_ref));
sys/dev/iwn/if_iwn.c
8391
switch (le16toh(tlv->type)) {
sys/dev/iwn/if_iwn.c
8450
le16toh(tlv->type));
sys/dev/iwn/if_iwn.c
8454
"TLV type %d not handled\n", le16toh(tlv->type));
sys/dev/iwx/if_iwx.c
10907
tid = _IEEE80211_MASKSHIFT(le16toh(baparamset), IEEE80211_BAPS_TID);
sys/dev/iwx/if_iwx.c
10909
_IEEE80211_MASKSHIFT(le16toh(baseqctl), IEEE80211_BASEQ_START);
sys/dev/iwx/if_iwx.c
10911
_IEEE80211_MASKSHIFT(le16toh(baparamset), IEEE80211_BAPS_BUFSIZ);
sys/dev/iwx/if_iwx.c
10971
tid = _IEEE80211_MASKSHIFT(le16toh(baparamset), IEEE80211_BAPS_TID);
sys/dev/iwx/if_iwx.c
191
#define le16_to_cpup(_a_) (le16toh(*(const uint16_t *)(_a_)))
sys/dev/iwx/if_iwx.c
3004
fwqid = le16toh(resp->queue_number);
sys/dev/iwx/if_iwx.c
3005
wr_idx = le16toh(resp->write_pointer);
sys/dev/iwx/if_iwx.c
3673
nvm->nvm_version = le16toh(rsp->general.nvm_version);
sys/dev/iwx/if_iwx.c
4553
len = le16toh(desc->mpdu_len);
sys/dev/iwx/if_iwx.c
4593
if ((le16toh(desc->status) &
sys/dev/iwx/if_iwx.c
4605
if ((le16toh(desc->status) &
sys/dev/iwx/if_iwx.c
4654
iwx_rx_hwdecrypt(sc, m, le16toh(desc->status)/*, &rxi*/)) {
sys/dev/iwx/if_iwx.c
4670
phy_info = le16toh(desc->phy_info);
sys/dev/iwx/if_iwx.c
4723
iwx_rx_frame(sc, m, chanidx, le16toh(desc->status),
sys/dev/iwx/if_iwx.c
4732
uint8_t num_tbs = le16toh(desc->num_tbs) & 0x1f;
sys/dev/iwx/if_iwx.c
4810
status = le16toh(tx_resp->status.status) & IWX_TX_STATUS_MSK;
sys/dev/iwx/if_iwx.c
4881
tfd_cnt = le16toh(ba_res->tfd_cnt);
sys/dev/iwx/if_iwx.c
4882
ra_tid_cnt = le16toh(ba_res->ra_tid_cnt);
sys/dev/iwx/if_iwx.c
4907
idx = le16toh(ba_tfd->tfd_index);
sys/dev/iwx/if_iwx.c
5914
if (le16toh(resp->sta_id) != sta_id) {
sys/dev/iwx/if_iwx.c
5919
num_flushed_queues = le16toh(resp->num_flushed_queues);
sys/dev/iwx/if_iwx.c
5927
uint16_t tid = le16toh(queue_info->tid);
sys/dev/iwx/if_iwx.c
5928
uint16_t read_after = le16toh(queue_info->read_after_flush);
sys/dev/iwx/if_iwx.c
5929
uint16_t qid = le16toh(queue_info->queue_num);
sys/dev/iwx/if_iwx.c
6218
aggsize = _IEEE80211_MASKSHIFT(le16toh(ni->ni_htparam),
sys/dev/iwx/if_iwx.c
6228
switch (_IEEE80211_MASKSHIFT(le16toh(ni->ni_htparam),
sys/dev/iwx/if_iwx.c
6714
(le16toh(notif->mcc) & 0xff00) >> 8, le16toh(notif->mcc) & 0xff);
sys/dev/iwx/if_iwx.c
6717
"(0x%x)\n", DEVNAME(sc), alpha2, le16toh(notif->mcc));
sys/dev/iwx/if_iwx.c
9166
DEVNAME(sc), le16toh(notif->temperature));
sys/dev/iwx/if_iwx.c
9404
hw = le16toh(*status) & 0xfff;
sys/dev/iwx/if_iwx.c
9406
hw = le16toh(sc->rxq.stat->closed_rb_num) & 0xfff;
sys/dev/ixgbe/if_ix.c
4499
switch (le16toh(event.desc.opcode)) {
sys/dev/ixgbe/if_ix.c
4519
le16toh(event.desc.opcode));
sys/dev/ixgbe/ix_txrx.c
415
pkt_info = le16toh(rxd->wb.lower.lo_dword.hs_rss.pkt_info);
sys/dev/ixgbe/ix_txrx.c
420
len = le16toh(rxd->wb.upper.length);
sys/dev/ixgbe/ix_txrx.c
465
ri->iri_vtag = le16toh(rxd->wb.upper.vlan);
sys/dev/ixgbe/ixgbe_osdep.h
136
#define IXGBE_LE16_TO_CPU le16toh
sys/dev/ixl/i40e_osdep.h
102
#define LE16_TO_CPU(a) le16toh(a)
sys/dev/ixl/ixl_pf_iov.c
1421
vf_num = le16toh(event->desc.retval) - pf->hw.func_caps.vf_base_id;
sys/dev/ixl/ixl_txrx.c
727
ri->iri_vtag = le16toh(cur->wb.qword0.lo_dword.l2tag1);
sys/dev/malo/if_malo.c
1992
len = le16toh(ds->pktlen);
sys/dev/malo/if_malo.c
862
ds->status, le16toh(ds->pktlen), ds->snr, ds->nf, ds->channel,
sys/dev/malo/if_malo.c
863
ds->rate, le16toh(ds->qosctrl));
sys/dev/malo/if_malo.c
876
le32toh(ds->pktptr), le16toh(ds->pktlen), status,
sys/dev/malo/if_malo.c
880
ds->datarate, ds->txpriority, le16toh(ds->qosctrl),
sys/dev/malo/if_malo.c
881
le32toh(ds->sap_pktinfo), le16toh(ds->format));
sys/dev/malo/if_malo.c
953
uint16_t format = le16toh(ds->format);
sys/dev/malo/if_malohal.c
194
if (mh->mh_cmdbuf[0] == le16toh(cmd))
sys/dev/malo/if_malohal.c
560
hw->regioncode = le16toh(cmd->regioncode) & 0x00ff;
sys/dev/malo/if_malohal.c
562
hw->maxnum_wcb = le16toh(cmd->num_wcb);
sys/dev/malo/if_malohal.c
563
hw->maxnum_mcaddr = le16toh(cmd->num_mcastaddr);
sys/dev/malo/if_malohal.c
564
hw->num_antenna = le16toh(cmd->num_antenna);
sys/dev/mpi3mr/mpi3mr.c
1591
if (le16toh(facts_data->IOCFactsDataLength) !=
sys/dev/mpi3mr/mpi3mr.c
4043
handle = le16toh(topo_evt->PortEntry[i].AttachedDevHandle);
sys/dev/mpi3mr/mpi3mr.c
4102
handle = le16toh(topo_evt->PhyEntry[i].AttachedDevHandle);
sys/dev/mpi3mr/mpi3mr.c
4159
dev_handle = le16toh(evtdata->DevHandle);
sys/dev/mpi3mr/mpi3mr.c
4269
U16 shutdown_timeout = le16toh(evtdata->ShutdownTimeout);
sys/dev/mpi3mr/mpi3mr.c
4392
le16toh(event_reply->EventDataLength) * 4);
sys/dev/mpi3mr/mpi3mr.c
4427
sz = le16toh(event_reply->EventDataLength) * 4;
sys/dev/mpi3mr/mpi3mr.c
5571
mem_desc.size = le16toh(cfg_hdr->PageLength) * 4;
sys/dev/mpi3mr/mpi3mr_app.c
1361
|| ((le16toh(pel_reply->PELogStatus) != MPI3_PEL_STATUS_SUCCESS)
sys/dev/mpi3mr/mpi3mr_app.c
1362
&& (le16toh(pel_reply->PELogStatus) != MPI3_PEL_STATUS_ABORTED))){
sys/dev/mpi3mr/mpi3mr_app.c
1365
drvr_cmd->ioc_loginfo, le16toh(pel_reply->PELogStatus));
sys/dev/mpi3mr/mpi3mr_app.c
1498
|| (le16toh(pel_reply->PELogStatus) != MPI3_PEL_STATUS_SUCCESS)){
sys/dev/mpi3mr/mpi3mr_app.c
1501
drvr_cmd->ioc_loginfo, le16toh(pel_reply->PELogStatus));
sys/dev/mpi3mr/mpi3mr_app.c
1625
pel_log_status = le16toh(pel_reply->PELogStatus);
sys/dev/mpi3mr/mpi3mr_cam.c
1641
handle = le16toh(event_data->PhyEntry[i].AttachedDevHandle);
sys/dev/mpi3mr/mpi3mr_cam.c
1710
le16toh(event_data->SwitchDevHandle),
sys/dev/mpi3mr/mpi3mr_cam.c
1711
le16toh(event_data->EnclosureHandle),
sys/dev/mpi3mr/mpi3mr_cam.c
1715
le16toh(event_data->PortEntry[i].AttachedDevHandle);
sys/dev/mpi3mr/mpi3mr_cam.c
1762
le16toh(event_data->PortEntry[i].AttachedDevHandle);
sys/dev/mpi3mr/mpi3mr_cam.c
1917
dev_handle = le16toh(evtdata->DevHandle);
sys/dev/mpi3mr/mpi3mr_cam.c
1972
perst_id = le16toh(dev_pg0->PersistentID);
sys/dev/mpi3mr/mpi3mr_cam.c
1973
dev_handle = le16toh(dev_pg0->DevHandle);
sys/dev/mpr/mpr.c
1062
le16toh(mpr_regread(sc, MPI2_DOORBELL_OFFSET)) & MPI2_DOORBELL_DATA_MASK;
sys/dev/mpr/mpr.c
1069
le16toh(mpr_regread(sc, MPI2_DOORBELL_OFFSET)) & MPI2_DOORBELL_DATA_MASK;
sys/dev/mpr/mpr.c
1094
data16[i] = le16toh(mpr_regread(sc, MPI2_DOORBELL_OFFSET)) &
sys/dev/mpr/mpr.c
1167
facts->HeaderVersion = le16toh(facts->HeaderVersion);
sys/dev/mpr/mpr.c
1168
facts->Reserved1 = le16toh(facts->Reserved1);
sys/dev/mpr/mpr.c
1169
facts->IOCExceptions = le16toh(facts->IOCExceptions);
sys/dev/mpr/mpr.c
1170
facts->IOCStatus = le16toh(facts->IOCStatus);
sys/dev/mpr/mpr.c
1172
facts->RequestCredit = le16toh(facts->RequestCredit);
sys/dev/mpr/mpr.c
1173
facts->ProductID = le16toh(facts->ProductID);
sys/dev/mpr/mpr.c
1175
facts->IOCRequestFrameSize = le16toh(facts->IOCRequestFrameSize);
sys/dev/mpr/mpr.c
1176
facts->IOCMaxChainSegmentSize = le16toh(facts->IOCMaxChainSegmentSize);
sys/dev/mpr/mpr.c
1177
facts->MaxInitiators = le16toh(facts->MaxInitiators);
sys/dev/mpr/mpr.c
1178
facts->MaxTargets = le16toh(facts->MaxTargets);
sys/dev/mpr/mpr.c
1179
facts->MaxSasExpanders = le16toh(facts->MaxSasExpanders);
sys/dev/mpr/mpr.c
1180
facts->MaxEnclosures = le16toh(facts->MaxEnclosures);
sys/dev/mpr/mpr.c
1181
facts->ProtocolFlags = le16toh(facts->ProtocolFlags);
sys/dev/mpr/mpr.c
1182
facts->HighPriorityCredit = le16toh(facts->HighPriorityCredit);
sys/dev/mpr/mpr.c
1183
facts->MaxReplyDescriptorPostQueueDepth = le16toh(facts->MaxReplyDescriptorPostQueueDepth);
sys/dev/mpr/mpr.c
1184
facts->MaxDevHandle = le16toh(facts->MaxDevHandle);
sys/dev/mpr/mpr.c
1185
facts->MaxPersistentEntries = le16toh(facts->MaxPersistentEntries);
sys/dev/mpr/mpr.c
1186
facts->MinDevHandle = le16toh(facts->MinDevHandle);
sys/dev/mpr/mpr.c
1284
if ((le16toh(reply.IOCStatus) & MPI2_IOCSTATUS_MASK) != MPI2_IOCSTATUS_SUCCESS)
sys/dev/mpr/mpr.c
1287
mpr_dprint(sc, MPR_INIT, "IOCInit status= 0x%x\n", le16toh(reply.IOCStatus));
sys/dev/mpr/mpr.c
2476
sc_status = le16toh(mpi_reply->IOCStatus);
sys/dev/mpr/mpr.c
2577
cm = &sc->commands[le16toh(desc->SCSIIOSuccess.SMID)];
sys/dev/mpr/mpr.c
2616
if (le16toh(desc->AddressReply.SMID) == 0) {
sys/dev/mpr/mpr.c
2628
if ((le16toh(rel_rep->IOCStatus) &
sys/dev/mpr/mpr.c
2646
le16toh(desc->AddressReply.SMID)];
sys/dev/mpr/mpr.c
2697
event = le16toh(reply->Event);
sys/dev/mpr/mpr.c
2707
le16toh(event));
sys/dev/mpr/mpr_config.c
1012
cm->cm_length = le16toh(mpi_reply->ExtPageLength) * 4;
sys/dev/mpr/mpr_config.c
1039
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
110
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
1115
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
1149
cm->cm_length = le16toh(mpi_reply->ExtPageLength) * 4;
sys/dev/mpr/mpr_config.c
1176
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
1249
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
1308
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
1383
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
1441
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
1512
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
1572
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
1673
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
169
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
1731
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
242
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
301
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
374
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
432
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
497
sc->custom_nvme_tm_handling = (le16toh(man_pg11.AddlFlags2) &
sys/dev/mpr/mpr_config.c
567
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
602
cm->cm_length = le16toh(request->ExtPageLength) * 4;
sys/dev/mpr/mpr_config.c
628
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
704
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
739
cm->cm_length = le16toh(mpi_reply->ExtPageLength) * 4;
sys/dev/mpr/mpr_config.c
767
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
841
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
875
cm->cm_length = le16toh(mpi_reply->ExtPageLength) * 4;
sys/dev/mpr/mpr_config.c
902
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_config.c
978
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mpr/mpr_mapping.c
1144
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
1192
phy_change->slot = le16toh(sas_device_pg0.Slot);
sys/dev/mpr/mpr_mapping.c
1322
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
1348
port_change->slot = le16toh(pcie_device_pg0.Slot);
sys/dev/mpr/mpr_mapping.c
149
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/mpr/mpr_mapping.c
1498
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
151
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/mpr/mpr_mapping.c
156
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/mpr/mpr_mapping.c
158
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/mpr/mpr_mapping.c
1587
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
1592
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/mpr/mpr_mapping.c
1844
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
1849
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/mpr/mpr_mapping.c
2122
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/mpr/mpr_mapping.c
2124
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/mpr/mpr_mapping.c
219
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/mpr/mpr_mapping.c
221
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/mpr/mpr_mapping.c
2217
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
2218
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/mpr/mpr_mapping.c
2249
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/mpr/mpr_mapping.c
225
dpm_entry->MappingInformation = le16toh(dpm_entry->MappingInformation);
sys/dev/mpr/mpr_mapping.c
2253
dev_idx = le16toh(dpm_entry->DeviceIndex);
sys/dev/mpr/mpr_mapping.c
226
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/mpr/mpr_mapping.c
2409
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
246
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
248
volume_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/mpr/mpr_mapping.c
2565
uint16_t ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
2577
sc->max_dpm_entries = le16toh(sc->ioc_pg8.MaxPersistentEntries);
sys/dev/mpr/mpr_mapping.c
2591
volume_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/mpr/mpr_mapping.c
2752
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
2769
le16toh(event_data->EnclosureHandle));
sys/dev/mpr/mpr_mapping.c
2797
et_entry->enc_handle = le16toh(event_data->
sys/dev/mpr/mpr_mapping.c
2799
et_entry->start_slot = le16toh(event_data->StartSlot);
sys/dev/mpr/mpr_mapping.c
2800
new_num_slots = le16toh(event_data->NumSlots);
sys/dev/mpr/mpr_mapping.c
2863
et_entry->enc_handle = le16toh(event_data->
sys/dev/mpr/mpr_mapping.c
2872
et_entry->num_slots = le16toh(event_data->NumSlots);
sys/dev/mpr/mpr_mapping.c
2878
et_entry->start_slot = le16toh(event_data->StartSlot);
sys/dev/mpr/mpr_mapping.c
2890
le16toh(event_data->EnclosureHandle));
sys/dev/mpr/mpr_mapping.c
2895
le16toh(event_data->EnclosureHandle));
sys/dev/mpr/mpr_mapping.c
2935
topo_change.enc_handle = le16toh(event_data->EnclosureHandle);
sys/dev/mpr/mpr_mapping.c
2936
topo_change.exp_handle = le16toh(event_data->ExpanderDevHandle);
sys/dev/mpr/mpr_mapping.c
2953
phy_change->dev_handle = le16toh(event_phy_change->
sys/dev/mpr/mpr_mapping.c
2986
topo_change.switch_dev_handle = le16toh(event_data->SwitchDevHandle);
sys/dev/mpr/mpr_mapping.c
2987
topo_change.enc_handle = le16toh(event_data->EnclosureHandle);
sys/dev/mpr/mpr_mapping.c
3004
port_change->dev_handle = le16toh(event_port_change->
sys/dev/mpr/mpr_mapping.c
3050
element_flags = le16toh(element->ElementFlags);
sys/dev/mpr/mpr_mapping.c
3061
le16toh(element->VolDevHandle), &wwid_table[i]);
sys/dev/mpr/mpr_mapping.c
3089
mt_entry->dev_handle = le16toh
sys/dev/mpr/mpr_mapping.c
3114
le16toh(element->VolDevHandle));
sys/dev/mpr/mpr_mapping.c
3120
mt_entry->dev_handle = le16toh(element->
sys/dev/mpr/mpr_mapping.c
3142
le16toh(element->VolDevHandle));
sys/dev/mpr/mpr_mapping.c
3148
le16toh(element->VolDevHandle));
sys/dev/mpr/mpr_mapping.c
349
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
519
volume_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/mpr/mpr_mapping.c
804
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
926
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/mpr/mpr_mapping.c
931
vol_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/mpr/mpr_sas.c
1271
le16toh(reply->IOCStatus), le32toh(reply->ResponseCode),
sys/dev/mpr/mpr_sas.c
1351
tm, le16toh(req->TaskMID));
sys/dev/mpr/mpr_sas.c
1370
le16toh(reply->IOCStatus), le32toh(reply->ResponseCode),
sys/dev/mpr/mpr_sas.c
1499
tm->cm_flags, tm, le16toh(req->TaskMID));
sys/dev/mpr/mpr_sas.c
1507
tm, le16toh(req->TaskMID));
sys/dev/mpr/mpr_sas.c
1525
le16toh(req->TaskMID),
sys/dev/mpr/mpr_sas.c
1526
le16toh(reply->IOCStatus), le32toh(reply->ResponseCode),
sys/dev/mpr/mpr_sas.c
1539
} else if (le16toh(req->TaskMID) != cm->cm_desc.Default.SMID) {
sys/dev/mpr/mpr_sas.c
2170
u16 ioc_status = le16toh(mpi_reply->IOCStatus) &
sys/dev/mpr/mpr_sas.c
2187
le16toh(mpi_reply->DevHandle), desc_ioc_state, ioc_status);
sys/dev/mpr/mpr_sas.c
2410
if (le16toh(mpi_reply->ErrorResponseCount)){
sys/dev/mpr/mpr_sas.c
2476
le16toh(rep->IOCStatus), rep->SCSIStatus,
sys/dev/mpr/mpr_sas.c
2487
cm, cm->cm_ccb, le16toh(rep->IOCStatus),
sys/dev/mpr/mpr_sas.c
2597
le16toh(rep->IOCStatus), rep->SCSIStatus, rep->SCSIState,
sys/dev/mpr/mpr_sas.c
2600
switch (le16toh(rep->IOCStatus) & MPI2_IOCSTATUS_MASK) {
sys/dev/mpr/mpr_sas.c
2606
if ((le16toh(rep->IOCStatus) & MPI2_IOCSTATUS_MASK) ==
sys/dev/mpr/mpr_sas.c
2789
le16toh(rep->IOCStatus) & MPI2_IOCSTATUS_MASK),
sys/dev/mpr/mpr_sas.c
2811
le16toh(rep->IOCStatus), le32toh(rep->IOCLogInfo),
sys/dev/mpr/mpr_sas.c
2895
if ((le16toh(rpl->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/mpr/mpr_sas.c
2899
__func__, le16toh(rpl->IOCStatus), rpl->SASStatus);
sys/dev/mpr/mpr_sas.c
3037
cm->cm_iovec[0].iov_len = le16toh(req->RequestDataLength);
sys/dev/mpr/mpr_sas.c
3297
__func__, le16toh(resp->IOCStatus), le32toh(resp->ResponseCode));
sys/dev/mpr/mpr_sas.c
3533
else if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/mpr/mpr_sas.c
368
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/mpr/mpr_sas.c
371
"device 0x%x\n", le16toh(reply->IOCStatus), handle);
sys/dev/mpr/mpr_sas.c
388
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) ==
sys/dev/mpr/mpr_sas.c
592
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/mpr/mpr_sas.c
595
"device 0x%x\n", le16toh(reply->IOCStatus), handle);
sys/dev/mpr/mpr_sas.c
682
__func__, handle, le16toh(reply->IOCStatus));
sys/dev/mpr/mpr_sas.c
690
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) ==
sys/dev/mpr/mpr_sas_lsi.c
1055
ioc_status = le16toh(mpi_reply.IOCStatus)
sys/dev/mpr/mpr_sas_lsi.c
1195
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/mpr/mpr_sas_lsi.c
1281
&& (le16toh(config_page.ParentDevHandle) != 0)) {
sys/dev/mpr/mpr_sas_lsi.c
1287
le16toh(config_page.ParentDevHandle)))) {
sys/dev/mpr/mpr_sas_lsi.c
1289
__func__, le16toh(config_page.ParentDevHandle));
sys/dev/mpr/mpr_sas_lsi.c
1332
targ->encl_handle = le16toh(config_page.EnclosureHandle);
sys/dev/mpr/mpr_sas_lsi.c
1333
targ->encl_slot = le16toh(config_page.Slot);
sys/dev/mpr/mpr_sas_lsi.c
1349
targ->parent_handle = le16toh(config_page.ParentDevHandle);
sys/dev/mpr/mpr_sas_lsi.c
1356
if ((le16toh(config_page.Flags) &
sys/dev/mpr/mpr_sas_lsi.c
1358
(le16toh(config_page.Flags) &
sys/dev/mpr/mpr_sas_lsi.c
151
sz = le16toh(event->EventDataLength) * 4;
sys/dev/mpr/mpr_sas_lsi.c
1591
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_sas_lsi.c
160
fw_event->event = le16toh(event->Event);
sys/dev/mpr/mpr_sas_lsi.c
1609
volume_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/mpr/mpr_sas_lsi.c
224
le16toh(phy->AttachedDevHandle),
sys/dev/mpr/mpr_sas_lsi.c
229
le16toh(phy->AttachedDevHandle));
sys/dev/mpr/mpr_sas_lsi.c
230
mprsas_prepare_remove(sassc, le16toh(
sys/dev/mpr/mpr_sas_lsi.c
235
mprsas_prepare_remove(sassc, le16toh(
sys/dev/mpr/mpr_sas_lsi.c
296
elementType = le16toh(element->ElementFlags) &
sys/dev/mpr/mpr_sas_lsi.c
357
if (reply && (le16toh(reply->IOCStatus) &
sys/dev/mpr/mpr_sas_lsi.c
363
le16toh(reply->IOCStatus));
sys/dev/mpr/mpr_sas_lsi.c
378
le16toh(element->VolDevHandle))) {
sys/dev/mpr/mpr_sas_lsi.c
381
__func__, le16toh(element->
sys/dev/mpr/mpr_sas_lsi.c
396
le16toh(element->
sys/dev/mpr/mpr_sas_lsi.c
438
le16toh(element->PhysDiskDevHandle), 0)) {
sys/dev/mpr/mpr_sas_lsi.c
441
le16toh(element->
sys/dev/mpr/mpr_sas_lsi.c
444
le16toh(element->
sys/dev/mpr/mpr_sas_lsi.c
472
le16toh(event_data->VolDevHandle));
sys/dev/mpr/mpr_sas_lsi.c
479
le16toh(event_data->VolDevHandle));
sys/dev/mpr/mpr_sas_lsi.c
486
le16toh(event_data->VolDevHandle));
sys/dev/mpr/mpr_sas_lsi.c
511
le16toh(event_data->
sys/dev/mpr/mpr_sas_lsi.c
515
__func__, le16toh(
sys/dev/mpr/mpr_sas_lsi.c
546
le16toh(event_data->PhysDiskDevHandle),
sys/dev/mpr/mpr_sas_lsi.c
547
le16toh(event_data->EnclosureHandle),
sys/dev/mpr/mpr_sas_lsi.c
548
le16toh(event_data->Slot));
sys/dev/mpr/mpr_sas_lsi.c
557
le16toh(event_data->PhysDiskDevHandle),
sys/dev/mpr/mpr_sas_lsi.c
558
le16toh(event_data->EnclosureHandle),
sys/dev/mpr/mpr_sas_lsi.c
559
le16toh(event_data->Slot));
sys/dev/mpr/mpr_sas_lsi.c
568
le16toh(event_data->PhysDiskDevHandle),
sys/dev/mpr/mpr_sas_lsi.c
569
le16toh(event_data->EnclosureHandle),
sys/dev/mpr/mpr_sas_lsi.c
570
le16toh(event_data->Slot));
sys/dev/mpr/mpr_sas_lsi.c
625
le16toh(event_data->VolDevHandle));
sys/dev/mpr/mpr_sas_lsi.c
749
handle = le16toh(port_entry->AttachedDevHandle);
sys/dev/mpr/mpr_sas_lsi.c
845
&& (le16toh(config_page.ParentDevHandle) != 0)) {
sys/dev/mpr/mpr_sas_lsi.c
851
le16toh(config_page.ParentDevHandle)) != 0) {
sys/dev/mpr/mpr_sas_lsi.c
855
le16toh(config_page.ParentDevHandle),
sys/dev/mpr/mpr_sas_lsi.c
945
targ->encl_handle = le16toh(config_page.EnclosureHandle);
sys/dev/mpr/mpr_sas_lsi.c
946
targ->encl_slot = le16toh(config_page.Slot);
sys/dev/mpr/mpr_sas_lsi.c
953
targ->parent_handle = le16toh(config_page.ParentDevHandle);
sys/dev/mpr/mpr_sas_lsi.c
963
if ((le16toh(config_page.Flags) &
sys/dev/mpr/mpr_sas_lsi.c
965
(le16toh(config_page.Flags) &
sys/dev/mpr/mpr_sas_lsi.c
970
if (le16toh(config_page.Flags) &
sys/dev/mpr/mpr_table.c
327
mpr_describe_table(mpr_event_names, le16toh(event->Event)), le16toh(event->Event));
sys/dev/mpr/mpr_table.c
366
switch(le16toh(event->Event)) {
sys/dev/mpr/mpr_table.c
411
le16toh(phy->AttachedDevHandle));
sys/dev/mpr/mpr_user.c
1328
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/mpr/mpr_user.c
1334
le16toh(reply->IOCStatus), le32toh(reply->IOCLogInfo),
sys/dev/mpr/mpr_user.c
1421
if (((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/mpr/mpr_user.c
1426
__func__, le16toh(reply->IOCStatus),
sys/dev/mpr/mprvar.h
775
mpr_print_field((sc), #attr ": " #fmt "\n", le16toh((facts)->attr))
sys/dev/mps/mps.c
2318
sc_status = le16toh(mpi_reply->IOCStatus);
sys/dev/mps/mps.c
2416
cm = &sc->commands[le16toh(desc->SCSIIOSuccess.SMID)];
sys/dev/mps/mps.c
2455
if (le16toh(desc->AddressReply.SMID) == 0) {
sys/dev/mps/mps.c
2467
if ((le16toh(rel_rep->IOCStatus) &
sys/dev/mps/mps.c
2490
le16toh(desc->AddressReply.SMID)];
sys/dev/mps/mps.c
2541
event = le16toh(reply->Event);
sys/dev/mps/mps.c
2550
mps_dprint(sc, MPS_EVENT, "Unhandled event 0x%x\n", le16toh(event));
sys/dev/mps/mps_config.c
1015
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
1047
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/mps/mps_config.c
1074
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
110
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
1149
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
1179
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/mps/mps_config.c
1207
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
1278
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
1311
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/mps/mps_config.c
1338
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
142
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/mps/mps_config.c
1439
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
1469
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/mps/mps_config.c
1497
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
169
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
245
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
274
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/mps/mps_config.c
302
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
505
if ((le16toh(mpi_reply.IOCStatus) &
sys/dev/mps/mps_config.c
606
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
641
cm->cm_length = le16toh(request->ExtPageLength) * 4;
sys/dev/mps/mps_config.c
667
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
744
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
779
cm->cm_length = le16toh(mpi_reply->ExtPageLength) * 4;
sys/dev/mps/mps_config.c
807
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
881
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_config.c
915
cm->cm_length = le16toh(mpi_reply->ExtPageLength) * 4;
sys/dev/mps/mps_config.c
942
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/mps/mps_mapping.c
1106
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
1154
phy_change->slot = le16toh(sas_device_pg0.Slot);
sys/dev/mps/mps_mapping.c
1308
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
1397
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
1402
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/mps/mps_mapping.c
150
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/mps/mps_mapping.c
152
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/mps/mps_mapping.c
157
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/mps/mps_mapping.c
159
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/mps/mps_mapping.c
1673
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/mps/mps_mapping.c
1675
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/mps/mps_mapping.c
1768
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
1769
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/mps/mps_mapping.c
1800
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/mps/mps_mapping.c
1804
dev_idx = le16toh(dpm_entry->DeviceIndex);
sys/dev/mps/mps_mapping.c
1940
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
2096
uint16_t ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
220
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/mps/mps_mapping.c
222
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/mps/mps_mapping.c
226
dpm_entry->MappingInformation = le16toh(dpm_entry->MappingInformation);
sys/dev/mps/mps_mapping.c
227
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/mps/mps_mapping.c
2282
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
2299
le16toh(event_data->EnclosureHandle));
sys/dev/mps/mps_mapping.c
2325
et_entry->enc_handle = le16toh(event_data->
sys/dev/mps/mps_mapping.c
2327
et_entry->start_slot = le16toh(event_data->StartSlot);
sys/dev/mps/mps_mapping.c
2380
et_entry->enc_handle = le16toh(event_data->
sys/dev/mps/mps_mapping.c
2389
et_entry->num_slots = le16toh(event_data->NumSlots);
sys/dev/mps/mps_mapping.c
2390
et_entry->start_slot = le16toh(event_data->StartSlot);
sys/dev/mps/mps_mapping.c
2402
le16toh(event_data->EnclosureHandle));
sys/dev/mps/mps_mapping.c
2407
le16toh(event_data->EnclosureHandle));
sys/dev/mps/mps_mapping.c
2447
topo_change.enc_handle = le16toh(event_data->EnclosureHandle);
sys/dev/mps/mps_mapping.c
2448
topo_change.exp_handle = le16toh(event_data->ExpanderDevHandle);
sys/dev/mps/mps_mapping.c
2465
phy_change->dev_handle = le16toh(event_phy_change->
sys/dev/mps/mps_mapping.c
247
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
249
volume_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/mps/mps_mapping.c
2512
element_flags = le16toh(element->ElementFlags);
sys/dev/mps/mps_mapping.c
2523
le16toh(element->VolDevHandle), &wwid_table[i]);
sys/dev/mps/mps_mapping.c
2551
mt_entry->dev_handle = le16toh
sys/dev/mps/mps_mapping.c
2576
le16toh(element->VolDevHandle));
sys/dev/mps/mps_mapping.c
2582
mt_entry->dev_handle = le16toh(element->
sys/dev/mps/mps_mapping.c
2604
le16toh(element->VolDevHandle));
sys/dev/mps/mps_mapping.c
2610
le16toh(element->VolDevHandle));
sys/dev/mps/mps_mapping.c
350
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
521
volume_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/mps/mps_mapping.c
809
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
888
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/mps/mps_mapping.c
893
vol_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/mps/mps_sas.c
1214
le16toh(reply->IOCStatus), le32toh(reply->ResponseCode),
sys/dev/mps/mps_sas.c
1292
tm, le16toh(req->TaskMID));
sys/dev/mps/mps_sas.c
1310
le16toh(reply->IOCStatus), le32toh(reply->ResponseCode),
sys/dev/mps/mps_sas.c
1421
tm->cm_flags, tm, le16toh(req->TaskMID));
sys/dev/mps/mps_sas.c
1429
tm, le16toh(req->TaskMID));
sys/dev/mps/mps_sas.c
1447
le16toh(req->TaskMID),
sys/dev/mps/mps_sas.c
1448
le16toh(reply->IOCStatus), le32toh(reply->ResponseCode),
sys/dev/mps/mps_sas.c
1462
} else if (le16toh(req->TaskMID) != cm->cm_desc.Default.SMID) {
sys/dev/mps/mps_sas.c
1913
u16 ioc_status = le16toh(mpi_reply->IOCStatus) &
sys/dev/mps/mps_sas.c
1929
le16toh(mpi_reply->DevHandle), desc_ioc_state, ioc_status);
sys/dev/mps/mps_sas.c
2018
cm, cm->cm_ccb, le16toh(rep->IOCStatus),
sys/dev/mps/mps_sas.c
2030
cm, cm->cm_ccb, le16toh(rep->IOCStatus),
sys/dev/mps/mps_sas.c
2126
le16toh(rep->IOCStatus), rep->SCSIStatus, rep->SCSIState,
sys/dev/mps/mps_sas.c
2143
switch (le16toh(rep->IOCStatus) & MPI2_IOCSTATUS_MASK) {
sys/dev/mps/mps_sas.c
2150
if ((le16toh(rep->IOCStatus) & MPI2_IOCSTATUS_MASK) ==
sys/dev/mps/mps_sas.c
2335
le16toh(rep->IOCStatus) & MPI2_IOCSTATUS_MASK),
sys/dev/mps/mps_sas.c
2357
le16toh(rep->IOCStatus), le32toh(rep->IOCLogInfo),
sys/dev/mps/mps_sas.c
2703
if ((le16toh(rpl->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/mps/mps_sas.c
2707
__func__, le16toh(rpl->IOCStatus), rpl->SASStatus);
sys/dev/mps/mps_sas.c
2847
cm->cm_iovec[0].iov_len = le16toh(req->RequestDataLength);
sys/dev/mps/mps_sas.c
3110
le16toh(resp->IOCStatus), le32toh(resp->ResponseCode));
sys/dev/mps/mps_sas.c
3347
else if (le16toh(reply->IOCStatus & MPI2_IOCSTATUS_MASK) !=
sys/dev/mps/mps_sas.c
361
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/mps/mps_sas.c
365
le16toh(reply->IOCStatus), handle);
sys/dev/mps/mps_sas.c
382
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) ==
sys/dev/mps/mps_sas.c
559
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/mps/mps_sas.c
563
le16toh(reply->IOCStatus), handle);
sys/dev/mps/mps_sas.c
646
handle, le16toh(reply->IOCStatus));
sys/dev/mps/mps_sas.c
654
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) ==
sys/dev/mps/mps_sas_lsi.c
1226
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_sas_lsi.c
1244
volume_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/mps/mps_sas_lsi.c
149
sz = le16toh(event->EventDataLength) * 4;
sys/dev/mps/mps_sas_lsi.c
221
le16toh(phy->AttachedDevHandle),
sys/dev/mps/mps_sas_lsi.c
226
le16toh(phy->AttachedDevHandle));
sys/dev/mps/mps_sas_lsi.c
227
mpssas_prepare_remove(sassc, le16toh(
sys/dev/mps/mps_sas_lsi.c
232
mpssas_prepare_remove(sassc,le16toh(
sys/dev/mps/mps_sas_lsi.c
297
le16toh(element->VolDevHandle))){
sys/dev/mps/mps_sas_lsi.c
300
__func__, le16toh(element->
sys/dev/mps/mps_sas_lsi.c
315
le16toh(element->VolDevHandle));
sys/dev/mps/mps_sas_lsi.c
364
le16toh(element->PhysDiskDevHandle), 0)){
sys/dev/mps/mps_sas_lsi.c
367
le16toh(element->PhysDiskDevHandle));
sys/dev/mps/mps_sas_lsi.c
368
mpssas_prepare_remove(sassc, le16toh(element->
sys/dev/mps/mps_sas_lsi.c
396
le16toh(event_data->VolDevHandle));
sys/dev/mps/mps_sas_lsi.c
403
le16toh(event_data->VolDevHandle));
sys/dev/mps/mps_sas_lsi.c
410
le16toh(event_data->VolDevHandle));
sys/dev/mps/mps_sas_lsi.c
430
if (mpssas_volume_add(sc, le16toh(event_data->VolDevHandle))) {
sys/dev/mps/mps_sas_lsi.c
433
__func__, le16toh(event_data->
sys/dev/mps/mps_sas_lsi.c
464
le16toh(event_data->PhysDiskDevHandle),
sys/dev/mps/mps_sas_lsi.c
465
le16toh(event_data->EnclosureHandle), le16toh(event_data->Slot));
sys/dev/mps/mps_sas_lsi.c
473
le16toh(event_data->PhysDiskDevHandle),
sys/dev/mps/mps_sas_lsi.c
474
le16toh(event_data->EnclosureHandle), le16toh(event_data->Slot));
sys/dev/mps/mps_sas_lsi.c
482
le16toh(event_data->PhysDiskDevHandle),
sys/dev/mps/mps_sas_lsi.c
483
le16toh(event_data->EnclosureHandle), le16toh(event_data->Slot));
sys/dev/mps/mps_sas_lsi.c
537
le16toh(event_data->VolDevHandle));
sys/dev/mps/mps_sas_lsi.c
640
&& (le16toh(config_page.ParentDevHandle) != 0)) {
sys/dev/mps/mps_sas_lsi.c
646
le16toh(config_page.ParentDevHandle)) != 0) {
sys/dev/mps/mps_sas_lsi.c
650
le16toh(config_page.ParentDevHandle),
sys/dev/mps/mps_sas_lsi.c
741
targ->encl_handle = le16toh(config_page.EnclosureHandle);
sys/dev/mps/mps_sas_lsi.c
742
targ->encl_slot = le16toh(config_page.Slot);
sys/dev/mps/mps_sas_lsi.c
744
targ->parent_handle = le16toh(config_page.ParentDevHandle);
sys/dev/mps/mps_sas_lsi.c
829
ioc_status = le16toh(mpi_reply.IOCStatus)
sys/dev/mps/mps_sas_lsi.c
970
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/mps/mps_table.c
541
"Address=0x%x\n", sgc->Flags, le16toh(sgc->Length),
sys/dev/mps/mps_user.c
1217
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/mps/mps_user.c
1223
le16toh(reply->IOCStatus), le32toh(reply->IOCLogInfo),
sys/dev/mps/mps_user.c
1310
if (((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/mps/mps_user.c
1315
__func__, le16toh(reply->IOCStatus),
sys/dev/mpt/mpt.c
1454
*data16++ = le16toh(data & MPT_DB_DATA_MASK);
sys/dev/mpt/mpt.c
1463
*data16++ = le16toh(data & MPT_DB_DATA_MASK);
sys/dev/mpt/mpt.c
1487
*data16++ = le16toh(data & MPT_DB_DATA_MASK);
sys/dev/mpt/mpt.c
1663
rslt->ExtPageLength = le16toh(cfgp->ExtPageLength);
sys/dev/mpt/mpt.c
512
req->IOCStatus = le16toh(reply_frame->IOCStatus);
sys/dev/mpt/mpt.c
562
msg->EventDataLength = le16toh(msg->EventDataLength);
sys/dev/mpt/mpt.c
563
msg->IOCStatus = le16toh(msg->IOCStatus);
sys/dev/mpt/mpt.h
239
#define MPT_2_HOST16(ptr, tag) ptr->tag = le16toh(ptr->tag)
sys/dev/mpt/mpt_cam.c
2228
status = le16toh(mpt->tmf_req->IOCStatus);
sys/dev/mpt/mpt_cam.c
2431
pqf->CurrentDepth = le16toh(pqf->CurrentDepth);
sys/dev/mpt/mpt_cam.c
2659
req->IOCStatus = le16toh(tmf_reply->IOCStatus);
sys/dev/mpt/mpt_cam.c
2663
req, req->serno, le16toh(tmf_reply->IOCStatus));
sys/dev/mpt/mpt_cam.c
2764
U16 status = le16toh(reply_frame->IOCStatus);
sys/dev/mpt/mpt_cam.c
2915
uint16_t rx_id = le16toh(rp->Rxid);
sys/dev/mpt/mpt_cam.c
2916
uint16_t ox_id = le16toh(rp->Oxid);
sys/dev/mpt/mpt_cam.c
3039
ioc_status = le16toh(scsi_io_reply->IOCStatus);
sys/dev/mpt/mpt_cam.c
4042
status = le16toh(mpt->tmf_req->IOCStatus);
sys/dev/mpt/mpt_cam.c
5273
status = le16toh(reply_frame->IOCStatus);
sys/dev/mpt/mpt_cam.c
5331
cc, le16toh(abtrp->IOCStatus), le32toh(abtrp->AbortCount));
sys/dev/mpt/mpt_cam.c
652
le16toh(buffer->PhyData[i].ControllerDevHandle);
sys/dev/mpt/mpt_cam.c
694
phy_info->identify.dev_handle = le16toh(buffer->OwnerDevHandle);
sys/dev/mpt/mpt_cam.c
695
phy_info->attached.dev_handle = le16toh(buffer->AttachedDevHandle);
sys/dev/mpt/mpt_cam.c
736
device_info->dev_handle = le16toh(buffer->DevHandle);
sys/dev/mpt/mpt_cam.c
737
device_info->parent_dev_handle = le16toh(buffer->ParentDevHandle);
sys/dev/mpt/mpt_cam.c
738
device_info->enclosure_handle = le16toh(buffer->EnclosureHandle);
sys/dev/mpt/mpt_cam.c
739
device_info->slot = le16toh(buffer->Slot);
sys/dev/mpt/mpt_cam.c
838
status = le16toh(req->IOCStatus);
sys/dev/mpt/mpt_cam.c
884
req->IOCStatus = le16toh(reply_frame->IOCStatus);
sys/dev/mpt/mpt_raid.c
560
req->IOCStatus = le16toh(reply->IOCStatus);
sys/dev/mpt/mpt_raid.c
576
action_result->action_status = le16toh(reply->ActionStatus);
sys/dev/mpt/mpt_user.c
492
req->IOCStatus = le16toh(reply->IOCStatus);
sys/dev/mrsas/mrsas.c
1680
smid = le16toh(reply_desc->SMID);
sys/dev/mrsas/mrsas.c
4488
le16toh(sc->pd_info_mem->state.ddf.pdType.intf);
sys/dev/mrsas/mrsas.c
4620
dev_id = le16toh(pd_addr->deviceId);
sys/dev/mrsas/mrsas.c
4623
le16toh(pd_addr->scsiDevType);
sys/dev/mrsas/mrsas.h
161
#define le16_to_cpus(x) do { *((u_int16_t *)(x)) = le16toh((*(u_int16_t *)x)); } while (0)
sys/dev/mrsas/mrsas_fp.c
193
return le16toh(map->raidMap.ldSpanMap[ld].ldRaid.targetId);
sys/dev/mrsas/mrsas_fp.c
199
return le16toh(map->raidMap.ldSpanMap[ld].spanBlock[span].span.arrayRef);
sys/dev/mrsas/mrsas_fp.c
222
return le16toh(map->raidMap.arMapInfo[ar].pd[arm]);
sys/dev/mrsas/mrsas_fp.c
304
ld_count = le16toh(fw_map_dyn->ldCount);
sys/dev/mrsas/mrsas_fp.c
423
ld_count = (u_int16_t)le16toh(fw_map_ext->ldCount);
sys/dev/mrsas/mrsas_fp.c
554
(sizeof(MR_LD_SPAN_MAP) * le16toh(pDrvRaidMap->ldCount));
sys/dev/mvs/mvs.c
1036
slot = le16toh(crpb->id) & MVS_CRPB_TAG_MASK;
sys/dev/mvs/mvs.c
1037
flags = le16toh(crpb->rspflg);
sys/dev/mwl/if_mwl.c
2683
len = le16toh(ds->PktLen);
sys/dev/mwl/if_mwl.c
3363
uint16_t Format = le16toh(ds->Format);
sys/dev/mwl/if_mwl.c
4499
ds->Status, le16toh(ds->PktLen), ds->RSSI, ds->Channel,
sys/dev/mwl/if_mwl.c
4500
ds->Rate, le16toh(ds->QosCtrl), le16toh(ds->HtSig2));
sys/dev/mwl/if_mwl.c
4513
le32toh(ds->PktPtr), le16toh(ds->PktLen), status,
sys/dev/mwl/if_mwl.c
4517
ds->DataRate, ds->TxPriority, le16toh(ds->QosCtrl),
sys/dev/mwl/if_mwl.c
4518
le32toh(ds->SapPktInfo), le16toh(ds->Format));
sys/dev/mwl/if_mwl.c
4522
, le16toh(ds->PktLenArray[0]), le16toh(ds->PktLenArray[1])
sys/dev/mwl/if_mwl.c
4523
, le16toh(ds->PktLenArray[2]), le16toh(ds->PktLenArray[3])
sys/dev/mwl/if_mwl.c
4524
, le16toh(ds->PktLenArray[4]), le16toh(ds->PktLenArray[5])
sys/dev/mwl/mwlhal.c
1406
if (le16toh(pCmd->CmdHdr.Result) != HostCmd_RESULT_OK)
sys/dev/mwl/mwlhal.c
1507
if (le16toh(pCmd->CmdHdr.Result) != HostCmd_RESULT_OK)
sys/dev/mwl/mwlhal.c
1564
*pseqno = le16toh(pCmd->SeqNo);
sys/dev/mwl/mwlhal.c
2324
retval = mwlExecuteCmd(mh, le16toh(pCmd->Cmd));
sys/dev/mwl/mwlhal.c
2363
if (mh->mh_cmdbuf[0] == le16toh(cmdCode))
sys/dev/mwl/mwlhal.c
2748
len = le16toh(h->Length);
sys/dev/mwl/mwlhal.c
2751
mwlcmdname(le16toh(h->Cmd) &~ 0x8000), len, h->SeqNum, h->MacId);
sys/dev/mwl/mwlhal.c
2754
mwlcmdname(le16toh(h->Cmd) &~ 0x8000), len, le16toh(h->SeqNum));
sys/dev/mwl/mwlhal.c
2760
int result = le16toh(h->Result);
sys/dev/mwl/mwlhal.c
578
hw->regionCode = le16toh(pCmd->RegionCode) & 0x00ff;
sys/dev/mwl/mwlhal.c
580
hw->maxNumWCB = le16toh(pCmd->NumOfWCB);
sys/dev/mwl/mwlhal.c
581
hw->maxNumMCAddr = le16toh(pCmd->NumOfMCastAddr);
sys/dev/mwl/mwlhal.c
582
hw->numAntennas = le16toh(pCmd->NumberOfAntenna);
sys/dev/nfe/if_nfe.c
2091
flags = le16toh(desc64->flags);
sys/dev/nfe/if_nfe.c
2092
len = le16toh(desc64->length) & NFE_RX_LEN_MASK;
sys/dev/nfe/if_nfe.c
2095
flags = le16toh(desc32->flags);
sys/dev/nfe/if_nfe.c
2096
len = le16toh(desc32->length) & NFE_RX_LEN_MASK;
sys/dev/nfe/if_nfe.c
2206
flags = le16toh(desc64->flags);
sys/dev/nfe/if_nfe.c
2207
len = le16toh(desc64->length) & NFE_RX_LEN_MASK;
sys/dev/nfe/if_nfe.c
2210
flags = le16toh(desc32->flags);
sys/dev/nfe/if_nfe.c
2211
len = le16toh(desc32->length) & NFE_RX_LEN_MASK;
sys/dev/nfe/if_nfe.c
2312
flags = le16toh(desc64->flags);
sys/dev/nfe/if_nfe.c
2315
flags = le16toh(desc32->flags);
sys/dev/nge/if_nge.c
889
ea[i] = le16toh(ea[i]);
sys/dev/nvme/nvme.h
2080
s->sqhd = le16toh(s->sqhd);
sys/dev/nvme/nvme.h
2081
s->sqid = le16toh(s->sqid);
sys/dev/nvme/nvme.h
2083
s->status = le16toh(s->status);
sys/dev/nvme/nvme.h
2092
s->mp = le16toh(s->mp);
sys/dev/nvme/nvme.h
2095
s->idlp = le16toh(s->idlp);
sys/dev/nvme/nvme.h
2096
s->actp = le16toh(s->actp);
sys/dev/nvme/nvme.h
2106
s->vid = le16toh(s->vid);
sys/dev/nvme/nvme.h
2107
s->ssvid = le16toh(s->ssvid);
sys/dev/nvme/nvme.h
2108
s->ctrlr_id = le16toh(s->ctrlr_id);
sys/dev/nvme/nvme.h
2114
s->rrls = le16toh(s->rrls);
sys/dev/nvme/nvme.h
2115
s->crdt1 = le16toh(s->crdt1);
sys/dev/nvme/nvme.h
2116
s->crdt2 = le16toh(s->crdt2);
sys/dev/nvme/nvme.h
2117
s->crdt3 = le16toh(s->crdt3);
sys/dev/nvme/nvme.h
2118
s->oacs = le16toh(s->oacs);
sys/dev/nvme/nvme.h
2119
s->wctemp = le16toh(s->wctemp);
sys/dev/nvme/nvme.h
2120
s->cctemp = le16toh(s->cctemp);
sys/dev/nvme/nvme.h
2121
s->mtfa = le16toh(s->mtfa);
sys/dev/nvme/nvme.h
2125
s->edstt = le16toh(s->edstt);
sys/dev/nvme/nvme.h
2126
s->kas = le16toh(s->kas);
sys/dev/nvme/nvme.h
2127
s->hctma = le16toh(s->hctma);
sys/dev/nvme/nvme.h
2128
s->mntmt = le16toh(s->mntmt);
sys/dev/nvme/nvme.h
2129
s->mxtmt = le16toh(s->mxtmt);
sys/dev/nvme/nvme.h
2132
s->hmmaxd = le16toh(s->hmmaxd);
sys/dev/nvme/nvme.h
2133
s->nsetidmax = le16toh(s->nsetidmax);
sys/dev/nvme/nvme.h
2134
s->endgidmax = le16toh(s->endgidmax);
sys/dev/nvme/nvme.h
2138
s->maxcmd = le16toh(s->maxcmd);
sys/dev/nvme/nvme.h
2140
s->oncs = le16toh(s->oncs);
sys/dev/nvme/nvme.h
2141
s->fuses = le16toh(s->fuses);
sys/dev/nvme/nvme.h
2142
s->awun = le16toh(s->awun);
sys/dev/nvme/nvme.h
2143
s->awupf = le16toh(s->awupf);
sys/dev/nvme/nvme.h
2144
s->acwu = le16toh(s->acwu);
sys/dev/nvme/nvme.h
2149
s->icdoff = le16toh(s->icdoff);
sys/dev/nvme/nvme.h
2150
s->ofcs = le16toh(s->ofcs);
sys/dev/nvme/nvme.h
2163
s->nawun = le16toh(s->nawun);
sys/dev/nvme/nvme.h
2164
s->nawupf = le16toh(s->nawupf);
sys/dev/nvme/nvme.h
2165
s->nacwu = le16toh(s->nacwu);
sys/dev/nvme/nvme.h
2166
s->nabsn = le16toh(s->nabsn);
sys/dev/nvme/nvme.h
2167
s->nabo = le16toh(s->nabo);
sys/dev/nvme/nvme.h
2168
s->nabspf = le16toh(s->nabspf);
sys/dev/nvme/nvme.h
2169
s->noiob = le16toh(s->noiob);
sys/dev/nvme/nvme.h
2170
s->npwg = le16toh(s->npwg);
sys/dev/nvme/nvme.h
2171
s->npwa = le16toh(s->npwa);
sys/dev/nvme/nvme.h
2172
s->npdg = le16toh(s->npdg);
sys/dev/nvme/nvme.h
2173
s->npda = le16toh(s->npda);
sys/dev/nvme/nvme.h
2174
s->nows = le16toh(s->nows);
sys/dev/nvme/nvme.h
2176
s->nvmsetid = le16toh(s->nvmsetid);
sys/dev/nvme/nvme.h
2177
s->endgid = le16toh(s->endgid);
sys/dev/nvme/nvme.h
2190
s->sqid = le16toh(s->sqid);
sys/dev/nvme/nvme.h
2191
s->cid = le16toh(s->cid);
sys/dev/nvme/nvme.h
2192
s->status = le16toh(s->status);
sys/dev/nvme/nvme.h
2193
s->error_location = le16toh(s->error_location);
sys/dev/nvme/nvme.h
2197
s->ttsi = le16toh(s->ttsi);
sys/dev/nvme/nvme.h
2224
s->temperature = le16toh(s->temperature);
sys/dev/nvme/nvme.h
2238
s->temp_sensor[i] = le16toh(s->temp_sensor[i]);
sys/dev/nvme/nvme.h
2286
s->sprog = le16toh(s->sprog);
sys/dev/nvme/nvme.h
2287
s->sstat = le16toh(s->sstat);
sys/dev/nvme/nvme.h
2309
s->ctrlr[i].ctrlr_id = le16toh(s->ctrlr[i].ctrlr_id);
sys/dev/nvme/nvme.h
2327
s->ctrlr[i].ctrlr_id = le16toh(s->ctrlr[i].ctrlr_id);
sys/dev/nvme/nvme.h
2360
s->portid = le16toh(s->portid);
sys/dev/nvme/nvme.h
2361
s->cntlid = le16toh(s->cntlid);
sys/dev/nvme/nvme.h
2362
s->aqsz = le16toh(s->aqsz);
sys/dev/nvme/nvme.h
2364
s->tsas.rdma.rdma_pkey = le16toh(s->tsas.rdma.rdma_pkey);
sys/dev/nvme/nvme.h
2375
s->recfmt = le16toh(s->recfmt);
sys/dev/nvme/nvme_qpair.c
423
status = le16toh(qpair->cpl[qpair->cq_head].status);
sys/dev/nvme/nvme_util.c
220
status = le16toh(cpl->status);
sys/dev/nvme/nvme_util.c
263
status = le16toh(cpl->status);
sys/dev/nvmf/controller/nvmft_controller.c
209
qid = le16toh(cmd->qid);
sys/dev/nvmf/controller/nvmft_controller.c
212
cntlid = le16toh(data->cntlid);
sys/dev/nvmf/controller/nvmft_qpair.c
78
qp->name, le16toh(cmd->cid), cmd->opc);
sys/dev/nvmf/host/nvmf.c
100
le16toh(status.cqe.status));
sys/dev/nvmf/host/nvmf.c
1024
le16toh(status.cqe.status));
sys/dev/nvmf/host/nvmf.c
126
le16toh(status.cqe.status));
sys/dev/nvmf/host/nvmf.c
178
le16toh(cqe->status));
sys/dev/nvmf/host/nvmf.c
372
le16toh(status.cqe.status));
sys/dev/nvmf/host/nvmf.c
404
le16toh(status.cqe.status));
sys/dev/nvmf/host/nvmf_aer.c
171
le16toh(cqe->status));
sys/dev/nvmf/host/nvmf_aer.c
233
le16toh(status.cqe.status));
sys/dev/nvmf/host/nvmf_qpair.c
203
qp->sqhd = le16toh(cqe->sqhd);
sys/dev/nvmf/host/nvmf_var.h
130
status = le16toh(cqe->status);
sys/dev/nvmf/nvmf_tcp.c
377
le16toh(hdr->fes), le32dec(hdr->fei));
sys/dev/oce/oce_if.h
1125
#define HOST_16(x) le16toh(x)
sys/dev/otus/if_otus.c
1483
ether_sprintf(tx->macaddr), le16toh(tx->status),
sys/dev/otus/if_otus.c
1486
switch (le16toh(tx->status)) {
sys/dev/otus/if_otus.c
1783
"tag not valid 0x%x\n", le16toh(head->tag));
sys/dev/otus/if_otus.c
1786
hlen = le16toh(head->len);
sys/dev/otus/if_otus.c
2363
__func__, m, data, le16toh(head->len), macctl, phyctl,
sys/dev/pci/controller/pci_n1sdp.c
290
data = le16toh(data);
sys/dev/pci/pci_host_generic.c
320
data = le16toh(bus_read_2(sc->res, offset));
sys/dev/qlnx/qlnxe/bcm_osal.h
130
#define OSAL_LE16_TO_CPU(val) le16toh(val)
sys/dev/qlnx/qlnxe/qlnx_def.h
165
#define BD_UNMAP_LEN(bd) (le16toh((bd)->nbytes))
sys/dev/qlnx/qlnxe/qlnx_os.c
2767
le16toh(*txq->hw_cons_ptr),
sys/dev/qlnx/qlnxe/qlnx_os.c
2815
hw_bd_cons = le16toh(*txq->hw_cons_ptr);
sys/dev/qlnx/qlnxe/qlnx_os.c
2835
le16toh(*txq->hw_cons_ptr),
sys/dev/qlnx/qlnxe/qlnx_os.c
3851
if ((le16toh(cqe->pars_flags.flags)) & CQE_FLAGS_ERR) {
sys/dev/qlnx/qlnxe/qlnx_os.c
3854
rxq->sw_rx_cons, le16toh(cqe->pars_flags.flags));
sys/dev/qlnx/qlnxe/qlnx_os.c
4088
mp->m_pkthdr.ether_vtag = le16toh(cqe->vlan_tag);
sys/dev/qlnx/qlnxe/qlnx_os.c
4405
hw_comp_cons = le16toh(*rxq->hw_cons_ptr);
sys/dev/qlnx/qlnxe/qlnx_os.c
441
hw_bd_cons = le16toh(*txq->hw_cons_ptr);
sys/dev/qlnx/qlnxe/qlnx_os.c
4483
len = le16toh(fp_cqe->pkt_len);
sys/dev/qlnx/qlnxe/qlnx_os.c
4489
le16toh(fp_cqe->vlan_tag),
sys/dev/qlnx/qlnxe/qlnx_os.c
4490
len, le16toh(fp_cqe->pars_flags.flags), pad);
sys/dev/qlnx/qlnxe/qlnx_os.c
4505
if ((le16toh(cqe->fast_path_regular.pars_flags.flags)) &
sys/dev/qlnx/qlnxe/qlnx_os.c
4509
le16toh(cqe->fast_path_regular.pars_flags.flags));
sys/dev/qlnx/qlnxe/qlnx_os.c
4606
mp->m_pkthdr.ether_vtag = le16toh(fp_cqe->vlan_tag);
sys/dev/qlnx/qlnxe/qlnx_os.c
6697
hw_bd_cons = le16toh(*txq->hw_cons_ptr);
sys/dev/qlnx/qlnxe/qlnx_os.c
6709
hw_bd_cons = le16toh(*txq->hw_cons_ptr);
sys/dev/qlxgb/qla_os.h
127
#define qla_le16_to_host(x) le16toh(x)
sys/dev/qlxgbe/ql_os.h
137
#define qla_le16_to_host(x) le16toh(x)
sys/dev/qlxge/qls_os.h
129
#define qla_le16_to_host(x) le16toh(x)
sys/dev/ral/rt2860.c
1265
m->m_pkthdr.len = m->m_len = le16toh(rxwi->len) & 0xfff;
sys/dev/ral/rt2860.c
1295
phy = le16toh(rxwi->phy);
sys/dev/re/if_re.c
1587
as[i] = le16toh(as[i]);
sys/dev/re/if_re.c
4052
(uint32_t)le16toh(stats->rl_missed_pkts));
sys/dev/re/if_re.c
4054
(uint32_t)le16toh(stats->rl_rx_framealign_errs));
sys/dev/re/if_re.c
4066
(uint32_t)le16toh(stats->rl_tx_aborts));
sys/dev/re/if_re.c
4068
(uint32_t)le16toh(stats->rl_rx_underruns));
sys/dev/rtwn/if_rtwn_fw.c
140
if ((le16toh(hdr->signature) >> 4) == sc->fwsig) {
sys/dev/rtwn/if_rtwn_fw.c
141
sc->fwver = le16toh(hdr->version);
sys/dev/rtwn/if_rtwn_fw.c
146
le16toh(hdr->version), le16toh(hdr->subversion),
sys/dev/rtwn/pci/rtwn_pci_reg.c
97
return le16toh(val);
sys/dev/rtwn/rtl8188e/r88e_rx.c
287
nframes = le16toh(rpt->retry0);
sys/dev/rtwn/rtl8188e/r88e_rx.c
309
le16toh(rpt->retry0),
sys/dev/rtwn/rtl8192c/pci/r92ce_tx.c
103
__func__, le16toh(txd->pktlen), txd->offset, txd->flags0,
sys/dev/rtwn/rtl8192c/pci/r92ce_tx.c
104
le32toh(txd->txdw1), le32toh(txd->txdw2), le16toh(txd->txdw3),
sys/dev/rtwn/rtl8192c/pci/r92ce_tx.c
105
le16toh(txd->txdseq), le32toh(txd->txdw4), le32toh(txd->txdw5),
sys/dev/rtwn/rtl8192c/pci/r92ce_tx.c
106
le32toh(txd->txdw6), le16toh(txd->txbufsize), le16toh(txd->pad),
sys/dev/rtwn/rtl8192c/usb/r92cu_tx.c
56
__func__, le16toh(txd->pktlen), txd->offset, txd->flags0,
sys/dev/rtwn/rtl8192c/usb/r92cu_tx.c
57
le32toh(txd->txdw1), le32toh(txd->txdw2), le16toh(txd->txdw3),
sys/dev/rtwn/rtl8192c/usb/r92cu_tx.c
58
le16toh(txd->txdseq), le32toh(txd->txdw4), le32toh(txd->txdw5),
sys/dev/rtwn/rtl8192c/usb/r92cu_tx.c
59
le32toh(txd->txdw6), le16toh(txd->txdsum), le16toh(txd->pad));
sys/dev/rtwn/rtl8812a/r12a_rx.c
325
rxs->c_ieee = MS(le16toh(physt->phyw1), R12A_PHYW1_CHAN);
sys/dev/rtwn/rtl8812a/usb/r12au_tx.c
66
__func__, le16toh(txd->pktlen), txd->offset, txd->flags0,
sys/dev/rtwn/rtl8812a/usb/r12au_tx.c
69
le16toh(txd->txdsum), le16toh(txd->flags7), le32toh(txd->txdw8),
sys/dev/rtwn/usb/rtwn_usb_reg.c
151
return (le16toh(val));
sys/dev/sdio/sdio_subr.c
184
return (le16toh(v));
sys/dev/ste/if_ste.c
397
*dest = le16toh(CSR_READ_2(sc, STE_EEPROM_DATA));
sys/dev/stge/if_stge.c
556
myaddr[i] = le16toh(myaddr[i]);
sys/dev/sume/if_sume.c
231
dport = le16toh(mdata->dport);
sys/dev/sume/if_sume.c
232
plen = le16toh(mdata->plen);
sys/dev/sume/if_sume.c
233
magic = le16toh(mdata->magic);
sys/dev/usb/controller/ehci.h
413
return sc->sc_flags & EHCI_SCFLG_BIGEDESC ? be16toh(v) : le16toh(v);
sys/dev/usb/controller/ehci.h
440
return le16toh(v);
sys/dev/usb/controller/ohci.c
591
(uint32_t)le16toh(sitd->itd_offset[i]));
sys/dev/usb/controller/ohci.c
745
len = le16toh(*olen);
sys/dev/usb/input/atp.c
1296
if (le16toh(0x1234) != 0x1234) {
sys/dev/usb/input/atp.c
1297
source_fingerp->origin = le16toh((uint16_t)source_fingerp->origin);
sys/dev/usb/input/atp.c
1298
source_fingerp->abs_x = le16toh((uint16_t)source_fingerp->abs_x);
sys/dev/usb/input/atp.c
1299
source_fingerp->abs_y = le16toh((uint16_t)source_fingerp->abs_y);
sys/dev/usb/input/atp.c
1300
source_fingerp->rel_x = le16toh((uint16_t)source_fingerp->rel_x);
sys/dev/usb/input/atp.c
1301
source_fingerp->rel_y = le16toh((uint16_t)source_fingerp->rel_y);
sys/dev/usb/input/atp.c
1302
source_fingerp->tool_major = le16toh((uint16_t)source_fingerp->tool_major);
sys/dev/usb/input/atp.c
1303
source_fingerp->tool_minor = le16toh((uint16_t)source_fingerp->tool_minor);
sys/dev/usb/input/atp.c
1304
source_fingerp->orientation = le16toh((uint16_t)source_fingerp->orientation);
sys/dev/usb/input/atp.c
1305
source_fingerp->touch_major = le16toh((uint16_t)source_fingerp->touch_major);
sys/dev/usb/input/atp.c
1306
source_fingerp->touch_minor = le16toh((uint16_t)source_fingerp->touch_minor);
sys/dev/usb/input/atp.c
1307
source_fingerp->multi = le16toh((uint16_t)source_fingerp->multi);
sys/dev/usb/input/wsp.c
1022
if (le16toh(0x1234) != 0x1234) {
sys/dev/usb/input/wsp.c
1023
f->origin = le16toh((uint16_t)f->origin);
sys/dev/usb/input/wsp.c
1024
f->abs_x = le16toh((uint16_t)f->abs_x);
sys/dev/usb/input/wsp.c
1025
f->abs_y = le16toh((uint16_t)f->abs_y);
sys/dev/usb/input/wsp.c
1026
f->rel_x = le16toh((uint16_t)f->rel_x);
sys/dev/usb/input/wsp.c
1027
f->rel_y = le16toh((uint16_t)f->rel_y);
sys/dev/usb/input/wsp.c
1028
f->tool_major = le16toh((uint16_t)f->tool_major);
sys/dev/usb/input/wsp.c
1029
f->tool_minor = le16toh((uint16_t)f->tool_minor);
sys/dev/usb/input/wsp.c
1030
f->orientation = le16toh((uint16_t)f->orientation);
sys/dev/usb/input/wsp.c
1031
f->touch_major = le16toh((uint16_t)f->touch_major);
sys/dev/usb/input/wsp.c
1032
f->touch_minor = le16toh((uint16_t)f->touch_minor);
sys/dev/usb/input/wsp.c
1033
f->pressure = le16toh((uint16_t)f->pressure);
sys/dev/usb/input/wsp.c
1034
f->multi = le16toh((uint16_t)f->multi);
sys/dev/usb/net/if_aue.c
340
return (le16toh(val));
sys/dev/usb/net/if_axe.c
1049
len = le16toh(hdr.len);
sys/dev/usb/net/if_axe.c
1067
csum_hdr.len = le16toh(csum_hdr.len);
sys/dev/usb/net/if_axe.c
1068
csum_hdr.ilen = le16toh(csum_hdr.ilen);
sys/dev/usb/net/if_axe.c
1069
csum_hdr.cstatus = le16toh(csum_hdr.cstatus);
sys/dev/usb/net/if_axe.c
1428
rxmode = le16toh(rxmode);
sys/dev/usb/net/if_axe.c
332
val = le16toh(val);
sys/dev/usb/net/if_axe.c
502
rxmode = le16toh(rxmode);
sys/dev/usb/net/if_axe.c
557
eeprom = le16toh(eeprom);
sys/dev/usb/net/if_axe.c
763
sc->sc_pwrcfg = le16toh(eeprom) & 0xFF00;
sys/dev/usb/net/if_axe.c
774
eeprom = le16toh(eeprom);
sys/dev/usb/net/if_cdceem.c
530
hdr = le16toh(hdr);
sys/dev/usb/net/if_cue.c
226
return (le16toh(val));
sys/dev/usb/net/if_muge.c
1214
rx_cmd_c = le16toh(rx_cmd_c);
sys/dev/usb/net/if_rue.c
698
status = le16toh(status);
sys/dev/usb/net/if_udav.c
678
len = min(actlen, le16toh(stat.pktlen));
sys/dev/usb/net/if_usie.c
734
param = le16toh(st.param);
sys/dev/usb/wlan/if_mtw.c
2416
len = le16toh(rxwi->len) & 0xfff;
sys/dev/usb/wlan/if_mtw.c
2483
phy = le16toh(rxwi->phy);
sys/dev/usb/wlan/if_mtw.c
2782
if (le16toh(txwi->phy) & MTW_PHY_SHPRE)
sys/dev/usb/wlan/if_mtw.c
3084
qos = le16toh(*(const uint16_t *)frm);
sys/dev/usb/wlan/if_rsu.c
1130
return (le16toh(val));
sys/dev/usb/wlan/if_rsu.c
2182
(int) le16toh(ba->ssn) >> 4);
sys/dev/usb/wlan/if_rsu.c
2187
ieee80211_ampdu_rx_start_ext(ni, ba->tid, le16toh(ba->ssn) >> 4, 32);
sys/dev/usb/wlan/if_rsu.c
2281
cmdsz = le16toh(cmd->len);
sys/dev/usb/wlan/if_rsu.c
3412
le16toh(hdr->signature));
sys/dev/usb/wlan/if_rsu.c
3417
le16toh(hdr->version), hdr->month, hdr->day, hdr->hour,
sys/dev/usb/wlan/if_rum.c
2414
val = le16toh(val);
sys/dev/usb/wlan/if_rum.c
2424
val = le16toh(val);
sys/dev/usb/wlan/if_rum.c
2432
val = le16toh(val);
sys/dev/usb/wlan/if_rum.c
2441
val = le16toh(val);
sys/dev/usb/wlan/if_rum.c
2458
val = le16toh(val);
sys/dev/usb/wlan/if_run.c
1527
*val = le16toh(tmp);
sys/dev/usb/wlan/if_run.c
2716
le16toh(sta[0].error.fail));
sys/dev/usb/wlan/if_run.c
2718
txs->nretries = le16toh(sta[1].tx.retry);
sys/dev/usb/wlan/if_run.c
2719
txs->nsuccess = le16toh(sta[1].tx.success);
sys/dev/usb/wlan/if_run.c
2722
le16toh(sta[0].error.fail);
sys/dev/usb/wlan/if_run.c
2726
txs->nretries, txs->nsuccess, le16toh(sta[0].error.fail));
sys/dev/usb/wlan/if_run.c
2904
len = le16toh(rxwi->len) & 0xfff;
sys/dev/usb/wlan/if_run.c
2977
phy = le16toh(rxwi->phy);
sys/dev/usb/wlan/if_run.c
3253
if (le16toh(txwi->phy) & RT2860_PHY_SHPRE)
sys/dev/usb/wlan/if_run.c
3464
qos = le16toh(*(const uint16_t *)frm);
sys/dev/usb/wlan/if_upgt.c
1055
preamble_len = le16toh(eeprom_header->preamble_len);
sys/dev/usb/wlan/if_upgt.c
1068
(le16toh(eeprom_option->len) - 1) * sizeof(uint16_t);
sys/dev/usb/wlan/if_upgt.c
1070
le16toh(eeprom_option->type);
sys/dev/usb/wlan/if_upgt.c
1171
channel = ieee80211_mhz2ieee(le16toh(freq3[i].freq), 0);
sys/dev/usb/wlan/if_upgt.c
1178
le16toh(sc->sc_eeprom_freq3[channel].freq), channel);
sys/dev/usb/wlan/if_upgt.c
1209
channel = ieee80211_mhz2ieee(le16toh(freq4_1[i].freq), 0);
sys/dev/usb/wlan/if_upgt.c
1220
le16toh(freq4_1[i].freq), channel);
sys/dev/usb/wlan/if_upgt.c
1241
channel = ieee80211_mhz2ieee(le16toh(freq6[i].freq), 0);
sys/dev/usb/wlan/if_upgt.c
1248
le16toh(sc->sc_eeprom_freq6[channel].freq), channel);
sys/dev/usb/wlan/if_upgt.c
1372
h2_type = le16toh(header->header2.type);
sys/dev/usb/wlan/if_upgt.c
1376
uint16_t eeprom_offset = le16toh(eeprom->offset);
sys/dev/usb/wlan/if_upgt.c
1377
uint16_t eeprom_len = le16toh(eeprom->len);
sys/dev/usb/wlan/if_upgt.c
1398
m = upgt_rx(sc, data->buf + 4, le16toh(header->header1.len),
sys/dev/usb/wlan/if_upgt.c
1516
le16toh(desc->status), le16toh(desc->rssi));
sys/dev/usb/wlan/if_upgt.c
1518
le16toh(desc->seq));
sys/dev/usb/wlan/if_ural.c
1420
return le16toh(val);
sys/dev/usb/wlan/if_ural.c
1913
val = le16toh(val);
sys/dev/usb/wlan/if_zyd.c
642
switch (le16toh(cmd->code)) {
sys/dev/usb/wlan/if_zyd.c
647
uint16_t count = le16toh(retry->count);
sys/dev/usb/wlan/if_zyd.c
651
le16toh(retry->rate), ether_sprintf(retry->macaddr),
sys/dev/usb/wlan/if_zyd.c
690
if (le16toh(*(uint16_t *)cmd->data) == ZYD_CR_INTERRUPT)
sys/dev/usb/wlan/if_zyd.c
727
le16toh(cmd->code));
sys/dev/usb/wlan/if_zyd.c
846
*val = le16toh(tmp.val);
sys/dev/usb/wlan/if_zyd.c
862
*val = le16toh(tmp[0].val) << 16 | le16toh(tmp[1].val);
sys/dev/virtio/mmio/virtio_mmio.c
706
le16toh(vtmmio_read_config_2(sc, off));
sys/dev/virtio/pci/virtio_pci_legacy.c
125
le16toh(bus_read_2((sc)->vtpci_res, (o)))
sys/dev/virtio/virtio_endian.h
47
return (le16toh(val));
sys/dev/vte/if_vte.c
1394
status = le16toh(txd->tx_desc->dtst);
sys/dev/vte/if_vte.c
1499
status = le16toh(rxd->rx_desc->drst);
sys/dev/vte/if_vte.c
1502
total_len = VTE_RX_LEN(le16toh(rxd->rx_desc->drlen));
sys/dev/wpi/if_wpi.c
1356
sc->rev = le16toh(sc->rev);
sys/dev/wpi/if_wpi.c
1555
group->temp = (int16_t)le16toh(rgroup.temp);
sys/dev/wpi/if_wpi.c
1931
len = le16toh(head->len);
sys/dev/wpi/if_wpi.c
2023
tap->wr_antenna = (le16toh(head->flags) >> 4) & 0xf;
sys/dev/wpi/if_wpi.c
2165
if (le16toh(pcmd->flags) & WPI_PS_ALLOW_SLEEP) {
sys/dev/xilinx/xlnx_pcib.c
488
data = le16toh(data);
sys/fs/ext2fs/ext2_alloc.c
1265
if (le16toh(fs->e2fs_gd[cg].ext4bgd_flags) & EXT2_BG_INODE_ZEROED)
sys/fs/ext2fs/ext2_alloc.c
1268
all_blks = le16toh(fs->e2fs->e2fs_inode_size) * fs->e2fs_ipg /
sys/fs/ext2fs/ext2_alloc.c
1286
fs->e2fs_gd[cg].ext4bgd_flags = htole16(le16toh(
sys/fs/ext2fs/ext2_alloc.c
1333
if (le16toh(fs->e2fs_gd[cg].ext4bgd_flags) &
sys/fs/ext2fs/ext2_alloc.c
1339
fs->e2fs_gd[cg].ext4bgd_flags = htole16(le16toh(
sys/fs/ext2fs/ext2_alloc.c
522
return (((uint32_t)(le16toh(gd->ext4bgd_nbfree_hi)) << 16) |
sys/fs/ext2fs/ext2_alloc.c
523
le16toh(gd->ext2bgd_nbfree));
sys/fs/ext2fs/ext2_alloc.c
538
return (((uint32_t)(le16toh(gd->ext4bgd_nifree_hi)) << 16) |
sys/fs/ext2fs/ext2_alloc.c
539
le16toh(gd->ext2bgd_nifree));
sys/fs/ext2fs/ext2_alloc.c
554
return (((uint32_t)(le16toh(gd->ext4bgd_ndirs_hi)) << 16) |
sys/fs/ext2fs/ext2_alloc.c
555
le16toh(gd->ext2bgd_ndirs));
sys/fs/ext2fs/ext2_alloc.c
569
return ((uint32_t)(le16toh(gd->ext4bgd_i_unused_hi) << 16) |
sys/fs/ext2fs/ext2_alloc.c
570
le16toh(gd->ext4bgd_i_unused));
sys/fs/ext2fs/ext2_alloc.c
849
number += le16toh(fs->e2fs->e2fs_reserved_ngdb);
sys/fs/ext2fs/ext2_alloc.c
893
if (!(le16toh(fs->e2fs_gd[cg].ext4bgd_flags) & EXT2_BG_BLOCK_UNINIT))
sys/fs/ext2fs/ext2_alloc.c
938
fs->e2fs_gd[cg].ext4bgd_flags = htole16(le16toh(
sys/fs/ext2fs/ext2_bmap.c
109
depth = le16toh(ehp->eh_depth);
sys/fs/ext2fs/ext2_bmap.c
131
lbn < le32toh(ep->e_blk) + le16toh(ep->e_len)) {
sys/fs/ext2fs/ext2_bmap.c
134
(daddr_t)le16toh(ep->e_start_hi) << 32));
sys/fs/ext2fs/ext2_bmap.c
137
le16toh(ep->e_len) -
sys/fs/ext2fs/ext2_bmap.c
145
le16toh(ep->e_len));
sys/fs/ext2fs/ext2_csum.c
175
tp->e2dt_rec_len = le16toh(sizeof(struct ext2fs_direct_tail));
sys/fs/ext2fs/ext2_csum.c
192
le16toh(tp->e2dt_rec_len) == sizeof(struct ext2fs_direct_tail) &&
sys/fs/ext2fs/ext2_csum.c
209
rec_len = le16toh(dep->e2d_reclen);
sys/fs/ext2fs/ext2_csum.c
215
rec_len = le16toh(dep->e2d_reclen);
sys/fs/ext2fs/ext2_csum.c
271
if (le16toh(ep->e2d_reclen) == EXT2_BLOCK_SIZE(ip->i_e2fs))
sys/fs/ext2fs/ext2_csum.c
273
else if (le16toh(ep->e2d_reclen) == 12) {
sys/fs/ext2fs/ext2_csum.c
275
if (le16toh(dp->e2d_reclen) != EXT2_BLOCK_SIZE(ip->i_e2fs) - 12)
sys/fs/ext2fs/ext2_csum.c
333
limit = le16toh(cp->h_entries_max);
sys/fs/ext2fs/ext2_csum.c
334
count = le16toh(cp->h_entries_num);
sys/fs/ext2fs/ext2_csum.c
409
limit = le16toh(cp->h_entries_max);
sys/fs/ext2fs/ext2_csum.c
410
count = le16toh(cp->h_entries_num);
sys/fs/ext2fs/ext2_csum.c
496
provided = le16toh(fs->e2fs_gd[cg].ext4bgd_i_bmap_csum);
sys/fs/ext2fs/ext2_csum.c
499
if (le16toh(fs->e2fs->e3fs_desc_size) >=
sys/fs/ext2fs/ext2_csum.c
501
hi = le16toh(fs->e2fs_gd[cg].ext4bgd_i_bmap_csum_hi);
sys/fs/ext2fs/ext2_csum.c
525
if (le16toh(fs->e2fs->e3fs_desc_size) >= EXT2_BG_INODE_BITMAP_CSUM_HI_END)
sys/fs/ext2fs/ext2_csum.c
538
provided = le16toh(fs->e2fs_gd[cg].ext4bgd_b_bmap_csum);
sys/fs/ext2fs/ext2_csum.c
540
if (le16toh(fs->e2fs->e3fs_desc_size) >=
sys/fs/ext2fs/ext2_csum.c
542
hi = le16toh(fs->e2fs_gd[cg].ext4bgd_b_bmap_csum_hi);
sys/fs/ext2fs/ext2_csum.c
566
if (le16toh(fs->e2fs->e3fs_desc_size) >= EXT2_BG_BLOCK_BITMAP_CSUM_HI_LOCATION)
sys/fs/ext2fs/ext2_csum.c
600
le16toh(ei->e2di_extra_isize) >=
sys/fs/ext2fs/ext2_csum.c
626
provided = le16toh(ei->e2di_chksum_lo);
sys/fs/ext2fs/ext2_csum.c
630
le16toh(ei->e2di_extra_isize) >= EXT2_INODE_CSUM_HI_EXTRA_END)) {
sys/fs/ext2fs/ext2_csum.c
631
hi = le16toh(ei->e2di_chksum_hi);
sys/fs/ext2fs/ext2_csum.c
668
le16toh(ei->e2di_extra_isize) >= EXT2_INODE_CSUM_HI_EXTRA_END))
sys/fs/ext2fs/ext2_csum.c
691
if (offset < le16toh(fs->e2fs->e3fs_desc_size))
sys/fs/ext2fs/ext2_csum.c
693
le16toh(fs->e2fs->e3fs_desc_size) - offset);
sys/fs/ext2fs/ext2_csum.c
705
offset < le16toh(fs->e2fs->e3fs_desc_size))
sys/fs/ext2fs/ext2_csum.c
707
le16toh(fs->e2fs->e3fs_desc_size) - offset);
sys/fs/ext2fs/ext2_extattr.c
1023
le16toh(entry->e_value_offs));
sys/fs/ext2fs/ext2_extattr.c
217
E2FS_REV0_INODE_SIZE + le16toh(dinode->e2di_extra_isize));
sys/fs/ext2fs/ext2_extattr.c
358
E2FS_REV0_INODE_SIZE + le16toh(dinode->e2di_extra_isize));
sys/fs/ext2fs/ext2_extattr.c
393
le16toh(entry->e_value_offs),
sys/fs/ext2fs/ext2_extattr.c
461
le16toh(entry->e_value_offs),
sys/fs/ext2fs/ext2_extattr.c
485
if (min_offs > le16toh(next->e_value_offs) &&
sys/fs/ext2fs/ext2_extattr.c
486
le16toh(next->e_value_offs) > 0)
sys/fs/ext2fs/ext2_extattr.c
487
min_offs = le16toh(next->e_value_offs);
sys/fs/ext2fs/ext2_extattr.c
496
off + min_offs, le16toh(entry->e_value_offs) - min_offs);
sys/fs/ext2fs/ext2_extattr.c
502
if (le16toh(next->e_value_offs) > 0 &&
sys/fs/ext2fs/ext2_extattr.c
503
le16toh(next->e_value_offs) < le16toh(entry->e_value_offs))
sys/fs/ext2fs/ext2_extattr.c
504
next->e_value_offs = htole16(le16toh(next->e_value_offs) +
sys/fs/ext2fs/ext2_extattr.c
563
E2FS_REV0_INODE_SIZE + le16toh(dinode->e2di_extra_isize));
sys/fs/ext2fs/ext2_extattr.c
843
uiomove(off + le16toh(entry->e_value_offs),
sys/fs/ext2fs/ext2_extattr.c
861
if (min_offs > le16toh(entry->e_value_offs) &&
sys/fs/ext2fs/ext2_extattr.c
862
le16toh(entry->e_value_offs) > 0)
sys/fs/ext2fs/ext2_extattr.c
863
min_offs = le16toh(entry->e_value_offs);
sys/fs/ext2fs/ext2_extattr.c
895
uiomove(off + le16toh(new_entry->e_value_offs),
sys/fs/ext2fs/ext2_extattr.c
929
E2FS_REV0_INODE_SIZE + le16toh(dinode->e2di_extra_isize));
sys/fs/ext2fs/ext2_extattr.c
964
le16toh(dinode->e2di_extra_isize);
sys/fs/ext2fs/ext2_extents.c
1004
htole16(le16toh(path[depth].ep_header->eh_ecount) - m);
sys/fs/ext2fs/ext2_extents.c
1041
neh->eh_ecount = htole16(le16toh(neh->eh_ecount) + m);
sys/fs/ext2fs/ext2_extents.c
1051
htole16(le16toh(path[i].ep_header->eh_ecount) - m);
sys/fs/ext2fs/ext2_extents.c
1183
if (le16toh(path[depth].ep_header->eh_ecount) ==
sys/fs/ext2fs/ext2_extents.c
1184
le16toh(path[depth].ep_header->eh_max))
sys/fs/ext2fs/ext2_extents.c
1248
ex->e_len = htole16(le16toh(ex->e_len) + le16toh(newext->e_len));
sys/fs/ext2fs/ext2_extents.c
1257
if (le16toh(eh->eh_ecount) < le16toh(eh->eh_max))
sys/fs/ext2fs/ext2_extents.c
1278
if (le16toh(eh->eh_ecount) < le16toh(eh->eh_max)) {
sys/fs/ext2fs/ext2_extents.c
1315
eh->eh_ecount = htole16(le16toh(eh->eh_ecount) + 1);
sys/fs/ext2fs/ext2_extents.c
1329
nearex->e_len = htole16(le16toh(nearex->e_len) +
sys/fs/ext2fs/ext2_extents.c
1330
le16toh(nearex[1].e_len));
sys/fs/ext2fs/ext2_extents.c
1337
eh->eh_ecount = htole16(le16toh(eh->eh_ecount) - 1);
sys/fs/ext2fs/ext2_extents.c
1338
KASSERT(le16toh(eh->eh_ecount) != 0,
sys/fs/ext2fs/ext2_extents.c
134
ep, le32toh(ep->e_blk), le16toh(ep->e_len),
sys/fs/ext2fs/ext2_extents.c
1413
allocated = le16toh(newex.e_len) - (iblk - le32toh(newex.e_blk));
sys/fs/ext2fs/ext2_extents.c
1434
uint16_t e_len = le16toh(ex->e_len);
sys/fs/ext2fs/ext2_extents.c
151
eh, le16toh(eh->eh_ecount),
sys/fs/ext2fs/ext2_extents.c
152
le16toh(eh->eh_max), le16toh(eh->eh_depth),
sys/fs/ext2fs/ext2_extents.c
1537
htole16(le16toh(path->ep_header->eh_ecount) - 1);
sys/fs/ext2fs/ext2_extents.c
155
for (i = 0; i < le16toh(eh->eh_ecount) && error == 0; i++)
sys/fs/ext2fs/ext2_extents.c
1606
eh->eh_ecount = htole16(le16toh(eh->eh_ecount) - 1);
sys/fs/ext2fs/ext2_extents.c
1619
if (correct_index && le16toh(eh->eh_ecount))
sys/fs/ext2fs/ext2_extents.c
1651
if (le16toh(eh->eh_depth) != depth) {
sys/fs/ext2fs/ext2_extents.c
1679
if (le16toh(path->ep_header->eh_ecount) == path->index_count)
sys/fs/ext2fs/ext2_extents.c
1728
le16toh(path[i].ep_header->eh_ecount) + 1;
sys/fs/ext2fs/ext2_extents.c
1748
le16toh(path[i].ep_header->eh_ecount);
sys/fs/ext2fs/ext2_extents.c
226
return (le16toh(ehp->eh_depth));
sys/fs/ext2fs/ext2_extents.c
235
blk |= (e4fs_daddr_t)le16toh(index->ei_leaf_hi) << 32;
sys/fs/ext2fs/ext2_extents.c
254
blk |= (e4fs_daddr_t)le16toh(extent->e_start_hi) << 32;
sys/fs/ext2fs/ext2_extents.c
360
return (le16toh(ext->e_len) <= EXT_INIT_MAX_LEN ?
sys/fs/ext2fs/ext2_extents.c
361
le16toh(ext->e_len) : (le16toh(ext->e_len) - EXT_INIT_MAX_LEN));
sys/fs/ext2fs/ext2_extents.c
408
count = le16toh(eh->eh_ecount);
sys/fs/ext2fs/ext2_extents.c
452
if (le16toh(eh->eh_magic) != EXT4_EXT_MAGIC) {
sys/fs/ext2fs/ext2_extents.c
456
if (le16toh(eh->eh_depth) != depth ||
sys/fs/ext2fs/ext2_extents.c
457
le16toh(eh->eh_depth) > EXT4_EXT_DEPTH_MAX)
sys/fs/ext2fs/ext2_extents.c
466
if (le16toh(eh->eh_max) > ext4_ext_max_entries(ip, depth)) {
sys/fs/ext2fs/ext2_extents.c
470
if (le16toh(eh->eh_ecount) > le16toh(eh->eh_max)) {
sys/fs/ext2fs/ext2_extents.c
474
if (le16toh(eh->eh_depth) > EXT4_EXT_DEPTH_MAX) {
sys/fs/ext2fs/ext2_extents.c
498
KASSERT(le16toh(eh->eh_ecount) <= le16toh(eh->eh_max) &&
sys/fs/ext2fs/ext2_extents.c
499
le16toh(eh->eh_ecount) > 0,
sys/fs/ext2fs/ext2_extents.c
503
r = EXT_FIRST_INDEX(eh) + le16toh(eh->eh_ecount) - 1;
sys/fs/ext2fs/ext2_extents.c
523
KASSERT(le16toh(eh->eh_ecount) <= le16toh(eh->eh_max),
sys/fs/ext2fs/ext2_extents.c
530
r = EXT_FIRST_EXTENT(eh) + le16toh(eh->eh_ecount) - 1;
sys/fs/ext2fs/ext2_extents.c
773
if (le32toh(ex1->e_blk) + le16toh(ex1->e_len) != le32toh(ex2->e_blk))
sys/fs/ext2fs/ext2_extents.c
776
if (le16toh(ex1->e_len) + le16toh(ex2->e_len) > EXT4_MAX_LEN)
sys/fs/ext2fs/ext2_extents.c
779
if (ext4_ext_extent_pblock(ex1) + le16toh(ex1->e_len) ==
sys/fs/ext2fs/ext2_extents.c
852
if (le16toh(path->ep_header->eh_ecount) >=
sys/fs/ext2fs/ext2_extents.c
853
le16toh(path->ep_header->eh_max)) {
sys/fs/ext2fs/ext2_extents.c
880
htole16(le16toh(path->ep_header->eh_ecount) + 1);
sys/fs/ext2fs/ext2_extents.c
96
(uint64_t)le16toh(ex->ei_leaf_hi) << 32 |
sys/fs/ext2fs/ext2_extents.c
971
neh->eh_max = le16toh(ext4_ext_space_block(ip));
sys/fs/ext2fs/ext2_extents.c
972
neh->eh_magic = le16toh(EXT4_EXT_MAGIC);
sys/fs/ext2fs/ext2_extents.c
976
if (le16toh(path[depth].ep_header->eh_ecount) !=
sys/fs/ext2fs/ext2_extents.c
977
le16toh(path[depth].ep_header->eh_max)) {
sys/fs/ext2fs/ext2_extents.c
994
neh->eh_ecount = htole16(le16toh(neh->eh_ecount) + m);
sys/fs/ext2fs/ext2_extents.h
109
#define EXT_LAST_EXTENT(hdr) (EXT_FIRST_EXTENT((hdr)) + le16toh((hdr)->eh_ecount) - 1)
sys/fs/ext2fs/ext2_extents.h
110
#define EXT_LAST_INDEX(hdr) (EXT_FIRST_INDEX((hdr)) + le16toh((hdr)->eh_ecount) - 1)
sys/fs/ext2fs/ext2_extents.h
112
(sizeof(struct ext4_extent) * le16toh((hdr)->eh_max)))
sys/fs/ext2fs/ext2_extents.h
114
(le16toh((path)->ep_header->eh_ecount) < le16toh((path)->ep_header->eh_max))
sys/fs/ext2fs/ext2_extents.h
115
#define EXT_MAX_EXTENT(hdr) (EXT_FIRST_EXTENT(hdr) + le16toh((hdr)->eh_max) - 1)
sys/fs/ext2fs/ext2_extents.h
116
#define EXT_MAX_INDEX(hdr) (EXT_FIRST_INDEX((hdr)) + le16toh((hdr)->eh_max) - 1)
sys/fs/ext2fs/ext2_htree.c
170
return (le16toh(((struct ext2fs_htree_count *)(ep))->h_entries_num));
sys/fs/ext2fs/ext2_htree.c
188
return (le16toh(((struct ext2fs_htree_count *)(ep))->h_entries_max));
sys/fs/ext2fs/ext2_htree.c
580
((char *)ep + le16toh(ep->e2d_reclen));
sys/fs/ext2fs/ext2_htree.c
593
if (le16toh(sort_info[i].h_size) + size > blksize / 2)
sys/fs/ext2fs/ext2_htree.c
595
size += le16toh(sort_info[i].h_size);
sys/fs/ext2fs/ext2_htree.c
611
le16toh(sort_info[k].h_offset));
sys/fs/ext2fs/ext2_htree.c
627
offset += le16toh(ep->e2d_reclen);
sys/fs/ext2fs/ext2_htree.c
697
le16toh(dotdot->e2d_reclen));
sys/fs/ext2fs/ext2_htree.c
703
((char *)ep + le16toh(ep->e2d_reclen));
sys/fs/ext2fs/ext2_inode_cnv.c
165
ip->i_nlink = le16toh(ei->e2di_nlink);
sys/fs/ext2fs/ext2_inode_cnv.c
166
ip->i_mode = ip->i_nlink ? le16toh(ei->e2di_mode) : 0;
sys/fs/ext2fs/ext2_inode_cnv.c
174
ei_extra_isize_le = le16toh(ei->e2di_extra_isize);
sys/fs/ext2fs/ext2_inode_cnv.c
211
ip->i_blocks |= (uint64_t)le16toh(ei->e2di_nblock_high) << 32;
sys/fs/ext2fs/ext2_inode_cnv.c
212
ip->i_facl |= (uint64_t)le16toh(ei->e2di_facl_high) << 32;
sys/fs/ext2fs/ext2_inode_cnv.c
217
ip->i_uid = le16toh(ei->e2di_uid);
sys/fs/ext2fs/ext2_inode_cnv.c
218
ip->i_gid = le16toh(ei->e2di_gid);
sys/fs/ext2fs/ext2_inode_cnv.c
219
ip->i_uid |= (uint32_t)le16toh(ei->e2di_uid_high) << 16;
sys/fs/ext2fs/ext2_inode_cnv.c
220
ip->i_gid |= (uint32_t)le16toh(ei->e2di_gid_high) << 16;
sys/fs/ext2fs/ext2_inode_cnv.c
272
ei->e2di_dtime = htole32(le16toh(ei->e2di_nlink) ? 0 :
sys/fs/ext2fs/ext2_inode_cnv.c
78
le16toh(ehp->eh_magic), le16toh(ehp->eh_ecount),
sys/fs/ext2fs/ext2_inode_cnv.c
79
le16toh(ehp->eh_max), le16toh(ehp->eh_depth),
sys/fs/ext2fs/ext2_inode_cnv.c
84
le16toh(ep->e_len), le32toh(ep->e_start_lo),
sys/fs/ext2fs/ext2_inode_cnv.c
85
le16toh(ep->e_start_hi));
sys/fs/ext2fs/ext2_lookup.c
1019
spacefree = le16toh(ep->e2d_reclen) - dsize;
sys/fs/ext2fs/ext2_lookup.c
1020
for (loc = le16toh(ep->e2d_reclen); loc < dp->i_count; ) {
sys/fs/ext2fs/ext2_lookup.c
1031
spacefree += le16toh(nep->e2d_reclen) - dsize;
sys/fs/ext2fs/ext2_lookup.c
1032
loc += le16toh(nep->e2d_reclen);
sys/fs/ext2fs/ext2_lookup.c
1109
le16toh(ep->e2d_reclen));
sys/fs/ext2fs/ext2_lookup.c
1167
for (off = 0; off < ip->i_size; off += le16toh(dp->e2d_reclen)) {
sys/fs/ext2fs/ext2_lookup.c
196
if (le16toh(dp->e2d_reclen) <= offsetof(struct ext2fs_direct_2,
sys/fs/ext2fs/ext2_lookup.c
197
e2d_namlen) || (caddr_t)dp + le16toh(dp->e2d_reclen) >
sys/fs/ext2fs/ext2_lookup.c
221
dstdp.d_namlen > le16toh(dp->e2d_reclen)) {
sys/fs/ext2fs/ext2_lookup.c
231
dstdp.d_off = offset + le16toh(dp->e2d_reclen);
sys/fs/ext2fs/ext2_lookup.c
247
*cookies = offset + le16toh(dp->e2d_reclen);
sys/fs/ext2fs/ext2_lookup.c
252
offset += le16toh(dp->e2d_reclen);
sys/fs/ext2fs/ext2_lookup.c
254
le16toh(dp->e2d_reclen));
sys/fs/ext2fs/ext2_lookup.c
741
int size = le16toh(ep->e2d_reclen);
sys/fs/ext2fs/ext2_lookup.c
751
ssp->slotsize = le16toh(ep->e2d_reclen);
sys/fs/ext2fs/ext2_lookup.c
759
le16toh(ep->e2d_reclen) -
sys/fs/ext2fs/ext2_lookup.c
782
*offp += le16toh(ep->e2d_reclen);
sys/fs/ext2fs/ext2_lookup.c
783
offset += le16toh(ep->e2d_reclen);
sys/fs/ext2fs/ext2_lookup.c
821
if (le16toh(de->e2d_reclen) < EXT2_DIR_REC_LEN(1))
sys/fs/ext2fs/ext2_lookup.c
823
else if (le16toh(de->e2d_reclen) % 4 != 0)
sys/fs/ext2fs/ext2_lookup.c
825
else if (le16toh(de->e2d_reclen) < EXT2_DIR_REC_LEN(de->e2d_namlen))
sys/fs/ext2fs/ext2_lookup.c
827
else if (entryoffsetinblock + le16toh(de->e2d_reclen)> fs->e2fs_bsize)
sys/fs/ext2fs/ext2_lookup.c
840
le32toh(de->e2d_ino), le16toh(de->e2d_reclen),
sys/fs/ext2fs/ext2_vfsops.c
1028
htole16(le16toh(fs->e2fs->e2fs_state) | E2FS_ISCLEAN);
sys/fs/ext2fs/ext2_vfsops.c
1075
if (le16toh(fs->e2fs->e2fs_magic) != E2FS_MAGIC)
sys/fs/ext2fs/ext2_vfsops.c
1099
ngdb += le16toh(fs->e2fs->e2fs_reserved_ngdb);
sys/fs/ext2fs/ext2_vfsops.c
169
htole16((le16toh(fs->e2fs->e2fs_state) |
sys/fs/ext2fs/ext2_vfsops.c
208
if ((le16toh(fs->e2fs->e2fs_state) & E2FS_ISCLEAN) == 0 ||
sys/fs/ext2fs/ext2_vfsops.c
209
(le16toh(fs->e2fs->e2fs_state) & E2FS_ERRORS)) {
sys/fs/ext2fs/ext2_vfsops.c
221
htole16(le16toh(fs->e2fs->e2fs_state) & ~E2FS_ISCLEAN);
sys/fs/ext2fs/ext2_vfsops.c
299
if (le16toh(es->e2fs_magic) != E2FS_MAGIC) {
sys/fs/ext2fs/ext2_vfsops.c
301
devtoname(dev), le16toh(es->e2fs_magic), E2FS_MAGIC);
sys/fs/ext2fs/ext2_vfsops.c
389
!(le16toh(gd->ext4bgd_flags) & EXT2_BG_INODE_ZEROED))
sys/fs/ext2fs/ext2_vfsops.c
514
if (le16toh(es->e2fs_reserved_ngdb) > (fs->e2fs_bsize / 4)) {
sys/fs/ext2fs/ext2_vfsops.c
523
fs->e2fs_isize = le16toh(es->e2fs_inode_size);
sys/fs/ext2fs/ext2_vfsops.c
548
le16toh(es->e3fs_desc_size) != E2FS_64BIT_GD_SIZE) {
sys/fs/ext2fs/ext2_vfsops.c
887
if ((le16toh(es->e2fs_state) & E2FS_ISCLEAN) == 0 ||
sys/fs/ext2fs/ext2_vfsops.c
888
(le16toh(es->e2fs_state) & E2FS_ERRORS)) {
sys/fs/ext2fs/ext2_vfsops.c
948
fs->e2fs_wasvalid = le16toh(fs->e2fs->e2fs_state) & E2FS_ISCLEAN ? 1 : 0;
sys/fs/ext2fs/ext2_vfsops.c
952
htole16(le16toh(fs->e2fs->e2fs_state) & ~E2FS_ISCLEAN);
sys/fs/ext2fs/ext2_vnops.c
1393
htole16(le16toh(dirtemplate.dotdot_reclen) -
sys/fs/udf/udf_vfsops.c
282
if (le16toh(tag->id) != id)
sys/fs/udf/udf_vfsops.c
411
fsd_part = le16toh(lvd->_lvd_use.fsd_loc.loc.part_num);
sys/fs/udf/udf_vfsops.c
420
part_num = le16toh(pd->part_num);
sys/fs/udf/udf_vfsops.c
801
udfmp->p_sectors = le16toh(pms->packet_len) / udfmp->bsize;
sys/fs/udf/udf_vfsops.c
828
for (k = 0; k < le16toh(udfmp->s_table->rt_l); k++) {
sys/fs/udf/udf_vnops.c
1407
switch (le16toh(tag->strat_type)) {
sys/fs/udf/udf_vnops.c
1420
switch (le16toh(tag->flags) & 0x7) {
sys/fs/udf/udf_vnops.c
143
flags = le16toh(node->fentry->icbtag.flags);
sys/fs/udf/udf_vnops.c
231
year = le16toh(time->year);
sys/fs/udf/udf_vnops.c
277
tz.u_tz_offset = le16toh(time->type_tz);
sys/fs/udf/udf_vnops.c
281
if ((le16toh(time->type_tz) & 0x1000) && (tz.s_tz_offset != -2047))
sys/fs/udf/udf_vnops.c
303
vap->va_nlink = le16toh(fentry->link_cnt);
sys/fs/udf/udf_vnops.c
440
return ((le16toh(fentry->icbtag.flags) & 0x7) == 3);
sys/fs/udf/udf_vnops.c
698
ds->off + le16toh(fid->l_iu) + fid->l_fi + UDF_FID_SIZE > ds->size){
sys/fs/udf/udf_vnops.c
744
total_fid_size = UDF_FID_SIZE + le16toh(fid->l_iu) + fid->l_fi;
sys/fs/udf/udf_vnops.c
755
total_fid_size = le16toh(fid->l_iu) + fid->l_fi + UDF_FID_SIZE;
sys/geom/label/g_label_gpt.c
60
ch = (bo == BIG_ENDIAN) ? be16toh(*str) : le16toh(*str);
sys/geom/label/g_label_gpt.c
65
: le16toh(*str);
sys/geom/part/g_part_gpt.c
1395
ch = (bo == BIG_ENDIAN) ? be16toh(*str) : le16toh(*str);
sys/geom/part/g_part_gpt.c
1400
: le16toh(*str);
sys/kern/subr_mchain.c
391
*x = le16toh(v);
sys/net80211/ieee80211_crypto_tkip.c
549
return le16toh(*v);
sys/net80211/ieee80211_hostap.c
1993
algo = le16toh(*(uint16_t *)frm);
sys/net80211/ieee80211_hostap.c
1994
seq = le16toh(*(uint16_t *)(frm + 2));
sys/net80211/ieee80211_hostap.c
1995
status = le16toh(*(uint16_t *)(frm + 4));
sys/net80211/ieee80211_hostap.c
2092
capinfo = le16toh(*(uint16_t *)frm); frm += 2;
sys/net80211/ieee80211_hostap.c
2093
lintval = le16toh(*(uint16_t *)frm); frm += 2;
sys/net80211/ieee80211_hostap.c
2357
reason = le16toh(*(uint16_t *)frm);
sys/net80211/ieee80211_hostap.c
2452
aid = le16toh(*(uint16_t *)wh->i_dur);
sys/net80211/ieee80211_ht.c
1047
rxseq = le16toh(*(uint16_t *)wh->i_seq);
sys/net80211/ieee80211_ht.c
1246
tid = _IEEE80211_MASKSHIFT(le16toh(wh->i_ctl), IEEE80211_BAR_TID);
sys/net80211/ieee80211_ht.c
1259
rxseq = le16toh(wh->i_seq) >> IEEE80211_SEQ_SEQ_SHIFT;
sys/net80211/ieee80211_input.c
185
rxseq = le16toh(*(uint16_t *)wh->i_seq);
sys/net80211/ieee80211_input.c
226
last_rxseq = le16toh(*(uint16_t *)lwh->i_seq);
sys/net80211/ieee80211_input.c
556
scan->bintval = le16toh(*(uint16_t *)frm); frm += 2;
sys/net80211/ieee80211_input.c
557
scan->capinfo = le16toh(*(uint16_t *)frm); frm += 2;
sys/net80211/ieee80211_input.h
206
rxseq = le16toh(*(uint16_t *)wh->i_seq);
sys/net80211/ieee80211_radiotap.c
196
len = le16toh(th->it_len);
sys/net80211/ieee80211_radiotap.c
218
len = le16toh(rh->it_len);
sys/net80211/ieee80211_radiotap.c
240
int len = le16toh(rh->it_len);
sys/net80211/ieee80211_radiotap.c
344
if (off + items[i].width > le16toh(rh->it_len)) {
sys/net80211/ieee80211_radiotap.c
348
off, items[i].width, le16toh(rh->it_len));
sys/net80211/ieee80211_radiotap.c
464
sizeof(struct ieee80211_frame) + le16toh(th->it_len),
sys/net80211/ieee80211_sta.c
1710
algo = le16toh(*(uint16_t *)frm);
sys/net80211/ieee80211_sta.c
1711
seq = le16toh(*(uint16_t *)(frm + 2));
sys/net80211/ieee80211_sta.c
1712
status = le16toh(*(uint16_t *)(frm + 4));
sys/net80211/ieee80211_sta.c
1765
capinfo = le16toh(*(uint16_t *)frm);
sys/net80211/ieee80211_sta.c
1767
status = le16toh(*(uint16_t *)frm);
sys/net80211/ieee80211_sta.c
1781
associd = le16toh(*(uint16_t *)frm);
sys/net80211/ieee80211_sta.c
1975
reason = le16toh(*(uint16_t *)frm);
sys/net80211/ieee80211_sta.c
2009
reason = le16toh(*(uint16_t *)frm);
sys/net80211/ieee80211_tdma.c
430
slotlen = le16toh(tdma->tdma_slotlen) * 100;
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1132
len = le16toh(hdr->length);
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
591
le16toh(cmd->opcode));
sys/netgraph/bluetooth/drivers/ubt/ng_ubt_rtl.c
244
DPRINTFN(2, "hci_revision 0x%04x\n", le16toh(ver.hci_revision));
sys/netgraph/bluetooth/drivers/ubt/ng_ubt_rtl.c
246
DPRINTFN(2, "lmp_subversion 0x%04x\n", le16toh(ver.lmp_subversion));
sys/netgraph/bluetooth/drivers/ubt/ng_ubt_rtl.c
249
if (le16toh(ver.lmp_subversion) == ubt_rtl_lmp_subvers[i])
sys/netgraph/bluetooth/hci/ng_hci_cmds.c
196
ep->opcode = le16toh(ep->opcode);
sys/netgraph/bluetooth/hci/ng_hci_cmds.c
295
ep->opcode = le16toh(ep->opcode);
sys/netgraph/bluetooth/hci/ng_hci_cmds.c
416
opcode = le16toh(mtod(m, ng_hci_cmd_pkt_t *)->opcode);
sys/netgraph/bluetooth/hci/ng_hci_cmds.c
507
h = NG_HCI_CON_HANDLE(le16toh(rp->con_handle));
sys/netgraph/bluetooth/hci/ng_hci_cmds.c
705
le16toh(rp->num_acl_pkt), /* number */
sys/netgraph/bluetooth/hci/ng_hci_cmds.c
706
le16toh(rp->max_acl_size), /* size */
sys/netgraph/bluetooth/hci/ng_hci_cmds.c
707
le16toh(rp->num_acl_pkt) /* free */
sys/netgraph/bluetooth/hci/ng_hci_cmds.c
712
le16toh(rp->num_sco_pkt), /* number */
sys/netgraph/bluetooth/hci/ng_hci_cmds.c
714
le16toh(rp->num_sco_pkt) /* free */
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1048
h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1143
h = NG_HCI_CON_HANDLE(le16toh(h));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1148
p = le16toh(p);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1197
u_int16_t h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1253
u_int16_t h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1278
n->clock_offset = le16toh(ep->clock_offset);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1305
h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
546
con->con_handle = NG_HCI_CON_HANDLE(le16toh(ep->handle));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
667
n->clock_offset = le16toh(n->clock_offset);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
738
con->con_handle = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
909
h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
946
h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
997
h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph/bluetooth/hci/ng_hci_main.c
827
con_handle = NG_HCI_CON_HANDLE(le16toh(
sys/netgraph/bluetooth/hci/ng_hci_main.c
829
size = le16toh(mtod(m, ng_hci_acldata_pkt_t *)->length);
sys/netgraph/bluetooth/hci/ng_hci_main.c
946
con_handle = NG_HCI_CON_HANDLE(le16toh(
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
1035
dcid = le16toh(cp->dcid);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
1036
scid = le16toh(cp->scid);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
115
hdr->length = le16toh(hdr->length);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
116
hdr->dcid = le16toh(hdr->dcid);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
1180
type = le16toh(mtod(con->rx_pkt, ng_l2cap_info_req_cp *)->type);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
1230
cp->type = le16toh(cp->type);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
1231
cp->result = le16toh(cp->result);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
1259
le16toh(*mtod(con->rx_pkt,u_int16_t *));
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
1437
val->mtu = le16toh(val->mtu);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
1447
val->flush_timo = le16toh(val->flush_timo);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
187
hdr->length = le16toh(hdr->length);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
302
hdr->length = le16toh(hdr->length);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
394
cp->reason = le16toh(cp->reason);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
472
psm = le16toh(cp->psm);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
473
dcid = le16toh(cp->scid);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
535
dcid = le16toh(cp->dcid);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
536
scid = le16toh(cp->scid);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
537
result = le16toh(cp->result);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
538
status = le16toh(cp->status);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
661
dcid = le16toh(cp->dcid);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
662
respond = NG_L2CAP_OPT_CFLAG(le16toh(cp->flags));
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
794
scid = le16toh(cp->scid);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
795
cflag = NG_L2CAP_OPT_CFLAG(le16toh(cp->flags));
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
796
result = le16toh(cp->result);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
944
dcid = le16toh(cp->dcid);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
945
scid = le16toh(cp->scid);
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c
685
acl_hdr->con_handle = le16toh(acl_hdr->con_handle);
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c
688
length = le16toh(acl_hdr->length);
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c
745
le16toh(l2cap_hdr->length));
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c
749
con->rx_pkt_len = le16toh(l2cap_hdr->length)+sizeof(*l2cap_hdr);
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1132
hdr->c_h.psm = le16toh(hdr->c_h.psm);
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
685
opcode = le16toh(mtod(m, ng_hci_cmd_pkt_t *)->opcode);
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
2106
psm = le16toh(sa->l2cap_psm);
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
2193
if (pcb->psm != 0 && pcb->psm != le16toh(sa->l2cap_psm))
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
2208
pcb->psm = le16toh(sa->l2cap_psm);
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
1842
length = le16toh(length) >> 1;
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
2674
rpn->param_mask = le16toh(rpn->param_mask); /* XXX */
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
2799
pn->ack_timer, le16toh(pn->mtu), pn->max_retrans, pn->credits,
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
2922
pcb->mtu = le16toh(mtu);
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
745
con_handle = NG_HCI_CON_HANDLE(le16toh(hdr->con_handle));
sys/netsmb/smb.h
65
#define SMB_HDRMID(p) (le16toh(*(u_short*)((u_char*)(p) + 30)))
sys/powerpc/mpc85xx/pci_mpc85xx.c
471
data = le16toh(bus_space_read_2(sc->sc_bst, sc->sc_bsh,
sys/powerpc/powermac/dbdma.c
126
return (le16toh(chan->sc_slots[slot].resCount));
sys/powerpc/powermac/dbdma.c
142
return (le16toh(chan->sc_slots[slot].xferStatus));
sys/riscv/starfive/jh7110_pcie.c
183
data = le16toh(bus_read_2(sc->cfg_mem_res, offset));
tests/include/endian_test.c
76
#define O16(x) le16toh(x)
tests/include/endian_test.c
80
#define H16(x) le16toh(x)
tests/include/sys_endian_test.c
73
#define O16(x) le16toh(x)
tests/include/sys_endian_test.c
77
#define H16(x) le16toh(x)
tools/tools/net80211/stumbler/stumbler.c
602
le16toh(wpa->wpa_version) == WPA_VERSION) {
tools/tools/net80211/stumbler/stumbler.c
614
4 * le16toh(wpa->wpa_uciphercnt);
tools/tools/net80211/w00t/ap/ap.c
269
if (le16toh(*ptr) != 0) {
tools/tools/net80211/w00t/ap/ap.c
270
printf("Unknown auth algo %d\n", le16toh(*ptr));
tools/tools/net80211/w00t/ap/ap.c
274
if (le16toh(*ptr) == 1) {
tools/tools/net80211/w00t/ap/ap.c
279
printf("Weird seq in auth %d\n", le16toh(*ptr));
tools/tools/net80211/w00t/assoc/assoc.c
514
if (le16toh(*data) != 0) {
tools/tools/net80211/w00t/assoc/assoc.c
515
printf("Not open-system %d!\n", le16toh(*data));
tools/tools/net80211/w00t/assoc/assoc.c
521
if (le16toh(*data) != 2) {
tools/tools/net80211/w00t/assoc/assoc.c
522
printf("Got transaction %d!\n", le16toh(*data));
tools/tools/net80211/w00t/assoc/assoc.c
528
rc = le16toh(*data);
tools/tools/net80211/w00t/assoc/assoc.c
571
rc = le16toh(*data++);
tools/tools/net80211/w00t/assoc/assoc.c
578
p->aid = le16toh(*data & ~( (1 << 15) | (1 << 14)));
tools/tools/net80211/wesside/wesside/wesside.c
1026
time_print("Got deauth=%u\n", le16toh(*rc));
tools/tools/net80211/wesside/wesside/wesside.c
1069
unsigned int aid = le16toh(*sc) & 0x3FFF;
tools/tools/nvmf/nvmfd/io.c
550
if (le16toh(data->cntlid) != io_controller->cntlid) {
tools/tools/nvmf/nvmfd/io.c
651
connect_io_qpair(s, qp, nc, &data, le16toh(cmd->qid));
tools/tools/nvmf/nvmfdd/nvmfdd.c
281
status = le16toh(cqe->status);
usr.bin/gcore/elfcore.c
141
machine = le16toh(hdr.e_machine);
usr.sbin/bhyve/qemu_fwcfg.c
135
fwcfg_sc.selector.bits = le16toh(*eax);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1022
rp.settings = le16toh(rp.settings);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1312
rp.timeout = le16toh(rp.timeout);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1314
fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle));
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
254
le16toh(rp->max_num_keys));
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
256
le16toh(rp->num_keys_read));
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
473
rp.timeout = le16toh(rp.timeout);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
538
rp.timeout = le16toh(rp.timeout);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
665
rp.page_scan_interval = le16toh(rp.page_scan_interval);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
666
rp.page_scan_window = le16toh(rp.page_scan_window);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
746
rp.inquiry_scan_interval = le16toh(rp.inquiry_scan_interval);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
747
rp.inquiry_scan_window = le16toh(rp.inquiry_scan_window);
usr.sbin/bluetooth/hccontrol/info.c
155
le16toh(rp.max_acl_size));
usr.sbin/bluetooth/hccontrol/info.c
157
le16toh(rp.num_acl_pkt));
usr.sbin/bluetooth/hccontrol/info.c
161
le16toh(rp.num_sco_pkt));
usr.sbin/bluetooth/hccontrol/info.c
58
rp.manufacturer = le16toh(rp.manufacturer);
usr.sbin/bluetooth/hccontrol/info.c
63
le16toh(rp.hci_revision));
usr.sbin/bluetooth/hccontrol/info.c
67
le16toh(rp.lmp_subversion));
usr.sbin/bluetooth/hccontrol/le.c
1060
fprintf(stdout, "Handle: %d\n", le16toh(conn_event->handle));
usr.sbin/bluetooth/hccontrol/le.c
1076
6.25 * le16toh(conn_event->interval));
usr.sbin/bluetooth/hccontrol/le.c
1081
10 * le16toh(conn_event->supervision_timeout));
usr.sbin/bluetooth/hccontrol/le.c
1127
le16toh(rp.connection_handle));
usr.sbin/bluetooth/hccontrol/le.c
1201
le16toh(feat_event->connection_handle));
usr.sbin/bluetooth/hccontrol/link_control.c
164
le16toh(ir->clock_offset));
usr.sbin/bluetooth/hccontrol/link_control.c
280
le16toh(ep->con_handle));
usr.sbin/bluetooth/hccontrol/link_control.c
355
le16toh(ep->con_handle));
usr.sbin/bluetooth/hccontrol/link_control.c
435
le16toh(ep->con_handle));
usr.sbin/bluetooth/hccontrol/link_control.c
506
le16toh(ep->con_handle));
usr.sbin/bluetooth/hccontrol/link_control.c
508
le16toh(ep->pkt_type));
usr.sbin/bluetooth/hccontrol/link_control.c
663
le16toh(ep->con_handle));
usr.sbin/bluetooth/hccontrol/link_control.c
730
ep->manufacturer = le16toh(ep->manufacturer);
usr.sbin/bluetooth/hccontrol/link_control.c
733
le16toh(ep->con_handle));
usr.sbin/bluetooth/hccontrol/link_control.c
737
le16toh(ep->lmp_subversion));
usr.sbin/bluetooth/hccontrol/link_control.c
803
le16toh(ep->con_handle));
usr.sbin/bluetooth/hccontrol/link_control.c
805
le16toh(ep->clock_offset));
usr.sbin/bluetooth/hccontrol/link_policy.c
193
fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle));
usr.sbin/bluetooth/hccontrol/link_policy.c
194
fprintf(stdout, "Link policy settings: %#x\n", le16toh(rp.settings));
usr.sbin/bluetooth/hccontrol/link_policy.c
77
fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle));
usr.sbin/bluetooth/hccontrol/send_recv.c
108
cs->opcode = le16toh(cs->opcode);
usr.sbin/bluetooth/hccontrol/send_recv.c
92
cc->opcode = le16toh(cc->opcode);
usr.sbin/bluetooth/hccontrol/status.c
157
fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle));
usr.sbin/bluetooth/hccontrol/status.c
158
fprintf(stdout, "Link quality: %d\n", le16toh(rp.quality));
usr.sbin/bluetooth/hccontrol/status.c
199
fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle));
usr.sbin/bluetooth/hccontrol/status.c
76
fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle));
usr.sbin/bluetooth/hccontrol/status.c
77
fprintf(stdout, "Failed contact counter: %d\n", le16toh(rp.counter));
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
125
le16toh(ver->hw_platform),
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
126
le16toh(ver->hw_variant),
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
127
le16toh(ver->hw_revision),
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
128
le16toh(ver->fw_variant),
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
129
le16toh(ver->fw_revision),
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
130
le16toh(ver->fw_build_num),
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
131
le16toh(ver->fw_build_ww),
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
132
le16toh(ver->fw_build_yy),
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
142
le16toh(ver->hw_platform),
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
143
le16toh(ver->hw_variant),
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
152
le16toh(ver->hw_variant),
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
153
le16toh(params->dev_revid),
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
163
le16toh(ver->hw_variant),
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
164
le16toh(ver->hw_revision),
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
165
le16toh(ver->fw_revision),
usr.sbin/bluetooth/iwmbtfw/main.c
173
iwmbt_info("Device revision: %u", le16toh(params->dev_revid));
usr.sbin/bluetooth/rtlbtfw/main.c
265
rtlbt_info("hci_revision 0x%04x", le16toh(ver->hci_revision));
usr.sbin/bluetooth/rtlbtfw/main.c
267
rtlbt_info("lmp_subversion 0x%04x", le16toh(ver->lmp_subversion));
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
330
num_patches = le16toh(fw_header->num_patches);
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
422
num_subsecs = le16toh(hdr->num);
usr.sbin/btxld/btxld.c
311
btx->btx_pgctl = le16toh(btx->btx_pgctl);
usr.sbin/btxld/btxld.c
312
btx->btx_textsz = le16toh(btx->btx_textsz);
usr.sbin/btxld/btxld.c
365
for (n = i = 0; i < le16toh(ee->e_phnum); i++) {
usr.sbin/btxld/btxld.c
367
le16toh(ee->e_phentsize) * i);
usr.sbin/crunch/crunchide/exec_elf32.c
86
#define xe16toh(x) ((data == ELFDATA2MSB) ? be16toh(x) : le16toh(x))
usr.sbin/makefs/msdos/msdosfs_conv.c
488
u1 = le16toh(*w1);
usr.sbin/makefs/msdos/msdosfs_conv.c
489
u2 = le16toh(*w2);
usr.sbin/mpsutil/mps_cmd.c
299
if (!IOC_STATUS_SUCCESS(le16toh(reply.IOCStatus)))
usr.sbin/mpsutil/mps_cmd.c
322
if (!IOC_STATUS_SUCCESS(le16toh(reply.IOCStatus))) {
usr.sbin/mpsutil/mps_cmd.c
351
if (!IOC_STATUS_SUCCESS(le16toh(reply.IOCStatus))) {
usr.sbin/mpsutil/mps_cmd.c
353
*IOCStatus = le16toh(reply.IOCStatus);
usr.sbin/mpsutil/mps_cmd.c
398
reply.IOCStatus = le16toh(reply.IOCStatus);
usr.sbin/mpsutil/mps_cmd.c
443
len = le16toh(pagelen) * 4;
usr.sbin/mpsutil/mps_cmd.c
452
reply.IOCStatus = le16toh(reply.IOCStatus);
usr.sbin/mpsutil/mps_cmd.c
576
req.ioc_status = le16toh(req.ioc_status);
usr.sbin/mpsutil/mps_cmd.c
607
req.ioc_status = le16toh(req.ioc_status);
usr.sbin/mpsutil/mps_cmd.c
627
req.ioc_status = le16toh(req.ioc_status);
usr.sbin/mpsutil/mps_cmd.c
790
facts->MsgVersion = le16toh(facts->MsgVersion);
usr.sbin/mpsutil/mps_cmd.c
791
facts->HeaderVersion = le16toh(facts->HeaderVersion);
usr.sbin/mpsutil/mps_cmd.c
792
facts->Reserved1 = le16toh(facts->Reserved1);
usr.sbin/mpsutil/mps_cmd.c
793
facts->IOCExceptions = le16toh(facts->IOCExceptions);
usr.sbin/mpsutil/mps_cmd.c
794
facts->IOCStatus = le16toh(facts->IOCStatus);
usr.sbin/mpsutil/mps_cmd.c
796
facts->RequestCredit = le16toh(facts->RequestCredit);
usr.sbin/mpsutil/mps_cmd.c
797
facts->ProductID = le16toh(facts->ProductID);
usr.sbin/mpsutil/mps_cmd.c
800
le16toh(facts->IOCRequestFrameSize);
usr.sbin/mpsutil/mps_cmd.c
802
facts->MaxInitiators = le16toh(facts->MaxInitiators);
usr.sbin/mpsutil/mps_cmd.c
803
facts->MaxTargets = le16toh(facts->MaxTargets);
usr.sbin/mpsutil/mps_cmd.c
804
facts->MaxSasExpanders = le16toh(facts->MaxSasExpanders);
usr.sbin/mpsutil/mps_cmd.c
805
facts->MaxEnclosures = le16toh(facts->MaxEnclosures);
usr.sbin/mpsutil/mps_cmd.c
806
facts->ProtocolFlags = le16toh(facts->ProtocolFlags);
usr.sbin/mpsutil/mps_cmd.c
807
facts->HighPriorityCredit = le16toh(facts->HighPriorityCredit);
usr.sbin/mpsutil/mps_cmd.c
809
le16toh(facts->MaxReplyDescriptorPostQueueDepth);
usr.sbin/mpsutil/mps_cmd.c
810
facts->MaxDevHandle = le16toh(facts->MaxDevHandle);
usr.sbin/mpsutil/mps_cmd.c
812
le16toh(facts->MaxPersistentEntries);
usr.sbin/mpsutil/mps_cmd.c
813
facts->MinDevHandle = le16toh(facts->MinDevHandle);
usr.sbin/mpsutil/mps_flash.c
205
if (le16toh(fwheader->VendorID) != MPI2_MFGPAGE_VENDORID_LSI) {
usr.sbin/mpsutil/mps_flash.c
209
warnx(" Image Vendor ID: %04x", le16toh(fwheader->VendorID));
usr.sbin/mpsutil/mps_flash.c
216
if (le16toh(fwheader->ProductID) != facts->ProductID) {
usr.sbin/mpsutil/mps_flash.c
219
warnx(" Image Product ID: %04x", le16toh(fwheader->ProductID));
usr.sbin/mpsutil/mps_show.c
208
if (le16toh(phy0->AttachedDevHandle) != 0) {
usr.sbin/mpsutil/mps_show.c
210
le16toh(phy0->AttachedDevHandle));
usr.sbin/mpsutil/mps_show.c
212
le16toh(phy0->ControllerDevHandle));
usr.sbin/mpsutil/mps_show.c
555
handle = le16toh(device->DevHandle);
usr.sbin/mpsutil/mps_show.c
589
le16toh(device->ParentDevHandle), &IOCStatus);
usr.sbin/mpsutil/mps_show.c
608
snprintf(enchandle, sizeof(enchandle), "%04x", le16toh(device->EnclosureHandle));
usr.sbin/mpsutil/mps_show.c
609
snprintf(slot, sizeof(slot), "%02d", le16toh(device->Slot));
usr.sbin/mpsutil/mps_show.c
618
snprintf(buf, sizeof(buf), "%04x", le16toh(device->DevHandle));
usr.sbin/mpsutil/mps_show.c
620
snprintf(buf, sizeof(buf), "%04x", le16toh(device->ParentDevHandle));
usr.sbin/mpsutil/mps_show.c
664
type = get_enc_type(le16toh(enc->Flags), &issep);
usr.sbin/mpsutil/mps_show.c
668
snprintf(sepstr, sizeof(sepstr), "%04x", le16toh(enc->SEPDevHandle));
usr.sbin/mpsutil/mps_show.c
670
le16toh(enc->NumSlots), le32toh(enc->EnclosureLogicalID.High),
usr.sbin/mpsutil/mps_show.c
671
le32toh(enc->EnclosureLogicalID.Low), sepstr, le16toh(enc->EnclosureHandle),
usr.sbin/mpsutil/mps_show.c
673
handle = le16toh(enc->EnclosureHandle);
usr.sbin/mpsutil/mps_show.c
717
handle = le16toh(exp0->DevHandle);
usr.sbin/mpsutil/mps_show.c
722
snprintf(enchandle, sizeof(enchandle), "%04d", le16toh(exp0->EnclosureHandle));
usr.sbin/mpsutil/mps_show.c
726
snprintf(parent, sizeof(parent), "%04x", le16toh(exp0->ParentDevHandle));
usr.sbin/mpsutil/mps_show.c
729
le16toh(exp0->DevHandle), parent, enchandle, exp0->SASLevel);
usr.sbin/mpsutil/mps_show.c
757
le16toh(exp1->AttachedDevHandle));
usr.sbin/mpsutil/mps_show.c
827
len = le16toh(ehdr->ExtPageLength) * 4;