Symbol: letoh16
lib/libkvm/kvm_udf.c
62
flags = letoh16(up->u_fentry->icbtag.flags);
lib/libkvm/kvm_udf.c
99
kf->va_nlink = letoh16(fentry.link_cnt);
regress/sbin/ifconfig/ifaddr.c
1558
c = inlen > 0 ? letoh16(*in) : 0;
sbin/atactl/atactl.c
1372
letoh16(data.time));
sbin/atactl/atactl.c
1385
print_bitinfo(" %s\n", letoh16(data.smartcap), smart_smartcap);
sbin/atactl/atactl.c
1452
nerr = letoh16(data->err_cnt);
sbin/atactl/atactl.c
1483
nerr = letoh16(data->err_cnt);
sbin/fdisk/gpt.c
82
name[i] = letoh16(gp[pn].gp_name[i]) & 0x7F;
sbin/fdisk/mbr.c
119
mbr->mbr_signature = letoh16(dmbr->dmbr_sign);
sbin/fsck_ext2fs/dir.c
135
dsize = letoh16(dp->e2d_reclen);
sbin/fsck_ext2fs/dir.c
192
idesc->id_loc += letoh16(dp->e2d_reclen);
sbin/fsck_ext2fs/dir.c
193
idesc->id_filesize -= letoh16(dp->e2d_reclen);
sbin/fsck_ext2fs/dir.c
207
dp->e2d_reclen = htole16(letoh16(dp->e2d_reclen) + size);
sbin/fsck_ext2fs/dir.c
224
u_int16_t reclen = letoh16(dp->e2d_reclen);
sbin/fsck_ext2fs/dir.c
273
(letoh16(dp->e2di_mode) & IFMT) == IFDIR ? "DIR" : "FILE", pathbuf);
sbin/fsck_ext2fs/dir.c
284
if (letoh16(dp->e2di_nlink) == lcnt) {
sbin/fsck_ext2fs/dir.c
289
((letoh16(dp->e2di_mode) & IFMT) == IFDIR ? "DIR" : "FILE"));
sbin/fsck_ext2fs/dir.c
292
letoh16(dp->e2di_nlink), letoh16(dp->e2di_nlink) - lcnt);
sbin/fsck_ext2fs/dir.c
301
dp->e2di_nlink = htole16(letoh16(dp->e2di_nlink) - lcnt);
sbin/fsck_ext2fs/dir.c
324
if (letoh16(dirp->e2d_reclen) - oldlen < newlen)
sbin/fsck_ext2fs/dir.c
326
newent.e2d_reclen = htole16(letoh16(dirp->e2d_reclen) - oldlen);
sbin/fsck_ext2fs/dir.c
366
lostdir = (letoh16(dp->e2di_mode) & IFMT) == IFDIR;
sbin/fsck_ext2fs/dir.c
408
if ((letoh16(dp->e2di_mode) & IFMT) != IFDIR) {
sbin/fsck_ext2fs/dir.c
445
dp->e2di_nlink = htole16(letoh16(dp->e2di_nlink) +1);
sbin/fsck_ext2fs/dir.c
612
lncntp[ino] = letoh16(dp->e2di_nlink);
sbin/fsck_ext2fs/dir.c
623
lncntp[ino] = letoh16(dp->e2di_nlink);
sbin/fsck_ext2fs/dir.c
627
dp->e2di_nlink = htole16(letoh16(dp->e2di_nlink) + 1);
sbin/fsck_ext2fs/dir.c
642
dp->e2di_nlink = htole16(letoh16(dp->e2di_nlink) - 1);
sbin/fsck_ext2fs/inode.c
101
if ((letoh16(dp->e2di_mode) & IFMT) == IFREG) {
sbin/fsck_ext2fs/inode.c
108
(unsigned long long)size, letoh16(dp->e2di_mode) & IFMT);
sbin/fsck_ext2fs/inode.c
128
mode = letoh16(dp->e2di_mode) & IFMT;
sbin/fsck_ext2fs/inode.c
571
uid = letoh16(dp->e2di_uid_low) | (letoh16(dp->e2di_uid_high) << 16);
sbin/fsck_ext2fs/inode.c
578
printf("MODE=%o\n", letoh16(dp->e2di_mode));
sbin/fsck_ext2fs/inode.c
91
if ((letoh16(dp->e2di_mode) & IFMT) == IFREG)
sbin/fsck_ext2fs/pass1.c
133
mode = letoh16(dp->e2di_mode) & IFMT;
sbin/fsck_ext2fs/pass1.c
244
lncntp[inumber] = letoh16(dp->e2di_nlink);
sbin/fsck_ext2fs/pass2.c
100
dp->e2di_mode = htole16((letoh16(dp->e2di_mode) & ~IFMT) | IFDIR);
sbin/fsck_ext2fs/pass2.c
239
} else if (letoh16(dirp->e2d_reclen) < entrysize) {
sbin/fsck_ext2fs/pass2.c
241
} else if (letoh16(dirp->e2d_reclen) < 2 * entrysize) {
sbin/fsck_ext2fs/pass2.c
247
n = letoh16(dirp->e2d_reclen) - entrysize;
sbin/fsck_ext2fs/pass2.c
273
if (letoh16(dirp->e2d_reclen) < n + entrysize)
sbin/fsck_ext2fs/pass2.c
275
proto.e2d_reclen = htole16(letoh16(dirp->e2d_reclen) - n);
sbin/fsck_ext2fs/pass2.c
280
memset(dirp, 0, (size_t)letoh16(proto.e2d_reclen));
sbin/fsck_ext2fs/pass2.c
304
} else if (letoh16(dirp->e2d_reclen) < entrysize) {
sbin/fsck_ext2fs/pass2.c
378
(letoh16(dp->e2di_mode) & IFMT) == IFDIR ? DSTATE : FSTATE;
sbin/fsck_ext2fs/pass2.c
379
lncntp[letoh32(dirp->e2d_ino)] = letoh16(dp->e2di_nlink);
sbin/fsck_ext2fs/pass5.c
163
if (debug && (letoh16(fs->e2fs_gd[c].ext2bgd_nbfree) != nbfree ||
sbin/fsck_ext2fs/pass5.c
164
letoh16(fs->e2fs_gd[c].ext2bgd_nifree) != nifree ||
sbin/fsck_ext2fs/pass5.c
165
letoh16(fs->e2fs_gd[c].ext2bgd_ndirs) != ndirs)) {
sbin/fsck_ext2fs/pass5.c
168
letoh16(fs->e2fs_gd[c].ext2bgd_nbfree),
sbin/fsck_ext2fs/pass5.c
169
letoh16(fs->e2fs_gd[c].ext2bgd_nifree),
sbin/fsck_ext2fs/pass5.c
170
letoh16(fs->e2fs_gd[c].ext2bgd_ndirs),
sbin/fsck_ext2fs/pass5.c
177
if ((letoh16(fs->e2fs_gd[c].ext2bgd_nbfree) != nbfree ||
sbin/fsck_ext2fs/pass5.c
178
letoh16(fs->e2fs_gd[c].ext2bgd_nifree) != nifree ||
sbin/fsck_ext2fs/pass5.c
179
letoh16(fs->e2fs_gd[c].ext2bgd_ndirs) != ndirs) &&
sbin/fsck_ext2fs/setup.c
251
numdirs += letoh16(sblock.e2fs_gd[cg].ext2bgd_ndirs);
sbin/fsck_ext2fs/setup.c
424
bp->b_un.b_fs->e2fs_mnt_count = letoh16(sblock.e2fs.e2fs_mnt_count);
sbin/fsck_ext2fs/setup.c
426
letoh16(sblock.e2fs.e2fs_max_mnt_count);
sbin/fsck_ext2fs/setup.c
427
bp->b_un.b_fs->e2fs_magic = letoh16(sblock.e2fs.e2fs_magic);
sbin/fsck_ext2fs/setup.c
428
bp->b_un.b_fs->e2fs_state = letoh16(sblock.e2fs.e2fs_state);
sbin/fsck_ext2fs/setup.c
429
bp->b_un.b_fs->e2fs_beh = letoh16(sblock.e2fs.e2fs_beh);
sbin/fsck_ext2fs/setup.c
430
bp->b_un.b_fs->e2fs_ruid = letoh16(sblock.e2fs.e2fs_ruid);
sbin/fsck_ext2fs/setup.c
431
bp->b_un.b_fs->e2fs_rgid = letoh16(sblock.e2fs.e2fs_rgid);
sbin/fsck_ext2fs/utilities.c
59
switch (letoh16(dp->e2di_mode) & IFMT) {
sbin/fsck_ext2fs/utilities.c
72
printf("bad file type 0%o\n", letoh16(dp->e2di_mode));
sbin/ifconfig/ifconfig.c
6426
c = inlen > 0 ? letoh16(*in) : 0;
sys/arch/arm64/dev/acpipci.c
497
*irq = ffs(letoh16(crs->sr_irq.irq_mask)) - 1;
sys/arch/arm64/dev/apldc.c
1436
if ((int16_t)letoh16(finger->touch_major) == 0)
sys/arch/arm64/dev/apldc.c
1439
sc->frame[contacts].x = (int16_t)letoh16(finger->abs_x);
sys/arch/arm64/dev/apldc.c
1440
sc->frame[contacts].y = (int16_t)letoh16(finger->abs_y);
sys/arch/arm64/dev/apldc.c
1446
sc->btn = !!((int16_t)letoh16(packet[UBCMTP_TYPE4_BTOFF]));
sys/arch/arm64/dev/aplhidev.c
870
if ((int16_t)letoh16(finger->touch_major) == 0)
sys/arch/arm64/dev/aplhidev.c
873
sc->frame[contacts].x = (int16_t)letoh16(finger->abs_x);
sys/arch/arm64/dev/aplhidev.c
874
sc->frame[contacts].y = (int16_t)letoh16(finger->abs_y);
sys/arch/arm64/dev/aplhidev.c
880
sc->btn = !!((int16_t)letoh16(packet[UBCMTP_TYPE4_BTOFF]));
sys/arch/hppa/dev/dino.c
1142
*a++ = letoh16(data);
sys/arch/hppa/dev/dino.c
1154
*a++ = letoh16(data);
sys/arch/hppa/dev/dino.c
697
return (letoh16(*p));
sys/arch/hppa/dev/dino.c
835
*a++ = letoh16(*p);
sys/arch/hppa/dev/elroy.c
501
return (letoh16(*p));
sys/arch/hppa/dev/elroy.c
576
*a++ = letoh16(*p);
sys/arch/hppa/dev/elroy.c
793
*a++ = letoh16(data);
sys/arch/hppa/dev/mongoose.c
278
return letoh16(r);
sys/arch/hppa/dev/mongoose.c
305
*(a++) = letoh16(*(volatile u_int16_t *)h);
sys/arch/hppa/dev/mongoose.c
364
*a++ = letoh16(r);
sys/arch/luna88k/include/bus.h
179
letoh16(__bus_space_read_2(t, h, o)) : \
sys/dev/acpi/acpiprt.c
153
irq->_int= ffs(letoh16(crs->sr_irq.irq_mask)) - 1;
sys/dev/acpi/dsdt.c
1598
printf("irq\t%.4x %.2x\n", letoh16(crs->sr_irq.irq_mask),
sys/dev/acpi/dwiic_acpi.c
285
sc_crs->irq_int = ffs(letoh16(crs->sr_irq.irq_mask)) - 1;
sys/dev/acpi/dwiic_acpi.c
318
sc_crs->i2c_addr = letoh16(crs->lr_i2cbus._adr);
sys/dev/ata/atascsi.c
1228
if (letoh16(id->cmdset83) & 0x0400) {
sys/dev/ata/atascsi.c
1232
blocks += letoh16(id->addrsecxt[i]);
sys/dev/ata/atascsi.c
1235
blocks = letoh16(id->addrsec[1]);
sys/dev/ata/atascsi.c
1237
blocks += letoh16(id->addrsec[0]);
sys/dev/ata/atascsi.c
1247
u_int16_t p2l_sect = letoh16(id->p2l_sect);
sys/dev/ata/atascsi.c
1251
blocksize = letoh16(id->words_lsec[1]);
sys/dev/ata/atascsi.c
1253
blocksize += letoh16(id->words_lsec[0]);
sys/dev/ata/atascsi.c
1264
u_int16_t p2l_sect = letoh16(id->p2l_sect);
sys/dev/ata/atascsi.c
1278
u_int16_t p2l_sect = letoh16(id->p2l_sect);
sys/dev/ata/atascsi.c
1279
u_int16_t logical_align = letoh16(id->logical_align);
sys/dev/ata/atascsi.c
1343
if (ISSET(letoh16(ap->ap_identify.add_support),
sys/dev/ata/atascsi.c
342
validinfo = letoh16(ap->ap_identify.validinfo);
sys/dev/ata/atascsi.c
344
ultradma = letoh16(ap->ap_identify.ultradma);
sys/dev/ata/atascsi.c
356
ISSET(letoh16(ap->ap_identify.satacap), ATA_SATACAP_NCQ) &&
sys/dev/ata/atascsi.c
358
ap->ap_ncqdepth = ATA_QDEPTH(letoh16(ap->ap_identify.qdepth));
sys/dev/ata/atascsi.c
385
if (ISSET(letoh16(ap->ap_identify.data_set_mgmt),
sys/dev/ata/atascsi.c
389
cmdset = letoh16(ap->ap_identify.cmdset82);
sys/dev/ata/atascsi.c
790
if (letoh16(ap->ap_identify.features87) & ATA_ID_F87_WWN) {
sys/dev/ata/atascsi.c
912
_lto2b(letoh16(ap->ap_identify.rpm), pg.rpm);
sys/dev/ata/atascsi.c
913
pg.form_factor = letoh16(ap->ap_identify.form) & ATA_ID_FORM_MASK;
sys/dev/eisa/cac_eisa.c
236
size = letoh16(ccb->ccb_hdr.size) << 2;
sys/dev/i2c/ietp.c
608
sc->sc_ibuf, letoh16(sc->hid_desc.wMaxInputLength), I2C_F_POLL);
sys/dev/i2c/ihidev.c
122
vid = letoh16(sc->hid_desc.wVendorID);
sys/dev/i2c/ihidev.c
123
pid = letoh16(sc->hid_desc.wProductID);
sys/dev/i2c/ihidev.c
162
sc->sc_isize = letoh16(sc->hid_desc.wMaxInputLength);
sys/dev/i2c/ihidev.c
195
letoh16(sc->hid_desc.wVendorID), letoh16(sc->hid_desc.wProductID),
sys/dev/i2c/ihidev.c
647
if (letoh16(sc->hid_desc.bcdVersion) != 0x0100) {
sys/dev/i2c/ihidev.c
650
letoh16(sc->hid_desc.bcdVersion));
sys/dev/i2c/ihidev.c
655
if (letoh16(sc->hid_desc.wHIDDescLength !=
sys/dev/i2c/ihidev.c
659
letoh16(sc->hid_desc.wHIDDescLength),
sys/dev/i2c/ihidev.c
664
if (letoh16(sc->hid_desc.wReportDescLength) <= 0) {
sys/dev/i2c/ihidev.c
667
letoh16(sc->hid_desc.wReportDescLength));
sys/dev/i2c/ihidev.c
674
sc->sc_reportlen = letoh16(sc->hid_desc.wReportDescLength);
sys/dev/i2c/ihidev.c
719
sc->sc_ibuf, letoh16(sc->hid_desc.wMaxInputLength), I2C_F_POLL);
sys/dev/ic/aacvar.h
442
return letoh16(*(u_int16_t *)addr);
sys/dev/ic/acx.c
1328
desc_ctrl = letoh16(buf->rb_desc->h_ctrl);
sys/dev/ic/acx.c
1347
len = letoh16(head->rbh_len) & ACX_RXBUF_LEN_MASK;
sys/dev/ic/aic7xxx_cam.h
89
#define aic_le16toh(x) letoh16(x)
sys/dev/ic/ami.c
436
sc->sc_memory = letoh16(pi->api_ramsize);
sys/dev/ic/ar9003.c
480
if (letoh16(sum) != rsum) {
sys/dev/ic/ar9003.c
482
letoh16(sum), rsum));
sys/dev/ic/bwfm.c
2651
if (len < letoh16(res->bss_count) * sizeof(struct bwfm_bss_info)) {
sys/dev/ic/bwfm.c
2658
for (i = 0; i < letoh16(res->bss_count); i++) {
sys/dev/ic/bwfm.c
2729
iesoff = letoh16(bss->ie_offset);
sys/dev/ic/bwfm.c
2762
rxi.rxi_rssi = (int16_t)letoh16(bss->rssi);
sys/dev/ic/bwi.c
5932
flags1 = letoh16(hdr->rxh_flags1);
sys/dev/ic/bwi.c
5933
flags3 = letoh16(hdr->rxh_flags3);
sys/dev/ic/bwi.c
5966
lna_gain = __SHIFTOUT(letoh16(hdr->rxh_phyinfo),
sys/dev/ic/bwi.c
5969
lna_gain, letoh16(hdr->rxh_phyinfo));
sys/dev/ic/bwi.c
6038
flags1 = letoh16(hdr->rxh_flags1);
sys/dev/ic/bwi.c
8398
flags2 = letoh16(hdr->rxh_flags2);
sys/dev/ic/bwi.c
8405
buflen = letoh16(hdr->rxh_buflen);
sys/dev/ic/bwi.c
8459
rxi.rxi_tstamp = letoh16(hdr->rxh_tsf);
sys/dev/ic/bwi.c
9116
_bwi_txeof(sc, letoh16(st->stats[idx].txs_id));
sys/dev/ic/bwi.c
9142
_bwi_txeof(sc, letoh16(tx_id));
sys/dev/ic/ciss.c
1016
blks = (u_int)letoh16(ldid->nblocks[1]) << 16 |
sys/dev/ic/ciss.c
1017
letoh16(ldid->nblocks[0]);
sys/dev/ic/ciss.c
1018
bv->bv_size = blks * (uint64_t)letoh16(ldid->blksize);
sys/dev/ic/ciss.c
1083
letoh16(pdid->blksz);
sys/dev/ic/ciss.c
652
switch ((rv = letoh16(err->cmd_stat))) {
sys/dev/ic/dc.c
454
*ptr = letoh16(word);
sys/dev/ic/fxp.c
655
data[i] = letoh16(data[i]);
sys/dev/ic/gdtvar.h
267
return letoh16(*(u_int16_t *)addr);
sys/dev/ic/if_wi.c
1098
switch (letoh16(ltv->wi_val)) {
sys/dev/ic/if_wi.c
1106
default: v = 0x100 + letoh16(ltv->wi_val); break;
sys/dev/ic/if_wi.c
1140
letoh16(ltv->wi_val) == WI_PORTTYPE_IBSS) {
sys/dev/ic/if_wi.c
1153
switch (letoh16(ltv->wi_val)) {
sys/dev/ic/if_wi.c
1216
keylen = letoh16(keylen);
sys/dev/ic/if_wi.c
1432
error = wi_sync_media(sc, letoh16(wreq->wi_val[0]),
sys/dev/ic/if_wi.c
1437
letoh16(wreq->wi_val[0]));
sys/dev/ic/if_wi.c
1440
sc->wi_max_data_len = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1443
sc->wi_rts_thresh = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1446
sc->wi_ap_density = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1449
sc->wi_create_ibss = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1453
sc->wi_channel = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1457
(u_int8_t *)&wreq->wi_val[1], letoh16(wreq->wi_val[0]));
sys/dev/ic/if_wi.c
1461
(u_int8_t *)&wreq->wi_val[1], letoh16(wreq->wi_val[0]));
sys/dev/ic/if_wi.c
1465
(u_int8_t *)&wreq->wi_val[1], letoh16(wreq->wi_val[0]));
sys/dev/ic/if_wi.c
1468
sc->wi_pm_enabled = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1471
sc->wi_mor_enabled = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1474
sc->wi_max_sleep = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1477
sc->wi_authtype = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1480
sc->wi_roaming = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1483
sc->wi_diversity = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1486
sc->wi_enh_security = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1489
sc->wi_use_wep = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1492
sc->wi_tx_key = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1498
switch (letoh16(wreq->wi_val[0])) {
sys/dev/ic/if_wi.c
1507
WI_PRT_ARG(sc), letoh16(wreq->wi_val[0]));
sys/dev/ic/if_wi.c
1657
sc->wi_procframe = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1741
letoh16(wreq->wi_val[0]) > IEEE80211_NWID_LEN)
sys/dev/ic/if_wi.c
1747
letoh16(wreq->wi_val[0]));
sys/dev/ic/if_wi.c
1821
letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
1917
nr->nr_channel = letoh16(res->wi_chan);
sys/dev/ic/if_wi.c
1919
nr->nr_rssi = letoh16(res->wi_signal);
sys/dev/ic/if_wi.c
1921
nr->nr_nwid_len = letoh16(res->wi_ssid_len);
sys/dev/ic/if_wi.c
1923
nr->nr_intval = letoh16(res->wi_interval);
sys/dev/ic/if_wi.c
1924
nr->nr_capinfo = letoh16(res->wi_capinfo);
sys/dev/ic/if_wi.c
1964
sc->wi_enh_security = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
2232
klen = letoh16(sc->wi_keys.wi_keys[sc->wi_tx_key].wi_keylen);
sys/dev/ic/if_wi.c
2284
klen = letoh16(sc->wi_keys.wi_keys[kid].wi_keylen);
sys/dev/ic/if_wi.c
2589
card_id = letoh16(ver.wi_ver[0]);
sys/dev/ic/if_wi.c
2610
pri_fw_ver[0] = letoh16(ver.wi_ver[2]);
sys/dev/ic/if_wi.c
2611
pri_fw_ver[1] = letoh16(ver.wi_ver[3]);
sys/dev/ic/if_wi.c
2612
pri_fw_ver[2] = letoh16(ver.wi_ver[1]);
sys/dev/ic/if_wi.c
262
sc->wi_channel = letoh16(gen.wi_val);
sys/dev/ic/if_wi.c
2620
ver.wi_ver[1] = letoh16(ver.wi_ver[1]);
sys/dev/ic/if_wi.c
2621
ver.wi_ver[2] = letoh16(ver.wi_ver[2]);
sys/dev/ic/if_wi.c
2622
ver.wi_ver[3] = letoh16(ver.wi_ver[3]);
sys/dev/ic/if_wi.c
2803
switch (letoh16(wreq.wi_val[0])) {
sys/dev/ic/if_wi.c
2839
letoh16(wreq.wi_val[0]) != 0)
sys/dev/ic/if_wi.c
3128
param0 = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
3140
param0 = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
3141
param1 = letoh16(wreq->wi_val[1]);
sys/dev/ic/if_wi.c
3147
param0 = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
3168
param0 = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
3173
param0 = letoh16(wreq->wi_val[0]);
sys/dev/ic/if_wi.c
3174
param1 = letoh16(wreq->wi_val[1]);
sys/dev/ic/if_wi.c
331
nrates = letoh16(*(u_int16_t *)rates.wi_rates);
sys/dev/ic/if_wi.c
575
switch ((letoh16(rx_frame->wi_status) & WI_STAT_MAC_PORT)
sys/dev/ic/if_wi.c
578
switch (letoh16(rx_frame->wi_frame_ctl) &
sys/dev/ic/if_wi.c
582
datlen = letoh16(rx_frame->wi_dat_len);
sys/dev/ic/if_wi.c
586
datlen = letoh16(rx_frame->wi_dat_len);
sys/dev/ic/if_wi.c
602
datlen = letoh16(rx_frame->wi_dat_len);
sys/dev/ic/if_wi.c
607
letoh16(rx_frame->wi_status));
sys/dev/ic/if_wi.c
644
ftype = letoh16(rx_frame.wi_frame_ctl) & WI_FCTL_FTYPE;
sys/dev/ic/if_wi.c
669
u_int16_t rxlen = letoh16(rx_frame.wi_dat_len);
sys/dev/ic/if_wi.c
675
rxlen, letoh16(rx_frame.wi_status));
sys/dev/ic/if_wi.c
704
switch (letoh16(rx_frame.wi_status) & WI_RXSTAT_MSG_TYPE) {
sys/dev/ic/if_wi.c
708
if ((letoh16(rx_frame.wi_dat_len) + WI_SNAPHDR_LEN) >
sys/dev/ic/if_wi.c
713
letoh16(rx_frame.wi_dat_len),
sys/dev/ic/if_wi.c
714
letoh16(rx_frame.wi_status));
sys/dev/ic/if_wi.c
720
letoh16(rx_frame.wi_dat_len) + WI_SNAPHDR_LEN;
sys/dev/ic/if_wi.c
738
if ((letoh16(rx_frame.wi_dat_len) +
sys/dev/ic/if_wi.c
743
letoh16(rx_frame.wi_dat_len),
sys/dev/ic/if_wi.c
744
letoh16(rx_frame.wi_status));
sys/dev/ic/if_wi.c
750
letoh16(rx_frame.wi_dat_len) +
sys/dev/ic/if_wi.c
886
sc->wi_scanbuf_len = letoh16(gen.wi_len);
sys/dev/ic/if_wi.c
894
len = (letoh16(gen.wi_len) - 1 < sizeof(sc->wi_stats) / 4) ?
sys/dev/ic/if_wi.c
895
letoh16(gen.wi_len) - 1 : sizeof(sc->wi_stats) / 4;
sys/dev/ic/if_wi.c
902
t = letoh16(t);
sys/dev/ic/if_wi_hostap.c
100
u_int16_t s = letoh16(* (u_int16_t *) *ppkt);
sys/dev/ic/if_wi_hostap.c
1108
fctl = letoh16(rxfrm->wi_frame_ctl);
sys/dev/ic/if_wi_hostap.c
1144
sta->sig_info = letoh16(rxfrm->wi_q_info);
sys/dev/ic/if_wi_hostap.c
651
!(letoh16(rxfrm->wi_frame_ctl) & WI_FCTL_WEP)) {
sys/dev/ic/if_wi_hostap.c
920
printf("wihap_mgmt_input: len=%d ", letoh16(rxfrm->wi_dat_len));
sys/dev/ic/if_wi_hostap.c
927
switch (letoh16(rxfrm->wi_frame_ctl) & WI_FCTL_STYPE) {
sys/dev/ic/if_wi_hostap.c
963
letoh16(rxfrm->wi_frame_ctl) & WI_FCTL_STYPE);
sys/dev/ic/if_wi_hostap.c
969
letoh16(rxfrm->wi_frame_ctl) & WI_FCTL_FTYPE,
sys/dev/ic/if_wi_hostap.c
970
letoh16(rxfrm->wi_frame_ctl));
sys/dev/ic/if_wi_hostap.c
997
switch (letoh16(rxfrm->wi_frame_ctl) & WI_FCTL_STYPE) {
sys/dev/ic/lemacvar.h
121
letoh16(bus_space_read_2((sc)->sc_memt, (sc)->sc_memh, (o)))
sys/dev/ic/malo.c
1624
desc->channel, letoh16(desc->len), desc->reserved1,
sys/dev/ic/malo.c
1672
m->m_pkthdr.len = m->m_len = letoh16(desc->len);
sys/dev/ic/malo.c
1971
if ((letoh16(cmd) & 0x7fff) == cmds[i].cmd_code)
sys/dev/ic/malo.c
1995
if (letoh16(result) == results[i].result_code)
sys/dev/ic/malo.c
2308
if (letoh16(hdr->result) != MALO_CMD_RESULT_OK) {
sys/dev/ic/malo.c
2322
malo_hexdump(hdr, letoh16(hdr->size));
sys/dev/ic/mfi.c
2375
sc->sc_bbu[1].value = letoh16(bbu.voltage) * 1000;
sys/dev/ic/mfi.c
2376
sc->sc_bbu[2].value = (int16_t)letoh16(bbu.current) * 1000;
sys/dev/ic/mfi.c
2377
sc->sc_bbu[3].value = letoh16(bbu.temperature) * 1000000 + 273150000;
sys/dev/ic/mfi.c
2734
if (letoh16(pl->pd_info.mpd_fw_state) != MFI_PD_SYSTEM)
sys/dev/ic/mfi.c
766
if (letoh16(sc->sc_info.mci_memory_size) > 0)
sys/dev/ic/mfi.c
767
printf(", %uMB cache", letoh16(sc->sc_info.mci_memory_size));
sys/dev/ic/mpi.c
1437
sie->scsi_state, letoh16(sie->ioc_status));
sys/dev/ic/mpi.c
1447
letoh16(sie->tag));
sys/dev/ic/mpi.c
1668
DEVNAME(sc), letoh16(pg0.slot), letoh16(pg0.enc_handle));
sys/dev/ic/mpi.c
1673
letoh16(pg0.parent_dev_handle), pg0.phy_num, pg0.access_status);
sys/dev/ic/mpi.c
1676
letoh16(pg0.dev_handle), pg0.bus, pg0.target);
sys/dev/ic/mpi.c
1680
DEVNAME(sc), letoh16(pg0.flags), pg0.physical_port);
sys/dev/ic/mpi.c
1903
words[i] = letoh16(mpi_read_db(sc) & MPI_DOORBELL_DATA_MASK);
sys/dev/ic/mpi.c
1993
DEVNAME(sc), letoh16(ifp.ioc_status),
sys/dev/ic/mpi.c
1994
letoh16(ifp.ioc_exceptions));
sys/dev/ic/mpi.c
2001
DEVNAME(sc), letoh16(ifp.request_frame_size),
sys/dev/ic/mpi.c
2002
letoh16(ifp.reply_queue_depth));
sys/dev/ic/mpi.c
2004
letoh16(ifp.product_id));
sys/dev/ic/mpi.c
2010
letoh16(ifp.global_credits));
sys/dev/ic/mpi.c
2015
letoh16(ifp.current_reply_frame_size));
sys/dev/ic/mpi.c
2025
DEVNAME(sc), letoh16(ifp.hi_priority_queue_depth));
sys/dev/ic/mpi.c
2130
letoh16(iip.ioc_status));
sys/dev/ic/mpi.c
2181
letoh16(pfp->ioc_status));
sys/dev/ic/mpi.c
2185
DEVNAME(sc), letoh16(pfp->max_devices), pfp->port_type);
sys/dev/ic/mpi.c
2187
DEVNAME(sc), letoh16(pfp->protocol_flags),
sys/dev/ic/mpi.c
2188
letoh16(pfp->port_scsi_id));
sys/dev/ic/mpi.c
2191
letoh16(pfp->max_persistent_ids),
sys/dev/ic/mpi.c
2192
letoh16(pfp->max_posted_cmd_buffers));
sys/dev/ic/mpi.c
2194
letoh16(pfp->max_lan_buckets));
sys/dev/ic/mpi.c
2290
letoh16(enp->data_length));
sys/dev/ic/mpi.c
2296
letoh16(enp->ioc_status));
sys/dev/ic/mpi.c
2817
letoh16(cp->ext_page_length), cp->ext_page_type,
sys/dev/ic/mpi.c
2822
letoh16(cp->ioc_status));
sys/dev/ic/mpi.c
2931
letoh16(cp->ext_page_length), cp->ext_page_type,
sys/dev/ic/mpi.c
2936
letoh16(cp->ioc_status));
sys/dev/ic/mpi.c
415
DEVNAME(sc), port.port_scsi_id, letoh16(port.port_resp_ids));
sys/dev/ic/mpi.c
419
DEVNAME(sc), port.target_config, letoh16(port.id_config));
sys/dev/ic/nvme.c
2207
temp = letoh16(health->temperature);
sys/dev/ic/pgt.c
1297
sc->sc_dev.dv_xname, pq, letoh16(pd->pd_fragp->pf_flags)));
sys/dev/ic/pgt.c
1364
if (letoh16(pd->pd_fragp->pf_size) < sizeof(*pmf)) {
sys/dev/ic/pgt.c
1368
letoh16(pd->pd_fragp->pf_size)));
sys/dev/ic/pgt.c
1484
datalen = letoh16(pd->pd_fragp->pf_size);
sys/dev/ic/pgt.c
1896
for (i = 0, j = letoh16(freqs->pof_count); i < j; i++) {
sys/dev/ic/pgt.c
1897
chan = ieee80211_mhz2ieee(letoh16(freqs->pof_freqlist_mhz[i]),
sys/dev/ic/pgt.c
1907
if (letoh16(freqs->pof_freqlist_mhz[i]) < 5000) {
sys/dev/ic/pgt.c
1925
letoh16(freqs->pof_freqlist_mhz[i]);
sys/dev/ic/pgt.c
1932
letoh16(freqs->pof_freqlist_mhz[i])));
sys/dev/ic/pgt.c
2305
nr->nr_channel = letoh16(res->wi_chan);
sys/dev/ic/pgt.c
2307
nr->nr_rssi = letoh16(res->wi_signal);
sys/dev/ic/pgt.c
2309
nr->nr_nwid_len = letoh16(res->wi_ssid_len);
sys/dev/ic/pgt.c
2311
nr->nr_intval = letoh16(res->wi_interval);
sys/dev/ic/pgt.c
2312
nr->nr_capinfo = letoh16(res->wi_capinfo);
sys/dev/ic/pgt.c
2389
ap.wi_chan = ieee80211_mhz2ieee(letoh16(pob->pob_channel), 0);
sys/dev/ic/pgt.c
2391
ap.wi_signal = letoh16(pob->pob_rssi);
sys/dev/ic/pgt.c
2393
ap.wi_interval = letoh16(pob->pob_beacon_period);
sys/dev/ic/pgt.c
2394
ap.wi_capinfo = letoh16(pob->pob_capinfo);
sys/dev/ic/pgt.c
2399
if (letoh16(pob->pob_rates) & (1 << i)) {
sys/dev/ic/pgt.c
2805
ni->ni_associd = letoh16(mlme->pom_id);
sys/dev/ic/pgt.c
2806
pin->pin_mlme_state = letoh16(mlme->pom_state);
sys/dev/ic/pgt.c
2810
pin->pin_mlme_state = letoh16(mlme->pom_state);
sys/dev/ic/pgt.c
2863
letoh16(mlme->pom_id),
sys/dev/ic/pgt.c
2864
letoh16(mlme->pom_state),
sys/dev/ic/pgt.c
2865
letoh16(mlme->pom_code)));
sys/dev/ic/pgt.c
954
letoh16(pha->pra_unknown0),
sys/dev/ic/pgt.c
955
letoh16(pha->pra_length),
sys/dev/ic/qla.c
1520
loopid = letoh16(l[i].loop_id);
sys/dev/ic/qla.c
2460
data[i] = letoh16(val);
sys/dev/ic/qla.c
285
if (letoh16(pdb->prli_svc_word3) & QLA_SVC3_TARGET_ROLE)
sys/dev/ic/qla.c
290
port->portid = (letoh16(pdb->port_id[0]) << 16) |
sys/dev/ic/qla.c
291
letoh16(pdb->port_id[1]);
sys/dev/ic/qla.c
336
if (letoh16(pdb->prli_svc_word3) & QLA_SVC3_TARGET_ROLE)
sys/dev/ic/qla.c
347
port->portid = (letoh16(pdb->port_id[0]) << 16) |
sys/dev/ic/qla.c
348
letoh16(pdb->port_id[1]);
sys/dev/ic/qla.c
385
if (letoh16(pdb->prli_svc_word3) & QLA_SVC3_TARGET_ROLE)
sys/dev/ic/qla.c
774
xs->status = letoh16(status->scsi_status);
sys/dev/ic/qla.c
775
switch (letoh16(status->completion)) {
sys/dev/ic/qla.c
777
if (letoh16(status->scsi_status) &
sys/dev/ic/qlw.c
1511
data[i] = letoh16(val);
sys/dev/ic/qlw.c
1547
sc->sc_selection_timeout[0] = letoh16(nv->selection_timeout);
sys/dev/ic/qlw.c
1548
sc->sc_max_queue_depth[0] = letoh16(nv->max_queue_depth);
sys/dev/ic/qlw.c
1579
sc->sc_selection_timeout[bus] = letoh16(nv->selection_timeout);
sys/dev/ic/qlw.c
1580
sc->sc_max_queue_depth[bus] = letoh16(nv->max_queue_depth);
sys/dev/ic/re.c
877
as[i] = letoh16(as[i]);
sys/dev/ic/rt2860.c
1349
m->m_pkthdr.len = m->m_len = letoh16(rxwi->len) & 0xfff;
sys/dev/ic/rt2860.c
1382
phy = letoh16(rxwi->phy);
sys/dev/ic/rtl81x9.c
240
*ptr = letoh16(word);
sys/dev/ic/rtwn.c
1772
if ((letoh16(hdr->signature) >> 4) == 0x230 ||
sys/dev/ic/rtwn.c
1773
(letoh16(hdr->signature) >> 4) == 0x88c ||
sys/dev/ic/rtwn.c
1774
(letoh16(hdr->signature) >> 4) == 0x88e ||
sys/dev/ic/rtwn.c
1775
(letoh16(hdr->signature) >> 4) == 0x88f ||
sys/dev/ic/rtwn.c
1776
(letoh16(hdr->signature) >> 4) == 0x92c ||
sys/dev/ic/rtwn.c
1777
(letoh16(hdr->signature) >> 4) == 0x92e) {
sys/dev/ic/rtwn.c
1779
letoh16(hdr->version), letoh16(hdr->subversion),
sys/dev/ic/twe.c
708
switch (letoh16(cmd->cmd_op)) {
sys/dev/pci/arc.c
2466
rlenhdr = letoh16(bufhdr->len);
sys/dev/pci/drm/include/asm/byteorder.h
9
#define le16_to_cpu(x) letoh16(x)
sys/dev/pci/if_bnxreg.h
280
#define bnx_le16toh(x) letoh16(x)
sys/dev/pci/if_bnxt.c
2686
m->m_pkthdr.len = m->m_len = letoh16(rxlo->len);
sys/dev/pci/if_bnxt.c
2722
am->m_len = letoh16(ag->len);
sys/dev/pci/if_bnxt.c
3359
*ctx_id = letoh16(resp->rss_cos_lb_ctx_id);
sys/dev/pci/if_bnxt.c
3854
count = letoh16(caps->qp_min_qp1_entries) +
sys/dev/pci/if_bnxt.c
3855
letoh16(caps->qp_max_l2_entries);
sys/dev/pci/if_bnxt.c
3856
size = letoh16(caps->qp_entry_size);
sys/dev/pci/if_bnxt.c
3876
count = letoh16(caps->srq_max_l2_entries);
sys/dev/pci/if_bnxt.c
3877
size = letoh16(caps->srq_entry_size);
sys/dev/pci/if_bnxt.c
3897
size = letoh16(caps->cq_entry_size);
sys/dev/pci/if_bnxt.c
3937
size = letoh16(caps->stat_entry_size);
sys/dev/pci/if_bnxt.c
3958
size = letoh16(caps->tqm_entry_size);
sys/dev/pci/if_bnxt.c
3983
size = letoh16(caps->tqm_entry_size);
sys/dev/pci/if_bwfm_pci.c
1687
flowid = letoh16(fcr->compl_hdr.flow_ring_id);
sys/dev/pci/if_bwfm_pci.c
1718
flowid = letoh16(fdr->compl_hdr.flow_ring_id);
sys/dev/pci/if_bwfm_pci.c
1756
m->m_len = m->m_pkthdr.len = letoh16(event->event_data_len);
sys/dev/pci/if_bwfm_pci.c
1779
if (letoh16(rx->data_offset))
sys/dev/pci/if_bwfm_pci.c
1780
m_adj(m, letoh16(rx->data_offset));
sys/dev/pci/if_bwfm_pci.c
1783
m->m_len = m->m_pkthdr.len = letoh16(rx->data_len);
sys/dev/pci/if_bwfm_pci.c
2094
req->flow_ring_id = letoh16(cmd->flowid + 2);
sys/dev/pci/if_bwfm_pci.c
2101
req->max_items = letoh16(512);
sys/dev/pci/if_bwfm_pci.c
2102
req->len_item = letoh16(48);
sys/dev/pci/if_bwfm_pci.c
2134
req->flow_ring_id = letoh16(flowid + 2);
sys/dev/pci/if_bwfm_pci.c
2561
if (ctl->transid != letoh16(resp->trans_id))
sys/dev/pci/if_bwfm_pci.c
2564
ctl->retlen = letoh16(resp->resp_len);
sys/dev/pci/if_bwfm_pci.c
2565
ctl->status = letoh16(resp->compl_hdr.status);
sys/dev/pci/if_em.c
3123
desc_len = letoh16(desc->length);
sys/dev/pci/if_em.c
3193
letoh16(desc->special);
sys/dev/pci/if_iavf.c
2578
if (letoh16(vf_res->num_vsis) == 0) {
sys/dev/pci/if_iavf.c
2587
mtu = letoh16(vf_res->max_mtu);
sys/dev/pci/if_iavf.c
2593
sc->sc_vsi_id = letoh16(vsi_res->vsi_id);
sys/dev/pci/if_iavf.c
2594
sc->sc_qset_handle = letoh16(vsi_res->qset_handle);
sys/dev/pci/if_iavf.c
2595
sc->sc_num_queue_pairs = letoh16(vsi_res->num_queue_pairs);
sys/dev/pci/if_igc.c
1345
len = letoh16(rxdesc->wb.upper.length);
sys/dev/pci/if_igc.c
1346
vtag = letoh16(rxdesc->wb.upper.vlan);
sys/dev/pci/if_ipw.c
949
switch (letoh16(status->code) & 0xf) {
sys/dev/pci/if_ipw.c
969
sc->sc_dev.dv_xname, letoh16(status->code));
sys/dev/pci/if_iwi.c
1368
letoh16(desc->len), data->map->dm_nsegs));
sys/dev/pci/if_iwi.c
881
letoh16(frame->len), frame->chan, frame->rssi_dbm));
sys/dev/pci/if_iwi.c
883
if (letoh16(frame->len) < sizeof (struct ieee80211_frame_min) ||
sys/dev/pci/if_iwi.c
884
letoh16(frame->len) > MCLBYTES) {
sys/dev/pci/if_iwi.c
934
sizeof (struct iwi_frame) + letoh16(frame->len);
sys/dev/pci/if_iwm.c
4933
phy_flags = letoh16(phy_info->phy_flags);
sys/dev/pci/if_iwm.c
4995
seq = letoh16(*(u_int16_t *)wh->i_seq) >> IEEE80211_SEQ_SEQ_SHIFT;
sys/dev/pci/if_iwn.c
1004
base = letoh16(next);
sys/dev/pci/if_iwn.c
1448
DPRINTF(("SKU capabilities=0x%04x\n", letoh16(val)));
sys/dev/pci/if_iwn.c
1454
sc->rfcfg = letoh16(val);
sys/dev/pci/if_iwn.c
1507
sc->eeprom_voltage = (int16_t)letoh16(val);
sys/dev/pci/if_iwn.c
1565
base = letoh16(val);
sys/dev/pci/if_iwn.c
1580
base = letoh16(val);
sys/dev/pci/if_iwn.c
1583
hdr.version, hdr.pa_type, letoh16(hdr.volt)));
sys/dev/pci/if_iwn.c
1590
sc->eeprom_voltage = letoh16(hdr.volt);
sys/dev/pci/if_iwn.c
1592
sc->eeprom_temp = letoh16(val);
sys/dev/pci/if_iwn.c
1594
sc->eeprom_rawtemp = letoh16(val);
sys/dev/pci/if_iwn.c
1600
sc->eeprom_temp = letoh16(val);
sys/dev/pci/if_iwn.c
1602
volt = letoh16(val);
sys/dev/pci/if_iwn.c
1690
base = letoh16(val);
sys/dev/pci/if_iwn.c
2043
len = letoh16(mpdu->len);
sys/dev/pci/if_iwn.c
2046
len = letoh16(stat->len);
sys/dev/pci/if_iwn.c
2738
stat->rflags, txfail, desc->qid, letoh16(stat->len));
sys/dev/pci/if_iwn.c
2872
hw = letoh16(sc->rxq.stat->closed_count) & 0xfff;
sys/dev/pci/if_iwn.c
4293
mask = (letoh16(phy->antenna) >> 4) & IWN_ANT_ABC;
sys/dev/pci/if_iwn.c
4294
agc = (letoh16(phy->agc) >> 7) & 0x7f;
sys/dev/pci/if_iwn.c
4316
rssi = MAX(letoh16(phy->rssi[0]) & 0xff,
sys/dev/pci/if_iwn.c
4317
letoh16(phy->rssi[1]) & 0xff);
sys/dev/pci/if_iwn.c
4318
rssi = MAX(letoh16(phy->rssi[2]) & 0xff, rssi);
sys/dev/pci/if_iwn.c
6212
DPRINTF(("setting radio sensor offset to %d\n", letoh16(cmd.offset)));
sys/dev/pci/if_iwn.c
6234
letoh16(cmd.offset_low), letoh16(cmd.offset_high),
sys/dev/pci/if_iwn.c
6235
letoh16(cmd.burnt_voltage_ref)));
sys/dev/pci/if_iwn.c
6674
switch (letoh16(tlv->type)) {
sys/dev/pci/if_iwn.c
6698
sc->sc_dev.dv_xname, letoh16(tlv->type),
sys/dev/pci/if_iwn.c
6707
sc->sc_dev.dv_xname, letoh16(tlv->type),
sys/dev/pci/if_iwn.c
6726
letoh16(tlv->type)));
sys/dev/pci/if_iwx.c
4957
seq = letoh16(*(u_int16_t *)wh->i_seq) >> IEEE80211_SEQ_SEQ_SHIFT;
sys/dev/pci/if_ix.c
3319
len = letoh16(rxdesc->wb.upper.length);
sys/dev/pci/if_ix.c
3320
vtag = letoh16(rxdesc->wb.upper.vlan);
sys/dev/pci/if_ixgb.c
1744
len = letoh16(current_desc->length);
sys/dev/pci/if_ixgb.c
1774
letoh16(current_desc->special);
sys/dev/pci/if_ixgb_osdep.h
63
#define le16_to_cpu letoh16
sys/dev/pci/if_ixl.c
4598
return letoh16(iaq.iaq_retval);
sys/dev/pci/if_ixl.c
4631
return letoh16(iaq.iaq_retval);
sys/dev/pci/if_msk.c
2452
DESC_PRINT(letoh16(le->sk_len));
sys/dev/pci/if_nfe.c
647
flags = letoh16(desc64->flags);
sys/dev/pci/if_nfe.c
648
len = letoh16(desc64->length) & 0x3fff;
sys/dev/pci/if_nfe.c
656
flags = letoh16(desc32->flags);
sys/dev/pci/if_nfe.c
657
len = letoh16(desc32->length) & 0x3fff;
sys/dev/pci/if_nfe.c
791
flags = letoh16(desc64->flags);
sys/dev/pci/if_nfe.c
796
flags = letoh16(desc32->flags);
sys/dev/pci/if_ngbe.c
4313
len = letoh16(rxdesc->wb.upper.length);
sys/dev/pci/if_ngbe.c
4314
vtag = letoh16(rxdesc->wb.upper.vlan);
sys/dev/pci/if_nxe.c
1668
sc->sc_fw_build = letoh16(nu->nu_imageinfo.nim_img_ver_build);
sys/dev/pci/if_oce.c
3280
rq->id = letoh16(cmd.params.rsp.rq_id);
sys/dev/pci/if_oce.c
3315
wq->id = letoh16(cmd.params.rsp.wq_id);
sys/dev/pci/if_oce.c
3349
mq->id = letoh16(cmd.params.rsp.mq_id);
sys/dev/pci/if_oce.c
3381
eq->id = letoh16(cmd.params.rsp.eq_id);
sys/dev/pci/if_oce.c
3437
cq->id = letoh16(cmd.params.rsp.cq_id);
sys/dev/pci/if_sis.c
1080
tmp[3] = letoh16(sis_reverse(tmp[3]));
sys/dev/pci/if_sis.c
1081
tmp[2] = letoh16(sis_reverse(tmp[2]));
sys/dev/pci/if_sis.c
1082
tmp[1] = letoh16(sis_reverse(tmp[1]));
sys/dev/pci/if_sis.c
299
*ptr = letoh16(word);
sys/dev/pci/if_sis.c
340
enaddr[0] = letoh16(CSR_READ_4(sc, SIS_RXFILT_DATA) & 0xffff);
sys/dev/pci/if_sis.c
342
enaddr[1] = letoh16(CSR_READ_4(sc, SIS_RXFILT_DATA) & 0xffff);
sys/dev/pci/if_sis.c
344
enaddr[2] = letoh16(CSR_READ_4(sc, SIS_RXFILT_DATA) & 0xffff);
sys/dev/pci/if_sk.c
2001
letoh16(*(u_int16_t *)(&sc_if->arpcom.ac_enaddr[0])));
sys/dev/pci/if_sk.c
2003
letoh16(*(u_int16_t *)(&sc_if->arpcom.ac_enaddr[2])));
sys/dev/pci/if_sk.c
2005
letoh16(*(u_int16_t *)(&sc_if->arpcom.ac_enaddr[4])));
sys/dev/pci/if_sk.c
2557
DESC_PRINT(letoh16(desc->sk_rsvd0));
sys/dev/pci/if_sk.c
2558
DESC_PRINT(letoh16(desc->sk_rsvd1));
sys/dev/pci/if_sk.c
397
SK_XM_WRITE_2(sc_if, base, letoh16(*(u_int16_t *)(&addr[0])));
sys/dev/pci/if_sk.c
398
SK_XM_WRITE_2(sc_if, base + 2, letoh16(*(u_int16_t *)(&addr[2])));
sys/dev/pci/if_sk.c
399
SK_XM_WRITE_2(sc_if, base + 4, letoh16(*(u_int16_t *)(&addr[4])));
sys/dev/pci/if_stge.c
319
myaddr[i] = letoh16(myaddr[i]);
sys/dev/pci/if_tht.c
1351
m->m_pkthdr.len = m->m_len = letoh16(rxd.len);
sys/dev/pci/if_txp.c
1421
*out1 = letoh16(rsp->rsp_par1);
sys/dev/pci/if_txp.c
1515
if (id == letoh16(rsp->rsp_id) && letoh16(rsp->rsp_seq) == seq) {
sys/dev/pci/if_txp.c
1526
TXP_DEVNAME(sc), letoh16(rsp->rsp_id));
sys/dev/pci/if_txp.c
1532
switch (letoh16(rsp->rsp_id)) {
sys/dev/pci/if_txp.c
1541
letoh16(rsp->rsp_id));
sys/dev/pci/if_txp.c
1740
cmd->cmd_flags, cmd->cmd_numdesc, letoh16(cmd->cmd_id),
sys/dev/pci/if_txp.c
1741
letoh16(cmd->cmd_seq), letoh16(cmd->cmd_par1),
sys/dev/pci/if_txp.c
1747
rsp->rsp_flags, rsp->rsp_numdesc, letoh16(rsp->rsp_id),
sys/dev/pci/if_txp.c
1748
letoh16(rsp->rsp_seq), letoh16(rsp->rsp_par1),
sys/dev/pci/if_txp.c
1766
cmd->cmd_flags, cmd->cmd_numdesc, letoh16(cmd->cmd_id),
sys/dev/pci/if_txp.c
1767
letoh16(cmd->cmd_seq), letoh16(cmd->cmd_par1),
sys/dev/pci/if_txp.c
513
WRITE_REG(sc, TXP_H2A_2, letoh16(sect->cksum));
sys/dev/pci/if_txp.c
627
m->m_pkthdr.len = m->m_len = letoh16(rxd->rx_len);
sys/dev/pci/if_vte.c
1001
total_len = VTE_RX_LEN(letoh16(rxd->rx_desc->drlen));
sys/dev/pci/if_vte.c
902
status = letoh16(txd->tx_desc->dtst);
sys/dev/pci/if_vte.c
998
status = letoh16(rxd->rx_desc->drst);
sys/dev/pci/if_wpi.c
1199
tail = (struct wpi_rx_tail *)((caddr_t)(head + 1) + letoh16(head->len));
sys/dev/pci/if_wpi.c
1209
if (letoh16(head->len) < sizeof (*wh)) {
sys/dev/pci/if_wpi.c
1210
DPRINTF(("frame too short: %d\n", letoh16(head->len)));
sys/dev/pci/if_wpi.c
1256
m->m_pkthdr.len = m->m_len = letoh16(head->len);
sys/dev/pci/if_wpi.c
1297
if (letoh16(head->flags) & 0x4)
sys/dev/pci/if_wpi.c
1304
tap->wr_dbm_antnoise = (int8_t)letoh16(stat->noise);
sys/dev/pci/if_wpi.c
1306
tap->wr_antenna = (letoh16(head->flags) >> 4) & 0xf;
sys/dev/pci/if_wpi.c
3076
if ((letoh16(sc->rev) & 0xf0) == 0xd0)
sys/dev/pci/if_wpi.c
871
DPRINTF(("cap=%x rev=%x type=%x\n", sc->cap, letoh16(sc->rev),
sys/dev/pci/if_wpi.c
962
group->temp = (int16_t)letoh16(rgroup.temp);
sys/dev/pci/ips.c
1391
letoh32(cmd->sgaddr), letoh16(cmd->seccnt)));
sys/dev/pci/ips.c
1486
int done = letoh16(dcdb->datalen);
sys/dev/pci/ips.c
1547
cmd->drive, cmd->sgcnt, letoh32(cmd->lba), letoh16(cmd->seccnt)));
sys/dev/pci/ips.c
1553
dcdb->device, dcdb->attr, letoh16(dcdb->datalen),
sys/dev/pci/ips.c
1583
if (xs && letoh16(dcdb->datalen) < xs->datalen)
sys/dev/pci/ips.c
1618
if (xs && letoh16(dcdb->datalen) < xs->datalen)
sys/dev/pci/ips.c
705
type = letoh16(pg5->type);
sys/dev/pci/mbg.c
367
letoh16(tframe.status));
sys/dev/pci/mfii.c
1137
ccb->ccb_req.smid = letoh16(ccb->ccb_smid);
sys/dev/pci/mfii.c
1890
ccb->ccb_req.smid = letoh16(ccb->ccb_smid);
sys/dev/pci/mfii.c
2129
ccb = &sc->sc_ccb[letoh16(rdp->smid) - 1];
sys/dev/pci/mfii.c
2400
ccb->ccb_req.smid = letoh16(ccb->ccb_smid);
sys/dev/pci/mfii.c
2447
ccb->ccb_req.smid = letoh16(ccb->ccb_smid);
sys/dev/pci/mfii.c
2565
ccb->ccb_req.smid = letoh16(ccb->ccb_smid);
sys/dev/pci/mfii.c
2711
accb->ccb_req.smid = letoh16(accb->ccb_smid);
sys/dev/pci/mfii.c
3850
sc->sc_bbu[1].value = letoh16(bbu.voltage) * 1000;
sys/dev/pci/mfii.c
3851
sc->sc_bbu[2].value = (int16_t)letoh16(bbu.current) * 1000;
sys/dev/pci/mfii.c
3852
sc->sc_bbu[3].value = letoh16(bbu.temperature) * 1000000 + 273150000;
sys/dev/pci/mfii.c
781
if (letoh16(sc->sc_info.mci_memory_size) > 0)
sys/dev/pci/mfii.c
782
printf(", %uMB cache", letoh16(sc->sc_info.mci_memory_size));
sys/dev/pci/mpii.c
1246
words[i] = letoh16(mpii_read_db(sc) & MPII_DOORBELL_DATA_MASK);
sys/dev/pci/sti_pci.c
548
tmp16 = letoh16(tmp16);
sys/dev/pci/sti_pci.c
586
ds.dslen = letoh16(ds.dslen);
sys/dev/pci/sti_pci.c
587
ds.romlen = letoh16(ds.romlen);
sys/dev/pci/sti_pci.c
589
ds.vid = letoh16(ds.vid);
sys/dev/pci/sti_pci.c
590
ds.pid = letoh16(ds.pid);
sys/dev/pci/sti_pci.c
591
ds.level = letoh16(ds.level);
sys/dev/pcmcia/if_malo.c
1040
sc->sc_dev.dv_xname, txdesc->status, letoh16(txdesc->pkglen),
sys/dev/pcmcia/if_malo.c
1333
psize += (sizeof(*body_rates) - 1) + letoh16(body_rates->size);
sys/dev/pcmcia/if_malo.c
1367
body->bufsize = letoh16(body->bufsize);
sys/dev/pcmcia/if_malo.c
1376
set->size = letoh16(set->size);
sys/dev/pcmcia/if_malo.c
1377
set->beaconintvl = letoh16(set->beaconintvl);
sys/dev/pcmcia/if_malo.c
1378
set->capinfo = letoh16(set->capinfo);
sys/dev/pcmcia/if_malo.c
1798
letoh16(body_ssid->size));
sys/dev/pcmcia/if_malo.c
1799
psize += (sizeof(*body_ssid) - 1) + letoh16(body_ssid->size);
sys/dev/pcmcia/if_malo.c
1816
letoh16(body_rates->size));
sys/dev/pcmcia/if_malo.c
1817
psize += (sizeof(*body_rates) - 1) + letoh16(body_rates->size);
sys/dev/pcmcia/if_malo.c
1823
bcopy(body_rates->data, body_passeid->data, letoh16(body_rates->size));
sys/dev/pcmcia/if_malo.c
1824
psize += (sizeof(*body_passeid) - 1) + letoh16(body_passeid->size);
sys/dev/pcmcia/if_malo.c
2065
hdr->cmd = letoh16(hdr->cmd);
sys/dev/pcmcia/if_malo.c
2066
hdr->size = letoh16(hdr->size);
sys/dev/pcmcia/if_malo.c
2067
hdr->seqnum = letoh16(hdr->seqnum);
sys/dev/pcmcia/if_malo.c
2068
hdr->result = letoh16(hdr->result);
sys/dev/pcmcia/if_malo.c
928
rxdesc->status = letoh16(rxdesc->status);
sys/dev/pcmcia/if_malo.c
929
rxdesc->pkglen = letoh16(rxdesc->pkglen);
sys/dev/sdmmc/if_bwfm_sdio.c
1227
hwhdr->frmlen = letoh16(hwhdr->frmlen);
sys/dev/sdmmc/if_bwfm_sdio.c
1228
hwhdr->cksum = letoh16(hwhdr->cksum);
sys/dev/sdmmc/if_bwfm_sdio.c
1338
if (letoh16(sublen[i]) > m->m_len) {
sys/dev/sdmmc/if_bwfm_sdio.c
1343
letoh16(sublen[i]), 0)) {
sys/dev/sdmmc/if_bwfm_sdio.c
1347
m->m_len = m->m_pkthdr.len = letoh16(sublen[i]);
sys/dev/sdmmc/if_bwfm_sdio.c
1367
hwhdr.frmlen = letoh16(hwhdr.frmlen);
sys/dev/sdmmc/if_bwfm_sdio.c
1368
hwhdr.cksum = letoh16(hwhdr.cksum);
sys/dev/usb/if_athn_usb.c
2182
pktlen = letoh16(hdr->len);
sys/dev/usb/if_axe.c
1022
if (((letoh16(hdr.len) & AXE_RH1M_RXLEN_MASK) ^
sys/dev/usb/if_axe.c
1023
(letoh16(hdr.ilen) & AXE_RH1M_RXLEN_MASK)) !=
sys/dev/usb/if_axe.c
1028
pktlen = letoh16(hdr.len) & AXE_RH1M_RXLEN_MASK;
sys/dev/usb/if_axe.c
522
eeprom = letoh16(eeprom);
sys/dev/usb/if_mtw.c
1062
*val = letoh16(tmp);
sys/dev/usb/if_mtw.c
2060
len = letoh16(rxwi->len) & 0xfff;
sys/dev/usb/if_mtw.c
2131
phy = letoh16(rxwi->phy);
sys/dev/usb/if_otus.c
1033
ether_sprintf(tx->macaddr), letoh16(tx->status),
sys/dev/usb/if_otus.c
1224
DPRINTF(("tag not valid 0x%x\n", letoh16(head->tag)));
sys/dev/usb/if_otus.c
1227
hlen = letoh16(head->len);
sys/dev/usb/if_otus.c
390
domain = letoh16(sc->eeprom.baseEepHeader.regDmn[0]);
sys/dev/usb/if_ral.c
1381
return letoh16(val);
sys/dev/usb/if_ral.c
1782
sc->macbbp_rev = letoh16(val);
sys/dev/usb/if_ral.c
1785
val = letoh16(val);
sys/dev/usb/if_ral.c
2147
ifp->if_oerrors += letoh16(sc->sta[9]);
sys/dev/usb/if_ral.c
2150
letoh16(sc->sta[7]) + /* TX one-retry ok count */
sys/dev/usb/if_ral.c
2151
letoh16(sc->sta[8]) + /* TX more-retry ok count */
sys/dev/usb/if_ral.c
2152
letoh16(sc->sta[9]); /* TX retry-fail count */
sys/dev/usb/if_ral.c
2156
letoh16(sc->sta[6]); /* TX no-retry ok count */
sys/dev/usb/if_rsu.c
1235
cmdsz = letoh16(cmd->len);
sys/dev/usb/if_rsu.c
2030
sc->sc_dev.dv_xname, letoh16(hdr->signature));
sys/dev/usb/if_rsu.c
2034
DPRINTF(("FW V%d %02x-%02x %02x:%02x\n", letoh16(hdr->version),
sys/dev/usb/if_rsu.c
591
return (letoh16(val));
sys/dev/usb/if_rum.c
1822
sc->macbbp_rev = letoh16(val);
sys/dev/usb/if_rum.c
1828
val = letoh16(val);
sys/dev/usb/if_rum.c
1838
val = letoh16(val);
sys/dev/usb/if_rum.c
1846
val = letoh16(val);
sys/dev/usb/if_rum.c
1851
val = letoh16(val);
sys/dev/usb/if_rum.c
1859
val = letoh16(val);
sys/dev/usb/if_run.c
1091
*val = letoh16(tmp);
sys/dev/usb/if_run.c
2198
len = letoh16(rxwi->len) & 0xfff;
sys/dev/usb/if_run.c
2271
phy = letoh16(rxwi->phy);
sys/dev/usb/if_upgt.c
1045
channel = ieee80211_mhz2ieee(letoh16(freq3[i].freq), 0);
sys/dev/usb/if_upgt.c
1051
letoh16(sc->sc_eeprom_freq3[channel].freq), channel);
sys/dev/usb/if_upgt.c
1079
channel = ieee80211_mhz2ieee(letoh16(freq4_1[i].freq), 0);
sys/dev/usb/if_upgt.c
1090
letoh16(freq4_1[i].freq), channel);
sys/dev/usb/if_upgt.c
1108
channel = ieee80211_mhz2ieee(letoh16(freq6[i].freq), 0);
sys/dev/usb/if_upgt.c
1114
letoh16(sc->sc_eeprom_freq6[channel].freq), channel);
sys/dev/usb/if_upgt.c
1595
letoh16(desc->status),
sys/dev/usb/if_upgt.c
1596
letoh16(desc->rssi));
sys/dev/usb/if_upgt.c
1597
DPRINTF(2, "seq=%d\n", letoh16(desc->seq));
sys/dev/usb/if_upgt.c
1640
h2_type = letoh16(header->header2.type);
sys/dev/usb/if_upgt.c
1645
uint16_t eeprom_offset = letoh16(eeprom->offset);
sys/dev/usb/if_upgt.c
1646
uint16_t eeprom_len = letoh16(eeprom->len);
sys/dev/usb/if_upgt.c
1669
upgt_rx(sc, data_rx->buf + 4, letoh16(header->header1.len));
sys/dev/usb/if_upgt.c
930
preamble_len = letoh16(eeprom_header->preamble_len);
sys/dev/usb/if_upgt.c
937
(letoh16(eeprom_option->len) - 1) * sizeof(uint16_t);
sys/dev/usb/if_upgt.c
939
letoh16(eeprom_option->type);
sys/dev/usb/if_urtw.c
1585
*data = letoh16(*data);
sys/dev/usb/if_urtwn.c
857
return (letoh16(val));
sys/dev/usb/if_wi_usb.c
1349
rtype = letoh16(uin->type);
sys/dev/usb/if_wi_usb.c
1450
u_int16_t status = letoh16(presp->status);
sys/dev/usb/if_wi_usb.c
1456
cmdresperr = letoh16(presp->resp0);
sys/dev/usb/if_wi_usb.c
1460
cmdresperr, letoh16(presp->resp1),
sys/dev/usb/if_wi_usb.c
1461
letoh16(presp->resp2)));
sys/dev/usb/if_wi_usb.c
1481
u_int16_t frmlen = letoh16(presp->frmlen);
sys/dev/usb/if_wi_usb.c
1486
rid = letoh16(presp->rid);
sys/dev/usb/if_wi_usb.c
1500
rid = letoh16(presp->rid);
sys/dev/usb/if_wi_usb.c
1537
status = letoh16(presp->status);
sys/dev/usb/if_wi_usb.c
1569
status = letoh16(uin->type); /* XXX -- type == status */
sys/dev/usb/if_wi_usb.c
453
letoh16(wibuf->wi_dat_len);
sys/dev/usb/if_wi_usb.c
683
switch (letoh16(ltv->wi_val)) {
sys/dev/usb/if_wi_usb.c
691
default: v = 0x100 + letoh16(ltv->wi_val); break;
sys/dev/usb/if_wi_usb.c
746
letoh16(ltv->wi_val) == WI_PORTTYPE_IBSS) {
sys/dev/usb/if_wi_usb.c
759
switch (letoh16(ltv->wi_val)) {
sys/dev/usb/if_wi_usb.c
823
keylen = letoh16(keylen);
sys/dev/usb/if_zyd.c
1848
if (letoh16(cmd->code) == ZYD_NOTIF_RETRYSTATUS) {
sys/dev/usb/if_zyd.c
1856
letoh16(retry->rate), ether_sprintf(retry->macaddr),
sys/dev/usb/if_zyd.c
1857
letoh16(retry->count) & 0xff, letoh16(retry->count)));
sys/dev/usb/if_zyd.c
1873
if (letoh16(retry->count) & 0x100)
sys/dev/usb/if_zyd.c
1876
} else if (letoh16(cmd->code) == ZYD_NOTIF_IORD) {
sys/dev/usb/if_zyd.c
1877
if (letoh16(*(uint16_t *)cmd->data) == ZYD_CR_INTERRUPT)
sys/dev/usb/if_zyd.c
1890
letoh16(cmd->code));
sys/dev/usb/if_zyd.c
804
*val = letoh16(odata[0].val);
sys/dev/usb/if_zyd.c
821
*val = letoh16(odata[0].val) << 16 | letoh16(odata[1].val);
sys/dev/usb/ohci.c
1386
len = letoh16(sitd->
sys/dev/usb/ohci.c
1852
(u_int)letoh16(sitd->itd.itd_offset[i]));
sys/dev/usb/ubcmtp.c
807
if ((int16_t)letoh16(finger->touch_major) == 0)
sys/dev/usb/ubcmtp.c
810
sc->frame[contacts].x = (int16_t)letoh16(finger->abs_x);
sys/dev/usb/ubcmtp.c
811
sc->frame[contacts].y = (int16_t)letoh16(finger->abs_y);
sys/dev/usb/ubcmtp.c
818
sc->btn = !!((int16_t)letoh16(sc->tp_pkt[UBCMTP_TYPE2_BTOFF]));
sys/dev/usb/ubcmtp.c
820
sc->btn = !!((int16_t)letoh16(sc->tp_pkt[UBCMTP_TYPE3_BTOFF]));
sys/dev/usb/ubcmtp.c
822
sc->btn = !!((int16_t)letoh16(sc->tp_pkt[UBCMTP_TYPE4_BTOFF]));
sys/dev/usb/umbg.c
353
!(letoh16(tframe.status) & MBG_FREERUN)) {
sys/dev/usb/umbg.c
368
sc->sc_signal.status = letoh16(tframe.status) & MBG_FREERUN ?
sys/dev/x86emu/x86emu_util.c
86
return letoh16(*(u_int16_t *)(emu->mem_base + addr));
sys/isofs/udf/udf_vfsops.c
198
if (letoh16(tag->id) != id)
sys/isofs/udf/udf_vfsops.c
296
fsd_part = letoh16(lvd->_lvd_use.fsd_loc.loc.part_num);
sys/isofs/udf/udf_vfsops.c
305
part_num = letoh16(pd->part_num);
sys/isofs/udf/udf_vfsops.c
769
ump->um_psecs = letoh16(pms->packet_len) / ump->um_bsize;
sys/isofs/udf/udf_vfsops.c
794
for (i = 0; i < letoh16(ump->um_stbl->rt_l); i++) {
sys/isofs/udf/udf_vnops.c
1305
switch (letoh16(tag->strat_type)) {
sys/isofs/udf/udf_vnops.c
1318
switch (letoh16(tag->flags) & 0x7) {
sys/isofs/udf/udf_vnops.c
209
flags = letoh16(up->u_fentry->icbtag.flags);
sys/isofs/udf/udf_vnops.c
283
year = letoh16(time->year);
sys/isofs/udf/udf_vnops.c
319
tz.u_tz_offset = letoh16(time->type_tz);
sys/isofs/udf/udf_vnops.c
352
vap->va_nlink = letoh16(fentry->link_cnt);
sys/isofs/udf/udf_vnops.c
644
ds->off + letoh16(fid->l_iu) + fid->l_fi + UDF_FID_SIZE > ds->size){
sys/isofs/udf/udf_vnops.c
696
total_fid_size = UDF_FID_SIZE + letoh16(fid->l_iu) + fid->l_fi;
sys/isofs/udf/udf_vnops.c
707
total_fid_size = letoh16(fid->l_iu) + fid->l_fi + UDF_FID_SIZE;
sys/kern/subr_disk.c
603
if (letoh16(sig) != DOSMBR_SIGNATURE ||
sys/kern/subr_disk.c
741
if (letoh16(sig) != DOSMBR_SIGNATURE)
sys/kern/subr_disk.c
762
if (letoh16(sig) != DOSMBR_SIGNATURE)
sys/kern/subr_disk.c
852
secsize = letoh16(secsize);
sys/net/if_gre.c
2880
ifr->ifr_vnetid = letoh16(sc->sc_tunnel_id);
sys/net80211/ieee80211.h
302
return letoh16(*(const u_int16_t *)frm);
sys/net80211/ieee80211_input.c
3539
aid = letoh16(*(u_int16_t *)psp->i_aid);
sys/net80211/ieee80211_input.c
398
uint16_t rxseq = letoh16(*(const u_int16_t *)wh->i_seq);
sys/net80211/ieee80211_input.c
407
nrxseq = letoh16(*(u_int16_t *)wh->i_seq) >>
sys/net80211/ieee80211_input.c
753
rxseq = letoh16(*(const u_int16_t *)wh->i_seq);
sys/net80211/ieee80211_input.c
846
sn = letoh16(*(u_int16_t *)wh->i_seq) >> IEEE80211_SEQ_SEQ_SHIFT;
sys/net80211/ieee80211_input.c
933
seq = letoh16(*(u_int16_t *)wh->i_seq) >>
sys/scsi/cd.c
874
th->len = letoh16(th->len);
sys/scsi/cd.c
925
th->len = letoh16(th->len);
sys/scsi/cd.c
965
toc->header.len = letoh16(toc->header.len);
sys/ufs/ext2fs/ext2fs_lookup.c
170
e2d_reclen = letoh16(dp->e2d_reclen);
sys/ufs/ext2fs/ext2fs_lookup.c
363
dp->i_reclen = letoh16(ep->e2d_reclen);
sys/ufs/ext2fs/ext2fs_lookup.c
648
int size = letoh16(ep->e2d_reclen);
sys/ufs/ext2fs/ext2fs_lookup.c
656
ssp->slotsize = letoh16(ep->e2d_reclen);
sys/ufs/ext2fs/ext2fs_lookup.c
664
letoh16(ep->e2d_reclen) - ssp->slotoffset;
sys/ufs/ext2fs/ext2fs_lookup.c
687
ip->i_offset += letoh16(ep->e2d_reclen);
sys/ufs/ext2fs/ext2fs_lookup.c
688
offset += letoh16(ep->e2d_reclen);
sys/ufs/ext2fs/ext2fs_lookup.c
719
int reclen = letoh16(de->e2d_reclen);
sys/ufs/ext2fs/ext2fs_lookup.c
840
spacefree = letoh16(ep->e2d_reclen) - dsize;
sys/ufs/ext2fs/ext2fs_lookup.c
841
for (loc = letoh16(ep->e2d_reclen); loc < dp->i_count; ) {
sys/ufs/ext2fs/ext2fs_lookup.c
852
spacefree += letoh16(nep->e2d_reclen) - dsize;
sys/ufs/ext2fs/ext2fs_lookup.c
853
loc += letoh16(nep->e2d_reclen);
sys/ufs/ext2fs/ext2fs_lookup.c
928
ep->e2d_reclen = htole16(letoh16(ep->e2d_reclen) + dp->i_reclen);
sys/ufs/ext2fs/ext2fs_lookup.c
982
for (off = 0; off < ext2fs_size(ip); off += letoh16(dp->e2d_reclen)) {
sys/ufs/ext2fs/ext2fs_vfsops.c
1064
tmp = letoh16(fs->e2fs_magic);
usr.sbin/hostapd/apme.c
329
rh_len = letoh16(rh->it_len);
usr.sbin/hostapd/handle.c
400
rh_len = letoh16(rh->it_len);
usr.sbin/hostapd/handle.c
431
rtap->r_chan = letoh16(*(u_int16_t*)ptr);
usr.sbin/hostapd/handle.c
432
rtap->r_chan_flags = letoh16(*(u_int16_t*)ptr + 1);
usr.sbin/hostapd/print-802_11.c
122
PRINTF(" (seq %u)", letoh16(*(u_int16_t *)&wh->i_seq[0]));
usr.sbin/hostapd/print-802_11.c
186
PRINTF(", interval %u", letoh16(*(u_int16_t *)bintval));
usr.sbin/hostapd/print-802_11.c
194
printb(", caps", letoh16(*(u_int16_t *)capinfo),
usr.sbin/hostapd/print-802_11.c
458
rh_len = letoh16(rh->it_len);
usr.sbin/hostapd/print-802_11.c
518
freq = letoh16(*(u_int16_t*)t);
usr.sbin/hostapd/print-802_11.c
521
flags = letoh16(*(u_int16_t*)t);
usr.sbin/hostapd/print-802_11.c
564
PRINTF(", quality %u", letoh16(*(u_int16_t*)t));
usr.sbin/hostapd/print-802_11.c
572
letoh16(*(u_int16_t*)t));
usr.sbin/hostapd/print-802_11.c
580
letoh16(*(u_int16_t*)t));
usr.sbin/mkuboot/copy_elf.c
104
for (i = 0; i < letoh16(elf.e_shnum); i++) {
usr.sbin/mkuboot/copy_elf.c
129
for (i = 0; i < letoh16(ehdr.e_phnum); i++) {
usr.sbin/mkuboot/copy_elf.c
131
fprintf(stderr, "phdr %d/%d\n", i, letoh16(ehdr.e_phnum));
usr.sbin/mkuboot/copy_elf.c
134
letoh16(ehdr.e_phentsize), SEEK_SET) == (off_t)-1)
usr.sbin/mkuboot/copy_elf.c
247
for (havesyms = i = 0; i < letoh16(elf.e_shnum); i++)
usr.sbin/mkuboot/copy_elf.c
264
for (i = 0; i < letoh16(elf.e_shnum); i++) {
usr.sbin/mkuboot/copy_elf.c
71
sz = letoh16(elf.e_shnum) * sizeof(Elf_Shdr);
usr.sbin/mkuboot/copy_elf.c
83
for (i = 0; i < letoh16(ehdr.e_phnum); i++) {
usr.sbin/mkuboot/copy_elf.c
85
letoh16(ehdr.e_phentsize), SEEK_SET) == (off_t)-1)
usr.sbin/tcpdump/print-802_11.c
1020
printf(", interval %u", letoh16(bintval));
usr.sbin/tcpdump/print-802_11.c
1025
printb(", caps", letoh16(capinfo), IEEE80211_CAPINFO_BITS);
usr.sbin/tcpdump/print-802_11.c
1049
printb(", caps", letoh16(capinfo), IEEE80211_CAPINFO_BITS);
usr.sbin/tcpdump/print-802_11.c
1054
printf(", listen interval %u", letoh16(lintval));
usr.sbin/tcpdump/print-802_11.c
1450
rh_len = letoh16(rh->it_len);
usr.sbin/tcpdump/print-802_11.c
1512
freq = letoh16(freq);
usr.sbin/tcpdump/print-802_11.c
1516
flags = letoh16(flags);
usr.sbin/tcpdump/print-802_11.c
1562
printf(", quality %u", letoh16(tmp));
usr.sbin/tcpdump/print-802_11.c
1571
printf(", txatt %u", letoh16(tmp));
usr.sbin/tcpdump/print-802_11.c
1580
printf(", txatt %udB", letoh16(tmp));
usr.sbin/tcpdump/print-802_11.c
168
letoh16(seq) >> IEEE80211_SEQ_SEQ_SHIFT,
usr.sbin/tcpdump/print-802_11.c
169
letoh16(seq) & IEEE80211_SEQ_FRAG_MASK);
usr.sbin/tcpdump/print-usbpcap.c
56
hdrlen = letoh16(uph->uph_hlen);
usr.sbin/tcpdump/print-usbpcap.c
65
letoh16(uph->uph_bus),
usr.sbin/tcpdump/print-usbpcap.c
67
letoh16(uph->uph_devaddr), UE_GET_ADDR(uph->uph_epaddr));