Symbol: le16toh
lib/libbluetooth/bluetooth.h
105
#define btohs(x) le16toh(x)
lib/libusb/libusb10.c
1576
return (le16toh(x));
lib/libusb/libusb10_io.c
713
+ le16toh(setup->wLength);
lib/libusb/usb.h
215
#define USB_LE16_TO_CPU(x) le16toh(x)
sbin/gpt/gpt.c
129
utfchar = le16toh(s16[s16idx++]);
sbin/gpt/gpt.c
135
low = le16toh(s16[s16idx]);
sbin/gpt/migrate.c
151
for (i = 0; i < le16toh(dl->d_npartitions); i++) {
sbin/gpt/migrate.c
161
for (i = 0; i < le16toh(dl->d_npartitions); i++) {
stand/boot/pc32/libi386/smbios.c
168
f2 = le16toh(SMBIOS_GET16(addr, 4));
stand/boot/pc32/libi386/smbios.c
169
f3 = le16toh(SMBIOS_GET16(addr, 6));
sys/bus/u4b/controller/ehci.h
412
return sc->sc_flags & EHCI_SCFLG_BIGEDESC ? be16toh(v) : le16toh(v);
sys/bus/u4b/controller/ehci.h
439
return le16toh(v);
sys/bus/u4b/controller/ohci.c
585
(uint32_t)le16toh(sitd->itd_offset[i]));
sys/bus/u4b/controller/ohci.c
740
len = le16toh(*olen);
sys/bus/u4b/input/wsp.c
897
if (le16toh(0x1234) != 0x1234) {
sys/bus/u4b/input/wsp.c
898
f->origin = le16toh((uint16_t)f->origin);
sys/bus/u4b/input/wsp.c
899
f->abs_x = le16toh((uint16_t)f->abs_x);
sys/bus/u4b/input/wsp.c
900
f->abs_y = le16toh((uint16_t)f->abs_y);
sys/bus/u4b/input/wsp.c
901
f->rel_x = le16toh((uint16_t)f->rel_x);
sys/bus/u4b/input/wsp.c
902
f->rel_y = le16toh((uint16_t)f->rel_y);
sys/bus/u4b/input/wsp.c
903
f->tool_major = le16toh((uint16_t)f->tool_major);
sys/bus/u4b/input/wsp.c
904
f->tool_minor = le16toh((uint16_t)f->tool_minor);
sys/bus/u4b/input/wsp.c
905
f->orientation = le16toh((uint16_t)f->orientation);
sys/bus/u4b/input/wsp.c
906
f->touch_major = le16toh((uint16_t)f->touch_major);
sys/bus/u4b/input/wsp.c
907
f->touch_minor = le16toh((uint16_t)f->touch_minor);
sys/bus/u4b/input/wsp.c
908
f->pressure = le16toh((uint16_t)f->pressure);
sys/bus/u4b/input/wsp.c
909
f->multi = le16toh((uint16_t)f->multi);
sys/bus/u4b/net/if_aue.c
333
return (le16toh(val));
sys/bus/u4b/net/if_axe.c
1055
len = le16toh(hdr.len);
sys/bus/u4b/net/if_axe.c
1073
csum_hdr.len = le16toh(csum_hdr.len);
sys/bus/u4b/net/if_axe.c
1074
csum_hdr.ilen = le16toh(csum_hdr.ilen);
sys/bus/u4b/net/if_axe.c
1075
csum_hdr.cstatus = le16toh(csum_hdr.cstatus);
sys/bus/u4b/net/if_axe.c
1439
rxmode = le16toh(rxmode);
sys/bus/u4b/net/if_axe.c
332
val = le16toh(val);
sys/bus/u4b/net/if_axe.c
496
rxmode = le16toh(rxmode);
sys/bus/u4b/net/if_axe.c
558
eeprom = le16toh(eeprom);
sys/bus/u4b/net/if_axe.c
767
sc->sc_pwrcfg = le16toh(eeprom) & 0xFF00;
sys/bus/u4b/net/if_axe.c
778
eeprom = le16toh(eeprom);
sys/bus/u4b/net/if_cue.c
225
return (le16toh(val));
sys/bus/u4b/net/if_udav.c
669
len = min(actlen, le16toh(stat.pktlen));
sys/bus/u4b/wlan/if_mtw.c
2486
len = le16toh(rxwi->len) & 0xfff;
sys/bus/u4b/wlan/if_mtw.c
2553
phy = le16toh(rxwi->phy);
sys/bus/u4b/wlan/if_mtw.c
2848
if (le16toh(txwi->phy) & MTW_PHY_SHPRE)
sys/bus/u4b/wlan/if_mtw.c
3090
qos = le16toh(*(const uint16_t *)frm);
sys/bus/u4b/wlan/if_rum.c
2389
val = le16toh(val);
sys/bus/u4b/wlan/if_rum.c
2399
val = le16toh(val);
sys/bus/u4b/wlan/if_rum.c
2407
val = le16toh(val);
sys/bus/u4b/wlan/if_rum.c
2416
val = le16toh(val);
sys/bus/u4b/wlan/if_rum.c
2433
val = le16toh(val);
sys/bus/u4b/wlan/if_run.c
1422
*val = le16toh(tmp);
sys/bus/u4b/wlan/if_run.c
2592
le16toh(sta[0].error.fail));
sys/bus/u4b/wlan/if_run.c
2594
retrycnt = le16toh(sta[1].tx.retry);
sys/bus/u4b/wlan/if_run.c
2595
success = le16toh(sta[1].tx.success);
sys/bus/u4b/wlan/if_run.c
2596
txcnt = retrycnt + success + le16toh(sta[0].error.fail);
sys/bus/u4b/wlan/if_run.c
2599
retrycnt, success, le16toh(sta[0].error.fail));
sys/bus/u4b/wlan/if_run.c
2777
len = le16toh(rxwi->len) & 0xfff;
sys/bus/u4b/wlan/if_run.c
2861
phy = le16toh(rxwi->phy);
sys/bus/u4b/wlan/if_run.c
3122
if (le16toh(txwi->phy) & RT2860_PHY_SHPRE)
sys/bus/u4b/wlan/if_run.c
3319
qos = le16toh(*(const uint16_t *)frm);
sys/bus/u4b/wlan/if_urtwn.c
1525
return (le16toh(val));
sys/bus/u4b/wlan/if_urtwn.c
3900
if ((le16toh(hdr->signature) >> 4) == 0x88c ||
sys/bus/u4b/wlan/if_urtwn.c
3901
(le16toh(hdr->signature) >> 4) == 0x88e ||
sys/bus/u4b/wlan/if_urtwn.c
3902
(le16toh(hdr->signature) >> 4) == 0x92c) {
sys/bus/u4b/wlan/if_urtwn.c
3905
le16toh(hdr->version), le16toh(hdr->subversion),
sys/dev/disk/ahci/ahci_cam.c
342
if (le16toh(at->at_identify.cmdset83) & 0x0400) {
sys/dev/disk/ahci/ahci_cam.c
348
le16toh(at->at_identify.addrsecxt[i]);
sys/dev/disk/ahci/ahci_cam.c
351
capacity = le16toh(at->at_identify.addrsec[1]);
sys/dev/disk/ahci/ahci_cam.c
353
capacity += le16toh(at->at_identify.addrsec[0]);
sys/dev/disk/ahci/ahci_cam.c
380
(le16toh(at->at_identify.satacap) & (1 << 8))) {
sys/dev/disk/ahci/ahci_cam.c
381
at->at_ncqdepth = (le16toh(at->at_identify.qdepth) & 0x1F) + 1;
sys/dev/disk/ahci/ahci_cam.c
674
mask = le16toh(at->at_identify.ultradma);
sys/dev/disk/mpt/mpt.c
1451
*data16++ = le16toh(data & MPT_DB_DATA_MASK);
sys/dev/disk/mpt/mpt.c
1460
*data16++ = le16toh(data & MPT_DB_DATA_MASK);
sys/dev/disk/mpt/mpt.c
1485
datum = le16toh(data & MPT_DB_DATA_MASK);
sys/dev/disk/mpt/mpt.c
1667
rslt->ExtPageLength = le16toh(cfgp->ExtPageLength);
sys/dev/disk/mpt/mpt.c
509
req->IOCStatus = le16toh(reply_frame->IOCStatus);
sys/dev/disk/mpt/mpt.c
559
msg->EventDataLength = le16toh(msg->EventDataLength);
sys/dev/disk/mpt/mpt.c
560
msg->IOCStatus = le16toh(msg->IOCStatus);
sys/dev/disk/mpt/mpt.h
232
#define MPT_2_HOST16(ptr, tag) ptr->tag = le16toh(ptr->tag)
sys/dev/disk/mpt/mpt_cam.c
2303
status = le16toh(mpt->tmf_req->IOCStatus);
sys/dev/disk/mpt/mpt_cam.c
2515
pqf->CurrentDepth = le16toh(pqf->CurrentDepth);
sys/dev/disk/mpt/mpt_cam.c
2739
req->IOCStatus = le16toh(tmf_reply->IOCStatus);
sys/dev/disk/mpt/mpt_cam.c
2743
req, req->serno, le16toh(tmf_reply->IOCStatus));
sys/dev/disk/mpt/mpt_cam.c
2844
U16 status = le16toh(reply_frame->IOCStatus);
sys/dev/disk/mpt/mpt_cam.c
2996
uint16_t rx_id = le16toh(rp->Rxid);
sys/dev/disk/mpt/mpt_cam.c
2997
uint16_t ox_id = le16toh(rp->Oxid);
sys/dev/disk/mpt/mpt_cam.c
3127
ioc_status = le16toh(scsi_io_reply->IOCStatus);
sys/dev/disk/mpt/mpt_cam.c
4087
status = le16toh(mpt->tmf_req->IOCStatus);
sys/dev/disk/mpt/mpt_cam.c
5379
status = le16toh(reply_frame->IOCStatus);
sys/dev/disk/mpt/mpt_cam.c
5437
cc, le16toh(abtrp->IOCStatus), le32toh(abtrp->AbortCount));
sys/dev/disk/mpt/mpt_cam.c
648
le16toh(buffer->PhyData[i].ControllerDevHandle);
sys/dev/disk/mpt/mpt_cam.c
690
phy_info->identify.dev_handle = le16toh(buffer->OwnerDevHandle);
sys/dev/disk/mpt/mpt_cam.c
691
phy_info->attached.dev_handle = le16toh(buffer->AttachedDevHandle);
sys/dev/disk/mpt/mpt_cam.c
732
device_info->dev_handle = le16toh(buffer->DevHandle);
sys/dev/disk/mpt/mpt_cam.c
733
device_info->parent_dev_handle = le16toh(buffer->ParentDevHandle);
sys/dev/disk/mpt/mpt_cam.c
734
device_info->enclosure_handle = le16toh(buffer->EnclosureHandle);
sys/dev/disk/mpt/mpt_cam.c
735
device_info->slot = le16toh(buffer->Slot);
sys/dev/disk/mpt/mpt_cam.c
834
status = le16toh(req->IOCStatus);
sys/dev/disk/mpt/mpt_cam.c
880
req->IOCStatus = le16toh(reply_frame->IOCStatus);
sys/dev/disk/mpt/mpt_raid.c
565
req->IOCStatus = le16toh(reply->IOCStatus);
sys/dev/disk/mpt/mpt_raid.c
581
action_result->action_status = le16toh(reply->ActionStatus);
sys/dev/disk/mpt/mpt_user.c
485
req->IOCStatus = le16toh(reply->IOCStatus);
sys/dev/disk/nata/ata-all.c
628
*ptr = le16toh(*ptr);
sys/dev/disk/sili/sili_cam.c
328
if (le16toh(at->at_identify.cmdset83) & 0x0400) {
sys/dev/disk/sili/sili_cam.c
334
le16toh(at->at_identify.addrsecxt[i]);
sys/dev/disk/sili/sili_cam.c
337
capacity = le16toh(at->at_identify.addrsec[1]);
sys/dev/disk/sili/sili_cam.c
339
capacity += le16toh(at->at_identify.addrsec[0]);
sys/dev/disk/sili/sili_cam.c
364
(le16toh(at->at_identify.satacap) & (1 << 8))) {
sys/dev/disk/sili/sili_cam.c
365
at->at_ncqdepth = (le16toh(at->at_identify.qdepth) & 0x1F) + 1;
sys/dev/disk/sili/sili_cam.c
633
mask = le16toh(at->at_identify.ultradma);
sys/dev/drm/include/linux/kernel.h
143
#define le16_to_cpu(x) le16toh(x)
sys/dev/netif/ae/if_ae.c
605
flags = le16toh(rxd->flags);
sys/dev/netif/ae/if_ae.c
609
size = le16toh(rxd->len) - ETHER_CRC_LEN;
sys/dev/netif/ae/if_ae.c
622
m->m_pkthdr.ether_vlantag = AE_RXD_VLAN(le16toh(rxd->vlan));
sys/dev/netif/ae/if_ae.c
646
flags = le16toh(rxd->flags);
sys/dev/netif/ae/if_ae.c
691
flags = le16toh(txs->flags);
sys/dev/netif/ae/if_ae.c
708
le16toh(txs->len), le16toh(txd->len));
sys/dev/netif/ae/if_ae.c
714
sc->txd_ack = ((sc->txd_ack + le16toh(txd->len) + 4 + 3) & ~3) %
sys/dev/netif/ath/ath/if_ath_tx.c
2571
baparamset = le16toh(ia->rq_baparamset);
sys/dev/netif/bwn/bwn/if_bwn.c
5470
len = le16toh(rxhdr->frame_len);
sys/dev/netif/bwn/bwn/if_bwn.c
5595
len = le16toh(rxhdr.frame_len);
sys/dev/netif/bwn/bwn/if_bwn.c
5858
phystat0 = le16toh(rxhdr->phy_status0);
sys/dev/netif/bwn/bwn/if_bwn.c
5859
phystat3 = le16toh(rxhdr->phy_status3);
sys/dev/netif/bwn/bwn/if_bwn.c
5863
chanstat = le16toh(rxhdr->channel);
sys/dev/netif/bwn/bwn/if_bwn.c
6904
tsf += le16toh(rxhdr->mac_time);
sys/dev/netif/bwn/bwn/if_bwn.c
6905
if (low_mactime_now < le16toh(rxhdr->mac_time))
sys/dev/netif/em/if_em.c
3692
desc_len = le16toh(current_desc->length);
sys/dev/netif/em/if_em.c
3775
(le16toh(current_desc->special) &
sys/dev/netif/emx/if_emx.c
3369
len = le16toh(current_desc->rxd_length);
sys/dev/netif/emx/if_emx.c
3386
vlan = le16toh(current_desc->rxd_vlan);
sys/dev/netif/igb/if_igb.c
2744
len = le16toh(cur->wb.upper.length);
sys/dev/netif/igb/if_igb.c
2750
vlan = le16toh(cur->wb.upper.vlan);
sys/dev/netif/iwi/if_iwi.c
1248
framelen = le16toh(frame->len);
sys/dev/netif/iwi/if_iwi.c
1258
le16toh(frame->len), frame->chan, frame->rssi,
sys/dev/netif/iwi/if_iwi.c
1264
le16toh(frame->len), frame->chan, frame->rssi, frame->rssi_dbm));
sys/dev/netif/iwi/if_iwi.c
1393
capinfo = le16toh(*(const uint16_t *)frm);
sys/dev/netif/iwi/if_iwi.c
1395
status = le16toh(*(const uint16_t *)frm);
sys/dev/netif/iwi/if_iwi.c
1397
associd = le16toh(*(const uint16_t *)frm);
sys/dev/netif/iwi/if_iwi.c
1429
len = le16toh(notif->len);
sys/dev/netif/iwi/if_iwi.c
1556
le16toh(notif->len) - sizeof(*assoc) - 1);
sys/dev/netif/iwi/if_iwi.c
1627
notif->type, notif->flags, le16toh(notif->len)));
sys/dev/netif/iwi/if_iwi.c
2014
ac, txq->cur, le16toh(desc->len), nsegs));
sys/dev/netif/iwi/if_iwi.c
2846
, le16toh(scan.dwell_time[IWI_SCAN_TYPE_PASSIVE])
sys/dev/netif/iwi/if_iwi.c
2847
, le16toh(scan.dwell_time[IWI_SCAN_TYPE_BROADCAST])
sys/dev/netif/iwi/if_iwi.c
2848
, le16toh(scan.dwell_time[IWI_SCAN_TYPE_BDIRECTED])
sys/dev/netif/iwi/if_iwi.c
3053
assoc->chan, le16toh(assoc->policy), assoc->auth,
sys/dev/netif/iwi/if_iwi.c
3054
le16toh(assoc->capinfo), le16toh(assoc->lintval),
sys/dev/netif/iwi/if_iwi.c
3055
le16toh(assoc->intval)));
sys/dev/netif/iwi/if_iwi.c
3061
assoc->chan, le16toh(assoc->policy), assoc->auth,
sys/dev/netif/iwi/if_iwi.c
3062
le16toh(assoc->capinfo), le16toh(assoc->lintval),
sys/dev/netif/iwi/if_iwi.c
3063
le16toh(assoc->intval)));
sys/dev/netif/iwm/if_iwm.c
1857
ret = le16toh(nvm_resp->status);
sys/dev/netif/iwm/if_iwm.c
1858
bytes_read = le16toh(nvm_resp->length);
sys/dev/netif/iwm/if_iwm.c
1859
offset_read = le16toh(nvm_resp->offset);
sys/dev/netif/iwm/if_iwm.c
2783
status = le16toh(palive->status);
sys/dev/netif/iwm/if_iwm.c
2788
status = le16toh(palive3->status);
sys/dev/netif/iwm/if_iwm.c
3221
len = le16toh(rx_res->byte_count);
sys/dev/netif/iwm/if_iwm.c
3259
le16toh(phy_info->channel),
sys/dev/netif/iwm/if_iwm.c
3260
le16toh(phy_info->phy_flags));
sys/dev/netif/iwm/if_iwm.c
3268
rxs.c_ieee = le16toh(phy_info->channel);
sys/dev/netif/iwm/if_iwm.c
3269
if (le16toh(phy_info->phy_flags & IWM_RX_RES_PHY_FLAGS_BAND_24)) {
sys/dev/netif/iwm/if_iwm.c
3342
len = le16toh(desc->mpdu_len);
sys/dev/netif/iwm/if_iwm.c
3343
phy_info = le16toh(desc->phy_info);
sys/dev/netif/iwm/if_iwm.c
3482
int status = le16toh(tx_resp->status.status) & IWM_TX_STATUS_MSK;
sys/dev/netif/iwm/if_iwm.c
3492
(int) le16toh(tx_resp->status.status),
sys/dev/netif/iwm/if_iwm.c
3493
(int) le16toh(tx_resp->status.sequence),
sys/dev/netif/iwm/if_iwm.c
3499
(int) le16toh(tx_resp->wireless_media_time));
sys/dev/netif/iwm/if_iwm.c
4014
iwm_update_sched(sc, ring->qid, ring->cur, tx->sta_id, le16toh(tx->len));
sys/dev/netif/iwm/if_iwm.c
5710
hw = le16toh(sc->rxq.stat->closed_rb_num) & 0xfff;
sys/dev/netif/iwm/if_iwm_phy_db.c
270
enum iwm_phy_db_section_type type = le16toh(phy_db_notif->type);
sys/dev/netif/iwm/if_iwm_phy_db.c
271
uint16_t size = le16toh(phy_db_notif->length);
sys/dev/netif/iwm/if_iwm_phy_db.c
279
chg_id = le16toh(*(uint16_t *)phy_db_notif->data);
sys/dev/netif/iwm/if_iwm_phy_db.c
293
chg_id = le16toh(*(uint16_t *)phy_db_notif->data);
sys/dev/netif/iwm/if_iwm_phy_db.c
389
if (le16toh(txp_chg->max_channel_idx) >= ch_index)
sys/dev/netif/iwm/if_iwm_power.c
202
cmd->id_and_color, iwm_power_scheme, le16toh(cmd->flags));
sys/dev/netif/iwm/if_iwm_power.c
204
"Keep alive = %u sec\n", le16toh(cmd->keep_alive_seconds));
sys/dev/netif/iwm/if_iwmreg.h
69
#define le16_to_cpup(_a_) (le16toh(*(const uint16_t *)(_a_)))
sys/dev/netif/iwn/if_iwn.c
1720
base = le16toh(next);
sys/dev/netif/iwn/if_iwn.c
2254
DPRINTF(sc, IWN_DEBUG_RESET, "SKU capabilities=0x%04x\n", le16toh(val));
sys/dev/netif/iwn/if_iwn.c
2260
sc->rfcfg = le16toh(val);
sys/dev/netif/iwn/if_iwn.c
2319
sc->eeprom_voltage = (int16_t)le16toh(val);
sys/dev/netif/iwn/if_iwn.c
2382
base = le16toh(val);
sys/dev/netif/iwn/if_iwn.c
2397
base = le16toh(val);
sys/dev/netif/iwn/if_iwn.c
2401
hdr.version, hdr.pa_type, le16toh(hdr.volt));
sys/dev/netif/iwn/if_iwn.c
2405
sc->eeprom_voltage = le16toh(hdr.volt);
sys/dev/netif/iwn/if_iwn.c
2407
sc->eeprom_temp_high=le16toh(val);
sys/dev/netif/iwn/if_iwn.c
2409
sc->eeprom_temp = le16toh(val);
sys/dev/netif/iwn/if_iwn.c
2415
sc->eeprom_temp = le16toh(val);
sys/dev/netif/iwn/if_iwn.c
2417
volt = le16toh(val);
sys/dev/netif/iwn/if_iwn.c
2665
base = le16toh(val);
sys/dev/netif/iwn/if_iwn.c
3078
len = le16toh(mpdu->len);
sys/dev/netif/iwn/if_iwn.c
3081
len = le16toh(stat->len);
sys/dev/netif/iwn/if_iwn.c
3266
qid = le16toh(ba->qid);
sys/dev/netif/iwn/if_iwn.c
3279
for (lastidx = le16toh(ba->ssn) & 0xff; txq->read != lastidx;) {
sys/dev/netif/iwn/if_iwn.c
3311
shift = wn->agg[tid].startidx - ((le16toh(ba->seq) >> 4) & 0xff);
sys/dev/netif/iwn/if_iwn.c
3499
__func__, desc->type, le16toh(desc->len));
sys/dev/netif/iwn/if_iwn.c
3508
iwn_stats_update(sc, calib, stats, le16toh(desc->len));
sys/dev/netif/iwn/if_iwn.c
3596
stat->rate, le16toh(stat->duration),
sys/dev/netif/iwn/if_iwn.c
3626
stat->rate, le16toh(stat->duration),
sys/dev/netif/iwn/if_iwn.c
3640
le16toh(stat->status) & 0xff);
sys/dev/netif/iwn/if_iwn.c
3815
if (le16toh(aggstatus[i * 2]) & 0xc)
sys/dev/netif/iwn/if_iwn.c
3818
idx = le16toh(aggstatus[2*i + 1]) & 0xff;
sys/dev/netif/iwn/if_iwn.c
3900
hw = le16toh(sc->rxq.stat->closed_count) & 0xfff;
sys/dev/netif/iwn/if_iwn.c
3913
le16toh(desc->len));
sys/dev/netif/iwn/if_iwn.c
5819
mask = (le16toh(phy->antenna) >> 4) & IWN_ANT_ABC;
sys/dev/netif/iwn/if_iwn.c
5820
agc = (le16toh(phy->agc) >> 7) & 0x7f;
sys/dev/netif/iwn/if_iwn.c
5848
rssi = MAX(le16toh(phy->rssi[0]) & 0xff,
sys/dev/netif/iwn/if_iwn.c
5849
le16toh(phy->rssi[1]) & 0xff);
sys/dev/netif/iwn/if_iwn.c
5850
rssi = MAX(le16toh(phy->rssi[2]) & 0xff, rssi);
sys/dev/netif/iwn/if_iwn.c
7366
tid = MS(le16toh(baparamset), IEEE80211_BAPS_TID);
sys/dev/netif/iwn/if_iwn.c
7367
ssn = MS(le16toh(baseqctl), IEEE80211_BASEQ_START);
sys/dev/netif/iwn/if_iwn.c
7787
le16toh(cmd.offset));
sys/dev/netif/iwn/if_iwn.c
7811
le16toh(cmd.offset_low),
sys/dev/netif/iwn/if_iwn.c
7812
le16toh(cmd.offset_high),
sys/dev/netif/iwn/if_iwn.c
7813
le16toh(cmd.burnt_voltage_ref));
sys/dev/netif/iwn/if_iwn.c
8290
switch (le16toh(tlv->type)) {
sys/dev/netif/iwn/if_iwn.c
8349
le16toh(tlv->type));
sys/dev/netif/iwn/if_iwn.c
8353
"TLV type %d not handled\n", le16toh(tlv->type));
sys/dev/netif/ix/if_ix.c
2974
len = le16toh(cur->wb.upper.length);
sys/dev/netif/ix/if_ix.c
3071
le16toh(cur->wb.upper.vlan);
sys/dev/netif/lnc/lancevar.h
133
#define LE_LE16TOH(v) (((sc)->sc_flags & LE_BSWAP) ? le16toh(v) : (v))
sys/dev/netif/nfe/if_nfe.c
1077
flags = le16toh(desc64->flags);
sys/dev/netif/nfe/if_nfe.c
1078
len = le16toh(desc64->length) & 0x3fff;
sys/dev/netif/nfe/if_nfe.c
1082
flags = le16toh(desc32->flags);
sys/dev/netif/nfe/if_nfe.c
1083
len = le16toh(desc32->length) & 0x3fff;
sys/dev/netif/nfe/if_nfe.c
1165
flags = le16toh(ring->desc64[ring->next].flags);
sys/dev/netif/nfe/if_nfe.c
1167
flags = le16toh(ring->desc32[ring->next].flags);
sys/dev/netif/oce/oce_if.h
1113
#define HOST_16(x) le16toh(x)
sys/dev/netif/ral/rt2860.c
1325
m->m_pkthdr.len = m->m_len = le16toh(rxwi->len) & 0xfff;
sys/dev/netif/ral/rt2860.c
1355
phy = le16toh(rxwi->phy);
sys/dev/netif/sk/if_sk.c
1843
csum1 = le16toh(cur_desc->sk_csum1);
sys/dev/netif/sk/if_sk.c
1844
csum2 = le16toh(cur_desc->sk_csum2);
sys/dev/netif/sk/if_sk.c
2894
DESC_PRINT(le16toh(desc->sk_rsvd0));
sys/dev/netif/sk/if_sk.c
2895
DESC_PRINT(le16toh(desc->sk_csum_startval));
sys/dev/netif/sk/if_sk.c
2896
DESC_PRINT(le16toh(desc->sk_csum_startpos));
sys/dev/netif/sk/if_sk.c
2897
DESC_PRINT(le16toh(desc->sk_csum_writepos));
sys/dev/netif/sk/if_sk.c
2898
DESC_PRINT(le16toh(desc->sk_rsvd1));
sys/dev/netif/stge/if_stge.c
715
myaddr[i] = le16toh(myaddr[i]);
sys/dev/netif/wi/if_wi.c
1226
val = le16toh(val);
sys/dev/netif/wi/if_wi.c
1307
status = le16toh(frmhdr.wi_status);
sys/dev/netif/wi/if_wi.c
1319
len = le16toh(frmhdr.wi_dat_len);
sys/dev/netif/wi/if_wi.c
1368
rstamp = (le16toh(frmhdr.wi_rx_tstamp0) << 16) |
sys/dev/netif/wi/if_wi.c
1369
le16toh(frmhdr.wi_rx_tstamp1);
sys/dev/netif/wi/if_wi.c
1409
u_int16_t status = le16toh(frmhdr.wi_status);
sys/dev/netif/wi/if_wi.c
1427
le16toh(frmhdr.wi_dat_len),
sys/dev/netif/wi/if_wi.c
1431
le16toh(frmhdr.wi_dat_len),
sys/dev/netif/wi/if_wi.c
1495
switch (le16toh(ltbuf[1])) {
sys/dev/netif/wi/if_wi.c
1498
DPRINTF(("wi_info_intr: LINK_STAT 0x%x\n", le16toh(stat)));
sys/dev/netif/wi/if_wi.c
1503
switch (le16toh(stat)) {
sys/dev/netif/wi/if_wi.c
1538
len = min(le16toh(ltbuf[0]) - 1, sizeof(sc->sc_stats) / 4);
sys/dev/netif/wi/if_wi.c
1552
le16toh(ltbuf[1]), le16toh(ltbuf[0])));
sys/dev/netif/wi/if_wi.c
1638
sc->sc_nic_id = le16toh(ver[0]);
sys/dev/netif/wi/if_wi.c
1663
sc->sc_pri_firmware_ver = le16toh(ver[2]) * 10000 +
sys/dev/netif/wi/if_wi.c
1664
le16toh(ver[3]) * 100 + le16toh(ver[1]);
sys/dev/netif/wi/if_wi.c
1671
sc->sc_sta_firmware_ver = le16toh(ver[2]) * 10000 +
sys/dev/netif/wi/if_wi.c
1672
le16toh(ver[3]) * 100 + le16toh(ver[1]);
sys/dev/netif/wi/if_wi.c
2004
if (le16toh(ltbuf[1]) != rid) {
sys/dev/netif/wi/if_wi.c
2006
rid, le16toh(ltbuf[1]));
sys/dev/netif/wi/if_wi.c
2009
len = (le16toh(ltbuf[0]) - 1) * 2; /* already got rid */
sys/dev/netif/wi/if_wi.c
437
nrates = le16toh(*(u_int16_t *)ratebuf);
sys/dev/netif/wi/if_wi.c
451
sc->sc_dbm_offset = le16toh(val);
sys/dev/netif/wpi/if_wpi.c
1393
sc->rev = le16toh(sc->rev);
sys/dev/netif/wpi/if_wpi.c
1592
group->temp = (int16_t)le16toh(rgroup.temp);
sys/dev/netif/wpi/if_wpi.c
1968
len = le16toh(head->len);
sys/dev/netif/wpi/if_wpi.c
2060
tap->wr_antenna = (le16toh(head->flags) >> 4) & 0xf;
sys/dev/netif/wpi/if_wpi.c
2187
if (le16toh(pcmd->flags) & WPI_PS_ALLOW_SLEEP) {
sys/dev/raid/iir/iir.h
726
return le16toh(*(u_int16_t *)addr);
sys/dev/raid/mpr/mpr.c
2247
sc_status = le16toh(mpi_reply->IOCStatus);
sys/dev/raid/mpr/mpr.c
2336
cm = &sc->commands[le16toh(desc->SCSIIOSuccess.SMID)];
sys/dev/raid/mpr/mpr.c
2378
if (le16toh(desc->AddressReply.SMID) == 0) {
sys/dev/raid/mpr/mpr.c
2390
if ((le16toh(rel_rep->IOCStatus) &
sys/dev/raid/mpr/mpr.c
2408
le16toh(desc->AddressReply.SMID)];
sys/dev/raid/mpr/mpr.c
2458
event = le16toh(reply->Event);
sys/dev/raid/mpr/mpr.c
2468
le16toh(event));
sys/dev/raid/mpr/mpr_config.c
1020
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
108
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
1093
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
1125
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/raid/mpr/mpr_config.c
1152
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
1227
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
1257
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/raid/mpr/mpr_config.c
1285
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
1356
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
1389
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/raid/mpr/mpr_config.c
140
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/raid/mpr/mpr_config.c
1416
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
1517
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
1547
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/raid/mpr/mpr_config.c
1575
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
167
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
240
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
272
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/raid/mpr/mpr_config.c
299
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
410
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
445
cm->cm_length = le16toh(request->ExtPageLength) * 4;
sys/dev/raid/mpr/mpr_config.c
471
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
548
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
583
cm->cm_length = le16toh(mpi_reply->ExtPageLength) * 4;
sys/dev/raid/mpr/mpr_config.c
611
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
685
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
719
cm->cm_length = le16toh(mpi_reply->ExtPageLength) * 4;
sys/dev/raid/mpr/mpr_config.c
746
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
822
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
856
cm->cm_length = le16toh(mpi_reply->ExtPageLength) * 4;
sys/dev/raid/mpr/mpr_config.c
883
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
959
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mpr/mpr_config.c
993
cm->cm_length = le16toh(mpi_reply->ExtPageLength) * 4;
sys/dev/raid/mpr/mpr_mapping.c
1143
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mpr/mpr_mapping.c
1191
phy_change->slot = le16toh(sas_device_pg0.Slot);
sys/dev/raid/mpr/mpr_mapping.c
1320
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mpr/mpr_mapping.c
1346
port_change->slot = le16toh(pcie_device_pg0.Slot);
sys/dev/raid/mpr/mpr_mapping.c
147
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/raid/mpr/mpr_mapping.c
149
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/raid/mpr/mpr_mapping.c
1495
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mpr/mpr_mapping.c
154
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/raid/mpr/mpr_mapping.c
156
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/raid/mpr/mpr_mapping.c
1584
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mpr/mpr_mapping.c
1589
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/raid/mpr/mpr_mapping.c
1841
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mpr/mpr_mapping.c
1846
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/raid/mpr/mpr_mapping.c
2119
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/raid/mpr/mpr_mapping.c
2121
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/raid/mpr/mpr_mapping.c
217
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/raid/mpr/mpr_mapping.c
219
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/raid/mpr/mpr_mapping.c
2215
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mpr/mpr_mapping.c
2216
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/raid/mpr/mpr_mapping.c
223
dpm_entry->MappingInformation = le16toh(dpm_entry->MappingInformation);
sys/dev/raid/mpr/mpr_mapping.c
224
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/raid/mpr/mpr_mapping.c
2247
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/raid/mpr/mpr_mapping.c
2251
dev_idx = le16toh(dpm_entry->DeviceIndex);
sys/dev/raid/mpr/mpr_mapping.c
2401
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mpr/mpr_mapping.c
244
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mpr/mpr_mapping.c
246
volume_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/raid/mpr/mpr_mapping.c
2557
uint16_t ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mpr/mpr_mapping.c
2746
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mpr/mpr_mapping.c
2763
le16toh(event_data->EnclosureHandle));
sys/dev/raid/mpr/mpr_mapping.c
2789
et_entry->enc_handle = le16toh(event_data->
sys/dev/raid/mpr/mpr_mapping.c
2791
et_entry->start_slot = le16toh(event_data->StartSlot);
sys/dev/raid/mpr/mpr_mapping.c
2834
et_entry->enc_handle = le16toh(event_data->
sys/dev/raid/mpr/mpr_mapping.c
2843
et_entry->num_slots = le16toh(event_data->NumSlots);
sys/dev/raid/mpr/mpr_mapping.c
2844
et_entry->start_slot = le16toh(event_data->StartSlot);
sys/dev/raid/mpr/mpr_mapping.c
2856
le16toh(event_data->EnclosureHandle));
sys/dev/raid/mpr/mpr_mapping.c
2900
topo_change.enc_handle = le16toh(event_data->EnclosureHandle);
sys/dev/raid/mpr/mpr_mapping.c
2901
topo_change.exp_handle = le16toh(event_data->ExpanderDevHandle);
sys/dev/raid/mpr/mpr_mapping.c
2918
phy_change->dev_handle = le16toh(event_phy_change->
sys/dev/raid/mpr/mpr_mapping.c
2951
topo_change.switch_dev_handle = le16toh(event_data->SwitchDevHandle);
sys/dev/raid/mpr/mpr_mapping.c
2952
topo_change.enc_handle = le16toh(event_data->EnclosureHandle);
sys/dev/raid/mpr/mpr_mapping.c
2969
port_change->dev_handle = le16toh(event_port_change->
sys/dev/raid/mpr/mpr_mapping.c
3015
element_flags = le16toh(element->ElementFlags);
sys/dev/raid/mpr/mpr_mapping.c
3026
le16toh(element->VolDevHandle), &wwid_table[i]);
sys/dev/raid/mpr/mpr_mapping.c
3054
mt_entry->dev_handle = le16toh
sys/dev/raid/mpr/mpr_mapping.c
3079
le16toh(element->VolDevHandle));
sys/dev/raid/mpr/mpr_mapping.c
3085
mt_entry->dev_handle = le16toh(element->
sys/dev/raid/mpr/mpr_mapping.c
3107
le16toh(element->VolDevHandle));
sys/dev/raid/mpr/mpr_mapping.c
3113
le16toh(element->VolDevHandle));
sys/dev/raid/mpr/mpr_mapping.c
347
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mpr/mpr_mapping.c
517
volume_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/raid/mpr/mpr_mapping.c
803
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mpr/mpr_mapping.c
925
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/raid/mpr/mpr_mapping.c
930
vol_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/raid/mpr/mpr_sas.c
1321
le16toh(reply->IOCStatus), le32toh(reply->ResponseCode),
sys/dev/raid/mpr/mpr_sas.c
1398
tm, le16toh(req->TaskMID));
sys/dev/raid/mpr/mpr_sas.c
1417
le16toh(reply->IOCStatus), le32toh(reply->ResponseCode),
sys/dev/raid/mpr/mpr_sas.c
1540
tm->cm_flags, tm, le16toh(req->TaskMID));
sys/dev/raid/mpr/mpr_sas.c
1548
tm, le16toh(req->TaskMID));
sys/dev/raid/mpr/mpr_sas.c
1566
le16toh(req->TaskMID),
sys/dev/raid/mpr/mpr_sas.c
1567
le16toh(reply->IOCStatus), le32toh(reply->ResponseCode),
sys/dev/raid/mpr/mpr_sas.c
1580
} else if (le16toh(req->TaskMID) != cm->cm_desc.Default.SMID) {
sys/dev/raid/mpr/mpr_sas.c
2237
u16 ioc_status = le16toh(mpi_reply->IOCStatus) &
sys/dev/raid/mpr/mpr_sas.c
2254
le16toh(mpi_reply->DevHandle), desc_ioc_state, ioc_status);
sys/dev/raid/mpr/mpr_sas.c
2479
if (le16toh(mpi_reply->ErrorResponseCount)){
sys/dev/raid/mpr/mpr_sas.c
2542
le16toh(rep->IOCStatus), rep->SCSIStatus,
sys/dev/raid/mpr/mpr_sas.c
2553
cm, cm->cm_ccb, le16toh(rep->IOCStatus),
sys/dev/raid/mpr/mpr_sas.c
2669
le16toh(rep->IOCStatus), rep->SCSIStatus, rep->SCSIState,
sys/dev/raid/mpr/mpr_sas.c
2672
switch (le16toh(rep->IOCStatus) & MPI2_IOCSTATUS_MASK) {
sys/dev/raid/mpr/mpr_sas.c
2678
if ((le16toh(rep->IOCStatus) & MPI2_IOCSTATUS_MASK) ==
sys/dev/raid/mpr/mpr_sas.c
2857
le16toh(rep->IOCStatus) & MPI2_IOCSTATUS_MASK),
sys/dev/raid/mpr/mpr_sas.c
2878
le16toh(rep->IOCStatus), le32toh(rep->IOCLogInfo),
sys/dev/raid/mpr/mpr_sas.c
2948
if ((le16toh(rpl->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/raid/mpr/mpr_sas.c
2952
__func__, le16toh(rpl->IOCStatus), rpl->SASStatus);
sys/dev/raid/mpr/mpr_sas.c
3153
cm->cm_iovec[0].iov_len = le16toh(req->RequestDataLength);
sys/dev/raid/mpr/mpr_sas.c
3413
__func__, le16toh(resp->IOCStatus), le32toh(resp->ResponseCode));
sys/dev/raid/mpr/mpr_sas.c
3876
else if (le16toh(reply->IOCStatus & MPI2_IOCSTATUS_MASK) !=
sys/dev/raid/mpr/mpr_sas.c
391
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/raid/mpr/mpr_sas.c
394
"device 0x%x\n", le16toh(reply->IOCStatus), handle);
sys/dev/raid/mpr/mpr_sas.c
411
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) ==
sys/dev/raid/mpr/mpr_sas.c
590
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/raid/mpr/mpr_sas.c
593
"device 0x%x\n", le16toh(reply->IOCStatus), handle);
sys/dev/raid/mpr/mpr_sas.c
666
__func__, handle, le16toh(reply->IOCStatus));
sys/dev/raid/mpr/mpr_sas.c
674
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) ==
sys/dev/raid/mpr/mpr_sas_lsi.c
1051
ioc_status = le16toh(mpi_reply.IOCStatus)
sys/dev/raid/mpr/mpr_sas_lsi.c
1195
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/raid/mpr/mpr_sas_lsi.c
1292
&& (le16toh(config_page.ParentDevHandle) != 0)) {
sys/dev/raid/mpr/mpr_sas_lsi.c
1298
le16toh(config_page.ParentDevHandle)))) {
sys/dev/raid/mpr/mpr_sas_lsi.c
1300
__func__, le16toh(config_page.ParentDevHandle));
sys/dev/raid/mpr/mpr_sas_lsi.c
1343
targ->encl_handle = le16toh(config_page.EnclosureHandle);
sys/dev/raid/mpr/mpr_sas_lsi.c
1344
targ->encl_slot = le16toh(config_page.Slot);
sys/dev/raid/mpr/mpr_sas_lsi.c
1358
targ->parent_handle = le16toh(config_page.ParentDevHandle);
sys/dev/raid/mpr/mpr_sas_lsi.c
1365
if ((le16toh(config_page.Flags) &
sys/dev/raid/mpr/mpr_sas_lsi.c
1367
(le16toh(config_page.Flags) &
sys/dev/raid/mpr/mpr_sas_lsi.c
148
sz = le16toh(event->EventDataLength) * 4;
sys/dev/raid/mpr/mpr_sas_lsi.c
1599
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mpr/mpr_sas_lsi.c
1617
volume_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/raid/mpr/mpr_sas_lsi.c
221
le16toh(phy->AttachedDevHandle),
sys/dev/raid/mpr/mpr_sas_lsi.c
226
le16toh(phy->AttachedDevHandle));
sys/dev/raid/mpr/mpr_sas_lsi.c
227
mprsas_prepare_remove(sassc, le16toh(
sys/dev/raid/mpr/mpr_sas_lsi.c
232
mprsas_prepare_remove(sassc, le16toh(
sys/dev/raid/mpr/mpr_sas_lsi.c
296
elementType = le16toh(element->ElementFlags) &
sys/dev/raid/mpr/mpr_sas_lsi.c
357
if (reply && (le16toh(reply->IOCStatus) &
sys/dev/raid/mpr/mpr_sas_lsi.c
363
le16toh(reply->IOCStatus));
sys/dev/raid/mpr/mpr_sas_lsi.c
378
le16toh(element->VolDevHandle))) {
sys/dev/raid/mpr/mpr_sas_lsi.c
381
__func__, le16toh(element->
sys/dev/raid/mpr/mpr_sas_lsi.c
396
le16toh(element->
sys/dev/raid/mpr/mpr_sas_lsi.c
438
le16toh(element->PhysDiskDevHandle), 0)) {
sys/dev/raid/mpr/mpr_sas_lsi.c
441
le16toh(element->
sys/dev/raid/mpr/mpr_sas_lsi.c
444
le16toh(element->
sys/dev/raid/mpr/mpr_sas_lsi.c
472
le16toh(event_data->VolDevHandle));
sys/dev/raid/mpr/mpr_sas_lsi.c
479
le16toh(event_data->VolDevHandle));
sys/dev/raid/mpr/mpr_sas_lsi.c
486
le16toh(event_data->VolDevHandle));
sys/dev/raid/mpr/mpr_sas_lsi.c
511
le16toh(event_data->
sys/dev/raid/mpr/mpr_sas_lsi.c
515
__func__, le16toh(
sys/dev/raid/mpr/mpr_sas_lsi.c
546
le16toh(event_data->PhysDiskDevHandle),
sys/dev/raid/mpr/mpr_sas_lsi.c
547
le16toh(event_data->EnclosureHandle),
sys/dev/raid/mpr/mpr_sas_lsi.c
548
le16toh(event_data->Slot));
sys/dev/raid/mpr/mpr_sas_lsi.c
557
le16toh(event_data->PhysDiskDevHandle),
sys/dev/raid/mpr/mpr_sas_lsi.c
558
le16toh(event_data->EnclosureHandle),
sys/dev/raid/mpr/mpr_sas_lsi.c
559
le16toh(event_data->Slot));
sys/dev/raid/mpr/mpr_sas_lsi.c
568
le16toh(event_data->PhysDiskDevHandle),
sys/dev/raid/mpr/mpr_sas_lsi.c
569
le16toh(event_data->EnclosureHandle),
sys/dev/raid/mpr/mpr_sas_lsi.c
570
le16toh(event_data->Slot));
sys/dev/raid/mpr/mpr_sas_lsi.c
625
le16toh(event_data->VolDevHandle));
sys/dev/raid/mpr/mpr_sas_lsi.c
731
handle = le16toh(port_entry->AttachedDevHandle);
sys/dev/raid/mpr/mpr_sas_lsi.c
828
&& (le16toh(config_page.ParentDevHandle) != 0)) {
sys/dev/raid/mpr/mpr_sas_lsi.c
834
le16toh(config_page.ParentDevHandle)) != 0) {
sys/dev/raid/mpr/mpr_sas_lsi.c
838
le16toh(config_page.ParentDevHandle),
sys/dev/raid/mpr/mpr_sas_lsi.c
929
targ->encl_handle = le16toh(config_page.EnclosureHandle);
sys/dev/raid/mpr/mpr_sas_lsi.c
930
targ->encl_slot = le16toh(config_page.Slot);
sys/dev/raid/mpr/mpr_sas_lsi.c
937
targ->parent_handle = le16toh(config_page.ParentDevHandle);
sys/dev/raid/mpr/mpr_sas_lsi.c
947
if ((le16toh(config_page.Flags) &
sys/dev/raid/mpr/mpr_sas_lsi.c
949
(le16toh(config_page.Flags) &
sys/dev/raid/mpr/mpr_sas_lsi.c
954
if (le16toh(config_page.Flags) &
sys/dev/raid/mpr/mpr_user.c
1319
if ((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/raid/mpr/mpr_user.c
1325
le16toh(reply->IOCStatus), le32toh(reply->IOCLogInfo),
sys/dev/raid/mpr/mpr_user.c
1412
if (((le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) !=
sys/dev/raid/mpr/mpr_user.c
1417
__func__, le16toh(reply->IOCStatus),
sys/dev/raid/mps/mps_config.c
102
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
1054
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
1084
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/raid/mps/mps_config.c
1107
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
1174
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
1204
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/raid/mps/mps_config.c
1227
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
131
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/raid/mps/mps_config.c
1319
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
1349
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/raid/mps/mps_config.c
1372
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
153
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
220
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
249
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/raid/mps/mps_config.c
271
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
570
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
602
cm->cm_length = le16toh(request->ExtPageLength) * 4;
sys/dev/raid/mps/mps_config.c
624
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
693
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
725
cm->cm_length = le16toh(mpi_reply->ExtPageLength) * 4;
sys/dev/raid/mps/mps_config.c
749
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
816
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
847
cm->cm_length = le16toh(mpi_reply->ExtPageLength) * 4;
sys/dev/raid/mps/mps_config.c
870
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
936
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_config.c
965
cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
sys/dev/raid/mps/mps_config.c
988
ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
sys/dev/raid/mps/mps_mapping.c
1042
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mps/mps_mapping.c
1124
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mps/mps_mapping.c
1129
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/raid/mps/mps_mapping.c
1372
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/raid/mps/mps_mapping.c
1374
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/raid/mps/mps_mapping.c
143
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/raid/mps/mps_mapping.c
145
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/raid/mps/mps_mapping.c
1468
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mps/mps_mapping.c
1469
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/raid/mps/mps_mapping.c
1491
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/raid/mps/mps_mapping.c
1495
dev_idx = le16toh(dpm_entry->DeviceIndex);
sys/dev/raid/mps/mps_mapping.c
150
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/raid/mps/mps_mapping.c
152
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/raid/mps/mps_mapping.c
1601
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mps/mps_mapping.c
1726
uint16_t ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mps/mps_mapping.c
1904
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mps/mps_mapping.c
1921
le16toh(event_data->EnclosureHandle));
sys/dev/raid/mps/mps_mapping.c
1938
et_entry->enc_handle = le16toh(event_data->
sys/dev/raid/mps/mps_mapping.c
1940
et_entry->start_slot = le16toh(event_data->StartSlot);
sys/dev/raid/mps/mps_mapping.c
197
dpm_entry->MappingInformation = le16toh(dpm_entry->
sys/dev/raid/mps/mps_mapping.c
1976
et_entry->enc_handle = le16toh(event_data->
sys/dev/raid/mps/mps_mapping.c
1984
et_entry->num_slots = le16toh(event_data->NumSlots);
sys/dev/raid/mps/mps_mapping.c
1985
et_entry->start_slot = le16toh(event_data->StartSlot);
sys/dev/raid/mps/mps_mapping.c
199
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/raid/mps/mps_mapping.c
1992
le16toh(event_data->EnclosureHandle));
sys/dev/raid/mps/mps_mapping.c
203
dpm_entry->MappingInformation = le16toh(dpm_entry->MappingInformation);
sys/dev/raid/mps/mps_mapping.c
204
dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
sys/dev/raid/mps/mps_mapping.c
2041
topo_change.enc_handle = le16toh(event_data->EnclosureHandle);
sys/dev/raid/mps/mps_mapping.c
2042
topo_change.exp_handle = le16toh(event_data->ExpanderDevHandle);
sys/dev/raid/mps/mps_mapping.c
2059
phy_change->dev_handle = le16toh(event_phy_change->
sys/dev/raid/mps/mps_mapping.c
2108
element_flags = le16toh(element->ElementFlags);
sys/dev/raid/mps/mps_mapping.c
2162
element_flags = le16toh(element->ElementFlags);
sys/dev/raid/mps/mps_mapping.c
2173
le16toh(element->VolDevHandle), &wwid_table[i]);
sys/dev/raid/mps/mps_mapping.c
2198
mt_entry->dev_handle = le16toh
sys/dev/raid/mps/mps_mapping.c
2218
"mapping table\n", __func__, le16toh
sys/dev/raid/mps/mps_mapping.c
2226
mt_entry->dev_handle = le16toh(element->
sys/dev/raid/mps/mps_mapping.c
224
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mps/mps_mapping.c
2248
le16toh(element->VolDevHandle));
sys/dev/raid/mps/mps_mapping.c
2253
le16toh(element->VolDevHandle));
sys/dev/raid/mps/mps_mapping.c
226
volume_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/raid/mps/mps_mapping.c
327
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mps/mps_mapping.c
485
volume_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/raid/mps/mps_mapping.c
649
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mps/mps_mapping.c
686
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mps/mps_mapping.c
754
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/raid/mps/mps_mapping.c
759
vol_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/raid/mps/mps_mapping.c
884
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mps/mps_mapping.c
940
phy_change->slot = le16toh(sas_device_pg0.Slot);
sys/dev/raid/mps/mps_sas_lsi.c
140
sz = le16toh(event->EventDataLength) * 4;
sys/dev/raid/mps/mps_sas_lsi.c
288
if (mpssas_volume_add(sc, le16toh(element->VolDevHandle))) {
sys/dev/raid/mps/mps_sas_lsi.c
291
__func__, le16toh(element->
sys/dev/raid/mps/mps_sas_lsi.c
406
if (mpssas_volume_add(sc, le16toh(event_data->VolDevHandle))) {
sys/dev/raid/mps/mps_sas_lsi.c
409
__func__, le16toh(event_data->
sys/dev/raid/mps/mps_sas_lsi.c
588
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mps/mps_sas_lsi.c
612
le16toh(config_page.ParentDevHandle)))) {
sys/dev/raid/mps/mps_sas_lsi.c
614
__func__, le16toh(config_page.ParentDevHandle));
sys/dev/raid/mps/mps_sas_lsi.c
658
targ->encl_handle = le16toh(config_page.EnclosureHandle);
sys/dev/raid/mps/mps_sas_lsi.c
659
targ->encl_slot = le16toh(config_page.Slot);
sys/dev/raid/mps/mps_sas_lsi.c
661
targ->parent_handle = le16toh(config_page.ParentDevHandle);
sys/dev/raid/mps/mps_sas_lsi.c
703
ioc_status = le16toh(mpi_reply.IOCStatus)
sys/dev/raid/mps/mps_sas_lsi.c
876
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/raid/mps/mps_sas_lsi.c
894
volume_mapping_flags = le16toh(sc->ioc_pg8.IRVolumeMappingFlags) &
sys/dev/raid/mps/mps_table.c
476
"Address=0x%x\n", sgc->Flags, le16toh(sgc->Length),
sys/dev/virtual/virtio/balloon/virtio_balloon.c
482
sc->vtballoon_stats[idx].tag = le16toh(tag);
sys/kern/libmchain/subr_mchain.c
390
*x = le16toh(v);
sys/kern/subr_diskgpt.c
194
sent.ent_name[j] = le16toh(ent->ent_name[j]);
sys/netbt/bluetooth.h
155
#define letoh16(x) le16toh(x)
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
890
c = le16toh(mtod(sc->m,
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
461
c = le16toh(((ng_hci_acldata_pkt_t *)
sys/netgraph7/bluetooth/drivers/ubt/ng_ubt.c
946
len = le16toh(hdr->length);
sys/netgraph7/bluetooth/hci/ng_hci_cmds.c
191
ep->opcode = le16toh(ep->opcode);
sys/netgraph7/bluetooth/hci/ng_hci_cmds.c
287
ep->opcode = le16toh(ep->opcode);
sys/netgraph7/bluetooth/hci/ng_hci_cmds.c
406
opcode = le16toh(mtod(m, ng_hci_cmd_pkt_t *)->opcode);
sys/netgraph7/bluetooth/hci/ng_hci_cmds.c
497
h = NG_HCI_CON_HANDLE(le16toh(rp->con_handle));
sys/netgraph7/bluetooth/hci/ng_hci_cmds.c
691
le16toh(rp->num_acl_pkt), /* number */
sys/netgraph7/bluetooth/hci/ng_hci_cmds.c
692
le16toh(rp->max_acl_size), /* size */
sys/netgraph7/bluetooth/hci/ng_hci_cmds.c
693
le16toh(rp->num_acl_pkt) /* free */
sys/netgraph7/bluetooth/hci/ng_hci_cmds.c
698
le16toh(rp->num_sco_pkt), /* number */
sys/netgraph7/bluetooth/hci/ng_hci_cmds.c
700
le16toh(rp->num_sco_pkt) /* free */
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
1005
u_int16_t h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
1029
n->clock_offset = le16toh(ep->clock_offset);
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
1056
h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
423
n->clock_offset = le16toh(n->clock_offset);
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
494
con->con_handle = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
665
h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
703
u_int16_t h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
750
h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
800
h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
895
h = NG_HCI_CON_HANDLE(le16toh(h));
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
900
p = le16toh(p);
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
949
u_int16_t h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
sys/netgraph7/bluetooth/hci/ng_hci_main.c
814
con_handle = NG_HCI_CON_HANDLE(le16toh(
sys/netgraph7/bluetooth/hci/ng_hci_main.c
816
size = le16toh(mtod(m, ng_hci_acldata_pkt_t *)->length);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
934
con_handle = NG_HCI_CON_HANDLE(le16toh(
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
1059
type = le16toh(mtod(con->rx_pkt, ng_l2cap_info_req_cp *)->type);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
108
hdr->length = le16toh(hdr->length);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
109
hdr->dcid = le16toh(hdr->dcid);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
1109
cp->type = le16toh(cp->type);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
1110
cp->result = le16toh(cp->result);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
1138
le16toh(*mtod(con->rx_pkt,u_int16_t *));
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
1289
val->mtu = le16toh(val->mtu);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
1299
val->flush_timo = le16toh(val->flush_timo);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
177
hdr->length = le16toh(hdr->length);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
285
cp->reason = le16toh(cp->reason);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
362
psm = le16toh(cp->psm);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
363
dcid = le16toh(cp->scid);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
416
dcid = le16toh(cp->dcid);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
417
scid = le16toh(cp->scid);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
418
result = le16toh(cp->result);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
419
status = le16toh(cp->status);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
539
dcid = le16toh(cp->dcid);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
540
respond = NG_L2CAP_OPT_CFLAG(le16toh(cp->flags));
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
673
scid = le16toh(cp->scid);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
674
cflag = NG_L2CAP_OPT_CFLAG(le16toh(cp->flags));
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
675
result = le16toh(cp->result);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
823
dcid = le16toh(cp->dcid);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
824
scid = le16toh(cp->scid);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
914
dcid = le16toh(cp->dcid);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
915
scid = le16toh(cp->scid);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_llpi.c
627
acl_hdr->con_handle = le16toh(acl_hdr->con_handle);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_llpi.c
630
length = le16toh(acl_hdr->length);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_llpi.c
686
le16toh(l2cap_hdr->length));
sys/netgraph7/bluetooth/l2cap/ng_l2cap_llpi.c
690
con->rx_pkt_len = le16toh(l2cap_hdr->length)+sizeof(*l2cap_hdr);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_ulpi.c
991
hdr->c_h.psm = le16toh(hdr->c_h.psm);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
679
opcode = le16toh(mtod(m, ng_hci_cmd_pkt_t *)->opcode);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
2064
psm = le16toh(sa->l2cap_psm);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
2144
if (pcb->psm != 0 && pcb->psm != le16toh(sa->l2cap_psm)) {
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
2162
pcb->psm = le16toh(sa->l2cap_psm);
sys/netgraph7/bluetooth/socket/ng_btsocket_rfcomm.c
1938
length = le16toh(length) >> 1;
sys/netgraph7/bluetooth/socket/ng_btsocket_rfcomm.c
2771
rpn->param_mask = le16toh(rpn->param_mask); /* XXX */
sys/netgraph7/bluetooth/socket/ng_btsocket_rfcomm.c
2896
pn->ack_timer, le16toh(pn->mtu), pn->max_retrans, pn->credits,
sys/netgraph7/bluetooth/socket/ng_btsocket_rfcomm.c
3019
pcb->mtu = le16toh(mtu);
sys/netproto/802_11/ieee80211_input.h
168
rxseq = le16toh(*(uint16_t *)wh->i_seq);
sys/netproto/802_11/wlan/ieee80211_hostap.c
1878
algo = le16toh(*(uint16_t *)frm);
sys/netproto/802_11/wlan/ieee80211_hostap.c
1879
seq = le16toh(*(uint16_t *)(frm + 2));
sys/netproto/802_11/wlan/ieee80211_hostap.c
1880
status = le16toh(*(uint16_t *)(frm + 4));
sys/netproto/802_11/wlan/ieee80211_hostap.c
1977
capinfo = le16toh(*(uint16_t *)frm); frm += 2;
sys/netproto/802_11/wlan/ieee80211_hostap.c
1978
lintval = le16toh(*(uint16_t *)frm); frm += 2;
sys/netproto/802_11/wlan/ieee80211_hostap.c
2189
reason = le16toh(*(uint16_t *)frm);
sys/netproto/802_11/wlan/ieee80211_hostap.c
2283
aid = le16toh(*(uint16_t *)wh->i_dur);
sys/netproto/802_11/wlan/ieee80211_ht.c
1009
rxseq = le16toh(wh->i_seq) >> IEEE80211_SEQ_SEQ_SHIFT;
sys/netproto/802_11/wlan/ieee80211_ht.c
818
rxseq = le16toh(*(uint16_t *)wh->i_seq);
sys/netproto/802_11/wlan/ieee80211_ht.c
996
tid = MS(le16toh(wh->i_ctl), IEEE80211_BAR_TID);
sys/netproto/802_11/wlan/ieee80211_input.c
191
rxseq = le16toh(*(uint16_t *)wh->i_seq);
sys/netproto/802_11/wlan/ieee80211_input.c
227
last_rxseq = le16toh(*(uint16_t *)lwh->i_seq);
sys/netproto/802_11/wlan/ieee80211_input.c
545
scan->bintval = le16toh(*(uint16_t *)frm); frm += 2;
sys/netproto/802_11/wlan/ieee80211_input.c
546
scan->capinfo = le16toh(*(uint16_t *)frm); frm += 2;
sys/netproto/802_11/wlan/ieee80211_radiotap.c
131
le16toh(th->it_len),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
136
sizeof(struct ieee80211_frame) + le16toh(th->it_len),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
231
len = le16toh(th->it_len);
sys/netproto/802_11/wlan/ieee80211_radiotap.c
253
len = le16toh(rh->it_len);
sys/netproto/802_11/wlan/ieee80211_radiotap.c
275
int len = le16toh(rh->it_len);
sys/netproto/802_11/wlan/ieee80211_radiotap.c
379
if (off + items[i].width > le16toh(rh->it_len)) {
sys/netproto/802_11/wlan/ieee80211_radiotap.c
383
off, items[i].width, le16toh(rh->it_len));
sys/netproto/802_11/wlan/ieee80211_sta.c
1561
algo = le16toh(*(uint16_t *)frm);
sys/netproto/802_11/wlan/ieee80211_sta.c
1562
seq = le16toh(*(uint16_t *)(frm + 2));
sys/netproto/802_11/wlan/ieee80211_sta.c
1563
status = le16toh(*(uint16_t *)(frm + 4));
sys/netproto/802_11/wlan/ieee80211_sta.c
1616
capinfo = le16toh(*(uint16_t *)frm);
sys/netproto/802_11/wlan/ieee80211_sta.c
1618
status = le16toh(*(uint16_t *)frm);
sys/netproto/802_11/wlan/ieee80211_sta.c
1627
associd = le16toh(*(uint16_t *)frm);
sys/netproto/802_11/wlan/ieee80211_sta.c
1791
reason = le16toh(*(uint16_t *)frm);
sys/netproto/802_11/wlan/ieee80211_sta.c
1825
reason = le16toh(*(uint16_t *)frm);
sys/netproto/802_11/wlan/ieee80211_tdma.c
432
slotlen = le16toh(tdma->tdma_slotlen) * 100;
sys/netproto/802_11/wlan_tkip/ieee80211_crypto_tkip.c
484
return le16toh(*v);
sys/vfs/ext2fs/ext2_alloc.c
1248
if (le16toh(fs->e2fs_gd[cg].ext4bgd_flags) & EXT2_BG_INODE_ZEROED)
sys/vfs/ext2fs/ext2_alloc.c
1251
all_blks = le16toh(fs->e2fs->e2fs_inode_size) * fs->e2fs_ipg /
sys/vfs/ext2fs/ext2_alloc.c
1269
fs->e2fs_gd[cg].ext4bgd_flags = htole16(le16toh(
sys/vfs/ext2fs/ext2_alloc.c
1317
if (le16toh(fs->e2fs_gd[cg].ext4bgd_flags) &
sys/vfs/ext2fs/ext2_alloc.c
1323
fs->e2fs_gd[cg].ext4bgd_flags = htole16(le16toh(
sys/vfs/ext2fs/ext2_alloc.c
505
return (((uint32_t)(le16toh(gd->ext4bgd_nbfree_hi)) << 16) |
sys/vfs/ext2fs/ext2_alloc.c
506
le16toh(gd->ext2bgd_nbfree));
sys/vfs/ext2fs/ext2_alloc.c
521
return (((uint32_t)(le16toh(gd->ext4bgd_nifree_hi)) << 16) |
sys/vfs/ext2fs/ext2_alloc.c
522
le16toh(gd->ext2bgd_nifree));
sys/vfs/ext2fs/ext2_alloc.c
537
return (((uint32_t)(le16toh(gd->ext4bgd_ndirs_hi)) << 16) |
sys/vfs/ext2fs/ext2_alloc.c
538
le16toh(gd->ext2bgd_ndirs));
sys/vfs/ext2fs/ext2_alloc.c
552
return ((uint32_t)(le16toh(gd->ext4bgd_i_unused_hi) << 16) |
sys/vfs/ext2fs/ext2_alloc.c
553
le16toh(gd->ext4bgd_i_unused));
sys/vfs/ext2fs/ext2_alloc.c
832
number += le16toh(fs->e2fs->e2fs_reserved_ngdb);
sys/vfs/ext2fs/ext2_alloc.c
876
if (!(le16toh(fs->e2fs_gd[cg].ext4bgd_flags) & EXT2_BG_BLOCK_UNINIT))
sys/vfs/ext2fs/ext2_alloc.c
921
fs->e2fs_gd[cg].ext4bgd_flags = htole16(le16toh(
sys/vfs/ext2fs/ext2_csum.c
122
tp->e2dt_rec_len = le16toh(sizeof(struct ext2fs_direct_tail));
sys/vfs/ext2fs/ext2_csum.c
139
le16toh(tp->e2dt_rec_len) == sizeof(struct ext2fs_direct_tail) &&
sys/vfs/ext2fs/ext2_csum.c
156
rec_len = le16toh(dep->e2d_reclen);
sys/vfs/ext2fs/ext2_csum.c
162
rec_len = le16toh(dep->e2d_reclen);
sys/vfs/ext2fs/ext2_csum.c
218
if (le16toh(ep->e2d_reclen) == EXT2_BLOCK_SIZE(ip->i_e2fs))
sys/vfs/ext2fs/ext2_csum.c
220
else if (le16toh(ep->e2d_reclen) == 12) {
sys/vfs/ext2fs/ext2_csum.c
222
if (le16toh(dp->e2d_reclen) != EXT2_BLOCK_SIZE(ip->i_e2fs) - 12)
sys/vfs/ext2fs/ext2_csum.c
280
limit = le16toh(cp->h_entries_max);
sys/vfs/ext2fs/ext2_csum.c
281
count = le16toh(cp->h_entries_num);
sys/vfs/ext2fs/ext2_csum.c
356
limit = le16toh(cp->h_entries_max);
sys/vfs/ext2fs/ext2_csum.c
357
count = le16toh(cp->h_entries_num);
sys/vfs/ext2fs/ext2_csum.c
443
provided = le16toh(fs->e2fs_gd[cg].ext4bgd_i_bmap_csum);
sys/vfs/ext2fs/ext2_csum.c
446
if (le16toh(fs->e2fs->e3fs_desc_size) >=
sys/vfs/ext2fs/ext2_csum.c
448
hi = le16toh(fs->e2fs_gd[cg].ext4bgd_i_bmap_csum_hi);
sys/vfs/ext2fs/ext2_csum.c
472
if (le16toh(fs->e2fs->e3fs_desc_size) >= EXT2_BG_INODE_BITMAP_CSUM_HI_END)
sys/vfs/ext2fs/ext2_csum.c
485
provided = le16toh(fs->e2fs_gd[cg].ext4bgd_b_bmap_csum);
sys/vfs/ext2fs/ext2_csum.c
487
if (le16toh(fs->e2fs->e3fs_desc_size) >=
sys/vfs/ext2fs/ext2_csum.c
489
hi = le16toh(fs->e2fs_gd[cg].ext4bgd_b_bmap_csum_hi);
sys/vfs/ext2fs/ext2_csum.c
513
if (le16toh(fs->e2fs->e3fs_desc_size) >= EXT2_BG_BLOCK_BITMAP_CSUM_HI_LOCATION)
sys/vfs/ext2fs/ext2_csum.c
547
le16toh(ei->e2di_extra_isize) >=
sys/vfs/ext2fs/ext2_csum.c
573
provided = le16toh(ei->e2di_chksum_lo);
sys/vfs/ext2fs/ext2_csum.c
577
le16toh(ei->e2di_extra_isize) >= EXT2_INODE_CSUM_HI_EXTRA_END)) {
sys/vfs/ext2fs/ext2_csum.c
578
hi = le16toh(ei->e2di_chksum_hi);
sys/vfs/ext2fs/ext2_csum.c
615
le16toh(ei->e2di_extra_isize) >= EXT2_INODE_CSUM_HI_EXTRA_END))
sys/vfs/ext2fs/ext2_csum.c
684
if (offset < le16toh(fs->e2fs->e3fs_desc_size))
sys/vfs/ext2fs/ext2_csum.c
686
le16toh(fs->e2fs->e3fs_desc_size) - offset);
sys/vfs/ext2fs/ext2_csum.c
698
offset < le16toh(fs->e2fs->e3fs_desc_size))
sys/vfs/ext2fs/ext2_csum.c
700
le16toh(fs->e2fs->e3fs_desc_size) - offset);
sys/vfs/ext2fs/ext2_extents.h
111
#define EXT_LAST_EXTENT(hdr) (EXT_FIRST_EXTENT((hdr)) + le16toh((hdr)->eh_ecount) - 1)
sys/vfs/ext2fs/ext2_extents.h
112
#define EXT_LAST_INDEX(hdr) (EXT_FIRST_INDEX((hdr)) + le16toh((hdr)->eh_ecount) - 1)
sys/vfs/ext2fs/ext2_extents.h
114
(sizeof(struct ext4_extent) * le16toh((hdr)->eh_max)))
sys/vfs/ext2fs/ext2_extents.h
116
(le16toh((path)->ep_header->eh_ecount) < le16toh((path)->ep_header->eh_max))
sys/vfs/ext2fs/ext2_extents.h
117
#define EXT_MAX_EXTENT(hdr) (EXT_FIRST_EXTENT(hdr) + le16toh((hdr)->eh_max) - 1)
sys/vfs/ext2fs/ext2_extents.h
118
#define EXT_MAX_INDEX(hdr) (EXT_FIRST_INDEX((hdr)) + le16toh((hdr)->eh_max) - 1)
sys/vfs/ext2fs/ext2_htree.c
172
return (le16toh(((struct ext2fs_htree_count *)(ep))->h_entries_num));
sys/vfs/ext2fs/ext2_htree.c
190
return (le16toh(((struct ext2fs_htree_count *)(ep))->h_entries_max));
sys/vfs/ext2fs/ext2_htree.c
581
((char *)ep + le16toh(ep->e2d_reclen));
sys/vfs/ext2fs/ext2_htree.c
594
if (le16toh(sort_info[i].h_size) + size > blksize / 2)
sys/vfs/ext2fs/ext2_htree.c
596
size += le16toh(sort_info[i].h_size);
sys/vfs/ext2fs/ext2_htree.c
612
le16toh(sort_info[k].h_offset));
sys/vfs/ext2fs/ext2_htree.c
628
offset += le16toh(ep->e2d_reclen);
sys/vfs/ext2fs/ext2_htree.c
698
le16toh(dotdot->e2d_reclen));
sys/vfs/ext2fs/ext2_htree.c
704
((char *)ep + le16toh(ep->e2d_reclen));
sys/vfs/ext2fs/ext2_inode_cnv.c
129
ip->i_nlink = le16toh(ei->e2di_nlink);
sys/vfs/ext2fs/ext2_inode_cnv.c
130
ip->i_mode = ip->i_nlink ? le16toh(ei->e2di_mode) : 0;
sys/vfs/ext2fs/ext2_inode_cnv.c
138
ei_extra_isize_le = le16toh(ei->e2di_extra_isize);
sys/vfs/ext2fs/ext2_inode_cnv.c
175
ip->i_blocks |= (uint64_t)le16toh(ei->e2di_nblock_high) << 32;
sys/vfs/ext2fs/ext2_inode_cnv.c
176
ip->i_facl |= (uint64_t)le16toh(ei->e2di_facl_high) << 32;
sys/vfs/ext2fs/ext2_inode_cnv.c
181
ip->i_uid = le16toh(ei->e2di_uid);
sys/vfs/ext2fs/ext2_inode_cnv.c
182
ip->i_gid = le16toh(ei->e2di_gid);
sys/vfs/ext2fs/ext2_inode_cnv.c
183
ip->i_uid |= (uint32_t)le16toh(ei->e2di_uid_high) << 16;
sys/vfs/ext2fs/ext2_inode_cnv.c
184
ip->i_gid |= (uint32_t)le16toh(ei->e2di_gid_high) << 16;
sys/vfs/ext2fs/ext2_inode_cnv.c
231
ei->e2di_dtime = htole32(le16toh(ei->e2di_nlink) ? 0 :
sys/vfs/ext2fs/ext2_inode_cnv.c
78
le16toh(ehp->eh_magic), le16toh(ehp->eh_ecount),
sys/vfs/ext2fs/ext2_inode_cnv.c
79
le16toh(ehp->eh_max), le16toh(ehp->eh_depth),
sys/vfs/ext2fs/ext2_inode_cnv.c
84
le16toh(ep->e_len), le32toh(ep->e_start_lo),
sys/vfs/ext2fs/ext2_inode_cnv.c
85
le16toh(ep->e_start_hi));
sys/vfs/ext2fs/ext2_lookup.c
1008
spacefree = le16toh(ep->e2d_reclen) - dsize;
sys/vfs/ext2fs/ext2_lookup.c
1009
for (loc = le16toh(ep->e2d_reclen); loc < dp->i_count; ) {
sys/vfs/ext2fs/ext2_lookup.c
1020
spacefree += le16toh(nep->e2d_reclen) - dsize;
sys/vfs/ext2fs/ext2_lookup.c
1021
loc += le16toh(nep->e2d_reclen);
sys/vfs/ext2fs/ext2_lookup.c
1098
le16toh(ep->e2d_reclen));
sys/vfs/ext2fs/ext2_lookup.c
1155
for (off = 0; off < ip->i_size; off += le16toh(dp->e2d_reclen)) {
sys/vfs/ext2fs/ext2_lookup.c
198
if (le16toh(dp->e2d_reclen) <= offsetof(struct ext2fs_direct_2,
sys/vfs/ext2fs/ext2_lookup.c
199
e2d_namlen) || (caddr_t)dp + le16toh(dp->e2d_reclen) >
sys/vfs/ext2fs/ext2_lookup.c
223
dstdp.d_namlen > le16toh(dp->e2d_reclen)) {
sys/vfs/ext2fs/ext2_lookup.c
244
*cookies = offset + le16toh(dp->e2d_reclen);
sys/vfs/ext2fs/ext2_lookup.c
249
offset += le16toh(dp->e2d_reclen);
sys/vfs/ext2fs/ext2_lookup.c
251
le16toh(dp->e2d_reclen));
sys/vfs/ext2fs/ext2_lookup.c
716
int size = le16toh(ep->e2d_reclen);
sys/vfs/ext2fs/ext2_lookup.c
726
ssp->slotsize = le16toh(ep->e2d_reclen);
sys/vfs/ext2fs/ext2_lookup.c
734
le16toh(ep->e2d_reclen) -
sys/vfs/ext2fs/ext2_lookup.c
757
*offp += le16toh(ep->e2d_reclen);
sys/vfs/ext2fs/ext2_lookup.c
758
offset += le16toh(ep->e2d_reclen);
sys/vfs/ext2fs/ext2_lookup.c
801
if (le16toh(de->e2d_reclen) < EXT2_DIR_REC_LEN(1))
sys/vfs/ext2fs/ext2_lookup.c
803
else if (le16toh(de->e2d_reclen) % 4 != 0)
sys/vfs/ext2fs/ext2_lookup.c
805
else if (le16toh(de->e2d_reclen) < EXT2_DIR_REC_LEN(de->e2d_namlen))
sys/vfs/ext2fs/ext2_lookup.c
807
else if (entryoffsetinblock + le16toh(de->e2d_reclen)> fs->e2fs_bsize)
sys/vfs/ext2fs/ext2_lookup.c
815
le32toh(de->e2d_ino), le16toh(de->e2d_reclen),
sys/vfs/ext2fs/ext2_vfsops.c
1046
htole16(le16toh(fs->e2fs->e2fs_state) | E2FS_ISCLEAN);
sys/vfs/ext2fs/ext2_vfsops.c
1097
if (le16toh(fs->e2fs->e2fs_magic) != E2FS_MAGIC)
sys/vfs/ext2fs/ext2_vfsops.c
1121
ngdb += le16toh(fs->e2fs->e2fs_reserved_ngdb);
sys/vfs/ext2fs/ext2_vfsops.c
1149
if (le16toh(fs->e2fs->e2fs_magic) != E2FS_MAGIC)
sys/vfs/ext2fs/ext2_vfsops.c
1173
ngdb += le16toh(fs->e2fs->e2fs_reserved_ngdb);
sys/vfs/ext2fs/ext2_vfsops.c
168
htole16((le16toh(fs->e2fs->e2fs_state) |
sys/vfs/ext2fs/ext2_vfsops.c
201
if ((le16toh(fs->e2fs->e2fs_state) & E2FS_ISCLEAN) == 0 ||
sys/vfs/ext2fs/ext2_vfsops.c
202
(le16toh(fs->e2fs->e2fs_state) & E2FS_ERRORS)) {
sys/vfs/ext2fs/ext2_vfsops.c
214
htole16(le16toh(fs->e2fs->e2fs_state) & ~E2FS_ISCLEAN);
sys/vfs/ext2fs/ext2_vfsops.c
301
if (le16toh(es->e2fs_magic) != E2FS_MAGIC) {
sys/vfs/ext2fs/ext2_vfsops.c
303
devtoname(dev), le16toh(es->e2fs_magic), E2FS_MAGIC);
sys/vfs/ext2fs/ext2_vfsops.c
391
!(le16toh(gd->ext4bgd_flags) & EXT2_BG_INODE_ZEROED))
sys/vfs/ext2fs/ext2_vfsops.c
516
if (le16toh(es->e2fs_reserved_ngdb) > (fs->e2fs_bsize / 4)) {
sys/vfs/ext2fs/ext2_vfsops.c
525
fs->e2fs_isize = le16toh(es->e2fs_inode_size);
sys/vfs/ext2fs/ext2_vfsops.c
550
le16toh(es->e3fs_desc_size) != E2FS_64BIT_GD_SIZE) {
sys/vfs/ext2fs/ext2_vfsops.c
911
if ((le16toh(es->e2fs_state) & E2FS_ISCLEAN) == 0 ||
sys/vfs/ext2fs/ext2_vfsops.c
912
(le16toh(es->e2fs_state) & E2FS_ERRORS)) {
sys/vfs/ext2fs/ext2_vfsops.c
971
fs->e2fs_wasvalid = le16toh(fs->e2fs->e2fs_state) & E2FS_ISCLEAN ? 1 : 0;
sys/vfs/ext2fs/ext2_vfsops.c
975
htole16(le16toh(fs->e2fs->e2fs_state) & ~E2FS_ISCLEAN);
sys/vfs/ext2fs/ext2_vnops.c
1206
htole16(le16toh(dirtemplate.dotdot_reclen) -
tools/tools/net80211/stumbler/stumbler.c
604
le16toh(wpa->wpa_version) == WPA_VERSION) {
tools/tools/net80211/stumbler/stumbler.c
616
4 * le16toh(wpa->wpa_uciphercnt);
tools/tools/net80211/w00t/ap/ap.c
271
if (le16toh(*ptr) != 0) {
tools/tools/net80211/w00t/ap/ap.c
272
printf("Unknown auth algo %d\n", le16toh(*ptr));
tools/tools/net80211/w00t/ap/ap.c
276
if (le16toh(*ptr) == 1) {
tools/tools/net80211/w00t/ap/ap.c
281
printf("Weird seq in auth %d\n", le16toh(*ptr));
tools/tools/net80211/w00t/assoc/assoc.c
516
if (le16toh(*data) != 0) {
tools/tools/net80211/w00t/assoc/assoc.c
517
printf("Not open-system %d!\n", le16toh(*data));
tools/tools/net80211/w00t/assoc/assoc.c
523
if (le16toh(*data) != 2) {
tools/tools/net80211/w00t/assoc/assoc.c
524
printf("Got transaction %d!\n", le16toh(*data));
tools/tools/net80211/w00t/assoc/assoc.c
530
rc = le16toh(*data);
tools/tools/net80211/w00t/assoc/assoc.c
573
rc = le16toh(*data++);
tools/tools/net80211/w00t/assoc/assoc.c
580
p->aid = le16toh(*data & ~( (1 << 15) | (1 << 14)));
tools/tools/net80211/wesside/wesside/wesside.c
1035
time_print("Got deauth=%u\n", le16toh(*rc));
tools/tools/net80211/wesside/wesside/wesside.c
1078
unsigned int aid = le16toh(*sc) & 0x3FFF;
usr.bin/crunch/crunchide/exec_elf64.c
68
#define xe16toh(x) ((data == ELFDATA2MSB) ? be16toh(x) : le16toh(x))
usr.sbin/btconfig/btconfig.c
1027
printf(" : clock offset %d\n", le16toh(r->clock_offset));
usr.sbin/makefs/msdos/msdosfs_conv.c
491
u1 = le16toh(*w1);
usr.sbin/makefs/msdos/msdosfs_conv.c
492
u2 = le16toh(*w2);