Symbol: letoh32
lib/libkvm/kvm_udf.c
61
perm = letoh32(up->u_fentry->perm);
sbin/fdisk/gpt.c
109
if (letoh32(dp2->dp_start) != GPTSECTOR)
sbin/fdisk/gpt.c
111
psize = letoh32(dp2->dp_size);
sbin/fdisk/gpt.c
159
gh.gh_rev = letoh32(legh.gh_rev);
sbin/fdisk/gpt.c
173
gh.gh_size = letoh32(legh.gh_size);
sbin/fdisk/gpt.c
180
gh.gh_part_size = letoh32(legh.gh_part_size);
sbin/fdisk/gpt.c
193
gh.gh_part_num = letoh32(legh.gh_part_num);
sbin/fdisk/gpt.c
200
gh.gh_csum = letoh32(legh.gh_csum);
sbin/fdisk/gpt.c
256
gh.gh_lba_alt = letoh32(legh.gh_lba_alt);
sbin/fdisk/gpt.c
257
gh.gh_part_csum = letoh32(legh.gh_part_csum);
sbin/fdisk/gpt.c
258
gh.gh_rsvd = letoh32(legh.gh_rsvd); /* Should always be 0. */
sbin/fdisk/part.c
958
prt->prt_bs = letoh32(t) + off;
sbin/fdisk/part.c
960
prt->prt_ns = letoh32(t);
sbin/fsck_ext2fs/dir.c
227
if (letoh32(dp->e2d_ino) > maxino ||
sbin/fsck_ext2fs/dir.c
522
if (lastbn >= NDADDR - 1 || letoh32(dp->e2di_blocks[lastbn]) == 0 ||
sbin/fsck_ext2fs/dir.c
530
dp->e2di_nblock = htole32(letoh32(dp->e2di_nblock) + 1);
sbin/fsck_ext2fs/dir.c
531
bp = getdirblk(letoh32(dp->e2di_blocks[lastbn + 1]),
sbin/fsck_ext2fs/dir.c
548
bp = getdirblk(letoh32(dp->e2di_blocks[lastbn + 1]),
sbin/fsck_ext2fs/dir.c
565
dp->e2di_size = htole32(letoh32(dp->e2di_size) - sblock.e2fs_bsize);
sbin/fsck_ext2fs/dir.c
567
dp->e2di_nblock = htole32(letoh32(dp->e2di_nblock) - 1);
sbin/fsck_ext2fs/dir.c
602
bp = getdirblk(letoh32(dp->e2di_blocks[0]), sblock.e2fs_bsize);
sbin/fsck_ext2fs/inode.c
157
idesc->id_blkno = letoh32(*ap);
sbin/fsck_ext2fs/inode.c
170
idesc->id_blkno = letoh32(*ap);
sbin/fsck_ext2fs/inode.c
246
idesc->id_blkno = letoh32(*ap);
sbin/fsck_ext2fs/inode.c
534
if (letoh32(dirp->e2d_ino) != idesc->id_parent)
sbin/fsck_ext2fs/inode.c
545
u_int32_t ino = letoh32(dirp->e2d_ino);
sbin/fsck_ext2fs/inode.c
582
t = (time_t) letoh32(dp->e2di_mtime);
sbin/fsck_ext2fs/inode.c
60
(letoh32((fs)->e2fs_gd[ino_to_cg(fs, x)].ext2bgd_i_tables) + \
sbin/fsck_ext2fs/inode.c
89
u_int64_t size = letoh32(dp->e2di_size);
sbin/fsck_ext2fs/inode.c
92
size |= (u_int64_t)letoh32(dp->e2di_size_hi) << 32;
sbin/fsck_ext2fs/pass1.c
168
time_t t = letoh32(dp->e2di_dtime);
sbin/fsck_ext2fs/pass1.c
227
letoh32(dp->e2di_blocks[j]));
sbin/fsck_ext2fs/pass1.c
236
letoh32(dp->e2di_blocks[j+NDADDR]));
sbin/fsck_ext2fs/pass1.c
271
if (letoh32(dp->e2di_nblock) != idesc->id_entryno) {
sbin/fsck_ext2fs/pass1.c
274
letoh32(dp->e2di_nblock), idesc->id_entryno);
sbin/fsck_ext2fs/pass1.c
70
if (letoh32(sblock.e2fs_gd[c].ext2bgd_i_tables) >= dbase) {
sbin/fsck_ext2fs/pass1.c
73
letoh32(sblock.e2fs_gd[c].ext2bgd_i_tables)
sbin/fsck_ext2fs/pass1.c
77
if (letoh32(sblock.e2fs_gd[c].ext2bgd_b_bitmap) >= dbase)
sbin/fsck_ext2fs/pass1.c
78
setbmap(letoh32(sblock.e2fs_gd[c].ext2bgd_b_bitmap));
sbin/fsck_ext2fs/pass1.c
80
if (letoh32(sblock.e2fs_gd[c].ext2bgd_i_bitmap) >= dbase)
sbin/fsck_ext2fs/pass1.c
81
setbmap(letoh32(sblock.e2fs_gd[c].ext2bgd_i_bitmap));
sbin/fsck_ext2fs/pass2.c
208
if (letoh32(dirp->e2d_ino) != 0 && dirp->e2d_namlen == 1 &&
sbin/fsck_ext2fs/pass2.c
210
if (letoh32(dirp->e2d_ino) != idesc->id_number) {
sbin/fsck_ext2fs/pass2.c
236
if (letoh32(dirp->e2d_ino) != 0 && strcmp(dirp->e2d_name, "..") != 0) {
sbin/fsck_ext2fs/pass2.c
251
lncntp[letoh32(dirp->e2d_ino)]--;
sbin/fsck_ext2fs/pass2.c
278
lncntp[letoh32(dirp->e2d_ino)]--;
sbin/fsck_ext2fs/pass2.c
283
if (letoh32(dirp->e2d_ino) != 0 &&
sbin/fsck_ext2fs/pass2.c
286
inp->i_dotdot = letoh32(dirp->e2d_ino);
sbin/fsck_ext2fs/pass2.c
297
if (letoh32(dirp->e2d_ino) != 0 &&
sbin/fsck_ext2fs/pass2.c
320
if (letoh32(dirp->e2d_ino) != 0)
sbin/fsck_ext2fs/pass2.c
321
lncntp[letoh32(dirp->e2d_ino)]--;
sbin/fsck_ext2fs/pass2.c
324
if (letoh32(dirp->e2d_ino) == 0)
sbin/fsck_ext2fs/pass2.c
346
if (letoh32(dirp->e2d_ino) > maxino ||
sbin/fsck_ext2fs/pass2.c
347
(letoh32(dirp->e2d_ino) < EXT2_FIRSTINO &&
sbin/fsck_ext2fs/pass2.c
348
letoh32(dirp->e2d_ino) != EXT2_ROOTINO)) {
sbin/fsck_ext2fs/pass2.c
349
fileerror(idesc->id_number, letoh32(dirp->e2d_ino), "I OUT OF RANGE");
sbin/fsck_ext2fs/pass2.c
353
switch (statemap[letoh32(dirp->e2d_ino)]) {
sbin/fsck_ext2fs/pass2.c
357
fileerror(idesc->id_number, letoh32(dirp->e2d_ino), "UNALLOCATED");
sbin/fsck_ext2fs/pass2.c
365
if (statemap[letoh32(dirp->e2d_ino)] == FCLEAR)
sbin/fsck_ext2fs/pass2.c
373
fileerror(idesc->id_number, letoh32(dirp->e2d_ino), errmsg);
sbin/fsck_ext2fs/pass2.c
376
dp = ginode(letoh32(dirp->e2d_ino));
sbin/fsck_ext2fs/pass2.c
377
statemap[letoh32(dirp->e2d_ino)] =
sbin/fsck_ext2fs/pass2.c
379
lncntp[letoh32(dirp->e2d_ino)] = letoh16(dp->e2di_nlink);
sbin/fsck_ext2fs/pass2.c
384
inp = getinoinfo(letoh32(dirp->e2d_ino));
sbin/fsck_ext2fs/pass2.c
389
letoh32(dirp->e2d_ino), letoh32(dirp->e2d_ino));
sbin/fsck_ext2fs/pass2.c
407
inot2ext2dt(typemap[letoh32(dirp->e2d_ino)])) {
sbin/fsck_ext2fs/pass2.c
409
inot2ext2dt(typemap[letoh32(dirp->e2d_ino)]);
sbin/fsck_ext2fs/pass2.c
411
letoh32(dirp->e2d_ino),
sbin/fsck_ext2fs/pass2.c
416
lncntp[letoh32(dirp->e2d_ino)]--;
sbin/fsck_ext2fs/pass2.c
421
statemap[letoh32(dirp->e2d_ino)],
sbin/fsck_ext2fs/pass2.c
422
(unsigned long long)letoh32(dirp->e2d_ino));
sbin/fsck_ext2fs/pass5.c
84
blk_bitmap = getdatablk(letoh32(fs->e2fs_gd[c].ext2bgd_b_bitmap),
sbin/fsck_ext2fs/pass5.c
87
getblk(blk_bitmap, letoh32(fs->e2fs_gd[c].ext2bgd_b_bitmap),
sbin/fsck_ext2fs/pass5.c
91
ino_bitmap = getdatablk(letoh32(fs->e2fs_gd[c].ext2bgd_i_bitmap),
sbin/fsck_ext2fs/pass5.c
94
getblk(ino_bitmap, letoh32(fs->e2fs_gd[c].ext2bgd_i_bitmap),
sbin/fsck_ext2fs/setup.c
390
(long)letoh32(*olp),
sbin/fsck_ext2fs/setup.c
391
(long)letoh32(*nlp));
sbin/fsck_ext2fs/setup.c
406
bp->b_un.b_fs->e2fs_icount = letoh32(sblock.e2fs.e2fs_icount);
sbin/fsck_ext2fs/setup.c
407
bp->b_un.b_fs->e2fs_bcount = letoh32(sblock.e2fs.e2fs_bcount);
sbin/fsck_ext2fs/setup.c
408
bp->b_un.b_fs->e2fs_rbcount = letoh32(sblock.e2fs.e2fs_rbcount);
sbin/fsck_ext2fs/setup.c
409
bp->b_un.b_fs->e2fs_fbcount = letoh32(sblock.e2fs.e2fs_fbcount);
sbin/fsck_ext2fs/setup.c
410
bp->b_un.b_fs->e2fs_ficount = letoh32(sblock.e2fs.e2fs_ficount);
sbin/fsck_ext2fs/setup.c
412
letoh32(sblock.e2fs.e2fs_first_dblock);
sbin/fsck_ext2fs/setup.c
413
bp->b_un.b_fs->e2fs_log_bsize = letoh32(sblock.e2fs.e2fs_log_bsize);
sbin/fsck_ext2fs/setup.c
414
bp->b_un.b_fs->e2fs_log_fsize = letoh32(sblock.e2fs.e2fs_log_fsize);
sbin/fsck_ext2fs/setup.c
415
bp->b_un.b_fs->e2fs_bpg = letoh32(sblock.e2fs.e2fs_bpg);
sbin/fsck_ext2fs/setup.c
416
bp->b_un.b_fs->e2fs_fpg = letoh32(sblock.e2fs.e2fs_fpg);
sbin/fsck_ext2fs/setup.c
417
bp->b_un.b_fs->e2fs_ipg = letoh32(sblock.e2fs.e2fs_ipg);
sbin/fsck_ext2fs/setup.c
418
bp->b_un.b_fs->e2fs_mtime = letoh32(sblock.e2fs.e2fs_mtime);
sbin/fsck_ext2fs/setup.c
419
bp->b_un.b_fs->e2fs_wtime = letoh32(sblock.e2fs.e2fs_wtime);
sbin/fsck_ext2fs/setup.c
420
bp->b_un.b_fs->e2fs_lastfsck = letoh32(sblock.e2fs.e2fs_lastfsck);
sbin/fsck_ext2fs/setup.c
421
bp->b_un.b_fs->e2fs_fsckintv = letoh32(sblock.e2fs.e2fs_fsckintv);
sbin/fsck_ext2fs/setup.c
422
bp->b_un.b_fs->e2fs_creator = letoh32(sblock.e2fs.e2fs_creator);
sbin/fsck_ext2fs/setup.c
423
bp->b_un.b_fs->e2fs_rev = letoh32(sblock.e2fs.e2fs_rev);
sbin/newfs_ext2fs/mke2fs.c
1203
wtfs(fsbtodb(&sblock, letoh32(dindir_block[i])),
sys/arch/amd64/stand/efiboot/efidev.c
176
if (letoh32(dp2->dp_start) != GPTSECTOR)
sys/arch/amd64/stand/efiboot/efidev.c
178
psize = letoh32(dp2->dp_size);
sys/arch/amd64/stand/efiboot/efidev.c
324
if (letoh32(gh.gh_rev) != GPTREVISION) {
sys/arch/amd64/stand/efiboot/efidev.c
329
ghsize = letoh32(gh.gh_size);
sys/arch/amd64/stand/efiboot/efidev.c
340
if (letoh32(orig_csum) != new_csum) {
sys/arch/amd64/stand/efiboot/efidev.c
346
ghpartsize = letoh32(gh.gh_part_size);
sys/arch/amd64/stand/efiboot/efidev.c
348
ghpartnum = letoh32(gh.gh_part_num);
sys/arch/amd64/stand/efiboot/efidev.c
373
if (new_csum != letoh32(gh.gh_part_csum)) {
sys/arch/amd64/stand/libsa/softraid_amd64.c
414
if (letoh32(dp2->dp_start) != GPTSECTOR)
sys/arch/amd64/stand/libsa/softraid_amd64.c
416
psize = letoh32(dp2->dp_size);
sys/arch/amd64/stand/libsa/softraid_amd64.c
479
if (letoh32(gh.gh_rev) != GPTREVISION) {
sys/arch/amd64/stand/libsa/softraid_amd64.c
485
ghsize = letoh32(gh.gh_size);
sys/arch/amd64/stand/libsa/softraid_amd64.c
497
if (letoh32(orig_csum) != new_csum) {
sys/arch/amd64/stand/libsa/softraid_amd64.c
504
ghpartsize = letoh32(gh.gh_part_size);
sys/arch/amd64/stand/libsa/softraid_amd64.c
506
ghpartnum = letoh32(gh.gh_part_num);
sys/arch/amd64/stand/libsa/softraid_amd64.c
530
if (new_csum != letoh32(gh.gh_part_csum)) {
sys/arch/arm64/dev/acpipci.c
500
*irq = letoh32(crs->lr_extirq.irq[0]);
sys/arch/arm64/dev/rtkit.c
432
if (letoh32(hdr.fourcc) != RTKIT_FOURCC("CLHE")) {
sys/arch/arm64/dev/rtkit.c
437
if (letoh32(hdr.size) > size) {
sys/arch/arm64/dev/rtkit.c
443
while (off < letoh32(hdr.size)) {
sys/arch/arm64/stand/efiboot/efidev.c
166
if (letoh32(dp2->dp_start) != GPTSECTOR)
sys/arch/arm64/stand/efiboot/efidev.c
168
psize = letoh32(dp2->dp_size);
sys/arch/arm64/stand/efiboot/efidev.c
314
if (letoh32(gh.gh_rev) != GPTREVISION) {
sys/arch/arm64/stand/efiboot/efidev.c
319
ghsize = letoh32(gh.gh_size);
sys/arch/arm64/stand/efiboot/efidev.c
330
if (letoh32(orig_csum) != new_csum) {
sys/arch/arm64/stand/efiboot/efidev.c
336
ghpartsize = letoh32(gh.gh_part_size);
sys/arch/arm64/stand/efiboot/efidev.c
338
ghpartnum = letoh32(gh.gh_part_num);
sys/arch/arm64/stand/efiboot/efidev.c
363
if (new_csum != letoh32(gh.gh_part_csum)) {
sys/arch/arm64/stand/efiboot/softraid_arm64.c
406
if (letoh32(dp2->dp_start) != GPTSECTOR)
sys/arch/arm64/stand/efiboot/softraid_arm64.c
408
psize = letoh32(dp2->dp_size);
sys/arch/arm64/stand/efiboot/softraid_arm64.c
471
if (letoh32(gh.gh_rev) != GPTREVISION) {
sys/arch/arm64/stand/efiboot/softraid_arm64.c
477
ghsize = letoh32(gh.gh_size);
sys/arch/arm64/stand/efiboot/softraid_arm64.c
489
if (letoh32(orig_csum) != new_csum) {
sys/arch/arm64/stand/efiboot/softraid_arm64.c
496
ghpartsize = letoh32(gh.gh_part_size);
sys/arch/arm64/stand/efiboot/softraid_arm64.c
498
ghpartnum = letoh32(gh.gh_part_num);
sys/arch/arm64/stand/efiboot/softraid_arm64.c
522
if (new_csum != letoh32(gh.gh_part_csum)) {
sys/arch/armv7/stand/efiboot/efidev.c
166
if (letoh32(dp2->dp_start) != GPTSECTOR)
sys/arch/armv7/stand/efiboot/efidev.c
168
psize = letoh32(dp2->dp_size);
sys/arch/armv7/stand/efiboot/efidev.c
314
if (letoh32(gh.gh_rev) != GPTREVISION) {
sys/arch/armv7/stand/efiboot/efidev.c
319
ghsize = letoh32(gh.gh_size);
sys/arch/armv7/stand/efiboot/efidev.c
330
if (letoh32(orig_csum) != new_csum) {
sys/arch/armv7/stand/efiboot/efidev.c
336
ghpartsize = letoh32(gh.gh_part_size);
sys/arch/armv7/stand/efiboot/efidev.c
338
ghpartnum = letoh32(gh.gh_part_num);
sys/arch/armv7/stand/efiboot/efidev.c
363
if (new_csum != letoh32(gh.gh_part_csum)) {
sys/arch/hppa/dev/apic.c
300
bus = letoh32(elroy_read32(&r->busnum)) & 0xff;
sys/arch/hppa/dev/apic.c
96
return letoh32(elroy_read32(&r->apic_data));
sys/arch/hppa/dev/astro.c
247
rid = letoh32(r->rid);
sys/arch/hppa/dev/astro.c
250
ioc_ctrl = letoh32(r->ioc_ctrl);
sys/arch/hppa/dev/dino.c
1169
*a++ = letoh32(data);
sys/arch/hppa/dev/dino.c
1178
*a++ = letoh32(data);
sys/arch/hppa/dev/dino.c
345
return (letoh32(data));
sys/arch/hppa/dev/dino.c
716
return (letoh32(data));
sys/arch/hppa/dev/dino.c
855
*a++ = letoh32(*p);
sys/arch/hppa/dev/elroy.c
1276
sc->sc_ver = PCI_REVISION(letoh32(elroy_read32(&r->pci_class)));
sys/arch/hppa/dev/elroy.c
279
data = letoh32(data);
sys/arch/hppa/dev/elroy.c
511
return (letoh32(data));
sys/arch/hppa/dev/elroy.c
587
*a++ = letoh32(*p);
sys/arch/hppa/dev/elroy.c
806
*a++ = letoh32(data);
sys/arch/hppa/dev/mongoose.c
285
return letoh32(r);
sys/arch/hppa/dev/mongoose.c
313
*(a++) = letoh32(*(volatile u_int32_t *)h);
sys/arch/hppa/dev/mongoose.c
376
*a++ = letoh32(r);
sys/arch/hppa/stand/libsa/cmd_hppa.c
909
return letoh32(id);
sys/arch/hppa/stand/libsa/cmd_hppa.c
944
return letoh32(id);
sys/arch/loongson/stand/boot/dev.c
214
sector = letoh32(dp[i].dp_start);
sys/arch/luna88k/include/bus.h
184
letoh32(__bus_space_read_4(t, h, o)) : \
sys/arch/macppc/pci/ht.c
165
reg = letoh32(reg);
sys/arch/riscv64/stand/efiboot/efidev.c
166
if (letoh32(dp2->dp_start) != GPTSECTOR)
sys/arch/riscv64/stand/efiboot/efidev.c
168
psize = letoh32(dp2->dp_size);
sys/arch/riscv64/stand/efiboot/efidev.c
314
if (letoh32(gh.gh_rev) != GPTREVISION) {
sys/arch/riscv64/stand/efiboot/efidev.c
319
ghsize = letoh32(gh.gh_size);
sys/arch/riscv64/stand/efiboot/efidev.c
330
if (letoh32(orig_csum) != new_csum) {
sys/arch/riscv64/stand/efiboot/efidev.c
336
ghpartsize = letoh32(gh.gh_part_size);
sys/arch/riscv64/stand/efiboot/efidev.c
338
ghpartnum = letoh32(gh.gh_part_num);
sys/arch/riscv64/stand/efiboot/efidev.c
363
if (new_csum != letoh32(gh.gh_part_csum)) {
sys/arch/riscv64/stand/efiboot/softraid_riscv64.c
406
if (letoh32(dp2->dp_start) != GPTSECTOR)
sys/arch/riscv64/stand/efiboot/softraid_riscv64.c
408
psize = letoh32(dp2->dp_size);
sys/arch/riscv64/stand/efiboot/softraid_riscv64.c
471
if (letoh32(gh.gh_rev) != GPTREVISION) {
sys/arch/riscv64/stand/efiboot/softraid_riscv64.c
477
ghsize = letoh32(gh.gh_size);
sys/arch/riscv64/stand/efiboot/softraid_riscv64.c
489
if (letoh32(orig_csum) != new_csum) {
sys/arch/riscv64/stand/efiboot/softraid_riscv64.c
496
ghpartsize = letoh32(gh.gh_part_size);
sys/arch/riscv64/stand/efiboot/softraid_riscv64.c
498
ghpartnum = letoh32(gh.gh_part_num);
sys/arch/riscv64/stand/efiboot/softraid_riscv64.c
522
if (new_csum != letoh32(gh.gh_part_csum)) {
sys/arch/sparc64/dev/auxio.c
164
led = letoh32(bus_space_read_4(sc->sc_tag, sc->sc_led, 0));
sys/crypto/curve25519.c
46
return letoh32(l);
sys/dev/acpi/acpiprt.c
161
irq->_int = letoh32(crs->lr_extirq.irq[0]);
sys/dev/acpi/dsdt.c
1573
letoh32(crs->lr_extirq.irq[0]));
sys/dev/acpi/dwiic_acpi.c
301
sc_crs->irq_int = letoh32(crs->lr_extirq.irq[0]);
sys/dev/ic/aacvar.h
448
return letoh32(*(u_int32_t *)addr);
sys/dev/ic/acx.c
1329
desc_status = letoh32(buf->rb_desc->h_status);
sys/dev/ic/acx.c
1399
rxi.rxi_tstamp = letoh32(head->rbh_time);
sys/dev/ic/acx.c
1587
radio_fw_ofs = letoh32(mem_map.code_end);
sys/dev/ic/acx.c
1618
if (letoh32(mem_map.code_end) != radio_fw_ofs + size) {
sys/dev/ic/acx.c
720
sc->sc_hardware_id = letoh32(fw_rev.hw_id);
sys/dev/ic/acx100.c
344
mem_map.wep_cache_start = htole32(letoh32(mem_map.code_end) + 4);
sys/dev/ic/acx100.c
345
mem_map.wep_cache_end = htole32(letoh32(mem_map.code_end) + 4);
sys/dev/ic/acx100.c
403
txring_start = letoh32(mem_map.pkt_tmplt_end) + 4;
sys/dev/ic/acx100.c
460
htole32(MEMBLK_ALIGN(letoh32(mem_map.fw_desc_end) + 4));
sys/dev/ic/acx100.c
480
memblk_start = letoh32(mem_map.memblk_start);
sys/dev/ic/acx100.c
481
memblk_end = letoh32(mem_map.memblk_end);
sys/dev/ic/acx111.c
366
acx111_init_fw_txring(sc, letoh32(mem_info.fw_txring_start));
sys/dev/ic/acx111.c
428
dataflow = letoh32(opt.dataflow) |
sys/dev/ic/aic6915.c
665
tcd = letoh32(sc->sc_txcomp[consumer].tcd_word0);
sys/dev/ic/aic6915.c
740
word0 = letoh32(rcd->rcd_word0);
sys/dev/ic/aic7xxx_cam.h
90
#define aic_le32toh(x) letoh32(x)
sys/dev/ic/ami.c
286
sc->sc_hdr[i].hd_size = letoh32(sizes[i]);
sys/dev/ic/atw.c
3045
rxstat = letoh32(sc->sc_rxdescs[i].ar_stat);
sys/dev/ic/atw.c
3046
rssi0 = letoh32(sc->sc_rxdescs[i].ar_rssi);
sys/dev/ic/atw.c
3056
letoh32(sc->sc_rxdescs[i].ar_buf1),
sys/dev/ic/atw.c
3057
letoh32(sc->sc_rxdescs[i].ar_buf2)));
sys/dev/ic/atw.c
3234
letoh32(sc->sc_txdescs[i].at_stat));
sys/dev/ic/atw.c
3236
letoh32(sc->sc_txdescs[i].at_flags));
sys/dev/ic/atw.c
3238
letoh32(sc->sc_txdescs[i].at_buf1));
sys/dev/ic/atw.c
3240
letoh32(sc->sc_txdescs[i].at_buf2));
sys/dev/ic/atw.c
3247
txstat = letoh32(sc->sc_txdescs[txs->txs_lastdesc].at_stat);
sys/dev/ic/atw.c
3891
letoh32(sc->sc_txdescs[seg].at_ctl));
sys/dev/ic/atw.c
3893
letoh32(sc->sc_txdescs[seg].at_flags));
sys/dev/ic/atw.c
3895
letoh32(sc->sc_txdescs[seg].at_buf1));
sys/dev/ic/atw.c
3897
letoh32(sc->sc_txdescs[seg].at_buf2));
sys/dev/ic/bwfm.c
1745
dcmd->hdr.cmd = letoh32(dcmd->hdr.cmd);
sys/dev/ic/bwfm.c
1746
dcmd->hdr.len = letoh32(dcmd->hdr.len);
sys/dev/ic/bwfm.c
1747
dcmd->hdr.flags = letoh32(dcmd->hdr.flags);
sys/dev/ic/bwfm.c
1748
dcmd->hdr.status = letoh32(dcmd->hdr.status);
sys/dev/ic/bwfm.c
1802
*data = letoh32(*data);
sys/dev/ic/bwfm.c
1849
*data = letoh32(*data);
sys/dev/ic/bwfm.c
2644
if (len < letoh32(res->buflen)) {
sys/dev/ic/bwfm.c
2660
len -= sizeof(*bss) + letoh32(bss->length);
sys/dev/ic/bwfm.c
2661
bss = (void *)((char *)bss) + letoh32(bss->length);
sys/dev/ic/bwfm.c
2730
ieslen = letoh32(bss->ie_length);
sys/dev/ic/bwfm.c
2759
chanidx = bwfm_spec2chan(sc, letoh32(bss->chanspec));
sys/dev/ic/bwfm.c
284
nbands = letoh32(bandlist[0]);
sys/dev/ic/bwfm.c
286
switch (letoh32(bandlist[i])) {
sys/dev/ic/bwfm.c
330
letoh32(bandlist[i]));
sys/dev/ic/bwi.c
8616
uint32_t plcp = letoh32(plcp0) & IEEE80211_OFDM_PLCP_RATE_MASK;
sys/dev/ic/ciss.c
1082
bd->bd_size = (u_int64_t)letoh32(pdid->nblocks) *
sys/dev/ic/ciss.c
700
xs->resid = letoh32(err->resid);
sys/dev/ic/dc.c
1992
rxstat = letoh32(c->dc_status);
sys/dev/ic/dc.c
2097
rxstat = letoh32(cur_rx->dc_status);
sys/dev/ic/dc.c
2117
rxstat = letoh32(cur_rx->dc_status);
sys/dev/ic/dc.c
2201
txstat = letoh32(cur_tx->dc_status);
sys/dev/ic/fxp.c
939
ifp->if_collisions += letoh32(sp->tx_total_collisions);
sys/dev/ic/fxp.c
945
letoh32(sp->rx_crc_errors) +
sys/dev/ic/fxp.c
946
letoh32(sp->rx_alignment_errors) +
sys/dev/ic/fxp.c
947
letoh32(sp->rx_rnr_errors) +
sys/dev/ic/fxp.c
948
letoh32(sp->rx_overrun_errors);
sys/dev/ic/fxp.c
954
ifp->if_oerrors += letoh32(sp->tx_underruns);
sys/dev/ic/gdtvar.h
273
return letoh32(*(u_int32_t *)addr);
sys/dev/ic/hmereg.h
271
(p) ? letoh32(*((u_int32_t *)HME_XD_FLAGS(b,i))) : \
sys/dev/ic/lemacvar.h
123
letoh32(bus_space_read_4((sc)->sc_memt, (sc)->sc_memh, (o)))
sys/dev/ic/malo.c
1311
if ((letoh32(desc->status) & 0x80000000) ||
sys/dev/ic/malo.c
1312
!(letoh32(data->softstat) & 0x80))
sys/dev/ic/malo.c
1320
switch (letoh32(desc->status) & 0x1) {
sys/dev/ic/malo.c
1625
desc->datarate, letoh32(desc->physdata),
sys/dev/ic/malo.c
1626
letoh32(desc->physnext), desc->qosctrl, desc->reserved2);
sys/dev/ic/malo.c
1721
rxRdPtr = letoh32(desc->physnext);
sys/dev/ic/malo.c
2031
malo_mem_write4(sc, letoh32(spec->RxPdRdPtr) & 0xffff,
sys/dev/ic/malo.c
2033
malo_mem_write4(sc, letoh32(spec->RxPdWrPtr) & 0xffff,
sys/dev/ic/malo.c
2035
malo_mem_write4(sc, letoh32(spec->WcbBase0) & 0xffff,
sys/dev/ic/malo.c
2039
sc->sc_RxPdRdPtr = letoh32(spec->RxPdRdPtr) & 0xffff;
sys/dev/ic/malo.c
2040
sc->sc_RxPdWrPtr = letoh32(spec->RxPdWrPtr) & 0xffff;
sys/dev/ic/mfi.c
2369
status = letoh32(bbu.fw_status);
sys/dev/ic/mfi.c
2399
if (ISSET(letoh32(sc->sc_info.mci_adapter_ops ), MFI_INFO_AOPS_BBU)) {
sys/dev/ic/mfi.c
836
npds = letoh32(pd->mpl_no_pd);
sys/dev/ic/mfi.c
975
producer = letoh32(pcq->mpc_producer);
sys/dev/ic/mfi.c
976
consumer = letoh32(pcq->mpc_consumer);
sys/dev/ic/mpi.c
1434
letoh32(sie->msg_context));
sys/dev/ic/mpi.c
1439
letoh32(sie->ioc_loginfo));
sys/dev/ic/mpi.c
1441
letoh32(sie->transfer_count));
sys/dev/ic/mpi.c
1443
letoh32(sie->sense_count));
sys/dev/ic/mpi.c
1445
letoh32(sie->response_info));
sys/dev/ic/mpi.c
1678
letoh32(pg0.device_info));
sys/dev/ic/mpi.c
1991
letoh32(ifp.msg_context));
sys/dev/ic/mpi.c
1996
letoh32(ifp.ioc_loginfo));
sys/dev/ic/mpi.c
2006
letoh32(ifp.current_host_mfa_hi_addr));
sys/dev/ic/mpi.c
2012
letoh32(ifp.current_sense_buffer_hi_addr));
sys/dev/ic/mpi.c
2017
letoh32(ifp.fw_image_size));
sys/dev/ic/mpi.c
2019
letoh32(ifp.ioc_capabilities));
sys/dev/ic/mpi.c
2028
letoh32(ifp.host_page_buffer_sge.sg_hdr),
sys/dev/ic/mpi.c
2029
letoh32(ifp.host_page_buffer_sge.sg_addr_hi),
sys/dev/ic/mpi.c
2030
letoh32(ifp.host_page_buffer_sge.sg_addr_lo));
sys/dev/ic/mpi.c
2128
letoh32(iip.msg_context));
sys/dev/ic/mpi.c
2132
letoh32(iip.ioc_loginfo));
sys/dev/ic/mpi.c
2179
letoh32(pfp->msg_context));
sys/dev/ic/mpi.c
2183
letoh32(pfp->ioc_loginfo));
sys/dev/ic/mpi.c
2229
letoh32(pg.flags));
sys/dev/ic/mpi.c
2231
letoh32(pg.coalescing_timeout));
sys/dev/ic/mpi.c
2294
letoh32(enp->msg_context));
sys/dev/ic/mpi.c
2298
letoh32(enp->ioc_loginfo));
sys/dev/ic/mpi.c
2300
letoh32(enp->event));
sys/dev/ic/mpi.c
2302
letoh32(enp->event_context));
sys/dev/ic/mpi.c
2738
letoh32(vol_page->capabilities));
sys/dev/ic/mpi.c
2820
letoh32(cp->msg_context));
sys/dev/ic/mpi.c
2824
letoh32(cp->ioc_loginfo));
sys/dev/ic/mpi.c
2934
letoh32(cp->msg_context));
sys/dev/ic/mpi.c
2938
letoh32(cp->ioc_loginfo));
sys/dev/ic/mpi.c
417
letoh32(port.port_scsi_id));
sys/dev/ic/mpi.c
461
page.req_params2, letoh32(page.configuration));
sys/dev/ic/mpi.c
617
pg0.neg_period, pg0.neg_params2, letoh32(pg0.information));
sys/dev/ic/mpi.c
629
pg1.req_period, pg1.req_params2, letoh32(pg1.configuration));
sys/dev/ic/mpi.c
665
pg1.req_period, pg1.req_params2, letoh32(pg1.configuration));
sys/dev/ic/mpi.c
682
pg1.req_period, pg1.req_params2, letoh32(pg1.configuration));
sys/dev/ic/mpi.c
699
pg0.neg_period, pg0.neg_params2, letoh32(pg0.information));
sys/dev/ic/mtd8xx.c
1009
txstat = letoh32(cur_tx->td_tsw);
sys/dev/ic/mtd8xx.c
152
enaddr[0] = letoh32(CSR_READ_4(MTD_PAR0));
sys/dev/ic/mtd8xx.c
153
enaddr[1] = letoh32(CSR_READ_4(MTD_PAR4));
sys/dev/ic/mtd8xx.c
887
rxstat = letoh32(cur_rx->rd_rsr);
sys/dev/ic/oosiop.c
359
dcmd = letoh32(sc->sc_scr[addr / 4 + 0]);
sys/dev/ic/oosiop.c
360
dsps = letoh32(sc->sc_scr[addr / 4 + 1]);
sys/dev/ic/oosiop.c
386
dcmd = letoh32(sc->sc_scr[addr / 4 + 0]);
sys/dev/ic/oosiop.c
387
dsps = letoh32(sc->sc_scr[addr / 4 + 1]);
sys/dev/ic/oosiop.c
412
dcmd = letoh32(sc->sc_scr[addr / 4]);
sys/dev/ic/oosiop.c
431
dcmd = letoh32(sc->sc_scr[addr / 4]);
sys/dev/ic/oosiop.c
615
len += letoh32(cb->xfer->datain_scr[i * 2]) &
sys/dev/ic/oosiop.c
627
len += letoh32(cb->xfer->dataout_scr[i * 2]) &
sys/dev/ic/oosiopvar.h
164
letoh32(bus_space_read_4((sc)->sc_bst, (sc)->sc_bsh, (addr)))
sys/dev/ic/pgt.c
1392
oid = letoh32(pmf->pmf_oid);
sys/dev/ic/pgt.c
1393
size = letoh32(pmf->pmf_size);
sys/dev/ic/pgt.c
1485
dataoff = letoh32(pd->pd_fragp->pf_addr) - pd->pd_dmaaddr;
sys/dev/ic/pgt.c
1625
letoh32(sc->sc_cb->pcb_driver_curfrag[0]),
sys/dev/ic/pgt.c
1626
letoh32(sc->sc_cb->pcb_driver_curfrag[1]),
sys/dev/ic/pgt.c
1627
letoh32(sc->sc_cb->pcb_driver_curfrag[2]),
sys/dev/ic/pgt.c
1628
letoh32(sc->sc_cb->pcb_driver_curfrag[3]),
sys/dev/ic/pgt.c
1629
letoh32(sc->sc_cb->pcb_driver_curfrag[4]),
sys/dev/ic/pgt.c
1630
letoh32(sc->sc_cb->pcb_driver_curfrag[5]));
sys/dev/ic/pgt.c
1637
letoh32(sc->sc_cb->pcb_device_curfrag[0]),
sys/dev/ic/pgt.c
1638
letoh32(sc->sc_cb->pcb_device_curfrag[1]),
sys/dev/ic/pgt.c
1639
letoh32(sc->sc_cb->pcb_device_curfrag[2]),
sys/dev/ic/pgt.c
1640
letoh32(sc->sc_cb->pcb_device_curfrag[3]),
sys/dev/ic/pgt.c
1641
letoh32(sc->sc_cb->pcb_device_curfrag[4]),
sys/dev/ic/pgt.c
1642
letoh32(sc->sc_cb->pcb_device_curfrag[5]));
sys/dev/ic/pgt.c
1750
htole32(letoh32(sc->sc_cb->pcb_driver_curfrag[pq]) + 1);
sys/dev/ic/pgt.c
1910
if (country == letoh32(PGT_COUNTRY_USA)) {
sys/dev/ic/pgt.c
2048
rate = letoh32(rate);
sys/dev/ic/pgt.c
222
letoh32(sc->sc_cb->pcb_driver_curfrag[i]) - \
sys/dev/ic/pgt.c
223
letoh32(sc->sc_cb->pcb_device_curfrag[i])
sys/dev/ic/pgt.c
2267
noise = letoh32(noise);
sys/dev/ic/pgt.c
2275
letoh32(pob->pob_count));
sys/dev/ic/pgt.c
234
return (letoh32(sc->sc_cb->pcb_driver_curfrag[pq]) -
sys/dev/ic/pgt.c
235
letoh32(sc->sc_cb->pcb_device_curfrag[pq]));
sys/dev/ic/pgt.c
2728
if (letoh32(wep) != 0) {
sys/dev/ic/pgt.c
2842
ls = letoh32(*mtod(args, uint32_t *));
sys/dev/ic/pgt.c
2890
sc->sc_noise = letoh32(noise);
sys/dev/ic/pgt.c
2895
channel = min(letoh32(channel), IEEE80211_CHAN_MAX);
sys/dev/ic/pgt.c
775
letoh32(sc->sc_cb->pcb_driver_curfrag[PGT_QUEUE_MGMT_RX]));
sys/dev/ic/pgt.c
784
letoh32(sc->sc_cb->pcb_driver_curfrag[PGT_QUEUE_DATA_HIGH_RX]));
sys/dev/ic/pgt.c
793
letoh32(sc->sc_cb->pcb_driver_curfrag[PGT_QUEUE_DATA_LOW_RX]));
sys/dev/ic/pgt.c
956
letoh32(pha->pra_clock), pha->pra_flags,
sys/dev/ic/pgt.c
958
pha->pra_unknown2, letoh32(pha->pra_frequency),
sys/dev/ic/pgt.c
988
rstamp = letoh32(pha->pra_clock);
sys/dev/ic/pgt.c
989
n = ieee80211_mhz2ieee(letoh32(pha->pra_frequency), 0);
sys/dev/ic/qla.c
814
xs->resid = letoh32(status->resid);
sys/dev/ic/qwx.c
7765
letoh32(v1->type), letoh32(v1->size),
sys/dev/ic/qwx.c
7766
letoh32(v1->confirm_rx));
sys/dev/ic/qwx.c
7767
type = letoh32(v1->type);
sys/dev/ic/qwx.c
7768
size = letoh32(v1->size);
sys/dev/ic/qwx.c
7769
confirm_rx = !!letoh32(v1->confirm_rx);
sys/dev/ic/qwx.c
7775
v2->type, letoh32(v2->size),
sys/dev/ic/qwx.c
7778
size = letoh32(v2->size);
sys/dev/ic/qwz.c
5248
letoh32(v1->type), letoh32(v1->size),
sys/dev/ic/qwz.c
5249
letoh32(v1->confirm_rx));
sys/dev/ic/qwz.c
5250
type = letoh32(v1->type);
sys/dev/ic/qwz.c
5251
size = letoh32(v1->size);
sys/dev/ic/qwz.c
5252
confirm_rx = !!letoh32(v1->confirm_rx);
sys/dev/ic/qwz.c
5258
v2->type, letoh32(v2->size),
sys/dev/ic/qwz.c
5261
size = letoh32(v2->size);
sys/dev/ic/re.c
1193
cmdstat = letoh32(d->rl_cmdstat);
sys/dev/ic/re.c
1297
rxstat = letoh32(cur_rx->rl_cmdstat);
sys/dev/ic/re.c
1298
rxvlan = letoh32(cur_rx->rl_vlanctl);
sys/dev/ic/re.c
1468
txstat = letoh32(sc->rl_ldata.rl_tx_list[idx].rl_cmdstat);
sys/dev/ic/rt2560.c
1014
if ((letoh32(desc->flags) & RT2560_TX_BUSY) ||
sys/dev/ic/rt2560.c
1015
!(letoh32(desc->flags) & RT2560_TX_VALID))
sys/dev/ic/rt2560.c
1018
switch (letoh32(desc->flags) & RT2560_TX_RESULT_MASK) {
sys/dev/ic/rt2560.c
1025
(letoh32(desc->flags) >> 5) & 0x7));
sys/dev/ic/rt2560.c
1037
sc->sc_dev.dv_xname, letoh32(desc->flags)));
sys/dev/ic/rt2560.c
1102
if (letoh32(desc->flags) &
sys/dev/ic/rt2560.c
1111
if ((letoh32(desc->flags) & RT2560_RX_CIPHER_MASK) != 0 &&
sys/dev/ic/rt2560.c
1112
(letoh32(desc->flags) & RT2560_RX_ICV_ERROR)) {
sys/dev/ic/rt2560.c
1170
(letoh32(desc->flags) >> 16) & 0xfff;
sys/dev/ic/rt2560.c
1236
if (letoh32(desc->flags) &
sys/dev/ic/rt2560.c
1242
if (letoh32(desc->flags) &
sys/dev/ic/rt2560.c
1249
letoh32(desc->flags)));
sys/dev/ic/rt2560.c
1253
if (((letoh32(desc->flags) >> 16) & 0xfff) > MCLBYTES) {
sys/dev/ic/rt2560.c
1391
if (letoh32(desc->flags) & RT2560_RX_OFDM) {
sys/dev/ic/rt2560.c
890
if (letoh32(desc->flags) &
sys/dev/ic/rt2560.c
895
if ((letoh32(desc->flags) & RT2560_TX_CIPHER_MASK) ==
sys/dev/ic/rt2560.c
932
if ((letoh32(desc->flags) & RT2560_TX_BUSY) ||
sys/dev/ic/rt2560.c
933
(letoh32(desc->flags) & RT2560_TX_CIPHER_BUSY) ||
sys/dev/ic/rt2560.c
934
!(letoh32(desc->flags) & RT2560_TX_VALID))
sys/dev/ic/rt2560.c
939
switch (letoh32(desc->flags) & RT2560_TX_RESULT_MASK) {
sys/dev/ic/rt2560.c
947
(letoh32(desc->flags) >> 5) & 0x7));
sys/dev/ic/rt2560.c
964
sc->sc_dev.dv_xname, letoh32(desc->flags)));
sys/dev/ic/rt2661.c
1113
if ((letoh32(desc->flags) & RT2661_TX_BUSY) ||
sys/dev/ic/rt2661.c
1114
!(letoh32(desc->flags) & RT2661_TX_VALID))
sys/dev/ic/rt2661.c
1173
if (letoh32(desc->flags) & RT2661_RX_BUSY)
sys/dev/ic/rt2661.c
1176
if ((letoh32(desc->flags) & RT2661_RX_PHY_ERROR) ||
sys/dev/ic/rt2661.c
1177
(letoh32(desc->flags) & RT2661_RX_CRC_ERROR)) {
sys/dev/ic/rt2661.c
1183
letoh32(desc->flags)));
sys/dev/ic/rt2661.c
1188
if ((letoh32(desc->flags) & RT2661_RX_CIPHER_MASK) != 0) {
sys/dev/ic/rt2661.c
1246
(letoh32(desc->flags) >> 16) & 0xfff;
sys/dev/ic/rt2661.c
1429
if (letoh32(desc->flags) & RT2661_RX_OFDM) {
sys/dev/ic/rtw.c
1023
letoh32(obuf), letoh32(rd->rd_buf), letoh32(octl),
sys/dev/ic/rtw.c
1024
letoh32(rd->rd_ctl)));
sys/dev/ic/rtw.c
1106
hstat = letoh32(rd->rd_stat);
sys/dev/ic/rtw.c
1107
hrssi = letoh32(rd->rd_rssi);
sys/dev/ic/rtw.c
1108
htsfth = letoh32(rd->rd_tsfth);
sys/dev/ic/rtw.c
1109
htsftl = letoh32(rd->rd_tsftl);
sys/dev/ic/rtw.c
1357
hstat = letoh32(tdn->td_stat);
sys/dev/ic/rtw.c
1544
letoh32(rd->rd_ctl), letoh32(rd->rd_rssi),
sys/dev/ic/rtw.c
1545
letoh32(rd->rd_buf), letoh32(rd->rd_tsfth));
sys/dev/ic/rtw.c
1630
return (letoh32(RTW_READ(regs, tdb->tdb_basereg)) - tdb->tdb_base) /
sys/dev/ic/rtw.c
1661
rdsar = letoh32(RTW_READ(&sc->sc_regs, RTW_RDSAR));
sys/dev/ic/rtw.c
3052
letoh32(td->td_buf), letoh32(td->td_next),
sys/dev/ic/rtw.c
3053
letoh32(td->td_ctl0), letoh32(td->td_ctl1),
sys/dev/ic/rtw.c
3054
letoh32(td->td_len)));
sys/dev/ic/rtwn.c
1479
rssi = ((letoh32(phy->phydw1) >> 1) & 0x7f) - 110;
sys/dev/ic/siopvar_common.h
213
(((sc)->features & SF_CHIP_BE) ? betoh32((x)) : letoh32((x)))
sys/dev/ic/ti.c
414
b[i] = letoh32(b[i]);
sys/dev/ic/twe.c
384
sc->sc_hdr[i].hd_size = letoh32(*(u_int32_t *)cap->data);
sys/dev/ic/xl.c
1144
if ((rxstat = letoh32(sc->xl_cdata.xl_rx_cons->xl_ptr->xl_status)) == 0)
sys/dev/pci/arc.c
1540
letoh32(fwinfo.signature));
sys/dev/pci/arc.c
1542
if (letoh32(fwinfo.signature) != ARC_FWINFO_SIGNATURE_GET_CONFIG) {
sys/dev/pci/arc.c
1548
letoh32(fwinfo.request_len));
sys/dev/pci/arc.c
1550
letoh32(fwinfo.queue_len));
sys/dev/pci/arc.c
1552
letoh32(fwinfo.sdram_size));
sys/dev/pci/arc.c
1554
letoh32(fwinfo.sata_ports));
sys/dev/pci/arc.c
1564
if (letoh32(fwinfo.request_len) != ARC_MAX_IOCMDLEN) {
sys/dev/pci/arc.c
1566
DEVNAME(sc), letoh32(fwinfo.request_len), ARC_MAX_IOCMDLEN);
sys/dev/pci/arc.c
1570
sc->sc_req_count = letoh32(fwinfo.queue_len);
sys/dev/pci/arc.c
1584
DEVNAME(sc), letoh32(fwinfo.sata_ports),
sys/dev/pci/arc.c
1585
letoh32(fwinfo.sdram_size), string);
sys/dev/pci/arc.c
1624
letoh32(fwinfo.signature));
sys/dev/pci/arc.c
1626
if (letoh32(fwinfo.signature) != ARC_FWINFO_SIGNATURE_GET_CONFIG) {
sys/dev/pci/arc.c
1632
letoh32(fwinfo.request_len));
sys/dev/pci/arc.c
1634
letoh32(fwinfo.queue_len));
sys/dev/pci/arc.c
1636
letoh32(fwinfo.sdram_size));
sys/dev/pci/arc.c
1638
letoh32(fwinfo.sata_ports));
sys/dev/pci/arc.c
1648
if (letoh32(fwinfo.request_len) != ARC_MAX_IOCMDLEN) {
sys/dev/pci/arc.c
1650
DEVNAME(sc), letoh32(fwinfo.request_len), ARC_MAX_IOCMDLEN);
sys/dev/pci/arc.c
1654
sc->sc_req_count = letoh32(fwinfo.queue_len);
sys/dev/pci/arc.c
1668
DEVNAME(sc), letoh32(fwinfo.sata_ports),
sys/dev/pci/arc.c
1669
letoh32(fwinfo.sdram_size), string);
sys/dev/pci/arc.c
1698
letoh32(fwinfo.signature));
sys/dev/pci/arc.c
1700
if (letoh32(fwinfo.signature) != ARC_FWINFO_SIGNATURE_GET_CONFIG) {
sys/dev/pci/arc.c
1706
letoh32(fwinfo.request_len));
sys/dev/pci/arc.c
1708
letoh32(fwinfo.queue_len));
sys/dev/pci/arc.c
1710
letoh32(fwinfo.sdram_size));
sys/dev/pci/arc.c
1712
letoh32(fwinfo.sata_ports));
sys/dev/pci/arc.c
1722
if (letoh32(fwinfo.request_len) != ARC_MAX_IOCMDLEN) {
sys/dev/pci/arc.c
1724
DEVNAME(sc), letoh32(fwinfo.request_len), ARC_MAX_IOCMDLEN);
sys/dev/pci/arc.c
1728
sc->sc_req_count = letoh32(fwinfo.queue_len) - 1;
sys/dev/pci/arc.c
1742
DEVNAME(sc), letoh32(fwinfo.sata_ports),
sys/dev/pci/arc.c
1743
letoh32(fwinfo.sdram_size), string);
sys/dev/pci/arc.c
2103
status = letoh32(volinfo->volume_status);
sys/dev/pci/arc.c
2105
if (letoh32(volinfo->fail_mask) == 0x0)
sys/dev/pci/arc.c
2115
bv->bv_percent = letoh32(volinfo->progress) / 10;
sys/dev/pci/arc.c
2118
bv->bv_percent = letoh32(volinfo->progress) / 10;
sys/dev/pci/arc.c
2121
blocks = (u_int64_t)letoh32(volinfo->capacity2) << 32;
sys/dev/pci/arc.c
2122
blocks += (u_int64_t)letoh32(volinfo->capacity);
sys/dev/pci/arc.c
2230
blocks = (u_int64_t)letoh32(diskinfo->capacity2) << 32;
sys/dev/pci/arc.c
2231
blocks += (u_int64_t)letoh32(diskinfo->capacity);
sys/dev/pci/cz.c
477
if (letoh32(zfh->zfh_configoff) & (sizeof(u_int32_t) - 1)) {
sys/dev/pci/cz.c
479
cz->cz_dev.dv_xname, letoh32(zfh->zfh_configoff));
sys/dev/pci/cz.c
483
letoh32(zfh->zfh_configoff));
sys/dev/pci/cz.c
484
nconfigs = letoh32(zfh->zfh_nconfig);
sys/dev/pci/cz.c
488
if (letoh32(zfc->zfc_mailbox) == cz->cz_mailbox0 &&
sys/dev/pci/cz.c
489
letoh32(zfc->zfc_function) == ZFC_FUNCTION_NORMAL)
sys/dev/pci/cz.c
498
nblocks = letoh32(zfc->zfc_nblocks);
sys/dev/pci/cz.c
500
letoh32(zfh->zfh_blockoff));
sys/dev/pci/cz.c
517
zfb = &zblocks[letoh32(zfc->zfc_blocklist[i])];
sys/dev/pci/cz.c
518
if (letoh32(zfb->zfb_type) == ZFB_TYPE_FPGA) {
sys/dev/pci/cz.c
519
nbytes = letoh32(zfb->zfb_size);
sys/dev/pci/cz.c
521
letoh32(zfb->zfb_fileoff)];
sys/dev/pci/cz.c
540
zfb = &zblocks[letoh32(zfc->zfc_blocklist[i])];
sys/dev/pci/cz.c
541
if (letoh32(zfb->zfb_type) == ZFB_TYPE_FIRMWARE) {
sys/dev/pci/cz.c
543
u_int32_t ro = letoh32(zfb->zfb_ramoff);
sys/dev/pci/cz.c
544
nbytes = letoh32(zfb->zfb_size);
sys/dev/pci/cz.c
546
&cycladesz_firmware[letoh32(zfb->zfb_fileoff)];
sys/dev/pci/cz.c
549
ro + j, letoh32(*lp));
sys/dev/pci/drm/include/asm/byteorder.h
10
#define le32_to_cpu(x) letoh32(x)
sys/dev/pci/emuxki.c
1017
if ((letoh32(ptb[i]) & EMU_CHAN_MAP_PTE_MASK) == silentpage) {
sys/dev/pci/emuxki.c
1020
if ((letoh32(ptb[i + j])
sys/dev/pci/if_age.c
1273
status = letoh32(rxrd->flags);
sys/dev/pci/if_age.c
1274
index = letoh32(rxrd->index);
sys/dev/pci/if_age.c
1278
sc->age_cdata.age_rxlen = AGE_RX_BYTES(letoh32(rxrd->len));
sys/dev/pci/if_age.c
1315
mp->m_len = AGE_RX_BYTES(letoh32(desc->len));
sys/dev/pci/if_age.c
1388
u_int32_t vtag = AGE_RX_VLAN(letoh32(rxrd->vtags));
sys/dev/pci/if_age.c
1430
nsegs = AGE_RX_NSEGS(letoh32(rxrd->index));
sys/dev/pci/if_age.c
1439
pktlen = AGE_RX_BYTES(letoh32(rxrd->len));
sys/dev/pci/if_age.c
458
status = letoh32(cmb->intr_status);
sys/dev/pci/if_age.c
462
sc->age_tpd_cons = (letoh32(cmb->tpd_cons) & TPD_CONS_MASK) >>
sys/dev/pci/if_age.c
464
sc->age_rr_prod = (letoh32(cmb->rprod_cons) & RRD_PROD_MASK) >>
sys/dev/pci/if_alc.c
2373
status = letoh32(rrd->status);
sys/dev/pci/if_alc.c
2376
nsegs = RRD_RD_CNT(letoh32(rrd->rdinfo));
sys/dev/pci/if_alc.c
2439
status = letoh32(rrd->status);
sys/dev/pci/if_alc.c
2440
rdinfo = letoh32(rrd->rdinfo);
sys/dev/pci/if_alc.c
2527
u_int32_t vtag = RRD_VLAN(letoh32(rrd->vtag));
sys/dev/pci/if_ale.c
1457
seqno = ALE_RX_SEQNO(letoh32(rs->seqno));
sys/dev/pci/if_ale.c
1479
length = ALE_RX_BYTES(letoh32(rs->length));
sys/dev/pci/if_ale.c
1480
status = letoh32(rs->flags);
sys/dev/pci/if_ale.c
1518
uint32_t vtags = ALE_RX_VLAN(letoh32(rs->vtags));
sys/dev/pci/if_bnxreg.h
281
#define bnx_le32toh(x) letoh32(x)
sys/dev/pci/if_bnxt.c
3415
grp->grp_id = letoh32(resp->ring_group_id);
sys/dev/pci/if_bwfm_pci.c
1738
letoh32(msg->request_id));
sys/dev/pci/if_bwfm_pci.c
1752
letoh32(event->msg.request_id));
sys/dev/pci/if_bwfm_pci.c
1764
letoh32(tx->msg.request_id) - 1);
sys/dev/pci/if_bwfm_pci.c
1776
letoh32(rx->msg.request_id));
sys/dev/pci/if_bwfm_pci.c
2098
letoh32(BWFM_PCI_DMA_DVA(ring->ring) >> 32);
sys/dev/pci/if_bwfm_pci.c
2100
letoh32(BWFM_PCI_DMA_DVA(ring->ring) & 0xffffffff);
sys/dev/pci/if_bwfm_pci.c
2558
letoh32(resp->msg.request_id));
sys/dev/pci/if_bwfm_pci.c
518
if (letoh32(ramsize[0]) == BWFM_RAMSIZE_MAGIC)
sys/dev/pci/if_bwfm_pci.c
519
bwfm->sc_chip.ch_ramsize = letoh32(ramsize[1]);
sys/dev/pci/if_bwfm_pci.c
613
d2h_w_idx_ptr = letoh32(ringinfo.d2h_w_idx_ptr);
sys/dev/pci/if_bwfm_pci.c
614
d2h_r_idx_ptr = letoh32(ringinfo.d2h_r_idx_ptr);
sys/dev/pci/if_bwfm_pci.c
615
h2d_w_idx_ptr = letoh32(ringinfo.h2d_w_idx_ptr);
sys/dev/pci/if_bwfm_pci.c
616
h2d_r_idx_ptr = letoh32(ringinfo.h2d_r_idx_ptr);
sys/dev/pci/if_bwfm_pci.c
669
uint32_t ring_mem_ptr = letoh32(ringinfo.ringmem);
sys/dev/pci/if_iavf.c
2598
sc->sc_vf_id = letoh32(desc->iaq_param[0]);
sys/dev/pci/if_iavf.c
2661
if (letoh32(desc->iaq_vc_retval) != IAVF_VC_RC_SUCCESS) {
sys/dev/pci/if_iavf.c
2662
printf("config irq map failed: %d\n", letoh32(desc->iaq_vc_retval));
sys/dev/pci/if_iavf.c
2723
switch (letoh32(iaq->iaq_vc_opcode)) {
sys/dev/pci/if_iavf.c
2726
sc->sc_major_ver = letoh32(ver->major);
sys/dev/pci/if_iavf.c
2727
sc->sc_minor_ver = letoh32(ver->minor);
sys/dev/pci/if_iavf.c
2754
sc->sc_admin_result = letoh32(iaq->iaq_vc_retval);
sys/dev/pci/if_igc.c
1327
staterr = letoh32(rxdesc->wb.upper.status_error);
sys/dev/pci/if_igc.c
1348
ptype = letoh32(rxdesc->wb.lower.lo_dword.data) &
sys/dev/pci/if_igc.c
1350
hash = letoh32(rxdesc->wb.lower.hi_dword.rss);
sys/dev/pci/if_ipw.c
1626
fw->main_size = letoh32(hdr->main_size);
sys/dev/pci/if_ipw.c
1627
fw->ucode_size = letoh32(hdr->ucode_size);
sys/dev/pci/if_ipw.c
1671
DPRINTF(("Setting scan options to 0x%x\n", letoh32(scan.flags)));
sys/dev/pci/if_ipw.c
1758
DPRINTF(("Setting privacy flags to 0x%x\n", letoh32(data)));
sys/dev/pci/if_ipw.c
1776
letoh32(assoc.optie_len)));
sys/dev/pci/if_ipw.c
1784
DPRINTF(("Setting scan options to 0x%x\n", letoh32(scan.flags)));
sys/dev/pci/if_ipw.c
1833
DPRINTF(("Setting mode to %u\n", letoh32(data)));
sys/dev/pci/if_ipw.c
1844
DPRINTF(("Setting channel to %u\n", letoh32(data)));
sys/dev/pci/if_ipw.c
1878
DPRINTF(("Setting RTS threshold to %u\n", letoh32(data)));
sys/dev/pci/if_ipw.c
1884
DPRINTF(("Setting frag threshold to %u\n", letoh32(data)));
sys/dev/pci/if_ipw.c
1890
DPRINTF(("Setting basic tx rates to 0x%x\n", letoh32(data)));
sys/dev/pci/if_ipw.c
1896
DPRINTF(("Setting tx rates to 0x%x\n", letoh32(data)));
sys/dev/pci/if_ipw.c
1902
DPRINTF(("Setting MSDU tx rates to 0x%x\n", letoh32(data)));
sys/dev/pci/if_ipw.c
1908
DPRINTF(("Setting power mode to %u\n", letoh32(data)));
sys/dev/pci/if_ipw.c
1916
DPRINTF(("Setting tx power index to %u\n", letoh32(data)));
sys/dev/pci/if_ipw.c
1923
DPRINTF(("Setting beacon interval to %u\n", letoh32(data)));
sys/dev/pci/if_ipw.c
783
letoh32(cmd->type), letoh32(cmd->status)));
sys/dev/pci/if_ipw.c
798
state = letoh32(*mtod(sbuf->m, uint32_t *));
sys/dev/pci/if_ipw.c
844
letoh32(status->len), status->rssi));
sys/dev/pci/if_ipw.c
864
bus_dmamap_sync(sc->sc_dmat, sbuf->map, 0, letoh32(status->len),
sys/dev/pci/if_ipw.c
891
m->m_pkthdr.len = m->m_len = letoh32(status->len);
sys/dev/pci/if_iwi.c
1058
if (letoh32(beacon->status) == IWI_BEACON_MISSED) {
sys/dev/pci/if_iwi.c
1061
sc->sc_dev.dv_xname, letoh32(beacon->count)));
sys/dev/pci/if_iwi.c
1071
letoh32(*(uint32_t *)(notif + 1)) & 0xff));
sys/dev/pci/if_iwi.c
1799
DPRINTF(("Setting power mode to %u\n", letoh32(data)));
sys/dev/pci/if_iwi.c
1805
DPRINTF(("Setting RTS threshold to %u\n", letoh32(data)));
sys/dev/pci/if_iwi.c
1811
DPRINTF(("Setting fragmentation threshold to %u\n", letoh32(data)));
sys/dev/pci/if_iwi.c
2210
if (size < sizeof (struct iwi_firmware_hdr) + letoh32(hdr->bootsz) +
sys/dev/pci/if_iwi.c
2211
letoh32(hdr->ucodesz) + letoh32(hdr->mainsz)) {
sys/dev/pci/if_iwi.c
2219
if ((error = iwi_load_firmware(sc, fw, letoh32(hdr->bootsz))) != 0) {
sys/dev/pci/if_iwi.c
2226
letoh32(hdr->bootsz);
sys/dev/pci/if_iwi.c
2227
if ((error = iwi_load_ucode(sc, fw, letoh32(hdr->ucodesz))) != 0) {
sys/dev/pci/if_iwi.c
2253
letoh32(hdr->bootsz) + letoh32(hdr->ucodesz);
sys/dev/pci/if_iwi.c
2254
if ((error = iwi_load_firmware(sc, fw, letoh32(hdr->mainsz))) != 0) {
sys/dev/pci/if_iwm.c
4672
noise = letoh32(stats->beacon_silence_rssi[i]) & 0xff;
sys/dev/pci/if_iwm.c
4931
chanidx = letoh32(phy_info->channel);
sys/dev/pci/if_iwn.c
1611
letoh32(sc->eeprom_crystal)));
sys/dev/pci/if_iwn.c
2049
flags = letoh32(*(uint32_t *)(head + len));
sys/dev/pci/if_iwn.c
2414
len = (letoh32(desc->len) & IWN_RX_DESC_LEN_MASK) - 4;
sys/dev/pci/if_iwn.c
2507
if (letoh32(stats->rx.general.flags) != 1) {
sys/dev/pci/if_iwn.c
2659
size_t len = (letoh32(desc->len) & IWN_RX_DESC_LEN_MASK);
sys/dev/pci/if_iwn.c
2660
uint16_t status = letoh32(stat->stat.status) & 0xff;
sys/dev/pci/if_iwn.c
2706
size_t len = (letoh32(desc->len) & IWN_RX_DESC_LEN_MASK);
sys/dev/pci/if_iwn.c
2707
uint16_t status = letoh32(stat->stat.status) & 0xff;
sys/dev/pci/if_iwn.c
2923
missed = letoh32(miss->consecutive);
sys/dev/pci/if_iwn.c
2960
uc->subtype, letoh32(uc->valid)));
sys/dev/pci/if_iwn.c
2962
if (letoh32(uc->valid) != 1) {
sys/dev/pci/if_iwn.c
2972
sc->errptr = letoh32(uc->errptr);
sys/dev/pci/if_iwn.c
2982
DPRINTF(("state changed to %x\n", letoh32(*status)));
sys/dev/pci/if_iwn.c
2984
if (letoh32(*status) & 1) {
sys/dev/pci/if_iwn.c
2999
scan->chan, letoh32(scan->status)));
sys/dev/pci/if_iwn.c
3151
tmp = letoh32(tmp);
sys/dev/pci/if_iwn.c
4149
vdiff = ((int32_t)letoh32(uc->volt) - sc->eeprom_voltage) / 7;
sys/dev/pci/if_iwn.c
4155
vdiff, letoh32(uc->volt), sc->eeprom_voltage));
sys/dev/pci/if_iwn.c
4239
idx += (int32_t)letoh32(uc->atten[grp][c]);
sys/dev/pci/if_iwn.c
4314
agc = (letoh32(phy->agc) >> 9) & 0x7f;
sys/dev/pci/if_iwn.c
4333
if ((noise = letoh32(stats->noise[i]) & 0xff) == 0)
sys/dev/pci/if_iwn.c
4352
r1 = letoh32(uc->temp[0].chan40MHz);
sys/dev/pci/if_iwn.c
4353
r2 = letoh32(uc->temp[1].chan40MHz);
sys/dev/pci/if_iwn.c
4354
r3 = letoh32(uc->temp[2].chan40MHz);
sys/dev/pci/if_iwn.c
4356
r1 = letoh32(uc->temp[0].chan20MHz);
sys/dev/pci/if_iwn.c
4357
r2 = letoh32(uc->temp[1].chan20MHz);
sys/dev/pci/if_iwn.c
4358
r3 = letoh32(uc->temp[2].chan20MHz);
sys/dev/pci/if_iwn.c
4360
r4 = letoh32(sc->rawtemp);
sys/dev/pci/if_iwn.c
4384
temp = letoh32(sc->rawtemp);
sys/dev/pci/if_iwn.c
4446
calib->rssi[i] += letoh32(stats->rssi[i]) & 0xff;
sys/dev/pci/if_iwn.c
4447
calib->noise[i] += letoh32(stats->noise[i]) & 0xff;
sys/dev/pci/if_iwn.c
4611
if ((rxena = letoh32(stats->general.load)) == 0)
sys/dev/pci/if_iwn.c
4615
fa = letoh32(stats->ofdm.bad_plcp) - calib->bad_plcp_ofdm;
sys/dev/pci/if_iwn.c
4616
fa += letoh32(stats->ofdm.fa) - calib->fa_ofdm;
sys/dev/pci/if_iwn.c
4620
calib->bad_plcp_ofdm = letoh32(stats->ofdm.bad_plcp);
sys/dev/pci/if_iwn.c
4621
calib->fa_ofdm = letoh32(stats->ofdm.fa);
sys/dev/pci/if_iwn.c
4642
noise[i] = (letoh32(stats->general.noise[i]) >> 8) & 0xff;
sys/dev/pci/if_iwn.c
4656
energy[i] = letoh32(stats->general.energy[i]);
sys/dev/pci/if_iwn.c
4670
fa = letoh32(stats->cck.bad_plcp) - calib->bad_plcp_cck;
sys/dev/pci/if_iwn.c
4671
fa += letoh32(stats->cck.fa) - calib->fa_cck;
sys/dev/pci/if_iwn.c
4675
calib->bad_plcp_cck = letoh32(stats->cck.bad_plcp);
sys/dev/pci/if_iwn.c
4676
calib->fa_cck = letoh32(stats->cck.fa);
sys/dev/pci/if_iwn.c
6192
cmd.cap_pin[0] = letoh32(sc->eeprom_crystal) & 0xff;
sys/dev/pci/if_iwn.c
6193
cmd.cap_pin[1] = (letoh32(sc->eeprom_crystal) >> 16) & 0xff;
sys/dev/pci/if_iwn.c
6579
rev = letoh32(*ptr++);
sys/dev/pci/if_iwn.c
6597
fw->main.textsz = letoh32(*ptr++);
sys/dev/pci/if_iwn.c
6598
fw->main.datasz = letoh32(*ptr++);
sys/dev/pci/if_iwn.c
6599
fw->init.textsz = letoh32(*ptr++);
sys/dev/pci/if_iwn.c
6600
fw->init.datasz = letoh32(*ptr++);
sys/dev/pci/if_iwn.c
6601
fw->boot.textsz = letoh32(*ptr++);
sys/dev/pci/if_iwn.c
6641
sc->sc_dev.dv_xname, letoh32(hdr->signature));
sys/dev/pci/if_iwn.c
6645
letoh32(hdr->build)));
sys/dev/pci/if_iwn.c
6662
len = letoh32(tlv->len);
sys/dev/pci/if_iwn.c
6711
if (letoh32(*ptr) <= IWN5000_PHY_CALIB_MAX) {
sys/dev/pci/if_iwn.c
6712
sc->reset_noise_gain = letoh32(*ptr);
sys/dev/pci/if_iwn.c
6713
sc->noise_gain = letoh32(*ptr) + 1;
sys/dev/pci/if_iwn.c
6721
sc->tlv_feature_flags = letoh32(*ptr);
sys/dev/pci/if_iwx.c
4692
noise = letoh32(stats->beacon_silence_rssi[i]) & 0xff;
sys/dev/pci/if_ix.c
3172
staterr = letoh32(rxdesc->wb.upper.status_error);
sys/dev/pci/if_jme.c
1518
status = letoh32(txd->tx_desc->flags);
sys/dev/pci/if_jme.c
1527
letoh32(txd->tx_desc->buflen) &
sys/dev/pci/if_jme.c
1595
flags = letoh32(desc->flags);
sys/dev/pci/if_jme.c
1596
status = letoh32(desc->buflen);
sys/dev/pci/if_jme.c
1724
if ((letoh32(desc->flags) & JME_RD_OWN) == JME_RD_OWN)
sys/dev/pci/if_jme.c
1726
if ((letoh32(desc->buflen) & JME_RD_VALID) == 0)
sys/dev/pci/if_jme.c
1735
nsegs = JME_RX_NSEGS(letoh32(desc->buflen));
sys/dev/pci/if_jme.c
1736
pktlen = JME_RX_BYTES(letoh32(desc->buflen));
sys/dev/pci/if_lii.c
707
LII_WRITE_4(sc, LII_MAC_ADDR_0, letoh32((sc->sc_ac.ac_enaddr[2] << 24) |
sys/dev/pci/if_lii.c
711
letoh32((sc->sc_ac.ac_enaddr[0] << 8) | sc->sc_ac.ac_enaddr[1]));
sys/dev/pci/if_msk.c
2451
DESC_PRINT(letoh32(le->sk_addr));
sys/dev/pci/if_nfe.c
650
vtag = letoh32(desc64->physaddr[1]);
sys/dev/pci/if_ngbe.c
4295
staterr = letoh32(rxdesc->wb.upper.status_error);
sys/dev/pci/if_ngbe.c
4316
hash = letoh32(rxdesc->wb.lower.hi_dword.rss);
sys/dev/pci/if_nxe.c
1405
new_cons = letoh32(*sc->sc_cmd_consumer);
sys/dev/pci/if_oce.c
2979
sc->sc_if_id = letoh32(cmd.params.rsp.if_id);
sys/dev/pci/if_oce.c
2982
sc->sc_pmac_id = letoh32(cmd.params.rsp.pmac_id);
sys/dev/pci/if_oce.c
3170
sc->sc_link_up = (letoh32(cmd.params.rsp.logical_link_status) ==
sys/dev/pci/if_oce.c
3230
*pmac = letoh32(cmd.params.rsp.pmac_id);
sys/dev/pci/if_pcn.c
1158
tmd1 = letoh32(sc->sc_txdescs[txs->txs_lastdesc].tmd1);
sys/dev/pci/if_pcn.c
1168
tmd = letoh32(sc->sc_txdescs[j].tmd1);
sys/dev/pci/if_pcn.c
1172
tmd2 = letoh32(sc->sc_txdescs[j].tmd0);
sys/dev/pci/if_pcn.c
1174
tmd2 = letoh32(sc->sc_txdescs[j].tmd2);
sys/dev/pci/if_pcn.c
1259
rmd1 = letoh32(sc->sc_rxdescs[i].rmd1);
sys/dev/pci/if_pcn.c
1318
len = letoh32(sc->sc_rxdescs[i].rmd0) & LE_R1_BCNT_MASK;
sys/dev/pci/if_pcn.c
1320
len = letoh32(sc->sc_rxdescs[i].rmd2) & LE_R1_BCNT_MASK;
sys/dev/pci/if_rge.c
1344
rxstat = letoh32(cur_rx->hi_qword1.rx_qword4.rge_cmdsts);
sys/dev/pci/if_rge.c
1402
extsts = letoh32(cur_rx->hi_qword1.rx_qword4.rge_extsts);
sys/dev/pci/if_rtwn.c
1216
if (letoh32(tx_desc->txdw0) & R92C_TXDW0_OWN)
sys/dev/pci/if_rtwn.c
1520
if (letoh32(rx_desc->rxdw0) & R92C_RXDW0_OWN)
sys/dev/pci/if_rtwn.c
1574
if (letoh32(rx_desc->rxdw0) & R92C_RXDW0_OWN)
sys/dev/pci/if_rtwn.c
826
rxdw0 = letoh32(rx_desc->rxdw0);
sys/dev/pci/if_rtwn.c
827
rxdw3 = letoh32(rx_desc->rxdw3);
sys/dev/pci/if_rtwn.c
838
rptb1 = letoh32(rxstat->rptb1);
sys/dev/pci/if_rtwn.c
839
rptb2 = letoh32(rxstat->rptb2);
sys/dev/pci/if_se.c
912
rxinfo = letoh32(cur_rx->se_cmdsts);
sys/dev/pci/if_se.c
915
rxstat = letoh32(cur_rx->se_sts_size);
sys/dev/pci/if_se.c
984
txstat = letoh32(cur_tx->se_cmdsts);
sys/dev/pci/if_sis.c
1373
rxstat = letoh32(cur_rx->sis_rxstat);
sys/dev/pci/if_sis.c
1476
ctl = letoh32(cur_tx->sis_ctl);
sys/dev/pci/if_sis.c
1481
txstat = letoh32(cur_tx->sis_txstat);
sys/dev/pci/if_sisreg.h
343
#define SIS_LASTDESC(x) (!(letoh32((x)->sis_ctl) & SIS_CMDSTS_MORE)))
sys/dev/pci/if_sisreg.h
344
#define SIS_OWNDESC(x) (letoh32((x)->sis_ctl) & SIS_CMDSTS_OWN)
sys/dev/pci/if_sisreg.h
346
#define SIS_RXBYTES(x) (letoh32((x)->sis_ctl) & SIS_CMDSTS_BUFLEN)
sys/dev/pci/if_sk.c
2552
DESC_PRINT(letoh32(desc->sk_ctl));
sys/dev/pci/if_sk.c
2553
DESC_PRINT(letoh32(desc->sk_next));
sys/dev/pci/if_sk.c
2554
DESC_PRINT(letoh32(desc->sk_data_lo));
sys/dev/pci/if_sk.c
2555
DESC_PRINT(letoh32(desc->sk_data_hi));
sys/dev/pci/if_sk.c
2556
DESC_PRINT(letoh32(desc->sk_xmac_txstat));
sys/dev/pci/if_tht.c
1339
flags = letoh32(rxd.flags);
sys/dev/pci/if_txp.c
1423
*out2 = letoh32(rsp->rsp_par2);
sys/dev/pci/if_txp.c
1425
*out3 = letoh32(rsp->rsp_par3);
sys/dev/pci/if_txp.c
1485
idx = letoh32(hv->hv_resp_read_idx);
sys/dev/pci/if_txp.c
1486
if (idx != letoh32(hv->hv_resp_write_idx)) {
sys/dev/pci/if_txp.c
1512
while (ridx != letoh32(hv->hv_resp_write_idx)) {
sys/dev/pci/if_txp.c
1528
ridx = letoh32(hv->hv_resp_read_idx);
sys/dev/pci/if_txp.c
1545
ridx = letoh32(hv->hv_resp_read_idx);
sys/dev/pci/if_txp.c
1546
hv->hv_resp_read_idx = letoh32(ridx);
sys/dev/pci/if_txp.c
1560
ridx = letoh32(hv->hv_resp_read_idx);
sys/dev/pci/if_txp.c
1586
ridx = letoh32(hv->hv_cmd_read_idx);
sys/dev/pci/if_txp.c
1590
nfree = letoh32(br->br_cmd_siz) - sizeof(struct txp_cmd_desc);
sys/dev/pci/if_txp.c
1593
nfree = letoh32(br->br_cmd_siz) -
sys/dev/pci/if_txp.c
1742
letoh32(cmd->cmd_par2), letoh32(cmd->cmd_par3));
sys/dev/pci/if_txp.c
1749
letoh32(rsp->rsp_par2), letoh32(rsp->rsp_par3));
sys/dev/pci/if_txp.c
1768
letoh32(cmd->cmd_par2), letoh32(cmd->cmd_par3));
sys/dev/pci/if_txp.c
382
WRITE_REG(sc, TXP_H2A_1, letoh32(fileheader->addr));
sys/dev/pci/if_txp.c
383
WRITE_REG(sc, TXP_H2A_2, letoh32(fileheader->hmac[0]));
sys/dev/pci/if_txp.c
384
WRITE_REG(sc, TXP_H2A_3, letoh32(fileheader->hmac[1]));
sys/dev/pci/if_txp.c
385
WRITE_REG(sc, TXP_H2A_4, letoh32(fileheader->hmac[2]));
sys/dev/pci/if_txp.c
386
WRITE_REG(sc, TXP_H2A_5, letoh32(fileheader->hmac[3]));
sys/dev/pci/if_txp.c
387
WRITE_REG(sc, TXP_H2A_6, letoh32(fileheader->hmac[4]));
sys/dev/pci/if_txp.c
398
for (sect = 0; sect < letoh32(fileheader->nsections); sect++) {
sys/dev/pci/if_txp.c
402
(((u_int8_t *)secthead) + letoh32(secthead->nbytes) +
sys/dev/pci/if_txp.c
478
rseg += letoh32(sect->nbytes);
sys/dev/pci/if_txp.c
485
if (txp_dma_malloc(sc, letoh32(sect->nbytes), &dma, 0)) {
sys/dev/pci/if_txp.c
491
letoh32(sect->nbytes));
sys/dev/pci/if_txp.c
498
m.m_len = letoh32(sect->nbytes);
sys/dev/pci/if_txp.c
501
csum = in_cksum(&m, letoh32(sect->nbytes));
sys/dev/pci/if_txp.c
512
WRITE_REG(sc, TXP_H2A_1, letoh32(sect->nbytes));
sys/dev/pci/if_txp.c
514
WRITE_REG(sc, TXP_H2A_3, letoh32(sect->addr));
sys/dev/pci/if_txp.c
566
TXP_OFFSET2IDX(letoh32(*(sc->sc_txhir.r_off)))))
sys/dev/pci/if_txp.c
570
TXP_OFFSET2IDX(letoh32(*(sc->sc_txlor.r_off)))))
sys/dev/pci/if_txp.c
600
roff = letoh32(*r->r_roff);
sys/dev/pci/if_txp.c
601
woff = letoh32(*r->r_woff);
sys/dev/pci/if_txp.c
613
letoh32(rxd->rx_stat));
sys/dev/pci/if_txp.c
705
woff = letoh32(*r->r_woff);
sys/dev/pci/if_txp.c
721
end = TXP_OFFSET2IDX(letoh32(hv->hv_rx_buf_read_idx));
sys/dev/pci/if_txp.c
722
i = TXP_OFFSET2IDX(letoh32(hv->hv_rx_buf_write_idx));
sys/dev/pci/if_txp.c
795
u_int32_t idx = TXP_OFFSET2IDX(letoh32(*(r->r_off)));
sys/dev/pci/if_vge.c
1000
rxstat = letoh32(cur_rx->vge_sts);
sys/dev/pci/if_vge.c
1001
rxctl = letoh32(cur_rx->vge_ctl);
sys/dev/pci/if_vge.c
1169
txstat = letoh32(sc->vge_ldata.vge_tx_list[idx].vge_sts);
sys/dev/pci/if_vge.c
1345
if (letoh32(d->vge_sts) & VGE_TDSTS_OWN)
sys/dev/pci/if_vge.c
878
if (letoh32(r->vge_sts) & VGE_RDSTS_OWN) {
sys/dev/pci/if_vgevar.h
49
#define VGE_OWN(x) (letoh32((x)->vge_sts) & VGE_RDSTS_OWN)
sys/dev/pci/if_vgevar.h
50
#define VGE_RXBYTES(x) ((letoh32((x)->vge_sts) & \
sys/dev/pci/if_vmx.c
1089
cons = (letoh32(txcd->txc_word0) >> VMXNET3_TXC_EOPIDX_S) &
sys/dev/pci/if_vmx.c
1137
idx = letoh32((rxcd->rxc_word0 >> VMXNET3_RXC_IDX_S) &
sys/dev/pci/if_vmx.c
1140
if (letoh32((rxcd->rxc_word0 >> VMXNET3_RXC_QID_S) &
sys/dev/pci/if_vmx.c
1163
if (letoh32((rxcd->rxc_word3 & VMXNET3_RXC_TYPE_M) >>
sys/dev/pci/if_vmx.c
1166
m->m_pkthdr.ph_mss = letoh32(rxcd->rxc_word1 &
sys/dev/pci/if_vmx.c
1170
m->m_len = letoh32((rxcd->rxc_word2 >> VMXNET3_RXC_LEN_S) &
sys/dev/pci/if_vmx.c
1190
if (letoh32(rxcd->rxc_word2 & VMXNET3_RXC_ERROR)) {
sys/dev/pci/if_vmx.c
1203
if (((letoh32(rxcd->rxc_word0) >> VMXNET3_RXC_RSSTYPE_S) &
sys/dev/pci/if_vmx.c
1206
letoh32(rxcd->rxc_word1);
sys/dev/pci/if_vmx.c
1298
m->m_pkthdr.ether_vtag = letoh32((rxcd->rxc_word2 >>
sys/dev/pci/if_vr.c
826
rxstat = letoh32(sc->vr_cdata.vr_rx_cons->vr_ptr->vr_status);
sys/dev/pci/if_vr.c
830
rxctl = letoh32(sc->vr_cdata.vr_rx_cons->vr_ptr->vr_ctl);
sys/dev/pci/if_vr.c
871
total_len = VR_RXBYTES(letoh32(cur_rx->vr_ptr->vr_status));
sys/dev/pci/if_vr.c
992
txstat = letoh32(cur_tx->vr_ptr->vr_status);
sys/dev/pci/if_vr.c
993
txctl = letoh32(cur_tx->vr_ptr->vr_ctl);
sys/dev/pci/if_wpi.c
1200
flags = letoh32(tail->flags);
sys/dev/pci/if_wpi.c
1354
if ((letoh32(stat->status) & 0xff) != 1)
sys/dev/pci/if_wpi.c
1409
hw = letoh32(sc->shared->next);
sys/dev/pci/if_wpi.c
1420
letoh32(desc->len)));
sys/dev/pci/if_wpi.c
1445
"alive %x\n", letoh32(uc->version),
sys/dev/pci/if_wpi.c
1446
letoh32(uc->valid)));
sys/dev/pci/if_wpi.c
1448
if (letoh32(uc->valid) != 1) {
sys/dev/pci/if_wpi.c
1454
sc->errptr = letoh32(uc->errptr);
sys/dev/pci/if_wpi.c
1465
DPRINTF(("state changed to %x\n", letoh32(*status)));
sys/dev/pci/if_wpi.c
1467
if (letoh32(*status) & 1) {
sys/dev/pci/if_wpi.c
1485
scan->chan, letoh32(scan->status)));
sys/dev/pci/if_wpi.c
2951
fw->main.textsz = letoh32(hdr->main_textsz);
sys/dev/pci/if_wpi.c
2952
fw->main.datasz = letoh32(hdr->main_datasz);
sys/dev/pci/if_wpi.c
2953
fw->init.textsz = letoh32(hdr->init_textsz);
sys/dev/pci/if_wpi.c
2954
fw->init.datasz = letoh32(hdr->init_datasz);
sys/dev/pci/if_wpi.c
2955
fw->boot.textsz = letoh32(hdr->boot_textsz);
sys/dev/pci/ips.c
1128
total = letoh32(rblstat->ld[vid].total);
sys/dev/pci/ips.c
1129
done = total - letoh32(rblstat->ld[vid].remain);
sys/dev/pci/ips.c
1136
bv->bv_size = (uint64_t)letoh32(ld->size) * IPS_SECSZ;
sys/dev/pci/ips.c
1212
bd->bd_size = (uint64_t)letoh32(dev->seccnt) * IPS_SECSZ;
sys/dev/pci/ips.c
1390
ccb->c_xfer, cmd->code, cmd->drive, cmd->sgcnt, letoh32(cmd->lba),
sys/dev/pci/ips.c
1391
letoh32(cmd->sgaddr), letoh16(cmd->seccnt)));
sys/dev/pci/ips.c
1547
cmd->drive, cmd->sgcnt, letoh32(cmd->lba), letoh16(cmd->seccnt)));
sys/dev/pci/ips.c
1922
status = letoh32(sc->sc_sqbuf[sc->sc_sqidx]);
sys/dev/pci/ips.c
877
if (blkno >= letoh32(drive->seccnt) || blkno + blkcnt >
sys/dev/pci/ips.c
878
letoh32(drive->seccnt)) {
sys/dev/pci/ips.c
928
_lto4b(letoh32(drive->seccnt) - 1, rcd.addr);
sys/dev/pci/ixgbe.c
3741
buffer[bi] = letoh32(IXGBE_READ_REG_ARRAY(hw,
sys/dev/pci/ixgbe.c
3752
buffer[bi] = letoh32(IXGBE_READ_REG_ARRAY(hw,
sys/dev/pci/ixgbe.c
3775
buffer[bi] = letoh32(IXGBE_READ_REG_ARRAY(hw,
sys/dev/pci/mbg.c
363
trecv = letoh32(tframe.sec) * NSECPERSEC +
sys/dev/pci/mbg.c
364
(letoh32(tframe.frac) * NSECPERSEC >> 32);
sys/dev/pci/mfii.c
3846
status = letoh32(bbu.fw_status);
sys/dev/pci/mfii.c
3929
if (ISSET(letoh32(sc->sc_info.mci_hw_present), MFI_INFO_HW_BBU)) {
sys/dev/pci/pci.c
1440
data[i] = letoh32(data[i]);
sys/dev/pci/pciide.c
2147
seg, letoh32(dma_maps->dma_table[seg].byte_count),
sys/dev/pci/pciide.c
2148
letoh32(dma_maps->dma_table[seg].base_addr)), DEBUG_DMA);
sys/dev/pci/qle.c
2784
data[i] = letoh32(v);
sys/dev/pci/sti_pci.c
296
stiromsize = letoh32(stiromsize);
sys/dev/pci/sti_pci.c
389
tmp32 = letoh32(tmp32);
sys/dev/pci/sti_pci.c
403
tmp32 = letoh32(tmp32);
sys/dev/pci/vmwpvs.c
787
switch (letoh32(msg->type)) {
sys/dev/pci/vmwpvs.c
790
if (letoh32(dvmsg->bus) != 0) {
sys/dev/pci/vmwpvs.c
793
letoh32(msg->type));
sys/dev/pci/vmwpvs.c
799
letoh32(dvmsg->target), dvmsg->lun[1]) != 0) {
sys/dev/pci/vmwpvs.c
801
DEVNAME(sc), letoh32(dvmsg->target),
sys/dev/pci/vmwpvs.c
809
if (letoh32(dvmsg->bus) != 0) {
sys/dev/pci/vmwpvs.c
812
letoh32(msg->type));
sys/dev/pci/vmwpvs.c
818
letoh32(dvmsg->target), dvmsg->lun[1],
sys/dev/pci/vmwpvs.c
821
DEVNAME(sc), letoh32(dvmsg->target),
sys/dev/pci/vmwpvs.c
829
letoh32(msg->type));
sys/dev/pcmcia/if_malo.c
930
rxdesc->pkgoffset = letoh32(rxdesc->pkgoffset);
sys/dev/pv/viomb.c
389
sc->sc_npages = letoh32(reg);
sys/dev/pv/viomb.c
391
sc->sc_actual = letoh32(reg);
sys/dev/sbus/rfx.c
510
offset = letoh32(offset);
sys/dev/sbus/rfx.c
511
value = letoh32(offset);
sys/dev/sdmmc/if_bwfm_sdio.c
1497
c.log_buf = letoh32(c.log_buf);
sys/dev/sdmmc/if_bwfm_sdio.c
1498
c.log_bufsz = letoh32(c.log_bufsz);
sys/dev/sdmmc/if_bwfm_sdio.c
1499
c.log_idx = letoh32(c.log_idx);
sys/dev/sdmmc/if_bwfm_sdio.c
666
addr = letoh32(addr);
sys/dev/sdmmc/if_bwfm_sdio.c
675
sc->sc_console_addr = letoh32(sdpcm.console_addr);
sys/dev/usb/ehci.c
1199
link = letoh32(link);
sys/dev/usb/ehci.c
1267
s = letoh32(qtd->qtd_status);
sys/dev/usb/ehci.c
1277
printf(" buffer[%d]=0x%08x\n", s, letoh32(qtd->qtd_buffer[s]));
sys/dev/usb/ehci.c
1290
endp = letoh32(qh->qh_endp);
sys/dev/usb/ehci.c
1299
endphub = letoh32(qh->qh_endphub);
sys/dev/usb/ehci.c
1323
t = letoh32(itd->itd.itd_ctl[i]);
sys/dev/usb/ehci.c
1331
printf("%X,", EHCI_ITD_GET_BPTR(letoh32(itd->itd.itd_bufr[i])));
sys/dev/usb/ehci.c
1333
b = letoh32(itd->itd.itd_bufr[0]);
sys/dev/usb/ehci.c
1334
b2 = letoh32(itd->itd.itd_bufr[1]);
sys/dev/usb/ehci.c
1335
b3 = letoh32(itd->itd.itd_bufr[2]);
sys/dev/usb/ehci.c
2592
EHCI_QTD_GET_TOGGLE(letoh32(sqh->qh.qh_qtd.qtd_status));
sys/dev/usb/ehci.c
705
if (letoh32(lsqtd->qtd.qtd_status) & EHCI_QTD_ACTIVE) {
sys/dev/usb/ehci.c
712
status = letoh32(sqtd->qtd.qtd_status);
sys/dev/usb/ehci.c
760
if (letoh32(itd->itd.itd_ctl[i]) & EHCI_ITD_ACTIVE)
sys/dev/usb/ehci.c
825
status = letoh32(itd->itd.itd_ctl[i]);
sys/dev/usb/ehci.c
892
nstatus = letoh32(sqtd->qtd.qtd_status);
sys/dev/usb/if_axen.c
945
rx_hdr = letoh32(*hdr_p);
sys/dev/usb/if_axen.c
985
pkt_hdr = letoh32(*hdr_p);
sys/dev/usb/if_bwfm_usb.c
302
sc->sc_chip = letoh32(brom.chip);
sys/dev/usb/if_bwfm_usb.c
303
sc->sc_chiprev = letoh32(brom.chiprev);
sys/dev/usb/if_bwfm_usb.c
369
if (letoh32(brom.chip) == BRCMF_POSTBOOT_ID)
sys/dev/usb/if_bwfm_usb.c
373
if (letoh32(brom.chip) != BRCMF_POSTBOOT_ID) {
sys/dev/usb/if_bwfm_usb.c
379
sc->sc_chip = letoh32(brom.chip);
sys/dev/usb/if_bwfm_usb.c
380
sc->sc_chiprev = letoh32(brom.chiprev);
sys/dev/usb/if_bwfm_usb.c
659
if (letoh32(trx->magic) != TRX_MAGIC ||
sys/dev/usb/if_bwfm_usb.c
660
(letoh32(trx->flag_version) & TRX_UNCOMP_IMAGE) == 0) {
sys/dev/usb/if_bwfm_usb.c
666
rdlstate = letoh32(state.state);
sys/dev/usb/if_bwfm_usb.c
667
rdlbytes = letoh32(state.bytes);
sys/dev/usb/if_bwfm_usb.c
700
rdlstate = letoh32(state.state);
sys/dev/usb/if_bwfm_usb.c
701
rdlbytes = letoh32(state.bytes);
sys/dev/usb/if_bwfm_usb.c
717
rdlstate = letoh32(state.state);
sys/dev/usb/if_bwfm_usb.c
718
rdlbytes = letoh32(state.bytes);
sys/dev/usb/if_mtw.c
1957
letoh32(sta[1]) >> 16, letoh32(sta[1]) & 0xffff,
sys/dev/usb/if_mtw.c
1958
letoh32(sta[0]) & 0xffff));
sys/dev/usb/if_mtw.c
1962
ifp->if_oerrors += letoh32(sta[0]) & 0xffff;
sys/dev/usb/if_mtw.c
1965
(letoh32(sta[0]) & 0xffff) + /* failed TX count */
sys/dev/usb/if_mtw.c
1966
(letoh32(sta[1]) >> 16); /* TX retransmission count */
sys/dev/usb/if_mtw.c
1970
(letoh32(sta[1]) & 0xffff); /* successful TX count */
sys/dev/usb/if_mtw.c
2072
flags = letoh32(rxwi->flags);
sys/dev/usb/if_mtw.c
2206
dmalen = letoh32(*(uint32_t *)buf) & MTW_RXD_LEN;
sys/dev/usb/if_mtw.c
796
if (size < sizeof(struct mtw_ucode_hdr) + letoh32(hdr->ilm_len) +
sys/dev/usb/if_mtw.c
797
letoh32(hdr->dlm_len)) {
sys/dev/usb/if_mtw.c
885
*val = letoh32(tmp);
sys/dev/usb/if_mtw.c
906
*val = letoh32(tmp);
sys/dev/usb/if_mue.c
1095
if (letoh32(hdr.rx_cmd_a) & MUE_RX_CMD_A_RED) {
sys/dev/usb/if_mue.c
1100
pktlen = letoh32(hdr.rx_cmd_a) & MUE_RX_CMD_A_LEN_MASK;
sys/dev/usb/if_otus.c
1034
letoh32(tx->phy)));
sys/dev/usb/if_otus.c
1735
tmp = letoh32(eep->antCtrlCommon);
sys/dev/usb/if_otus.c
1738
tmp = letoh32(eep->antCtrlChain[0]);
sys/dev/usb/if_otus.c
1741
tmp = letoh32(eep->antCtrlChain[1]);
sys/dev/usb/if_otus.c
2015
DPRINTF(("status=0x%x\n", letoh32(rsp.status)));
sys/dev/usb/if_otus.c
2021
printf("calibration status=0x%x\n", letoh32(rsp.status));
sys/dev/usb/if_otus.c
2025
(((int32_t)letoh32(rsp.nf[i])) << 4) >> 23);
sys/dev/usb/if_otus.c
2027
((int32_t)letoh32(rsp.nf_ext[i])) >> 23);
sys/dev/usb/if_ral.c
712
if (letoh32(desc->flags) & (RAL_RX_PHY_ERROR | RAL_RX_CRC_ERROR)) {
sys/dev/usb/if_ral.c
742
m->m_pkthdr.len = m->m_len = (letoh32(desc->flags) >> 16) & 0xfff;
sys/dev/usb/if_ral.c
798
if (letoh32(desc->flags) & RAL_RX_OFDM) {
sys/dev/usb/if_rsu.c
1061
ether_sprintf(bss->macaddr), letoh32(bss->config.dsconfig)));
sys/dev/usb/if_rsu.c
1090
ieslen = letoh32(bss->ieslen);
sys/dev/usb/if_rsu.c
1096
ether_sprintf(bss->macaddr), letoh32(bss->len),
sys/dev/usb/if_rsu.c
1097
letoh32(bss->config.dsconfig), letoh32(bss->inframode),
sys/dev/usb/if_rsu.c
1098
letoh32(bss->networktype), letoh32(bss->privacy)));
sys/dev/usb/if_rsu.c
1130
rxi.rxi_rssi = letoh32(bss->rssi);
sys/dev/usb/if_rsu.c
1147
res = (int)letoh32(rsp->join_res);
sys/dev/usb/if_rsu.c
1156
ether_sprintf(rsp->bss.macaddr), letoh32(rsp->associd)));
sys/dev/usb/if_rsu.c
1158
ni->ni_associd = letoh32(rsp->associd) | 0xc000;
sys/dev/usb/if_rsu.c
1182
sc->scan_pass, letoh32(*(uint32_t *)buf)));
sys/dev/usb/if_rsu.c
1267
rssi = ((letoh32(phy->phydw1) >> 1) & 0x7f) - 106;
sys/dev/usb/if_rsu.c
1289
rxdw0 = letoh32(stat->rxdw0);
sys/dev/usb/if_rsu.c
1290
rxdw3 = letoh32(stat->rxdw3);
sys/dev/usb/if_rsu.c
1399
npkts = MS(letoh32(stat->rxdw2), R92S_RXDW2_PKTCNT);
sys/dev/usb/if_rsu.c
1407
rxdw0 = letoh32(stat->rxdw0);
sys/dev/usb/if_rsu.c
1463
if ((letoh32(stat->rxdw1) & 0x1ff) == 0x1ff)
sys/dev/usb/if_rsu.c
2045
imemsz = letoh32(hdr->imemsz);
sys/dev/usb/if_rsu.c
2046
ememsz = letoh32(hdr->sramsz);
sys/dev/usb/if_rsu.c
601
return (letoh32(val));
sys/dev/usb/if_rum.c
1385
return letoh32(val);
sys/dev/usb/if_rum.c
2223
ifp->if_oerrors += letoh32(sc->sta[5]) >> 16;
sys/dev/usb/if_rum.c
2226
(letoh32(sc->sta[4]) >> 16) + /* TX one-retry ok count */
sys/dev/usb/if_rum.c
2227
(letoh32(sc->sta[5]) & 0xffff) + /* TX more-retry ok count */
sys/dev/usb/if_rum.c
2228
(letoh32(sc->sta[5]) >> 16); /* TX retry-fail count */
sys/dev/usb/if_rum.c
2232
(letoh32(sc->sta[4]) & 0xffff); /* TX no-retry ok count */
sys/dev/usb/if_rum.c
781
if (letoh32(desc->flags) & RT2573_RX_CRC_ERROR) {
sys/dev/usb/if_rum.c
812
m->m_pkthdr.len = m->m_len = (letoh32(desc->flags) >> 16) & 0xfff;
sys/dev/usb/if_rum.c
867
if (letoh32(desc->flags) & RT2573_RX_OFDM) {
sys/dev/usb/if_run.c
2089
letoh32(sta[1]) >> 16, letoh32(sta[1]) & 0xffff,
sys/dev/usb/if_run.c
2090
letoh32(sta[0]) & 0xffff));
sys/dev/usb/if_run.c
2094
ifp->if_oerrors += letoh32(sta[0]) & 0xffff;
sys/dev/usb/if_run.c
2097
(letoh32(sta[0]) & 0xffff) + /* failed TX count */
sys/dev/usb/if_run.c
2098
(letoh32(sta[1]) >> 16); /* TX retransmission count */
sys/dev/usb/if_run.c
2102
(letoh32(sta[1]) & 0xffff); /* successful TX count */
sys/dev/usb/if_run.c
2210
flags = letoh32(rxd->flags);
sys/dev/usb/if_run.c
2352
dmalen = letoh32(*(uint32_t *)buf) & 0xffff;
sys/dev/usb/if_run.c
908
*val = letoh32(tmp);
sys/dev/usb/if_smsc.c
1207
rxhdr = letoh32(rxhdr);
sys/dev/usb/if_smsc.c
236
*data = letoh32(buf);
sys/dev/usb/if_umb.c
1303
if (len < sizeof (*hdr) || letoh32(hdr->len) != len) {
sys/dev/usb/if_umb.c
1319
type = letoh32(hdr->type);
sys/dev/usb/if_umb.c
1320
tid = letoh32(hdr->tid);
sys/dev/usb/if_umb.c
1325
if (letoh32(fraghdr->frag.nfrag) != 1) {
sys/dev/usb/if_umb.c
1346
err = letoh32(e->err);
sys/dev/usb/if_umb.c
1384
umb_request2str(letoh32(m->hdr.type)));
sys/dev/usb/if_umb.c
1389
DEVNAM(sc), umb_request2str(letoh32(m->hdr.type)),
sys/dev/usb/if_umb.c
1393
infolen = letoh32(m->infolen);
sys/dev/usb/if_umb.c
1396
DEVNAM(sc), umb_request2str(letoh32(m->hdr.type)),
sys/dev/usb/if_umb.c
1401
cid = letoh32(m->cid);
sys/dev/usb/if_umb.c
1413
status = letoh32(resp->status);
sys/dev/usb/if_umb.c
1435
status = letoh32(resp->status);
sys/dev/usb/if_umb.c
1448
offs = letoh32(offs);
sys/dev/usb/if_umb.c
1449
sz = letoh32(sz);
sys/dev/usb/if_umb.c
1481
sc->sc_info.nwerror = letoh32(rs->nwerror);
sys/dev/usb/if_umb.c
1482
sc->sc_info.regstate = letoh32(rs->regstate);
sys/dev/usb/if_umb.c
1483
sc->sc_info.regmode = letoh32(rs->regmode);
sys/dev/usb/if_umb.c
1484
sc->sc_info.cellclass = letoh32(rs->curcellclass);
sys/dev/usb/if_umb.c
1495
letoh32(rs->availclasses), sc->sc_info.cellclass,
sys/dev/usb/if_umb.c
1517
sc->sc_maxsessions = letoh32(dc->max_sessions);
sys/dev/usb/if_umb.c
1518
sc->sc_info.supportedclasses = letoh32(dc->dataclass);
sys/dev/usb/if_umb.c
1539
sc->sc_info.sim_state = letoh32(si->ready);
sys/dev/usb/if_umb.c
1546
npn = letoh32(si->no_pn);
sys/dev/usb/if_umb.c
1573
(letoh32(rs->hw_state) == MBIM_RADIO_STATE_ON) ? 1 : 0;
sys/dev/usb/if_umb.c
1575
(letoh32(rs->sw_state) == MBIM_RADIO_STATE_ON) ? 1 : 0;
sys/dev/usb/if_umb.c
1604
attempts_left = letoh32(pi->remaining_attempts);
sys/dev/usb/if_umb.c
1608
switch (letoh32(pi->state)) {
sys/dev/usb/if_umb.c
1613
switch (letoh32(pi->type)) {
sys/dev/usb/if_umb.c
1630
DEVNAM(sc), umb_pin_type(letoh32(pi->type)),
sys/dev/usb/if_umb.c
1631
(letoh32(pi->state) == MBIM_PIN_STATE_UNLOCKED) ?
sys/dev/usb/if_umb.c
1633
letoh32(pi->remaining_attempts));
sys/dev/usb/if_umb.c
1656
sc->sc_info.nwerror = letoh32(psi->nwerror);
sys/dev/usb/if_umb.c
1657
state = letoh32(psi->state);
sys/dev/usb/if_umb.c
1658
highestclass = letoh32(psi->highest_dataclass);
sys/dev/usb/if_umb.c
1736
if (letoh32(ss->rssi) == 99)
sys/dev/usb/if_umb.c
1739
rssi = -113 + 2 * letoh32(ss->rssi);
sys/dev/usb/if_umb.c
1745
sc->sc_info.ber = letoh32(ss->err_rate);
sys/dev/usb/if_umb.c
1771
ks->ks_interval.tv_sec = letoh32(ss->ss_intvl);
sys/dev/usb/if_umb.c
1790
if (letoh32(ci->sessionid) != umb_session_id) {
sys/dev/usb/if_umb.c
1792
DEVNAM(sc), letoh32(ci->sessionid));
sys/dev/usb/if_umb.c
1801
act = letoh32(ci->activation);
sys/dev/usb/if_umb.c
1808
sc->sc_info.nwerror = letoh32(ci->nwerror);
sys/dev/usb/if_umb.c
2066
if (letoh32(ic->sessionid) != umb_session_id) {
sys/dev/usb/if_umb.c
2068
DEVNAM(sc), letoh32(ic->sessionid));
sys/dev/usb/if_umb.c
2079
avail_v4 = letoh32(ic->ipv4_available);
sys/dev/usb/if_umb.c
2082
n = letoh32(ic->ipv4_naddr);
sys/dev/usb/if_umb.c
2083
off = letoh32(ic->ipv4_addroffs);
sys/dev/usb/if_umb.c
2093
ipv4elem.prefixlen = letoh32(ipv4elem.prefixlen);
sys/dev/usb/if_umb.c
2096
off = letoh32(ic->ipv4_gwoffs);
sys/dev/usb/if_umb.c
2109
n = letoh32(ic->ipv4_ndnssrv);
sys/dev/usb/if_umb.c
2110
off = letoh32(ic->ipv4_dnssrvoffs);
sys/dev/usb/if_umb.c
2129
val = letoh32(ic->ipv4_mtu);
sys/dev/usb/if_umb.c
2143
avail_v6 = letoh32(ic->ipv6_available);
sys/dev/usb/if_umb.c
2153
n = letoh32(ic->ipv6_naddr);
sys/dev/usb/if_umb.c
2154
off = letoh32(ic->ipv6_addroffs);
sys/dev/usb/if_umb.c
2166
off = letoh32(ic->ipv6_gwoffs);
sys/dev/usb/if_umb.c
2177
n = letoh32(ic->ipv6_ndnssrv);
sys/dev/usb/if_umb.c
2178
off = letoh32(ic->ipv6_dnssrvoffs);
sys/dev/usb/if_umb.c
2198
val = letoh32(ic->ipv6_mtu);
sys/dev/usb/if_umb.c
2654
if (letoh32(c->op) == MBIM_CMDOP_SET)
sys/dev/usb/if_umb.c
2658
str = umb_cid2str(letoh32(c->cid));
sys/dev/usb/if_umb.c
2926
umb_request2str(letoh32(cmd->hdr.type)));
sys/dev/usb/if_umb.c
2929
cid = letoh32(cmd->cid);
sys/dev/usb/if_umb.c
2934
DEVNAM(sc), umb_request2str(letoh32(cmd->hdr.type)),
sys/dev/usb/if_umb.c
2941
status = letoh32(cmd->status);
sys/dev/usb/if_umb.c
2974
infolen = letoh32(cmd->infolen);
sys/dev/usb/if_upgt.c
1584
if (data_tx->addr == letoh32(desc->header2.reqid)) {
sys/dev/usb/if_upgt.c
1594
letoh32(desc->header2.reqid),
sys/dev/usb/if_upgt.c
649
bra_option_type = letoh32(bra_option->type);
sys/dev/usb/if_upgt.c
650
bra_option_len = letoh32(bra_option->len) * sizeof(*uc);
sys/dev/usb/if_upgt.c
700
letoh32(descr->memaddr_space_start);
sys/dev/usb/if_upgt.c
702
letoh32(descr->memaddr_space_end);
sys/dev/usb/if_ure.c
2375
cflags = letoh32(rxhdr->ure_csum);
sys/dev/usb/if_ure.c
2376
rxvlan = letoh32(rxhdr->ure_vlan);
sys/dev/usb/if_ure.c
2400
cflags = letoh32(rxhdr2->ure_csum);
sys/dev/usb/if_ure.c
2401
rxvlan = letoh32(rxhdr2->ure_vlan);
sys/dev/usb/if_ure.c
2402
vtag = letoh32(rxhdr2->ure_pktlen);
sys/dev/usb/if_ure.c
2541
letoh32(rxhdr2.ure_pktlen) & URE_RXPKT_V2_LEN_MASK;
sys/dev/usb/if_ure.c
2545
pktlen = letoh32(rxhdr.ure_pktlen) & URE_RXPKT_LEN_MASK;
sys/dev/usb/if_urndis.c
188
letoh32(hdr->rm_type),
sys/dev/usb/if_urndis.c
189
letoh32(hdr->rm_len)));
sys/dev/usb/if_urndis.c
191
if (letoh32(hdr->rm_len) > RNDIS_RESPONSE_LEN) {
sys/dev/usb/if_urndis.c
194
letoh32(hdr->rm_len),
sys/dev/usb/if_urndis.c
216
switch (letoh32(hdr->rm_type)) {
sys/dev/usb/if_urndis.c
231
rval = letoh32(hdr->rm_status);
sys/dev/usb/if_urndis.c
240
DEVNAME(sc), letoh32(hdr->rm_type));
sys/dev/usb/if_urndis.c
261
letoh32(msg->rm_len),
sys/dev/usb/if_urndis.c
262
letoh32(msg->rm_rid),
sys/dev/usb/if_urndis.c
263
letoh32(msg->rm_status),
sys/dev/usb/if_urndis.c
264
letoh32(msg->rm_ver_major),
sys/dev/usb/if_urndis.c
265
letoh32(msg->rm_ver_minor),
sys/dev/usb/if_urndis.c
266
letoh32(msg->rm_devflags),
sys/dev/usb/if_urndis.c
267
letoh32(msg->rm_medium),
sys/dev/usb/if_urndis.c
268
letoh32(msg->rm_pktmaxcnt),
sys/dev/usb/if_urndis.c
269
letoh32(msg->rm_pktmaxsz),
sys/dev/usb/if_urndis.c
270
letoh32(msg->rm_align),
sys/dev/usb/if_urndis.c
271
letoh32(msg->rm_aflistoffset),
sys/dev/usb/if_urndis.c
272
letoh32(msg->rm_aflistsz)));
sys/dev/usb/if_urndis.c
274
if (letoh32(msg->rm_status) != RNDIS_STATUS_SUCCESS) {
sys/dev/usb/if_urndis.c
277
letoh32(msg->rm_status));
sys/dev/usb/if_urndis.c
279
return letoh32(msg->rm_status);
sys/dev/usb/if_urndis.c
282
if (letoh32(msg->rm_devflags) != RNDIS_DF_CONNECTIONLESS) {
sys/dev/usb/if_urndis.c
285
letoh32(msg->rm_devflags));
sys/dev/usb/if_urndis.c
290
if (letoh32(msg->rm_medium) != RNDIS_MEDIUM_802_3) {
sys/dev/usb/if_urndis.c
292
DEVNAME(sc), letoh32(msg->rm_medium));
sys/dev/usb/if_urndis.c
297
sc->sc_lim_pktsz = letoh32(msg->rm_pktmaxsz);
sys/dev/usb/if_urndis.c
299
return letoh32(msg->rm_status);
sys/dev/usb/if_urndis.c
313
letoh32(msg->rm_len),
sys/dev/usb/if_urndis.c
314
letoh32(msg->rm_rid),
sys/dev/usb/if_urndis.c
315
letoh32(msg->rm_status),
sys/dev/usb/if_urndis.c
316
letoh32(msg->rm_infobuflen),
sys/dev/usb/if_urndis.c
317
letoh32(msg->rm_infobufoffset)));
sys/dev/usb/if_urndis.c
324
if (letoh32(msg->rm_status) != RNDIS_STATUS_SUCCESS) {
sys/dev/usb/if_urndis.c
327
letoh32(msg->rm_status));
sys/dev/usb/if_urndis.c
329
return letoh32(msg->rm_status);
sys/dev/usb/if_urndis.c
332
if (letoh32(msg->rm_infobuflen) + letoh32(msg->rm_infobufoffset) +
sys/dev/usb/if_urndis.c
333
RNDIS_HEADER_OFFSET > letoh32(msg->rm_len)) {
sys/dev/usb/if_urndis.c
338
letoh32(msg->rm_infobuflen),
sys/dev/usb/if_urndis.c
339
letoh32(msg->rm_infobufoffset),
sys/dev/usb/if_urndis.c
340
letoh32(msg->rm_infobuflen) +
sys/dev/usb/if_urndis.c
341
letoh32(msg->rm_infobufoffset) + RNDIS_HEADER_OFFSET,
sys/dev/usb/if_urndis.c
342
letoh32(msg->rm_len));
sys/dev/usb/if_urndis.c
347
*buf = malloc(letoh32(msg->rm_infobuflen),
sys/dev/usb/if_urndis.c
354
*bufsz = letoh32(msg->rm_infobuflen);
sys/dev/usb/if_urndis.c
357
p += letoh32(msg->rm_infobufoffset);
sys/dev/usb/if_urndis.c
358
memcpy(*buf, p, letoh32(msg->rm_infobuflen));
sys/dev/usb/if_urndis.c
362
return letoh32(msg->rm_status);
sys/dev/usb/if_urndis.c
374
rval = letoh32(msg->rm_status);
sys/dev/usb/if_urndis.c
379
letoh32(msg->rm_len),
sys/dev/usb/if_urndis.c
381
letoh32(msg->rm_adrreset)));
sys/dev/usb/if_urndis.c
388
if (letoh32(msg->rm_adrreset) != 0) {
sys/dev/usb/if_urndis.c
413
rval = letoh32(msg->rm_status);
sys/dev/usb/if_urndis.c
418
letoh32(msg->rm_len),
sys/dev/usb/if_urndis.c
420
letoh32(msg->rm_stbuflen)));
sys/dev/usb/if_urndis.c
459
letoh32(msg->rm_type),
sys/dev/usb/if_urndis.c
460
letoh32(msg->rm_len),
sys/dev/usb/if_urndis.c
461
letoh32(msg->rm_rid),
sys/dev/usb/if_urndis.c
462
letoh32(msg->rm_ver_major),
sys/dev/usb/if_urndis.c
463
letoh32(msg->rm_ver_minor),
sys/dev/usb/if_urndis.c
464
letoh32(msg->rm_max_xfersz)));
sys/dev/usb/if_urndis.c
501
letoh32(msg->rm_type),
sys/dev/usb/if_urndis.c
502
letoh32(msg->rm_len),
sys/dev/usb/if_urndis.c
503
letoh32(msg->rm_rid)));
sys/dev/usb/if_urndis.c
544
letoh32(msg->rm_type),
sys/dev/usb/if_urndis.c
545
letoh32(msg->rm_len),
sys/dev/usb/if_urndis.c
546
letoh32(msg->rm_rid),
sys/dev/usb/if_urndis.c
547
letoh32(msg->rm_oid),
sys/dev/usb/if_urndis.c
548
letoh32(msg->rm_infobuflen),
sys/dev/usb/if_urndis.c
549
letoh32(msg->rm_infobufoffset),
sys/dev/usb/if_urndis.c
550
letoh32(msg->rm_devicevchdl)));
sys/dev/usb/if_urndis.c
597
letoh32(msg->rm_type),
sys/dev/usb/if_urndis.c
598
letoh32(msg->rm_len),
sys/dev/usb/if_urndis.c
599
letoh32(msg->rm_rid),
sys/dev/usb/if_urndis.c
600
letoh32(msg->rm_oid),
sys/dev/usb/if_urndis.c
601
letoh32(msg->rm_infobuflen),
sys/dev/usb/if_urndis.c
602
letoh32(msg->rm_infobufoffset),
sys/dev/usb/if_urndis.c
603
letoh32(msg->rm_devicevchdl)));
sys/dev/usb/if_urndis.c
663
letoh32(param->rm_nameoffset),
sys/dev/usb/if_urndis.c
664
letoh32(param->rm_namelen),
sys/dev/usb/if_urndis.c
665
letoh32(param->rm_type),
sys/dev/usb/if_urndis.c
666
letoh32(param->rm_valueoffset),
sys/dev/usb/if_urndis.c
667
letoh32(param->rm_valuelen)));
sys/dev/usb/if_urndis.c
698
letoh32(reset->rm_type),
sys/dev/usb/if_urndis.c
699
letoh32(reset->rm_len),
sys/dev/usb/if_urndis.c
700
letoh32(reset->rm_rid)));
sys/dev/usb/if_urndis.c
738
letoh32(keep->rm_type),
sys/dev/usb/if_urndis.c
739
letoh32(keep->rm_len),
sys/dev/usb/if_urndis.c
740
letoh32(keep->rm_rid)));
sys/dev/usb/if_urndis.c
787
letoh32(msg->rm_type),
sys/dev/usb/if_urndis.c
788
letoh32(msg->rm_len),
sys/dev/usb/if_urndis.c
789
letoh32(msg->rm_dataoffset),
sys/dev/usb/if_urndis.c
790
letoh32(msg->rm_datalen)));
sys/dev/usb/if_urndis.c
795
letoh32(msg->rm_len), USBD_FORCE_SHORT_XFER | USBD_NO_COPY, 10000,
sys/dev/usb/if_urndis.c
843
letoh32(msg->rm_len),
sys/dev/usb/if_urndis.c
844
letoh32(msg->rm_dataoffset),
sys/dev/usb/if_urndis.c
845
letoh32(msg->rm_datalen),
sys/dev/usb/if_urndis.c
846
letoh32(msg->rm_oobdataoffset),
sys/dev/usb/if_urndis.c
847
letoh32(msg->rm_oobdatalen),
sys/dev/usb/if_urndis.c
848
letoh32(msg->rm_oobdataelements),
sys/dev/usb/if_urndis.c
849
letoh32(msg->rm_pktinfooffset),
sys/dev/usb/if_urndis.c
850
letoh32(msg->rm_pktinfooffset)));
sys/dev/usb/if_urndis.c
852
if (letoh32(msg->rm_type) != REMOTE_NDIS_PACKET_MSG) {
sys/dev/usb/if_urndis.c
855
letoh32(msg->rm_type),
sys/dev/usb/if_urndis.c
859
if (letoh32(msg->rm_len) < sizeof(*msg)) {
sys/dev/usb/if_urndis.c
862
letoh32(msg->rm_len),
sys/dev/usb/if_urndis.c
866
if (letoh32(msg->rm_len) > len) {
sys/dev/usb/if_urndis.c
870
letoh32(msg->rm_len),
sys/dev/usb/if_urndis.c
875
if (letoh32(msg->rm_dataoffset) +
sys/dev/usb/if_urndis.c
876
letoh32(msg->rm_datalen) + RNDIS_HEADER_OFFSET
sys/dev/usb/if_urndis.c
877
> letoh32(msg->rm_len)) {
sys/dev/usb/if_urndis.c
882
letoh32(msg->rm_datalen),
sys/dev/usb/if_urndis.c
883
letoh32(msg->rm_dataoffset),
sys/dev/usb/if_urndis.c
884
letoh32(msg->rm_dataoffset) +
sys/dev/usb/if_urndis.c
885
letoh32(msg->rm_datalen) + RNDIS_HEADER_OFFSET,
sys/dev/usb/if_urndis.c
886
letoh32(msg->rm_len));
sys/dev/usb/if_urndis.c
890
if (letoh32(msg->rm_datalen) < sizeof(struct ether_header)) {
sys/dev/usb/if_urndis.c
895
letoh32(msg->rm_datalen),
sys/dev/usb/if_urndis.c
901
((char*)&msg->rm_dataoffset + letoh32(msg->rm_dataoffset)),
sys/dev/usb/if_urndis.c
902
letoh32(msg->rm_datalen));
sys/dev/usb/if_urndis.c
903
m->m_pkthdr.len = m->m_len = letoh32(msg->rm_datalen);
sys/dev/usb/if_urndis.c
911
offset += letoh32(msg->rm_len);
sys/dev/usb/if_urndis.c
912
len -= letoh32(msg->rm_len);
sys/dev/usb/if_urtw.c
1602
*data = letoh32(*data);
sys/dev/usb/if_urtwn.c
1178
rxdw0 = letoh32(rxd->rxdw0);
sys/dev/usb/if_urtwn.c
1179
rxdw3 = letoh32(rxd->rxdw3);
sys/dev/usb/if_urtwn.c
1330
npkts = MS(letoh32(rxd->rxdw2), R92C_RXDW2_PKTCNT);
sys/dev/usb/if_urtwn.c
1337
type = MS(letoh32(rxd->rxdw3), R88E_RXDW3_RPT);
sys/dev/usb/if_urtwn.c
1342
ntries = MS(letoh32(rxstat->rptb2),
sys/dev/usb/if_urtwn.c
1356
if (letoh32(rxd->rxdw2) & R92E_RXDW2_RPT_C2H) {
sys/dev/usb/if_urtwn.c
1385
rxdw0 = letoh32(rxd->rxdw0);
sys/dev/usb/if_urtwn.c
868
return (letoh32(val));
sys/dev/usb/ohci.c
1035
done = letoh32(sc->sc_hcca->hcca_done_head);
sys/dev/usb/ohci.c
1046
done = letoh32(sc->sc_hcca->hcca_done_head);
sys/dev/usb/ohci.c
1187
done = letoh32(std->td.td_nexttd);
sys/dev/usb/ohci.c
1195
done = letoh32(sitd->itd.itd_nextitd);
sys/dev/usb/ohci.c
1273
len -= letoh32(std->td.td_be) -
sys/dev/usb/ohci.c
1274
letoh32(std->td.td_cbp) + 1;
sys/dev/usb/ohci.c
1280
cc = OHCI_TD_GET_CC(letoh32(std->td.td_flags));
sys/dev/usb/ohci.c
1307
OHCI_TD_GET_CC(letoh32(std->td.td_flags)),
sys/dev/usb/ohci.c
1308
ohci_cc_strs[OHCI_TD_GET_CC(letoh32(std->td.td_flags))]));
sys/dev/usb/ohci.c
1376
if (OHCI_ITD_GET_CC(letoh32(sitd->
sys/dev/usb/ohci.c
1383
iframes = OHCI_ITD_GET_FC(letoh32(
sys/dev/usb/ohci.c
1471
data->td.td_be = htole32(letoh32(data->td.td_cbp) +
sys/dev/usb/ohci.c
1607
setup->td.td_be = htole32(letoh32(setup->td.td_cbp) + sizeof *req - 1);
sys/dev/usb/ohci.c
1820
bitmask_snprintf((u_int32_t)letoh32(std->td.td_flags),
sys/dev/usb/ohci.c
1827
OHCI_TD_GET_DI(letoh32(std->td.td_flags)),
sys/dev/usb/ohci.c
1828
OHCI_TD_GET_EC(letoh32(std->td.td_flags)),
sys/dev/usb/ohci.c
1829
OHCI_TD_GET_CC(letoh32(std->td.td_flags)),
sys/dev/usb/ohci.c
1830
(u_long)letoh32(std->td.td_cbp),
sys/dev/usb/ohci.c
1831
(u_long)letoh32(std->td.td_nexttd),
sys/dev/usb/ohci.c
1832
(u_long)letoh32(std->td.td_be));
sys/dev/usb/ohci.c
1843
OHCI_ITD_GET_SF(letoh32(sitd->itd.itd_flags)),
sys/dev/usb/ohci.c
1844
OHCI_ITD_GET_DI(letoh32(sitd->itd.itd_flags)),
sys/dev/usb/ohci.c
1845
OHCI_ITD_GET_FC(letoh32(sitd->itd.itd_flags)),
sys/dev/usb/ohci.c
1846
OHCI_ITD_GET_CC(letoh32(sitd->itd.itd_flags)),
sys/dev/usb/ohci.c
1847
(u_long)letoh32(sitd->itd.itd_bp0),
sys/dev/usb/ohci.c
1848
(u_long)letoh32(sitd->itd.itd_nextitd),
sys/dev/usb/ohci.c
1849
(u_long)letoh32(sitd->itd.itd_be));
sys/dev/usb/ohci.c
1868
bitmask_snprintf((u_int32_t)letoh32(sed->ed.ed_flags),
sys/dev/usb/ohci.c
1871
bitmask_snprintf((u_int32_t)letoh32(sed->ed.ed_headp),
sys/dev/usb/ohci.c
1877
OHCI_ED_GET_FA(letoh32(sed->ed.ed_flags)),
sys/dev/usb/ohci.c
1878
OHCI_ED_GET_EN(letoh32(sed->ed.ed_flags)),
sys/dev/usb/ohci.c
1879
OHCI_ED_GET_MAXP(letoh32(sed->ed.ed_flags)), sbuf,
sys/dev/usb/ohci.c
1880
(u_long)letoh32(sed->ed.ed_tailp), sbuf2,
sys/dev/usb/ohci.c
1881
(u_long)letoh32(sed->ed.ed_headp),
sys/dev/usb/ohci.c
1882
(u_long)letoh32(sed->ed.ed_nexted));
sys/dev/usb/ohci.c
2046
if ((letoh32(sed->ed.ed_tailp) & OHCI_HEADMASK) !=
sys/dev/usb/ohci.c
2047
(letoh32(sed->ed.ed_headp) & OHCI_HEADMASK)) {
sys/dev/usb/ohci.c
2049
std = ohci_hash_find_td(sc, letoh32(sed->ed.ed_headp));
sys/dev/usb/ohci.c
2052
(int)letoh32(sed->ed.ed_headp),
sys/dev/usb/ohci.c
2053
(int)letoh32(sed->ed.ed_tailp),
sys/dev/usb/ohci.c
2061
if ((letoh32(sed->ed.ed_tailp) & OHCI_HEADMASK) !=
sys/dev/usb/ohci.c
2062
(letoh32(sed->ed.ed_headp) & OHCI_HEADMASK))
sys/dev/usb/ohci.c
2071
(letoh32(sed->ed.ed_headp) & OHCI_TOGGLECARRY) ? 1 : 0;
sys/dev/usb/ohci.c
2158
headp = letoh32(sed->ed.ed_headp) & OHCI_HEADMASK;
sys/dev/usb/ohci.c
2163
if (OHCI_TD_GET_CC(letoh32(p->td.td_flags)) ==
sys/dev/usb/ohci.c
2170
(int)p->physaddr, (int)letoh32(sed->ed.ed_tailp)));
sys/dev/usb/ohci.c
2754
(letoh32(sed->ed.ed_flags) & ~OHCI_ED_ADDRMASK) |
sys/dev/usb/ohci.c
2773
(int)letoh32(sed->ed.ed_flags),
sys/dev/usb/ohci.c
2774
(int)letoh32(data->td.td_flags),
sys/dev/usb/ohci.c
2775
(int)letoh32(data->td.td_cbp),
sys/dev/usb/ohci.c
2776
(int)letoh32(data->td.td_be)));
sys/dev/usb/ohci.c
2896
data->td.td_be = htole32(letoh32(data->td.td_cbp) + len - 1);
sys/dev/usb/ohci.c
2959
if ((letoh32(sed->ed.ed_tailp) & OHCI_HEADMASK) !=
sys/dev/usb/ohci.c
2960
(letoh32(sed->ed.ed_headp) & OHCI_HEADMASK))
sys/dev/usb/ohci.c
3095
iso->next = letoh32(sc->sc_hcca->hcca_frame_number) + 5;
sys/dev/usb/ohci.c
3171
letoh32(sc->sc_hcca->hcca_frame_number)));
sys/dev/usb/ohci.c
3187
letoh32(sc->sc_hcca->hcca_frame_number)));
sys/dev/usb/ohci.c
988
letoh32(sc->sc_hcca->hcca_frame_number),
sys/dev/usb/ohci.c
989
letoh32(sc->sc_hcca->hcca_done_head)));
sys/dev/usb/uhci.c
1157
if (letoh32(lstd->td.td_status) & UHCI_TD_ACTIVE) {
sys/dev/usb/uhci.c
1160
status = letoh32(std->td.td_status);
sys/dev/usb/uhci.c
1170
UHCI_TD_GET_MAXLEN(letoh32(std->td.td_token)))
sys/dev/usb/uhci.c
1233
status = letoh32(std->td.td_status);
sys/dev/usb/uhci.c
1257
nstatus = letoh32(std->td.td_status);
sys/dev/usb/uhci.c
1262
if (UHCI_TD_GET_PID(letoh32(std->td.td_token)) !=
sys/dev/usb/uhci.c
1277
upipe->nexttoggle = UHCI_TD_GET_DT(letoh32(std->td.td_token));
sys/dev/usb/uhci.c
1453
if (letoh32(std->td.td_token) == TD_IS_FREE) {
sys/dev/usb/uhci.c
2060
link = letoh32(std->td.td_link);
sys/dev/usb/uhci.c
2263
len = UHCI_TD_GET_MAXLEN(letoh32(std->td.td_token));
sys/dev/usb/uhci.c
324
if (letoh32(pqh->qh.qh_hlink) & UHCI_PTR_T) {
sys/dev/usb/uhci.c
632
(long)letoh32(p->td.td_link),
sys/dev/usb/uhci.c
633
(long)letoh32(p->td.td_status),
sys/dev/usb/uhci.c
634
(long)letoh32(p->td.td_token),
sys/dev/usb/uhci.c
635
(long)letoh32(p->td.td_buffer)));
sys/dev/usb/uhci.c
637
bitmask_snprintf((u_int32_t)letoh32(p->td.td_link), "\20\1T\2Q\3VF",
sys/dev/usb/uhci.c
639
bitmask_snprintf((u_int32_t)letoh32(p->td.td_status),
sys/dev/usb/uhci.c
646
UHCI_TD_GET_ERRCNT(letoh32(p->td.td_status)),
sys/dev/usb/uhci.c
647
UHCI_TD_GET_ACTLEN(letoh32(p->td.td_status)),
sys/dev/usb/uhci.c
648
UHCI_TD_GET_PID(letoh32(p->td.td_token)),
sys/dev/usb/uhci.c
649
UHCI_TD_GET_DEVADDR(letoh32(p->td.td_token)),
sys/dev/usb/uhci.c
650
UHCI_TD_GET_ENDPT(letoh32(p->td.td_token)),
sys/dev/usb/uhci.c
651
UHCI_TD_GET_DT(letoh32(p->td.td_token)),
sys/dev/usb/uhci.c
652
UHCI_TD_GET_MAXLEN(letoh32(p->td.td_token))));
sys/dev/usb/uhci.c
659
(int)sqh->physaddr, letoh32(sqh->qh.qh_hlink),
sys/dev/usb/uhci.c
660
letoh32(sqh->qh.qh_elink)));
sys/dev/usb/uhci.c
700
if (sqh->hlink != NULL && !(letoh32(sqh->qh.qh_hlink) & UHCI_PTR_T))
sys/dev/usb/uhci.c
705
if (sqh->elink != NULL && !(letoh32(sqh->qh.qh_elink) & UHCI_PTR_T))
sys/dev/usb/uhci.c
724
if (letoh32(td->td.td_link) & UHCI_PTR_T ||
sys/dev/usb/uhci.c
725
letoh32(td->td.td_link) == 0)
sys/dev/usb/umbg.c
348
trecv = letoh32(tframe.sec) * NSECPERSEC +
sys/dev/usb/umbg.c
349
(letoh32(tframe.frac) * NSECPERSEC >> 32);
sys/dev/usb/xhci.c
1049
if ((letoh32(xp->ring.trbs[trb0_idx].trb_flags) &
sys/dev/usb/xhci.c
1061
if ((letoh32(xp->ring.trbs[trb_idx].trb_flags) & XHCI_TRB_TYPE_MASK) ==
sys/dev/usb/xhci.c
1069
xfer->frlengths[frame_idx] = XHCI_TRB_LEN(letoh32(
sys/dev/usb/xhci.c
1078
XHCI_TRB_LEN(letoh32(xp->ring.trbs[trb_idx].trb_status)) -
sys/dev/usb/xhci.c
1128
flags = letoh32(trb->trb_flags);
sys/dev/usb/xhci.c
1735
addr = XHCI_SCTX_DEV_ADDR(letoh32(sctx->state));
sys/dev/usb/xhci.c
1876
if (ring->toggle != (letoh32(trb->trb_flags) & XHCI_TRB_CYCLE))
sys/dev/usb/xhci.c
1906
if (letoh32(trb->trb_flags) & XHCI_TRB_CHAIN)
sys/dev/usb/xhci.c
2003
printf("cmd = %d ", XHCI_TRB_TYPE(letoh32(trb->trb_flags)));
sys/dev/usb/xhci.c
2022
if (XHCI_TRB_GET_CODE(letoh32(trb0->trb_status)) == XHCI_CODE_SUCCESS)
sys/dev/usb/xhci.c
2027
XHCI_TRB_GET_CODE(letoh32(trb0->trb_status)),
sys/dev/usb/xhci.c
2028
XHCI_TRB_TYPE(letoh32(trb0->trb_flags)));
sys/dev/usb/xhci.c
2159
*slotp = XHCI_TRB_GET_SLOT(letoh32(trb.trb_flags));
sys/dev/usb/xhci.c
222
(long long)letoh64(trb->trb_paddr), letoh32(trb->trb_status),
sys/dev/usb/xhci.c
223
(int)letoh32(trb->trb_flags), XHCI_TRB_FLAGS_BITMASK);
sys/dev/usb/xhci.c
765
status = letoh32(trb->trb_status);
sys/dev/usb/xhci.c
766
flags = letoh32(trb->trb_flags);
sys/dev/usb/xhci.c
921
type = letoh32(xp->ring.trbs[trb0_idx].trb_flags) &
sys/dev/usb/xhci.c
924
len += XHCI_TRB_LEN(letoh32(
sys/dev/x86emu/x86emu_util.c
115
return letoh32(*(u_int32_t *)(emu->mem_base + addr));
sys/dev/x86emu/x86emu_util.c
117
return letoh32(*(u_int32_t *)(emu->mem_base + addr));
sys/dev/x86emu/x86emu_util.c
84
return letoh32(*(u_int32_t *)(emu->mem_base + addr));
sys/isofs/udf/ecma167-udf.h
818
#define GETICBLEN(ad_type, icb) letoh32(((struct ad_type *)(icb))->len)
sys/isofs/udf/udf.h
134
return (letoh32(icb->loc.lb_num));
sys/isofs/udf/udf_subr.c
127
mvds_start = letoh32(avdp.main_vds_ex.loc);
sys/isofs/udf/udf_subr.c
128
mvds_end = mvds_start + (letoh32(avdp.main_vds_ex.len) - 1) / bsize;
sys/isofs/udf/udf_subr.c
262
*sector = letoh32(*(uint32_t *)data) + ump->um_start;
sys/isofs/udf/udf_vfsops.c
283
mvds_start = letoh32(avdp.main_vds_ex.loc);
sys/isofs/udf/udf_vfsops.c
284
mvds_end = mvds_start + (letoh32(avdp.main_vds_ex.len) - 1) / bsize;
sys/isofs/udf/udf_vfsops.c
293
ump->um_bsize = letoh32(lvd->lb_size);
sys/isofs/udf/udf_vfsops.c
297
fsd_offset = letoh32(lvd->_lvd_use.fsd_loc.loc.lb_num);
sys/isofs/udf/udf_vfsops.c
306
ump->um_len = ump->um_reallen = letoh32(pd->part_len);
sys/isofs/udf/udf_vfsops.c
307
ump->um_start = ump->um_realstart = letoh32(pd->start_loc);
sys/isofs/udf/udf_vfsops.c
333
la = (struct long_ad *)&xfentry->data[letoh32(xfentry->l_ea)];
sys/isofs/udf/udf_vfsops.c
335
la = (struct long_ad *)&fentry->data[letoh32(fentry->l_ea)];
sys/isofs/udf/udf_vfsops.c
342
ump->um_meta_start = letoh32(la->loc.lb_num);
sys/isofs/udf/udf_vfsops.c
343
ump->um_meta_len = letoh32(la->len);
sys/isofs/udf/udf_vfsops.c
404
sector = letoh32(ump->um_root_icb.loc.lb_num);
sys/isofs/udf/udf_vfsops.c
405
size = letoh32(ump->um_root_icb.len);
sys/isofs/udf/udf_vfsops.c
595
size = letoh32(xfe->l_ea) + letoh32(xfe->l_ad);
sys/isofs/udf/udf_vfsops.c
605
size = letoh32(fe->l_ea) + letoh32(fe->l_ad);
sys/isofs/udf/udf_vfsops.c
762
ump->um_stbl = malloc(letoh32(pms->st_size), M_UDFMOUNT, M_NOWAIT);
sys/isofs/udf/udf_vfsops.c
766
bzero(ump->um_stbl, letoh32(pms->st_size));
sys/isofs/udf/udf_vfsops.c
771
error = udf_readlblks(ump, letoh32(pms->st_loc[0]),
sys/isofs/udf/udf_vfsops.c
772
letoh32(pms->st_size), &bp);
sys/isofs/udf/udf_vfsops.c
781
bcopy(bp->b_data, ump->um_stbl, letoh32(pms->st_size));
sys/isofs/udf/udf_vfsops.c
796
if (letoh32(ump->um_stbl->entries[i].org) >= 0xfffffff0)
sys/isofs/udf/udf_vfsops.c
821
for (i = 0; i < letoh32(lvd->n_pm); i++) {
sys/isofs/udf/udf_vnops.c
1239
*data = &xfentry->data[letoh32(xfentry->l_ea)];
sys/isofs/udf/udf_vnops.c
1240
*size = letoh32(xfentry->l_ad);
sys/isofs/udf/udf_vnops.c
1243
*data = &fentry->data[letoh32(fentry->l_ea)];
sys/isofs/udf/udf_vnops.c
1244
*size = letoh32(fentry->l_ad);
sys/isofs/udf/udf_vnops.c
1290
l_ea = letoh32(xfentry->l_ea);
sys/isofs/udf/udf_vnops.c
1291
l_ad = letoh32(xfentry->l_ad);
sys/isofs/udf/udf_vnops.c
1293
l_ea = letoh32(fentry->l_ea);
sys/isofs/udf/udf_vnops.c
1294
l_ad = letoh32(fentry->l_ad);
sys/isofs/udf/udf_vnops.c
1336
letoh32(((struct short_ad *)(icb))->lb_num);
sys/isofs/udf/udf_vnops.c
1364
letoh32(((struct long_ad *)(icb))->loc.lb_num);
sys/isofs/udf/udf_vnops.c
1395
lsector - letoh32(ump->um_stbl->entries[i].org);
sys/isofs/udf/udf_vnops.c
1398
letoh32(ump->um_stbl->entries[i].map) +
sys/isofs/udf/udf_vnops.c
200
perm = letoh32(up->u_fentry->perm);
sys/isofs/udf/udf_vnops.c
349
vap->va_uid = (letoh32(fentry->uid) == -1) ? 0 : letoh32(fentry->uid);
sys/isofs/udf/udf_vnops.c
350
vap->va_gid = (letoh32(fentry->gid) == -1) ? 0 : letoh32(fentry->gid);
sys/kern/subr_disk.c
427
if (letoh32(dp2->dp_start) != GPTSECTOR)
sys/kern/subr_disk.c
429
psize = letoh32(dp2->dp_size);
sys/kern/subr_disk.c
458
size = letoh32(ngh.gh_size);
sys/kern/subr_disk.c
459
partsize = letoh32(ngh.gh_part_size);
sys/kern/subr_disk.c
468
letoh32(ngh.gh_rev) == GPTREVISION &&
sys/kern/subr_disk.c
489
partnum = letoh32(gh->gh_part_num);
sys/kern/subr_disk.c
490
partsize = letoh32(gh->gh_part_size);
sys/kern/subr_disk.c
623
partnum = letoh32(gh.gh_part_num);
sys/kern/subr_disk.c
767
if (letoh32(dp[i].dp_size) == 0)
sys/kern/subr_disk.c
773
if (letoh32(dp[i].dp_start) > DL_GETDSIZE(lp))
sys/kern/subr_disk.c
775
if (letoh32(dp[i].dp_size) > DL_GETDSIZE(lp))
sys/kern/subr_disk.c
779
start = sector + letoh32(dp[i].dp_start);
sys/kern/subr_disk.c
780
end = start + letoh32(dp[i].dp_size);
sys/net80211/ieee80211_crypto_tkip.c
471
if (crc != letoh32(crc0)) {
sys/net80211/ieee80211_crypto_wep.c
291
if (crc != letoh32(crc0)) {
sys/ufs/ext2fs/ext2fs_alloc.c
243
return letoh32(bap[i]) + 1;
sys/ufs/ext2fs/ext2fs_balloc.c
121
nb = letoh32(ip->i_e2fs_blocks[NDADDR + indirs[0].in_off]);
sys/ufs/ext2fs/ext2fs_balloc.c
156
nb = letoh32(bap[indirs[i].in_off]);
sys/ufs/ext2fs/ext2fs_balloc.c
77
nb = letoh32(ip->i_e2fs_blocks[bn]);
sys/ufs/ext2fs/ext2fs_bmap.c
175
*bnp = blkptrtodb(ump, letoh32(ip->i_e2fs_blocks[bn]));
sys/ufs/ext2fs/ext2fs_bmap.c
181
letoh32(ip->i_e2fs_blocks[bn - 1]),
sys/ufs/ext2fs/ext2fs_bmap.c
182
letoh32(ip->i_e2fs_blocks[bn]));
sys/ufs/ext2fs/ext2fs_bmap.c
190
daddr = letoh32(ip->i_e2fs_blocks[NDADDR + xap->in_off]);
sys/ufs/ext2fs/ext2fs_bmap.c
238
daddr = letoh32(((int32_t *)bp->b_data)[xap->in_off]);
sys/ufs/ext2fs/ext2fs_inode.c
352
bn = letoh32(oip->i_e2fs_blocks[NDADDR + level]);
sys/ufs/ext2fs/ext2fs_inode.c
373
bn = letoh32(oip->i_e2fs_blocks[i]);
sys/ufs/ext2fs/ext2fs_inode.c
491
nb = letoh32(bap[i]);
sys/ufs/ext2fs/ext2fs_inode.c
511
nb = letoh32(bap[i]);
sys/ufs/ext2fs/ext2fs_lookup.c
1010
if (dp->e2d_name[1] == '.' && letoh32(dp->e2d_ino) == parentino)
sys/ufs/ext2fs/ext2fs_lookup.c
1059
ino = letoh32(dirbuf.dotdot_ino);
sys/ufs/ext2fs/ext2fs_lookup.c
362
dp->i_ino = letoh32(ep->e2d_ino);
sys/ufs/ext2fs/ext2fs_lookup.c
730
else if (letoh32(de->e2d_ino) > VTOI(dp)->i_e2fs->e2fs.e2fs_icount)
sys/ufs/ext2fs/ext2fs_lookup.c
736
error_msg, entryoffsetinblock, letoh32(de->e2d_ino),
sys/ufs/ext2fs/ext2fs_lookup.c
93
ffsdir->d_fileno = letoh32(e2dir->e2d_ino);
sys/ufs/ext2fs/ext2fs_subr.c
132
nvp = checkalias(vp, letoh32(ip->i_e2din->e2di_rdev), mp);
sys/ufs/ext2fs/ext2fs_vfsops.c
1070
tmp = letoh32(fs->e2fs_log_bsize);
sys/ufs/ext2fs/ext2fs_vfsops.c
1083
tmp = letoh32(fs->e2fs_rev);
sys/ufs/ext2fs/ext2fs_vfsops.c
1091
tmp = letoh32(fs->e2fs_first_ino);
sys/ufs/ext2fs/ext2fs_vfsops.c
1097
tmp = letoh32(fs->e2fs_features_incompat);
sys/ufs/ext2fs/ext2fs_vfsops.c
1119
tmp = letoh32(fs->e2fs_features_rocompat) & ~EXT2F_ROCOMPAT_SUPP;
sys/ufs/ext2fs/ext2fs_vnops.c
178
vap->va_rdev = (dev_t) letoh32(ip->i_e2din->e2di_rdev);
usr.sbin/hostapd/handle.c
409
if ((rtap->r_present = letoh32(rh->it_present)) == 0)
usr.sbin/hostapd/print-802_11.c
470
if ((present = letoh32(rh->it_present)) == 0)
usr.sbin/hostapd/print-802_11.c
612
PRINTF(", fcs %08x", letoh32(*(u_int32_t*)t));
usr.sbin/installboot/efi_installboot.c
462
if (letoh32(dp2->dp_start) != GPTSECTOR)
usr.sbin/installboot/efi_installboot.c
464
psize = letoh32(dp2->dp_size);
usr.sbin/installboot/efi_installboot.c
520
if (letoh32(gh.gh_rev) != GPTREVISION)
usr.sbin/installboot/efi_installboot.c
523
ghsize = letoh32(gh.gh_size);
usr.sbin/installboot/efi_installboot.c
532
if (letoh32(orig_csum) != new_csum)
usr.sbin/installboot/efi_installboot.c
536
ghpartsize = letoh32(gh.gh_part_size);
usr.sbin/installboot/efi_installboot.c
538
ghpartnum = letoh32(gh.gh_part_num);
usr.sbin/installboot/efi_installboot.c
553
if (new_csum != letoh32(gh.gh_part_csum))
usr.sbin/installboot/i386_installboot.c
593
if (letoh32(dp2->dp_start) != GPTSECTOR)
usr.sbin/installboot/i386_installboot.c
595
psize = letoh32(dp2->dp_size);
usr.sbin/installboot/i386_installboot.c
651
if (letoh32(gh.gh_rev) != GPTREVISION)
usr.sbin/installboot/i386_installboot.c
654
ghsize = letoh32(gh.gh_size);
usr.sbin/installboot/i386_installboot.c
663
if (letoh32(orig_csum) != new_csum)
usr.sbin/installboot/i386_installboot.c
667
ghpartsize = letoh32(gh.gh_part_size);
usr.sbin/installboot/i386_installboot.c
669
ghpartnum = letoh32(gh.gh_part_num);
usr.sbin/installboot/i386_installboot.c
684
if (new_csum != letoh32(gh.gh_part_csum))
usr.sbin/installboot/macppc_installboot.c
278
start = letoh32(dp[i].dp_start);
usr.sbin/installboot/octeon_installboot.c
278
start = letoh32(dp[i].dp_start);
usr.sbin/installboot/powerpc64_installboot.c
313
start = letoh32(dp[i].dp_start);
usr.sbin/mkuboot/copy_elf.c
109
if (letoh32(shp[i].sh_type) == SHT_SYMTAB ||
usr.sbin/mkuboot/copy_elf.c
110
letoh32(shp[i].sh_type) == SHT_STRTAB) {
usr.sbin/mkuboot/copy_elf.c
113
letoh32(shp[i].sh_type), roundup(elfoff2h(shp[i].sh_size),
usr.sbin/mkuboot/copy_elf.c
142
elfoff2h(phdr.p_vaddr), letoh32(phdr.p_type),
usr.sbin/mkuboot/copy_elf.c
147
switch (letoh32(phdr.p_type)) {
usr.sbin/mkuboot/copy_elf.c
155
letoh32(phdr.p_type));
usr.sbin/mkuboot/copy_elf.c
160
letoh32(phdr.p_type));
usr.sbin/mkuboot/copy_elf.c
248
if (letoh32(shp[i].sh_type) == SHT_SYMTAB)
usr.sbin/mkuboot/copy_elf.c
265
if (letoh32(shp[i].sh_type) == SHT_SYMTAB ||
usr.sbin/mkuboot/copy_elf.c
266
letoh32(shp[i].sh_type) == SHT_STRTAB) {
usr.sbin/mkuboot/copy_elf.c
28
#define elfoff2h(x) letoh32(x)
usr.sbin/mkuboot/copy_elf.c
90
if (letoh32(phdr.p_type) == PT_LOAD)
usr.sbin/tcpdump/print-802_11.c
1462
if ((present = letoh32(rh->it_present)) == 0)
usr.sbin/tcpdump/print-802_11.c
1615
printf(", fcs %08x", letoh32(fcs));
usr.sbin/tcpdump/print-usbpcap.c
74
printf(" dlen=%u", letoh32(uph->uph_dlen));
usr.sbin/tcpdump/print-usbpcap.c
96
if (letoh32(uph->uph_dlen != 8)) {
usr.sbin/tcpdump/print-usbpcap.c
98
letoh32(uph->uph_dlen));
usr.sbin/tcpdump/print-wg.c
122
printf("from 0x%08x", letoh32(initiation->sender));
usr.sbin/tcpdump/print-wg.c
129
letoh32(response->sender), letoh32(response->receiver));
usr.sbin/tcpdump/print-wg.c
135
printf(" to 0x%08x", letoh32(cookie->receiver));
usr.sbin/tcpdump/print-wg.c
147
letoh32(data->receiver), EXTRACT_LE_64BITS(&data->nonce));