crypto/openssh/libcrux_mlkem768_sha3.h
176
return le32toh(v);
crypto/openssl/include/openssl/byteorder.h
54
#define OSSL_LE32TOH(x) le32toh(x)
crypto/openssl/include/openssl/byteorder.h
74
#define OSSL_LE32TOH(x) le32toh(x)
lib/libbluetooth/bluetooth.h
69
#define btohl(d) le32toh(d)
lib/libkvm/kvm_i386.c
158
pa = le32toh(pa);
lib/libkvm/kvm_i386.c
195
pa = le32toh(pa);
lib/libkvm/kvm_i386.c
245
pde = le32toh(PTD[pdeindex]);
lib/libkvm/kvm_i386.c
282
pte = le32toh(pte);
lib/libkvm/kvm_minidump_aarch64.c
105
vmst->hdr.version = le32toh(vmst->hdr.version);
lib/libkvm/kvm_minidump_aarch64.c
111
vmst->hdr.msgbufsize = le32toh(vmst->hdr.msgbufsize);
lib/libkvm/kvm_minidump_aarch64.c
112
vmst->hdr.bitmapsize = le32toh(vmst->hdr.bitmapsize);
lib/libkvm/kvm_minidump_aarch64.c
113
vmst->hdr.pmapsize = le32toh(vmst->hdr.pmapsize);
lib/libkvm/kvm_minidump_aarch64.c
120
vmst->hdr.dumpavailsize = le32toh(vmst->hdr.dumpavailsize);
lib/libkvm/kvm_minidump_aarch64.c
126
vmst->hdr.flags = le32toh(vmst->hdr.flags);
lib/libkvm/kvm_minidump_amd64.c
146
vmst->hdr.version = le32toh(vmst->hdr.version);
lib/libkvm/kvm_minidump_amd64.c
152
vmst->hdr.msgbufsize = le32toh(vmst->hdr.msgbufsize);
lib/libkvm/kvm_minidump_amd64.c
153
vmst->hdr.bitmapsize = le32toh(vmst->hdr.bitmapsize);
lib/libkvm/kvm_minidump_amd64.c
154
vmst->hdr.pmapsize = le32toh(vmst->hdr.pmapsize);
lib/libkvm/kvm_minidump_amd64.c
159
le32toh(vmst->hdr.dumpavailsize) : 0;
lib/libkvm/kvm_minidump_i386.c
109
vmst->hdr.version = le32toh(vmst->hdr.version);
lib/libkvm/kvm_minidump_i386.c
115
vmst->hdr.msgbufsize = le32toh(vmst->hdr.msgbufsize);
lib/libkvm/kvm_minidump_i386.c
116
vmst->hdr.bitmapsize = le32toh(vmst->hdr.bitmapsize);
lib/libkvm/kvm_minidump_i386.c
117
vmst->hdr.ptesize = le32toh(vmst->hdr.ptesize);
lib/libkvm/kvm_minidump_i386.c
118
vmst->hdr.kernbase = le32toh(vmst->hdr.kernbase);
lib/libkvm/kvm_minidump_i386.c
119
vmst->hdr.paemode = le32toh(vmst->hdr.paemode);
lib/libkvm/kvm_minidump_i386.c
121
le32toh(vmst->hdr.dumpavailsize) : 0;
lib/libkvm/kvm_minidump_i386.c
68
return le32toh(*pte);
lib/libkvm/kvm_minidump_riscv.c
103
vmst->hdr.version = le32toh(vmst->hdr.version);
lib/libkvm/kvm_minidump_riscv.c
109
vmst->hdr.msgbufsize = le32toh(vmst->hdr.msgbufsize);
lib/libkvm/kvm_minidump_riscv.c
110
vmst->hdr.bitmapsize = le32toh(vmst->hdr.bitmapsize);
lib/libkvm/kvm_minidump_riscv.c
111
vmst->hdr.pmapsize = le32toh(vmst->hdr.pmapsize);
lib/libkvm/kvm_minidump_riscv.c
117
le32toh(vmst->hdr.dumpavailsize) : 0;
lib/libkvm/kvm_private.h
148
return (le32toh(val));
lib/libnvmf/nvmf_controller.c
370
qp->nq_kato = le32toh(cmd->kato);
lib/libnvmf/nvmf_controller.c
488
return (le32toh(cmd->cdw10) & 0xff);
lib/libnvmf/nvmf_controller.c
497
numd = le32toh(cmd->cdw10) >> 16 | (le32toh(cmd->cdw11) & 0xffff) << 16;
lib/libnvmf/nvmf_controller.c
505
return (le32toh(cmd->cdw12) | (uint64_t)le32toh(cmd->cdw13) << 32);
lib/libnvmf/nvmf_host.c
379
*value = le32toh(rsp->value.u32.low);
lib/libnvmf/nvmf_host.c
776
*actual = (le32toh(rc->nc_cqe.cdw0) & 0xffff) + 1;
lib/libnvmf/nvmf_tcp.c
1020
maxh2cdata = le32toh(ic_resp.maxh2cdata);
lib/libnvmf/nvmf_tcp.c
1078
qp->maxr2t = le32toh(ic_req.maxr2t);
lib/libnvmf/nvmf_tcp.c
1288
if (tc->rx_pdu.data_len != le32toh(sgl->length)) {
lib/libnvmf/nvmf_tcp.c
1316
return (le32toh(nc->nc_sqe.sgl.length));
lib/libnvmf/nvmf_tcp.c
1392
data_len = le32toh(sgl->length);
lib/libnvmf/nvmf_tcp.c
1441
data_len = le32toh(sgl->length);
lib/libnvmf/nvmf_tcp.c
238
plen = le32toh(ch->plen);
lib/libnvmf/nvmf_tcp.c
320
plen = le32toh(ch.plen);
lib/libnvmf/nvmf_tcp.c
504
if (le32toh(h2c->datal) > qp->maxh2cdata) {
lib/libnvmf/nvmf_tcp.c
507
pdu->hdr, le32toh(pdu->hdr->plen), pdu->hdr->hlen);
lib/libnvmf/nvmf_tcp.c
517
le32toh(pdu->hdr->plen), pdu->hdr->hlen);
lib/libnvmf/nvmf_tcp.c
522
data_len = le32toh(h2c->datal);
lib/libnvmf/nvmf_tcp.c
527
le32toh(pdu->hdr->plen), pdu->hdr->hlen);
lib/libnvmf/nvmf_tcp.c
532
data_offset = le32toh(h2c->datao);
lib/libnvmf/nvmf_tcp.c
537
pdu->hdr, le32toh(pdu->hdr->plen), pdu->hdr->hlen);
lib/libnvmf/nvmf_tcp.c
545
le32toh(pdu->hdr->plen), pdu->hdr->hlen);
lib/libnvmf/nvmf_tcp.c
554
le32toh(pdu->hdr->plen), pdu->hdr->hlen);
lib/libnvmf/nvmf_tcp.c
587
le32toh(pdu->hdr->plen), pdu->hdr->hlen);
lib/libnvmf/nvmf_tcp.c
592
data_len = le32toh(c2h->datal);
lib/libnvmf/nvmf_tcp.c
597
le32toh(pdu->hdr->plen), pdu->hdr->hlen);
lib/libnvmf/nvmf_tcp.c
602
data_offset = le32toh(c2h->datao);
lib/libnvmf/nvmf_tcp.c
607
pdu->hdr, le32toh(pdu->hdr->plen), pdu->hdr->hlen);
lib/libnvmf/nvmf_tcp.c
615
le32toh(pdu->hdr->plen), pdu->hdr->hlen);
lib/libnvmf/nvmf_tcp.c
624
le32toh(pdu->hdr->plen), pdu->hdr->hlen);
lib/libnvmf/nvmf_tcp.c
716
le32toh(pdu->hdr->plen), pdu->hdr->hlen);
lib/libnvmf/nvmf_tcp.c
721
data_offset = le32toh(r2t->r2to);
lib/libnvmf/nvmf_tcp.c
725
le32toh(pdu->hdr->plen), pdu->hdr->hlen);
lib/libnvmf/nvmf_tcp.c
734
data_len = le32toh(r2t->r2tl);
lib/libnvmf/nvmf_tcp.c
738
pdu->hdr, le32toh(pdu->hdr->plen), pdu->hdr->hlen);
lib/libnvmf/nvmf_tcp.c
796
plen = le32toh(ch->plen);
lib/libnvmf/nvmf_tcp.c
952
ta->ioccsz = le32toh(cdata->ioccsz);
lib/libvgl/simple.c
151
return le32toh(color) & 0xff;
lib/libvgl/simple.c
154
return le32toh(color) & 0xffff;
lib/libvgl/simple.c
157
return le32toh(color) & 0xffffff;
lib/libvgl/simple.c
160
return le32toh(color);
libexec/rtld-elf/rtld.c
2098
#define COND_SWAP(n) (is_le ? le32toh(n) : be32toh(n))
libexec/rtld-elf/rtld.c
2158
le32toh(1) == 1 ? "little" : "big");
sbin/hastd/hast_compression.c
106
size = le32toh(size);
sbin/hastd/hast_compression.c
165
origsize = le32toh(origsize);
sbin/hastd/hast_proto.c
148
hdr.size = le32toh(hdr.size);
sbin/hastd/nv.c
104
le32toh((nvh)->nvh_dsize))
sbin/hastd/nv.c
661
(intmax_t)le32toh(*(int32_t *)(void *)data) :
sbin/hastd/nv.c
666
(uintmax_t)le32toh(*(uint32_t *)(void *)data) :
sbin/hastd/nv.c
709
(intmax_t)le32toh(((int32_t *)(void *)data)[ii]) :
sbin/hastd/nv.c
717
(uintmax_t)le32toh(((uint32_t *)(void *)data)[ii]) :
sbin/hastd/nv.c
877
nvh->nvh_dsize = le32toh(nvh->nvh_dsize);
sbin/hastd/nv.c
927
le32toh(*(uint32_t *)(void *)p);
sbin/ldconfig/elfhints.c
189
#define COND_SWAP(n) (is_be ? be32toh(n) : le32toh(n))
sbin/nvmecontrol/ns.c
436
printf("%10d\n", le32toh(list[i]));
sbin/nvmecontrol/ns.c
481
printf("%10d\n", le32toh(list[i]));
sbin/nvmecontrol/nvmecontrol.h
71
uint32_t: le32toh(x), \
stand/common/part.c
116
uuid->time_low = le32toh(uuid->time_low);
stand/common/part.c
156
sz = le32toh(hdr->hdr_size);
stand/common/part.c
161
crc = le32toh(hdr->hdr_crc_self);
stand/common/part.c
168
hdr->hdr_revision = le32toh(hdr->hdr_revision);
stand/common/part.c
183
hdr->hdr_entries = le32toh(hdr->hdr_entries);
stand/common/part.c
184
hdr->hdr_entsz = le32toh(hdr->hdr_entsz);
stand/common/part.c
194
hdr->hdr_crc_table = le32toh(hdr->hdr_crc_table);
stand/common/part.c
411
start = le32toh(dp[0].dp_start);
stand/common/part.c
417
end = le32toh(dp[0].dp_size);
stand/common/part.c
431
offset = e1->part.start + le32toh(dp[1].dp_start);
stand/common/part.c
479
if (le32toh(dl->d_magic) != DISKMAGIC &&
stand/common/part.c
480
le32toh(dl->d_magic2) != DISKMAGIC)
stand/common/part.c
482
if (le32toh(dl->d_secsize) != table->sectorsize) {
stand/common/part.c
493
raw_offset = le32toh(part[RAW_PART].p_offset);
stand/common/part.c
502
entry->part.start = le32toh(part->p_offset) - raw_offset;
stand/common/part.c
504
le32toh(part->p_size) - 1;
stand/efi/loader/main.c
817
addr = le32toh(rsdt->TableOffsetEntry[i]);
stand/libsa/smbios.c
126
return (le32toh(v));
stand/libsa/smbios.c
301
f1 = le32toh(SMBIOS_GET32(addr, 0));
sys/arm/allwinner/if_awg.c
1073
val = le32toh(sc->tx.desc_ring[i].status);
sys/arm/allwinner/if_awg.c
1092
val = le32toh(sc->rx.desc_ring[i].status);
sys/arm/allwinner/if_awg.c
1207
status = le32toh(sc->rx.desc_ring[index].status);
sys/arm/allwinner/if_awg.c
1298
status = le32toh(desc->status);
sys/arm/allwinner/if_awg.c
1301
size = le32toh(desc->size);
sys/arm/broadcom/bcm2835/bcm2838_pci.c
176
return (le32toh(bus_read_4(sc->base.base.res, reg)));
sys/arm/broadcom/bcm2835/bcm2838_pci.c
335
data = le32toh(bus_read_4(sc->base.base.res, offset));
sys/arm/mv/mv_pci.c
1131
data = le32toh(bus_space_read_4(sc->sc_bst, sc->sc_bsh,
sys/arm64/cavium/thunder_pcie_pem.c
600
data = le32toh(bus_space_read_4(t, h, reg));
sys/arm64/qoriq/clk/qoriq_clkgen.c
111
*val = le32toh(bus_read_4(sc->res, addr));
sys/arm64/qoriq/clk/qoriq_clkgen.c
127
reg = le32toh(bus_read_4(sc->res, addr));
sys/arm64/qoriq/qoriq_therm.c
209
return (sc->little_endian ? le32toh(val): be32toh(val));
sys/cam/ctl/ctl.c
10729
*lba = (uint64_t)le32toh(ctnio->cmd.cdw11) << 32 |
sys/cam/ctl/ctl.c
10730
le32toh(ctnio->cmd.cdw10);
sys/cam/ctl/ctl.c
10731
*len = (le32toh(ctnio->cmd.cdw12) & 0xffff) + 1;
sys/cam/ctl/ctl.c
10743
return ((le32toh(ctnio->cmd.cdw12) & (1U << 30)) != 0);
sys/cam/ctl/ctl.c
10779
cns = le32toh(ctnio->cmd.cdw10) & 0xff;
sys/cam/ctl/ctl.c
11017
ranges = le32toh(ctnio->cmd.cdw10) & 0xff;
sys/cam/ctl/ctl.c
11050
num_blocks = le32toh(r[i].length);
sys/cam/ctl/ctl_backend_block.c
1601
if ((le32toh(io->nvmeio.cmd.cdw12) & (1U << 25)) != 0 &&
sys/cam/ctl/ctl_backend_block.c
1685
ranges = le32toh(io->nvmeio.cmd.cdw10) & 0xff;
sys/cam/ctl/ctl_backend_block.c
1690
if ((le32toh(r[i].attributes) & (1U << 2)) != 0)
sys/cam/ctl/ctl_backend_block.c
1709
num_blocks = le32toh(r[i].length);
sys/cam/ctl/ctl_backend_block.c
1772
cns = le32toh(io->nvmeio.cmd.cdw10) & 0xff;
sys/cam/ctl/ctl_backend_block.c
3214
cns = le32toh(io->nvmeio.cmd.cdw10) & 0xff;
sys/cam/ctl/ctl_backend_ramdisk.c
659
cns = le32toh(io->nvmeio.cmd.cdw10) & 0xff;
sys/cam/ctl/ctl_backend_ramdisk.c
903
if ((le32toh(io->nvmeio.cmd.cdw12) & (1U << 25)) != 0) {
sys/cam/ctl/ctl_backend_ramdisk.c
938
ranges = le32toh(io->nvmeio.cmd.cdw10) & 0xff;
sys/cam/ctl/ctl_backend_ramdisk.c
942
num_blocks = le32toh(r[i].length);
sys/cam/ctl/ctl_backend_ramdisk.c
943
if ((le32toh(r[i].attributes) & (1U << 2)) != 0)
sys/compat/linuxkpi/common/include/asm/byteorder.h
48
#define __le32_to_cpu(x) le32toh(x)
sys/compat/linuxkpi/common/include/asm/byteorder.h
73
#define __le32_to_cpup(x) le32toh(*((const uint32_t *)(x)))
sys/compat/linuxkpi/common/include/linux/io-64-nonatomic-lo-hi.h
39
l = le32toh(__raw_readl(p));
sys/compat/linuxkpi/common/include/linux/io-64-nonatomic-lo-hi.h
40
h = le32toh(__raw_readl(p + 1));
sys/compat/linuxkpi/common/include/linux/io.h
191
v = le32toh(__raw_readl(addr));
sys/compat/linuxkpi/common/include/linux/io.h
270
return (le32toh(__raw_readl(addr)));
sys/compat/x86bios/x86bios.c
378
return (le32toh(*va));
sys/compat/x86bios/x86bios.c
608
return (le32toh(*((uint32_t *)x86bios_ivt + intno)));
sys/crypto/openssl/ossl_chacha20.c
181
counter[i] = le32toh(counter[i]);
sys/crypto/openssl/ossl_chacha20.c
328
counter[i] = le32toh(counter[i]);
sys/crypto/openssl/ossl_chacha20.c
77
counter[i] = le32toh(counter[i]);
sys/dev/aacraid/aacraid.c
2030
if (le32toh(cf_shdr->action) <= CFACT_PAUSE) {
sys/dev/aacraid/aacraid.c
2509
sc->aac_feature_bits = le32toh(supp_info->FeatureBits);
sys/dev/aacraid/aacraid.c
2510
sc->aac_support_opt2 = le32toh(supp_info->SupportedOptions2);
sys/dev/aacraid/aacraid.c
3034
if (transfer_data && (le32toh(srbcmd->flags) & AAC_SRB_FLAGS_DATA_IN)) {
sys/dev/aacraid/aacraid.c
3136
switch (le32toh(aif->command)) {
sys/dev/aacraid/aacraid.c
3138
switch (le32toh(aif->data.EN.type)) {
sys/dev/aacraid/aacraid.c
3230
switch (le32toh(aif->data.EN.data.EEE.eventType)) {
sys/dev/aacraid/aacraid.c
3233
channel = le32toh(aif->data.EN.data.EEE.unitID);
sys/dev/aacraid/aacraid.c
3245
channel = le32toh(aif->data.EN.data.ECE.container);
sys/dev/aacraid/aacraid.c
947
handle = (le32toh(sc->aac_common->ac_host_rrq[index]) &
sys/dev/aacraid/aacraid_cam.c
1127
status = le32toh(((u_int32_t *)cm->cm_fib->data)[0]);
sys/dev/aacraid/aacraid_cam.c
665
le32toh(*(u_int32_t *)&fib->data[0]) != 0) {
sys/dev/aacraid/aacraid_endian.c
87
*date = le32toh(*date);
sys/dev/age/if_age.c
2123
status = le32toh(cmb->intr_status);
sys/dev/age/if_age.c
2129
sc->age_tpd_cons = (le32toh(cmb->tpd_cons) & TPD_CONS_MASK) >>
sys/dev/age/if_age.c
2131
sc->age_rr_prod = (le32toh(cmb->rprod_cons) & RRD_PROD_MASK) >>
sys/dev/age/if_age.c
2166
status = le32toh(cmb->intr_status);
sys/dev/age/if_age.c
2291
status = le32toh(rxrd->flags);
sys/dev/age/if_age.c
2292
index = le32toh(rxrd->index);
sys/dev/age/if_age.c
2296
sc->age_cdata.age_rxlen = AGE_RX_BYTES(le32toh(rxrd->len));
sys/dev/age/if_age.c
2406
vtag = AGE_RX_VLAN(le32toh(rxrd->vtags));
sys/dev/age/if_age.c
2449
nsegs = AGE_RX_NSEGS(le32toh(rxrd->index));
sys/dev/age/if_age.c
2458
pktlen = AGE_RX_BYTES(le32toh(rxrd->len));
sys/dev/ahci/ahci.c
2000
ccb->ataio.dxfer_len - le32toh(clp->bytecount);
sys/dev/ahci/ahci.c
2006
ccb->csio.dxfer_len - le32toh(clp->bytecount);
sys/dev/aic7xxx/aic_osm_lib.h
81
#define aic_le32toh(x) le32toh(x)
sys/dev/alc/if_alc.c
3533
status = le32toh(rrd->status);
sys/dev/alc/if_alc.c
3536
nsegs = RRD_RD_CNT(le32toh(rrd->rdinfo));
sys/dev/alc/if_alc.c
3635
status = le32toh(rrd->status);
sys/dev/alc/if_alc.c
3636
rdinfo = le32toh(rrd->rdinfo);
sys/dev/alc/if_alc.c
3726
vtag = RRD_VLAN(le32toh(rrd->vtag));
sys/dev/ale/if_ale.c
2444
seqno = ALE_RX_SEQNO(le32toh(rs->seqno));
sys/dev/ale/if_ale.c
2467
length = ALE_RX_BYTES(le32toh(rs->length));
sys/dev/ale/if_ale.c
2468
status = le32toh(rs->flags);
sys/dev/ale/if_ale.c
2507
vtags = ALE_RX_VLAN(le32toh(rs->vtags));
sys/dev/aq/aq_hw.h
47
#define AQ_READ_REG(hw, reg) le32toh(readl((hw)->hw_addr + reg))
sys/dev/aq/aq_ring.c
373
total_len = le32toh(rx_desc->wb.pkt_len);
sys/dev/aq/aq_ring.c
382
ri->iri_vtag = le32toh(rx_desc->wb.vlan);
sys/dev/aq/aq_ring.c
394
ri->iri_flowid = le32toh(rx_desc->wb.rss_hash);
sys/dev/axgbe/xgbe_osdep.h
55
#define cpu_to_le32(x) le32toh(x)
sys/dev/bce/if_bcereg.h
575
#define bce_le32toh(x) le32toh(x)
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
141
if (le32toh(hdr.magic) != BCM_NVRAM_MAGIC)
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
144
if (le32toh(hdr.size) > bhnd_nvram_io_getsize(io))
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
194
if (le32toh(hdr.magic) != BCM_NVRAM_MAGIC)
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
198
limit = bhnd_nv_ummin(le32toh(hdr.size), limit);
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
569
if (le32toh(hdr.magic) != BCM_NVRAM_MAGIC)
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
573
io_size = le32toh(hdr.size);
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
631
BCM_READ_HDR_VAR(BCM_NVRAM_SDRAM_NCDL, u32, le32toh);
sys/dev/bhnd/nvram/bhnd_nvram_data_btxt.c
104
if (le32toh(ident.bcm_magic) == BCM_NVRAM_MAGIC)
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom.c
1023
NV_PARSE_INT(uint32_t, u32, le32toh);
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom.c
1032
NV_PARSE_INT(int32_t, i32, le32toh);
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
310
pri_mask = le32toh(resp->flags);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1091
le32toh(HWRM_FUNC_DRV_RGTR_OUTPUT_FLAGS_IF_CHANGE_SUPPORTED))
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1232
func->max_hw_ring_grps = le32toh(resp->max_hw_ring_grps);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1244
pf->max_encap_records = le32toh(resp->max_encap_records);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1245
pf->max_decap_records = le32toh(resp->max_decap_records);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1246
pf->max_tx_em_flows = le32toh(resp->max_tx_em_flows);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1247
pf->max_tx_wm_flows = le32toh(resp->max_tx_wm_flows);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1248
pf->max_rx_em_flows = le32toh(resp->max_rx_em_flows);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1249
pf->max_rx_wm_flows = le32toh(resp->max_rx_wm_flows);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1601
vnic->id = le32toh(resp->vnic_id);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1650
*ctx_id = le32toh(resp->rss_cos_lb_ctx_id);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1685
grp->grp_id = le32toh(resp->ring_group_id);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1906
cpr->stats_ctx_id = le32toh(resp->stat_ctx_id);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2369
*item_length = le32toh(resp->dir_item_length);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2371
*data_length = le32toh(resp->dir_data_length);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2373
*fw_ver = le32toh(resp->fw_ver);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2563
*item_length = le32toh(resp->dir_item_length);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2614
*entries = le32toh(resp->entries);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2616
*entry_length = le32toh(resp->entry_length);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2694
*sector_size = le32toh(resp->sector_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2696
*nvram_size = le32toh(resp->nvram_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2698
*reserved_size = le32toh(resp->reserved_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2700
*available_size = le32toh(resp->available_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2730
*installed_items = le32toh(resp->installed_items);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2932
link_info->preemphasis = le32toh(resp->preemphasis);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
3000
softc->lpi_tmr_lo = le32toh(resp->tx_lpi_timer_low) &
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
3002
softc->lpi_tmr_hi = le32toh(resp->valid_tx_lpi_timer_high) &
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
3191
req.ring_type = le32toh(ring_type);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
3192
req.fw_ring_id = le32toh(ring_id);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
931
fw_maj = le32toh(resp->hwrm_fw_major);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
972
dev_caps_cfg = le32toh(resp->dev_caps_cfg);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
508
ri->iri_flowid = le32toh(rcp->rss_hash);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
529
flags2 = le32toh(rcph->flags2);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
535
ri->iri_vtag = le32toh(rcph->metadata) &
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
591
ri->iri_flowid = le32toh(tpas->low.rss_hash);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
611
flags2 = le32toh(tpas->high.flags2);
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
616
ri->iri_vtag = le32toh(tpas->high.metadata) &
sys/dev/bnxt/bnxt_en/if_bnxt.c
1945
fw_health->flags = le32toh(resp->flags);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1951
fw_health->polling_dsecs = le32toh(resp->driver_polling_freq);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1953
le32toh(resp->master_func_wait_period);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1955
le32toh(resp->normal_func_wait_period);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1957
le32toh(resp->master_func_wait_period_after_reset);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1959
le32toh(resp->max_bailout_time_after_reset);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1961
le32toh(resp->fw_health_status_reg);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1963
le32toh(resp->fw_heartbeat_reg);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1965
le32toh(resp->fw_reset_cnt_reg);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1967
le32toh(resp->reset_inprogress_reg);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1969
le32toh(resp->reset_inprogress_reg_mask);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1977
le32toh(resp->reset_reg[i]);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1979
le32toh(resp->reset_reg_val[i]);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1981
le32toh(resp->delay_after_reset[i]);
sys/dev/bnxt/bnxt_en/if_bnxt.c
5036
u32 data1 = le32toh(ae->event_data1);
sys/dev/bnxt/bnxt_en/if_bnxt.c
5037
u32 data2 = le32toh(ae->event_data2);
sys/dev/bwi/if_bwi.c
3755
uint32_t plcp = le32toh(plcp0) & IEEE80211_OFDM_PLCP_RATE_MASK;
sys/dev/bwn/if_bwn.c
5612
macstat = le32toh(rxhdr->ps4.r351.mac_status);
sys/dev/bwn/if_bwn.c
5615
macstat = le32toh(rxhdr->ps4.r598.mac_status);
sys/dev/bwn/if_bwn.c
5725
macstat = le32toh(rxhdr.ps4.r351.mac_status);
sys/dev/bwn/if_bwn.c
5728
macstat = le32toh(rxhdr.ps4.r598.mac_status);
sys/dev/bwn/if_bwn.c
5994
macstat = le32toh(rxhdr->ps4.r351.mac_status);
sys/dev/bwn/if_bwn.c
5998
macstat = le32toh(rxhdr->ps4.r598.mac_status);
sys/dev/bxe/bxe.c
3215
le32toh(cqe_fp->rss_hash_result),
sys/dev/bxe/bxe.c
5386
le32toh(tx_start_bd->addr_hi),
sys/dev/bxe/bxe.c
5387
le32toh(tx_start_bd->addr_lo),
sys/dev/bxe/bxe.c
5474
le32toh(tx_data_bd->addr_hi),
sys/dev/bxe/bxe.c
5475
le32toh(tx_data_bd->addr_lo));
sys/dev/bxe/bxe.c
8298
uint32_t attn_bits = le32toh(sc->def_sb->atten_status_block.attn_bits);
sys/dev/bxe/bxe.c
8299
uint32_t attn_ack = le32toh(sc->def_sb->atten_status_block.attn_bits_ack);
sys/dev/bxe/bxe.c
8394
switch (le32toh(elem->message.data.eth_event.echo) >> BXE_SWCID_SHIFT) {
sys/dev/bxe/bxe.h
2054
#define SW_CID(x) (le32toh(x) & BXE_SWCID_MASK)
sys/dev/bxe/bxe.h
2055
#define CQE_CMD(x) (le32toh(x) >> COMMON_RAMROD_ETH_RX_CQE_CMD_ID_SHIFT)
sys/dev/bxe/bxe_stats.c
1176
le32toh(sc->fp[i].old_tclient.checksum_discard));
sys/dev/bxe/bxe_stats.h
517
ADD_64(s_hi, le32toh(a_hi_le), \
sys/dev/bxe/bxe_stats.h
518
s_lo, le32toh(a_lo_le))
sys/dev/bxe/bxe_stats.h
608
diff = le32toh(uclient->s) - le32toh(old_uclient->s); \
sys/dev/bxe/bxe_stats.h
621
diff = le32toh(xclient->s) - le32toh(old_xclient->s); \
sys/dev/bxe/bxe_stats.h
628
qstats->t##_hi = qstats_old->t##_hi + le32toh(s.hi); \
sys/dev/bxe/bxe_stats.h
629
qstats->t##_lo = qstats_old->t##_lo + le32toh(s.lo); \
sys/dev/bxe/bxe_stats.h
668
estats->s = le32toh(tport->s) + fwstats->s; \
sys/dev/bxe/bxe_stats.h
700
diff = le32toh(uclient->s) - le32toh(old_uclient->s); \
sys/dev/cardbus/cardbus_cis.c
300
len = le32toh(*(uint32_t*)(tupledata + 2));
sys/dev/cfi/cfi_core.c
109
val = le32toh(val);
sys/dev/cxgb/cxgb_osdep.h
193
#define le32_to_cpu(x) le32toh(x)
sys/dev/cxgbe/nvmf/nvmf_che.c
1371
if (le32toh(h2c->datal) > qp->maxh2cdata) {
sys/dev/cxgbe/nvmf/nvmf_che.c
1427
data_len = le32toh(h2c->datal);
sys/dev/cxgbe/nvmf/nvmf_che.c
1438
data_offset = le32toh(h2c->datao);
sys/dev/cxgbe/nvmf/nvmf_che.c
1561
data_len = le32toh(c2h->datal);
sys/dev/cxgbe/nvmf/nvmf_che.c
1572
data_offset = le32toh(c2h->datao);
sys/dev/cxgbe/nvmf/nvmf_che.c
1786
data_offset = le32toh(r2t->r2to);
sys/dev/cxgbe/nvmf/nvmf_che.c
1800
data_len = le32toh(r2t->r2tl);
sys/dev/cxgbe/nvmf/nvmf_che.c
2891
if (cc->rx_pdu.data_len != le32toh(sgl->length)) {
sys/dev/cxgbe/nvmf/nvmf_che.c
2919
return (le32toh(nc->nc_sqe.sgl.length));
sys/dev/cxgbe/nvmf/nvmf_che.c
2983
data_len = le32toh(sgl->length);
sys/dev/cxgbe/nvmf/nvmf_che.c
3032
data_len = le32toh(sgl->length);
sys/dev/cxgbe/nvmf/nvmf_che.c
924
plen = le32toh(ch->plen);
sys/dev/cxgbe/osdep.h
99
#define le32_to_cpu(x) le32toh(x)
sys/dev/cxgbe/t4_main.c
4217
*val++ = le32toh(v);
sys/dev/cxgbe/tom/t4_cpl_io.c
1337
if (le32toh(hdr->plen) + ((ulp_submode & ULP_CRC_DATA) != 0 ?
sys/dev/cxgbe/tom/t4_cpl_io.c
1352
adjusted_plen = le32toh(hdr->plen);
sys/dev/dc/if_dc.c
2755
rxstat = le32toh(c->dc_status);
sys/dev/dc/if_dc.c
2812
if (!(le32toh(cur_rx->dc_status) & DC_RXSTAT_OWN))
sys/dev/dc/if_dc.c
2874
rxstat = le32toh(cur_rx->dc_status);
sys/dev/dc/if_dc.c
2890
rxstat = le32toh(cur_rx->dc_status);
sys/dev/dc/if_dc.c
2992
txstat = le32toh(cur_tx->dc_status);
sys/dev/dc/if_dc.c
2993
ctl = le32toh(cur_tx->dc_ctl);
sys/dev/dc/if_dc.c
4003
ctl = le32toh(ld->dc_tx_list[i].dc_ctl);
sys/dev/dpaa2/memac_mdio_common.c
152
r = le32toh(v);
sys/dev/drm2/drm_os_freebsd.h
137
le32toh(*(volatile u_int32_t *)(((vm_offset_t)(map)->handle) + \
sys/dev/drm2/drm_os_freebsd.h
47
#define le32_to_cpu(x) le32toh(x)
sys/dev/e1000/em_txrx.c
644
staterr = le32toh(rxd->wb.upper.status_error);
sys/dev/e1000/em_txrx.c
740
staterr = le32toh(rxd->wb.upper.status_error);
sys/dev/e1000/em_txrx.c
741
pkt_info = le32toh(rxd->wb.lower.mrq);
sys/dev/e1000/em_txrx.c
780
ri->iri_flowid = le32toh(rxd->wb.lower.hi_dword.rss);
sys/dev/e1000/if_em.c
861
u32 staterr = le32toh(rxr->rx_base[j].wb.upper.status_error);
sys/dev/e1000/if_em.c
862
u32 length = le32toh(rxr->rx_base[j].wb.upper.length);
sys/dev/e1000/igb_txrx.c
413
staterr = le32toh(rxd->wb.upper.status_error);
sys/dev/e1000/igb_txrx.c
451
staterr = le32toh(rxd->wb.upper.status_error);
sys/dev/e1000/igb_txrx.c
458
le32toh(rxd->wb.lower.lo_dword.data) & IGB_PKTTYPE_MASK;
sys/dev/e1000/igb_txrx.c
506
le32toh(rxd->wb.lower.hi_dword.rss);
sys/dev/eqos/if_eqos.c
701
rdes3 = le32toh(sc->rx.desc_ring[sc->rx.head].des3);
sys/dev/eqos/if_eqos.c
754
tdes3 = le32toh(sc->tx.desc_ring[sc->tx.tail].des3);
sys/dev/et/if_et.c
1455
status = le32toh(*(sc->sc_tx_status.txsd_status));
sys/dev/et/if_et.c
2050
rxs_stat_ring = le32toh(rxsd->rxsd_status->rxs_stat_ring);
sys/dev/et/if_et.c
2062
rxst_info1 = le32toh(st->rxst_info1);
sys/dev/et/if_et.c
2063
rxst_info2 = le32toh(st->rxst_info2);
sys/dev/fb/vesa.c
843
buf->v_oemstr = le32toh(buf->v_oemstr);
sys/dev/fb/vesa.c
844
buf->v_flags = le32toh(buf->v_flags);
sys/dev/fb/vesa.c
845
buf->v_modetable = le32toh(buf->v_modetable);
sys/dev/fb/vesa.c
848
buf->v_venderstr = le32toh(buf->v_venderstr);
sys/dev/fb/vesa.c
849
buf->v_prodstr = le32toh(buf->v_prodstr);
sys/dev/fb/vesa.c
850
buf->v_revstr = le32toh(buf->v_revstr);
sys/dev/fb/vesa.c
887
vmode.v_posfunc = le32toh(vmode.v_posfunc);
sys/dev/fb/vesa.c
891
vmode.v_lfb = le32toh(vmode.v_lfb);
sys/dev/fb/vesa.c
892
vmode.v_offscreen = le32toh(vmode.v_offscreen);
sys/dev/fb/vesa.c
895
vmode.v_maxpixelclock = le32toh(vmode.v_maxpixelclock);
sys/dev/firewire/fwohcireg.h
96
#define FWOHCI_DMA_READ(x) le32toh(x)
sys/dev/firmware/arm/scmi.c
707
le32toh(req->msg.hdr), le32toh(req->header));
sys/dev/firmware/arm/scmi_shmem.c
256
if (le32toh(length) < sizeof(header))
sys/dev/firmware/arm/scmi_shmem.c
259
*rx_len = le32toh(length);
sys/dev/firmware/arm/scmi_shmem.c
264
*msg_header = le32toh(header);
sys/dev/firmware/arm/scmi_virtio.c
78
hdr = le32toh(*((uint32_t *)msg));
sys/dev/fxp/if_fxp.c
2024
hsp->tx_good += le32toh(sp->tx_good);
sys/dev/fxp/if_fxp.c
2025
hsp->tx_maxcols += le32toh(sp->tx_maxcols);
sys/dev/fxp/if_fxp.c
2026
hsp->tx_latecols += le32toh(sp->tx_latecols);
sys/dev/fxp/if_fxp.c
2027
hsp->tx_underruns += le32toh(sp->tx_underruns);
sys/dev/fxp/if_fxp.c
2028
hsp->tx_lostcrs += le32toh(sp->tx_lostcrs);
sys/dev/fxp/if_fxp.c
2029
hsp->tx_deffered += le32toh(sp->tx_deffered);
sys/dev/fxp/if_fxp.c
2030
hsp->tx_single_collisions += le32toh(sp->tx_single_collisions);
sys/dev/fxp/if_fxp.c
2032
le32toh(sp->tx_multiple_collisions);
sys/dev/fxp/if_fxp.c
2033
hsp->tx_total_collisions += le32toh(sp->tx_total_collisions);
sys/dev/fxp/if_fxp.c
2034
hsp->rx_good += le32toh(sp->rx_good);
sys/dev/fxp/if_fxp.c
2035
hsp->rx_crc_errors += le32toh(sp->rx_crc_errors);
sys/dev/fxp/if_fxp.c
2036
hsp->rx_alignment_errors += le32toh(sp->rx_alignment_errors);
sys/dev/fxp/if_fxp.c
2037
hsp->rx_rnr_errors += le32toh(sp->rx_rnr_errors);
sys/dev/fxp/if_fxp.c
2038
hsp->rx_overrun_errors += le32toh(sp->rx_overrun_errors);
sys/dev/fxp/if_fxp.c
2039
hsp->rx_cdt_errors += le32toh(sp->rx_cdt_errors);
sys/dev/fxp/if_fxp.c
2040
hsp->rx_shortframes += le32toh(sp->rx_shortframes);
sys/dev/fxp/if_fxp.c
2041
hsp->tx_pause += le32toh(sp->tx_pause);
sys/dev/fxp/if_fxp.c
2042
hsp->rx_pause += le32toh(sp->rx_pause);
sys/dev/fxp/if_fxp.c
2043
hsp->rx_controls += le32toh(sp->rx_controls);
sys/dev/fxp/if_fxp.c
2047
if_inc_counter(ifp, IFCOUNTER_OPACKETS, le32toh(sp->tx_good));
sys/dev/fxp/if_fxp.c
2049
le32toh(sp->tx_total_collisions));
sys/dev/fxp/if_fxp.c
2052
le32toh(sp->rx_good));
sys/dev/fxp/if_fxp.c
2061
le32toh(sp->rx_crc_errors) +
sys/dev/fxp/if_fxp.c
2062
le32toh(sp->rx_alignment_errors) +
sys/dev/fxp/if_fxp.c
2063
le32toh(sp->rx_rnr_errors) +
sys/dev/fxp/if_fxp.c
2064
le32toh(sp->rx_overrun_errors));
sys/dev/fxp/if_fxp.c
2071
le32toh(sp->tx_underruns));
sys/dev/gve/gve_rx_dqo.c
564
mbuf->m_pkthdr.flowid = le32toh(compl_desc->hash);
sys/dev/hid/bcm5974.c
843
coords = (int)le32toh(fc->coords);
sys/dev/iavf/iavf_osdep.h
121
#define LE32_TO_CPU(c) le32toh(c)
sys/dev/iavf/iavf_txrx_iflib.c
727
ri->iri_flowid = le32toh(cur->wb.qword0.hi_dword.rss);
sys/dev/iavf/iavf_vc_common.c
156
if ((enum virtchnl_ops)le32toh(event.desc.cookie_high) !=
sys/dev/iavf/iavf_vc_common.c
159
__func__, le32toh(event.desc.cookie_high));
sys/dev/iavf/iavf_vc_common.c
164
status = (enum iavf_status)le32toh(event.desc.cookie_low);
sys/dev/iavf/iavf_vc_common.c
258
} else if ((enum virtchnl_ops)le32toh(event.desc.cookie_high) !=
sys/dev/iavf/iavf_vc_common.c
263
le32toh(event.desc.cookie_high),
sys/dev/iavf/iavf_vc_common.c
264
le32toh(event.desc.cookie_low));
sys/dev/iavf/iavf_vc_common.c
268
status = (enum iavf_status)le32toh(event.desc.cookie_low);
sys/dev/iavf/iavf_vc_common.c
272
le32toh(event.desc.cookie_high),
sys/dev/iavf/iavf_vc_common.c
273
le32toh(event.desc.cookie_low));
sys/dev/ice/ice_iflib_txrx.c
455
ri->iri_flowid = le32toh(RX_FLEX_NIC(&cur->wb, rss_hash));
sys/dev/ice/ice_lib.c
1705
txq->q_teid = le32toh(qg->txqs[0].q_teid);
sys/dev/ice/ice_osdep.h
314
#define LE32_TO_CPU le32toh
sys/dev/igc/if_igc.c
403
u32 staterr = le32toh(rxr->rx_base[j].wb.upper.status_error);
sys/dev/igc/if_igc.c
404
u32 length = le32toh(rxr->rx_base[j].wb.upper.length);
sys/dev/igc/igc_txrx.c
441
staterr = le32toh(rxd->wb.upper.status_error);
sys/dev/igc/igc_txrx.c
479
staterr = le32toh(rxd->wb.upper.status_error);
sys/dev/igc/igc_txrx.c
486
le32toh(rxd->wb.lower.lo_dword.data) & IGC_PKTTYPE_MASK;
sys/dev/igc/igc_txrx.c
528
le32toh(rxd->wb.lower.hi_dword.rss);
sys/dev/ipw/if_ipw.c
1007
state = le32toh(*mtod(sbuf->m, uint32_t *));
sys/dev/ipw/if_ipw.c
1168
DPRINTFN(5, ("received frame len=%u, rssi=%u\n", le32toh(status->len),
sys/dev/ipw/if_ipw.c
1171
if (le32toh(status->len) < sizeof (struct ieee80211_frame_min) ||
sys/dev/ipw/if_ipw.c
1172
le32toh(status->len) > MCLBYTES)
sys/dev/ipw/if_ipw.c
1215
m->m_pkthdr.len = m->m_len = le32toh(status->len);
sys/dev/ipw/if_ipw.c
1278
le32toh(status->len), status->flags));
sys/dev/ipw/if_ipw.c
2158
DPRINTF(("Setting channel to %u\n", le32toh(data)));
sys/dev/ipw/if_ipw.c
2190
DPRINTF(("Setting RTS threshold to %u\n", le32toh(data)));
sys/dev/ipw/if_ipw.c
2196
DPRINTF(("Setting frag threshold to %u\n", le32toh(data)));
sys/dev/ipw/if_ipw.c
2209
le32toh(data)));
sys/dev/ipw/if_ipw.c
2218
DPRINTF(("Setting wep flags to 0x%x\n", le32toh(data)));
sys/dev/ipw/if_ipw.c
2343
fw = (const char *)fp->data + sizeof *hdr + le32toh(hdr->mainsz);
sys/dev/ipw/if_ipw.c
2344
if (ipw_load_ucode(sc, fw, le32toh(hdr->ucodesz)) != 0) {
sys/dev/ipw/if_ipw.c
2372
if (ipw_load_firmware(sc, fw, le32toh(hdr->mainsz)) != 0) {
sys/dev/ipw/if_ipw.c
2429
DPRINTF(("Setting mode to %u\n", le32toh(data)));
sys/dev/ipw/if_ipw.c
2452
DPRINTF(("Setting configuration to 0x%x\n", le32toh(config.flags)));
sys/dev/ipw/if_ipw.c
2458
DPRINTF(("Setting basic tx rates to 0x%x\n", le32toh(data)));
sys/dev/ipw/if_ipw.c
2464
DPRINTF(("Setting msdu tx rates to 0x%x\n", le32toh(data)));
sys/dev/ipw/if_ipw.c
2470
DPRINTF(("Setting tx rates to 0x%x\n", le32toh(data)));
sys/dev/ipw/if_ipw.c
2476
DPRINTF(("Setting power mode to %u\n", le32toh(data)));
sys/dev/ipw/if_ipw.c
2483
DPRINTF(("Setting tx power index to %u\n", le32toh(data)));
sys/dev/ipw/if_ipw.c
454
if (fp->datasize < sizeof *hdr + le32toh(hdr->mainsz) +
sys/dev/ipw/if_ipw.c
455
le32toh(hdr->ucodesz)) {
sys/dev/ipw/if_ipw.c
989
ipw_cmdname(le32toh(cmd->type)), le32toh(cmd->type),
sys/dev/ipw/if_ipw.c
990
le32toh(cmd->subtype), le32toh(cmd->seq), le32toh(cmd->len),
sys/dev/ipw/if_ipw.c
991
le32toh(cmd->status)));
sys/dev/isp/isp.c
4705
le32toh((uint32_t) (ISP2XXX_FLT_REG_SIZE(flt_data, count)) >> 2);
sys/dev/isp/isp.c
4707
le32toh((uint32_t) (ISP2XXX_FLT_REG_START(flt_data, count)) >> 2);
sys/dev/isp/isp.c
4709
le32toh((uint32_t) (ISP2XXX_FLT_REG_END(flt_data, count)) >> 2);
sys/dev/isp/isp.c
4883
le32toh(image_status->checksum),
sys/dev/isp/isp.c
4884
le32toh(image_status->signature));
sys/dev/isp/isp.c
4890
unsigned long signature = le32toh(image_status->signature);
sys/dev/isp/isp.c
4898
unsigned long signature = le32toh(image_status->signature);
sys/dev/isp/isp.c
4912
sum += le32toh(*((uint32_t *)(p)));
sys/dev/isp/isp.c
4980
le32toh(pri_aux_image_status.signature));
sys/dev/isp/isp.c
5013
le32toh(sec_aux_image_status.signature));
sys/dev/isp/isp.c
5081
le32toh(pri_image_status.signature));
sys/dev/isp/isp.c
5116
le32toh(sec_image_status.signature));
sys/dev/iwi/if_iwi.c
1521
beacon->state, le32toh(beacon->number)));
sys/dev/iwi/if_iwi.c
1531
if (le32toh(beacon->number) >= vap->iv_bmissthreshold) {
sys/dev/iwi/if_iwi.c
1533
le32toh(beacon->number),
sys/dev/iwi/if_iwi.c
2153
if ((IWI_FW_GET_MAJOR(le32toh(hdr->version)) != IWI_FW_REQ_MAJOR) ||
sys/dev/iwi/if_iwi.c
2154
(IWI_FW_GET_MINOR(le32toh(hdr->version)) != IWI_FW_REQ_MINOR)) {
sys/dev/iwi/if_iwi.c
2156
fp->name, IWI_FW_GET_MAJOR(le32toh(hdr->version)),
sys/dev/iwi/if_iwi.c
2157
IWI_FW_GET_MINOR(le32toh(hdr->version)), IWI_FW_REQ_MAJOR,
sys/dev/iwi/if_iwi.c
2173
if (hdr != NULL && le32toh(hdr->mode) != IWI_FW_MODE_UCODE) {
sys/dev/iwi/if_iwi.c
2286
if (fp->datasize < sizeof(*hdr) + le32toh(hdr->bsize) + le32toh(hdr->usize)
sys/dev/iwi/if_iwi.c
2287
+ le32toh(hdr->fsize)) {
sys/dev/iwi/if_iwi.c
2293
sc->fw_boot.size = le32toh(hdr->bsize);
sys/dev/iwi/if_iwi.c
2296
sc->fw_uc.size = le32toh(hdr->usize);
sys/dev/iwi/if_iwi.c
2299
sc->fw_fw.size = le32toh(hdr->fsize);
sys/dev/iwi/if_iwi.c
2521
DPRINTF(("Setting power mode to %u\n", le32toh(data)));
sys/dev/iwi/if_iwi.c
2643
DPRINTF(("Setting initialization vector to %u\n", le32toh(data)));
sys/dev/iwi/if_iwi.c
2787
, le32toh(scan.full_scan_index)
sys/dev/iwi/if_iwi.c
2889
DPRINTF(("Setting RTS threshold to %u\n", le32toh(data)));
sys/dev/iwi/if_iwi.c
2895
DPRINTF(("Setting fragmentation threshold to %u\n", le32toh(data)));
sys/dev/iwm/if_iwm.c
2770
sc->error_event_table[0] = le32toh(lmac1->error_event_table_ptr);
sys/dev/iwm/if_iwm.c
2773
le32toh(lmac2->error_event_table_ptr);
sys/dev/iwm/if_iwm.c
2774
sc->log_event_table = le32toh(lmac1->log_event_table_ptr);
sys/dev/iwm/if_iwm.c
2775
sc->umac_error_event_table = le32toh(umac->error_info_addr);
sys/dev/iwm/if_iwm.c
2776
alive_data->scd_base_addr = le32toh(lmac1->scd_base_ptr);
sys/dev/iwm/if_iwm.c
2790
le32toh(umac->umac_major),
sys/dev/iwm/if_iwm.c
2791
le32toh(umac->umac_minor));
sys/dev/iwm/if_iwm.c
3095
noise = le32toh(stats->beacon_silence_rssi[i]) & 0xff;
sys/dev/iwm/if_iwm.c
3141
val = le32toh(phy_info->non_cfg_phy[IWM_RX_INFO_ENERGY_ANT_ABC_IDX]);
sys/dev/iwm/if_iwm.c
3196
rx_pkt_status = le32toh(*(uint32_t *)(pkt->data + sizeof(*rx_res) + len));
sys/dev/iwm/if_iwm.c
3463
le32toh(tx_resp->initial_rate),
sys/dev/iwm/if_iwm.c
3467
tx_resp_rate = iwm_rate_from_ucode_rate(le32toh(tx_resp->initial_rate));
sys/dev/iwm/if_iwm.c
3900
le32toh(tx->tx_flags),
sys/dev/iwm/if_iwm.c
3901
le32toh(tx->rate_n_flags),
sys/dev/iwm/if_iwm.c
4072
cmd.quotas[0].quota = htole32(le32toh(cmd.quotas[0].quota) + quota_rem);
sys/dev/iwm/if_iwm.c
4709
n_channels = le32toh(mcc_resp->n_channels);
sys/dev/iwm/if_iwm.c
4713
n_channels = le32toh(mcc_resp_v1->n_channels);
sys/dev/iwm/if_iwm.c
490
uint32_t ucode_type = le32toh(def_calib->ucode_type);
sys/dev/iwm/if_iwm.c
512
uint32_t api_index = le32toh(ucode_api->api_index);
sys/dev/iwm/if_iwm.c
513
uint32_t api_flags = le32toh(ucode_api->api_flags);
sys/dev/iwm/if_iwm.c
537
uint32_t api_index = le32toh(ucode_capa->api_index);
sys/dev/iwm/if_iwm.c
538
uint32_t api_flags = le32toh(ucode_capa->api_capa);
sys/dev/iwm/if_iwm.c
5401
missed = le32toh(resp->consec_missed_beacons);
sys/dev/iwm/if_iwm.c
5408
le32toh(resp->mac_id),
sys/dev/iwm/if_iwm.c
5409
le32toh(resp->consec_missed_beacons_since_last_rx),
sys/dev/iwm/if_iwm.c
5410
le32toh(resp->consec_missed_beacons),
sys/dev/iwm/if_iwm.c
5411
le32toh(resp->num_expected_beacons),
sys/dev/iwm/if_iwm.c
5412
le32toh(resp->num_recvd_beacons));
sys/dev/iwm/if_iwm.c
5560
le32toh(resp->error_type),
sys/dev/iwm/if_iwm.c
610
|| le32toh(uhdr->magic) != IWM_TLV_UCODE_MAGIC) {
sys/dev/iwm/if_iwm.c
618
IWM_UCODE_MAJOR(le32toh(uhdr->ver)),
sys/dev/iwm/if_iwm.c
619
IWM_UCODE_MINOR(le32toh(uhdr->ver)),
sys/dev/iwm/if_iwm.c
620
IWM_UCODE_API(le32toh(uhdr->ver)));
sys/dev/iwm/if_iwm.c
628
tlv_len = le32toh(tlv->length);
sys/dev/iwm/if_iwm.c
629
tlv_type = le32toh(tlv->type);
sys/dev/iwm/if_iwm.c
880
le32toh(((const uint32_t *)tlv_data)[0]),
sys/dev/iwm/if_iwm.c
881
le32toh(((const uint32_t *)tlv_data)[1]),
sys/dev/iwm/if_iwm.c
882
le32toh(((const uint32_t *)tlv_data)[2]));
sys/dev/iwm/if_iwm_mac_ctxt.c
370
__func__, le32toh(cmd->action), ret);
sys/dev/iwm/if_iwm_mac_ctxt.c
434
le32toh(ctxt_sta->dtim_time), dtim_offs);
sys/dev/iwm/if_iwm_power.c
165
le32toh(cmd->ba_enable_beacon_abort));
sys/dev/iwm/if_iwm_power.c
168
le32toh(cmd->ba_escape_timer));
sys/dev/iwm/if_iwm_power.c
171
le32toh(cmd->bf_debug_flag));
sys/dev/iwm/if_iwm_power.c
174
le32toh(cmd->bf_enable_beacon_filter));
sys/dev/iwm/if_iwm_power.c
177
le32toh(cmd->bf_energy_delta));
sys/dev/iwm/if_iwm_power.c
180
le32toh(cmd->bf_escape_timer));
sys/dev/iwm/if_iwm_power.c
183
le32toh(cmd->bf_roaming_energy_delta));
sys/dev/iwm/if_iwm_power.c
186
le32toh(cmd->bf_roaming_state));
sys/dev/iwm/if_iwm_power.c
189
le32toh(cmd->bf_temp_threshold));
sys/dev/iwm/if_iwm_power.c
192
le32toh(cmd->bf_temp_fast_filter));
sys/dev/iwm/if_iwm_power.c
195
le32toh(cmd->bf_temp_slow_filter));
sys/dev/iwm/if_iwm_power.c
224
"Rx timeout = %u usec\n", le32toh(cmd->rx_data_timeout));
sys/dev/iwm/if_iwm_power.c
226
"Tx timeout = %u usec\n", le32toh(cmd->tx_data_timeout));
sys/dev/iwm/if_iwm_scan.c
276
le32toh(notif->uid),
sys/dev/iwm/if_iwm_time_event.c
184
le32toh(notif->unique_id),
sys/dev/iwm/if_iwm_time_event.c
185
le32toh(notif->action));
sys/dev/iwm/if_iwm_time_event.c
187
if (!le32toh(notif->status)) {
sys/dev/iwm/if_iwm_time_event.c
200
if (le32toh(notif->action) & IWM_TE_V2_NOTIF_HOST_EVENT_END) {
sys/dev/iwm/if_iwm_time_event.c
206
} else if (le32toh(notif->action) & IWM_TE_V2_NOTIF_HOST_EVENT_START) {
sys/dev/iwm/if_iwm_time_event.c
224
le32toh(notif->unique_id),
sys/dev/iwm/if_iwm_time_event.c
225
le32toh(notif->action));
sys/dev/iwm/if_iwm_time_event.c
247
if (le32toh(resp->unique_id) != sc->sc_time_event_uid)
sys/dev/iwm/if_iwm_time_event.c
278
if (le32toh(resp->id) != IWM_TE_BSS_STA_AGGRESSIVE_ASSOC) {
sys/dev/iwm/if_iwm_time_event.c
281
le32toh(resp->id));
sys/dev/iwm/if_iwm_time_event.c
285
sc->sc_time_event_uid = le32toh(resp->unique_id);
sys/dev/iwm/if_iwm_time_event.c
303
"Add new TE, duration %d TU\n", le32toh(te_cmd->duration));
sys/dev/iwm/if_iwm_time_event.c
305
sc->sc_time_event_duration = le32toh(te_cmd->duration);
sys/dev/iwm/if_iwm_time_event.c
423
"%s: Removing TE 0x%x\n", __func__, le32toh(time_cmd.id));
sys/dev/iwm/if_iwm_util.c
395
*status = le32toh(resp->status);
sys/dev/iwm/if_iwmreg.h
6944
return le32toh(pkt->len_n_flags) & IWM_FH_RSCSR_FRAME_SIZE_MSK;
sys/dev/iwm/if_iwmreg.h
70
#define le32_to_cpup(_a_) (le32toh(*(const uint32_t *)(_a_)))
sys/dev/iwn/if_iwn.c
2400
le32toh(sc->eeprom_crystal));
sys/dev/iwn/if_iwn.c
3062
flags = le32toh(*(uint32_t *)(head + len));
sys/dev/iwn/if_iwn.c
3139
uint32_t rate = le32toh(stat->rate);
sys/dev/iwn/if_iwn.c
3341
len = (le32toh(desc->len) & 0x3fff) - 4;
sys/dev/iwn/if_iwn.c
3508
if (le32toh(lstats->rx.general.flags) != 1) {
sys/dev/iwn/if_iwn.c
3538
calib->bad_plcp_cck = le32toh(rs->rx.cck.bad_plcp);
sys/dev/iwn/if_iwn.c
3539
calib->fa_cck = le32toh(rs->rx.cck.fa);
sys/dev/iwn/if_iwn.c
3540
calib->bad_plcp_ht = le32toh(rs->rx.ht.bad_plcp);
sys/dev/iwn/if_iwn.c
3541
calib->bad_plcp_ofdm = le32toh(rs->rx.ofdm.bad_plcp);
sys/dev/iwn/if_iwn.c
3542
calib->fa_ofdm = le32toh(rs->rx.ofdm.fa);
sys/dev/iwn/if_iwn.c
3566
le32toh(stat->status));
sys/dev/iwn/if_iwn.c
3573
le32toh(stat->status) & 0xff);
sys/dev/iwn/if_iwn.c
3591
le32toh(stat->status));
sys/dev/iwn/if_iwn.c
4041
misses = le32toh(miss->consecutive);
sys/dev/iwn/if_iwn.c
4045
misses, le32toh(miss->total));
sys/dev/iwn/if_iwn.c
4076
uc->subtype, le32toh(uc->valid));
sys/dev/iwn/if_iwn.c
4078
if (le32toh(uc->valid) != 1) {
sys/dev/iwn/if_iwn.c
4088
sc->errptr = le32toh(uc->errptr);
sys/dev/iwn/if_iwn.c
4102
le32toh(*status));
sys/dev/iwn/if_iwn.c
4111
__func__, scan->chan, le32toh(scan->status));
sys/dev/iwn/if_iwn.c
4282
tmp = le32toh(tmp);
sys/dev/iwn/if_iwn.c
5413
le32toh(plcp));
sys/dev/iwn/if_iwn.c
5426
if ((le32toh(plcp) & IWN_RFLAG_MCS) &&
sys/dev/iwn/if_iwn.c
5427
IEEE80211_RV(le32toh(plcp)) > 7)
sys/dev/iwn/if_iwn.c
5716
vdiff = ((int32_t)le32toh(uc->volt) - sc->eeprom_voltage) / 7;
sys/dev/iwn/if_iwn.c
5723
__func__, vdiff, le32toh(uc->volt), sc->eeprom_voltage);
sys/dev/iwn/if_iwn.c
5797
idx += (int32_t)le32toh(uc->atten[grp][c]);
sys/dev/iwn/if_iwn.c
5892
agc = (le32toh(phy->agc) >> 9) & 0x7f;
sys/dev/iwn/if_iwn.c
5915
if ((noise = le32toh(stats->noise[i]) & 0xff) == 0)
sys/dev/iwn/if_iwn.c
5935
r1 = le32toh(uc->temp[0].chan20MHz);
sys/dev/iwn/if_iwn.c
5936
r2 = le32toh(uc->temp[1].chan20MHz);
sys/dev/iwn/if_iwn.c
5937
r3 = le32toh(uc->temp[2].chan20MHz);
sys/dev/iwn/if_iwn.c
5938
r4 = le32toh(sc->rawtemp);
sys/dev/iwn/if_iwn.c
5965
temp = le32toh(sc->rawtemp);
sys/dev/iwn/if_iwn.c
6033
calib->rssi[i] += le32toh(stats->rssi[i]) & 0xff;
sys/dev/iwn/if_iwn.c
6034
calib->noise[i] += le32toh(stats->noise[i]) & 0xff;
sys/dev/iwn/if_iwn.c
6214
if ((rxena = le32toh(stats->general.load)) == 0){
sys/dev/iwn/if_iwn.c
6220
fa = le32toh(stats->ofdm.bad_plcp) - calib->bad_plcp_ofdm;
sys/dev/iwn/if_iwn.c
6221
fa += le32toh(stats->ofdm.fa) - calib->fa_ofdm;
sys/dev/iwn/if_iwn.c
6245
noise[i] = (le32toh(stats->general.noise[i]) >> 8) & 0xff;
sys/dev/iwn/if_iwn.c
6259
energy[i] = le32toh(stats->general.energy[i]);
sys/dev/iwn/if_iwn.c
6273
fa = le32toh(stats->cck.bad_plcp) - calib->bad_plcp_cck;
sys/dev/iwn/if_iwn.c
6274
fa += le32toh(stats->cck.fa) - calib->fa_cck;
sys/dev/iwn/if_iwn.c
6398
delta_cck = le32toh(rs->rx.cck.bad_plcp) - calib->bad_plcp_cck;
sys/dev/iwn/if_iwn.c
6399
delta_ofdm = le32toh(rs->rx.ofdm.bad_plcp) - calib->bad_plcp_ofdm;
sys/dev/iwn/if_iwn.c
6400
delta_ht = le32toh(rs->rx.ht.bad_plcp) - calib->bad_plcp_ht;
sys/dev/iwn/if_iwn.c
6918
__func__, le32toh(sc->rxon->flags));
sys/dev/iwn/if_iwn.c
7386
sc->rxon->chan, le32toh(sc->rxon->flags), vap->iv_curhtprotmode);
sys/dev/iwn/if_iwn.c
7875
cmd.cap_pin[0] = le32toh(sc->eeprom_crystal) & 0xff;
sys/dev/iwn/if_iwn.c
7876
cmd.cap_pin[1] = (le32toh(sc->eeprom_crystal) >> 16) & 0xff;
sys/dev/iwn/if_iwn.c
8292
rev = le32toh(*ptr++);
sys/dev/iwn/if_iwn.c
8312
fw->main.textsz = le32toh(*ptr++);
sys/dev/iwn/if_iwn.c
8313
fw->main.datasz = le32toh(*ptr++);
sys/dev/iwn/if_iwn.c
8314
fw->init.textsz = le32toh(*ptr++);
sys/dev/iwn/if_iwn.c
8315
fw->init.datasz = le32toh(*ptr++);
sys/dev/iwn/if_iwn.c
8316
fw->boot.textsz = le32toh(*ptr++);
sys/dev/iwn/if_iwn.c
8356
__func__, le32toh(hdr->signature));
sys/dev/iwn/if_iwn.c
8360
le32toh(hdr->build));
sys/dev/iwn/if_iwn.c
8361
sc->ucode_rev = le32toh(hdr->rev);
sys/dev/iwn/if_iwn.c
8378
len = le32toh(tlv->len);
sys/dev/iwn/if_iwn.c
8417
tmp = le32toh(*ptr);
sys/dev/iwn/if_iwn.c
8433
sc->tlv_feature_flags = le32toh(*ptr);
sys/dev/iwx/if_iwx.c
1000
iwx_write_prph(sc, le32toh(base_reg),
sys/dev/iwx/if_iwx.c
1294
uint32_t ucode_type = le32toh(def_calib->ucode_type);
sys/dev/iwx/if_iwx.c
1360
|| le32toh(uhdr->magic) != IWX_TLV_UCODE_MAGIC) {
sys/dev/iwx/if_iwx.c
1368
IWX_UCODE_MAJOR(le32toh(uhdr->ver)),
sys/dev/iwx/if_iwx.c
1369
IWX_UCODE_MINOR(le32toh(uhdr->ver)),
sys/dev/iwx/if_iwx.c
1370
IWX_UCODE_API(le32toh(uhdr->ver)));
sys/dev/iwx/if_iwx.c
1380
tlv_len = le32toh(tlv.length);
sys/dev/iwx/if_iwx.c
1381
tlv_type = le32toh(tlv.type);
sys/dev/iwx/if_iwx.c
1401
= le32toh(*(const uint32_t *)tlv_data);
sys/dev/iwx/if_iwx.c
1431
sc->sc_capaflags = le32toh(*(const uint32_t *)tlv_data);
sys/dev/iwx/if_iwx.c
1444
num_cpu = le32toh(*(const uint32_t *)tlv_data);
sys/dev/iwx/if_iwx.c
1483
sc->sc_fw_phy_config = le32toh(*(const uint32_t *)tlv_data);
sys/dev/iwx/if_iwx.c
1494
idx = le32toh(api->api_index);
sys/dev/iwx/if_iwx.c
1500
if ((le32toh(api->api_flags) & (1 << i)) == 0)
sys/dev/iwx/if_iwx.c
1515
idx = le32toh(capa->api_index);
sys/dev/iwx/if_iwx.c
1520
if ((le32toh(capa->api_capa) & (1 << i)) == 0)
sys/dev/iwx/if_iwx.c
1553
le32toh(*(const uint32_t *)tlv_data);
sys/dev/iwx/if_iwx.c
1567
le32toh(((const uint32_t *)tlv_data)[0]),
sys/dev/iwx/if_iwx.c
1568
le32toh(((const uint32_t *)tlv_data)[1]),
sys/dev/iwx/if_iwx.c
1569
le32toh(((const uint32_t *)tlv_data)[2]));
sys/dev/iwx/if_iwx.c
1622
le32toh(dbg_ptrs->error_info_addr) &
sys/dev/iwx/if_iwx.c
1640
le32toh(dbg_ptrs->error_event_table_ptr) &
sys/dev/iwx/if_iwx.c
1825
vals[offs] = le32toh(IWX_READ(sc, IWX_HBUS_TARG_MEM_RDAT));
sys/dev/iwx/if_iwx.c
192
#define le32_to_cpup(_a_) (le32toh(*(const uint32_t *)(_a_)))
sys/dev/iwx/if_iwx.c
3677
mac_flags = le32toh(rsp->mac_sku.mac_sku_flags);
sys/dev/iwx/if_iwx.c
3692
nvm->valid_tx_ant = (uint8_t)le32toh(rsp->phy_sku.tx_chains);
sys/dev/iwx/if_iwx.c
3693
nvm->valid_rx_ant = (uint8_t)le32toh(rsp->phy_sku.rx_chains);
sys/dev/iwx/if_iwx.c
3695
if (le32toh(rsp->regulatory.lar_enabled) &&
sys/dev/iwx/if_iwx.c
3794
tlv_len = le32toh(tlv->length);
sys/dev/iwx/if_iwx.c
3795
tlv_type = le32toh(tlv->type);
sys/dev/iwx/if_iwx.c
3897
tlv_len = le32toh(tlv->length);
sys/dev/iwx/if_iwx.c
3898
tlv_type = le32toh(tlv->type);
sys/dev/iwx/if_iwx.c
3910
if (sc->sc_sku_id[0] == le32toh(sku_id->data[0]) &&
sys/dev/iwx/if_iwx.c
3911
sc->sc_sku_id[1] == le32toh(sku_id->data[1]) &&
sys/dev/iwx/if_iwx.c
3912
sc->sc_sku_id[2] == le32toh(sku_id->data[2]) &&
sys/dev/iwx/if_iwx.c
4266
noise = le32toh(stats->beacon_silence_rssi[i]) & 0xff;
sys/dev/iwx/if_iwx.c
4661
rate_n_flags = le32toh(desc->v3.rate_n_flags);
sys/dev/iwx/if_iwx.c
4663
device_timestamp = le32toh(desc->v3.gp2_on_air_rise);
sys/dev/iwx/if_iwx.c
4665
rate_n_flags = le32toh(desc->v1.rate_n_flags);
sys/dev/iwx/if_iwx.c
4667
device_timestamp = le32toh(desc->v1.gp2_on_air_rise);
sys/dev/iwx/if_iwx.c
4833
ssn = le32toh(ssn);
sys/dev/iwx/if_iwx.c
4933
le32toh(mbn->mac_id),
sys/dev/iwx/if_iwx.c
4934
le32toh(mbn->consec_missed_beacons_since_last_rx),
sys/dev/iwx/if_iwx.c
4935
le32toh(mbn->consec_missed_beacons),
sys/dev/iwx/if_iwx.c
4936
le32toh(mbn->num_expected_beacons),
sys/dev/iwx/if_iwx.c
4937
le32toh(mbn->num_recvd_beacons));
sys/dev/iwx/if_iwx.c
4939
missed = le32toh(mbn->consec_missed_beacons_since_last_rx);
sys/dev/iwx/if_iwx.c
5389
*status = le32toh(resp->status);
sys/dev/iwx/if_iwx.c
5824
le32toh(desc->tbs[0].tb_len)) >> 32)
sys/dev/iwx/if_iwx.c
5834
le32toh(desc->tbs[1].tb_len)) >> 32)
sys/dev/iwx/if_iwx.c
5846
le32toh(desc->tbs[i + 2].tb_len)) >> 32)
sys/dev/iwx/if_iwx.c
7388
rate_n_flags = le32toh(notif->rate);
sys/dev/iwx/if_iwx.c
7461
(le32toh(notif->flags) & IWX_TLC_NOTIF_FLAG_RATE) == 0)
sys/dev/iwx/if_iwx.c
9083
sc->sc_uc.uc_lmac_error_event_table[0] = le32toh(
sys/dev/iwx/if_iwx.c
9085
sc->sc_uc.uc_lmac_error_event_table[1] = le32toh(
sys/dev/iwx/if_iwx.c
9087
sc->sc_uc.uc_log_event_table = le32toh(
sys/dev/iwx/if_iwx.c
9089
sc->sc_uc.uc_umac_error_event_table = le32toh(
sys/dev/iwx/if_iwx.c
9092
le32toh(resp6->sku_id.data[0]);
sys/dev/iwx/if_iwx.c
9094
le32toh(resp6->sku_id.data[1]);
sys/dev/iwx/if_iwx.c
9096
le32toh(resp6->sku_id.data[2]);
sys/dev/iwx/if_iwx.c
9109
sc->sc_uc.uc_lmac_error_event_table[0] = le32toh(
sys/dev/iwx/if_iwx.c
9111
sc->sc_uc.uc_lmac_error_event_table[1] = le32toh(
sys/dev/iwx/if_iwx.c
9113
sc->sc_uc.uc_log_event_table = le32toh(
sys/dev/iwx/if_iwx.c
9115
sc->sc_uc.uc_umac_error_event_table = le32toh(
sys/dev/iwx/if_iwx.c
9118
le32toh(resp5->sku_id.data[0]);
sys/dev/iwx/if_iwx.c
9120
le32toh(resp5->sku_id.data[1]);
sys/dev/iwx/if_iwx.c
9122
le32toh(resp5->sku_id.data[2]);
sys/dev/iwx/if_iwx.c
9127
sc->sc_uc.uc_lmac_error_event_table[0] = le32toh(
sys/dev/iwx/if_iwx.c
9129
sc->sc_uc.uc_lmac_error_event_table[1] = le32toh(
sys/dev/iwx/if_iwx.c
9131
sc->sc_uc.uc_log_event_table = le32toh(
sys/dev/iwx/if_iwx.c
9133
sc->sc_uc.uc_umac_error_event_table = le32toh(
sys/dev/iwx/if_iwx.c
9266
DEVNAME(sc), le32toh(resp->error_type),
sys/dev/iwx/if_iwx.c
9276
if (sc->sc_time_event_uid != le32toh(notif->unique_id))
sys/dev/iwx/if_iwx.c
9278
action = le32toh(notif->action);
sys/dev/iwx/if_iwx.c
9291
status = le32toh(notif->status);
sys/dev/iwx/if_iwx.c
9292
start = le32toh(notif->start);
sys/dev/iwx/if_iwx.c
9293
conf_id = le32toh(notif->conf_id);
sys/dev/iwx/if_iwx.c
939
base_reg = le32toh(dest_v1->base_reg);
sys/dev/iwx/if_iwx.c
940
end_reg = le32toh(dest_v1->end_reg);
sys/dev/iwx/if_iwx.c
959
addr = le32toh(dest_v1->reg_ops[i].addr);
sys/dev/iwx/if_iwx.c
960
val = le32toh(dest_v1->reg_ops[i].val);
sys/dev/iwx/if_iwx_debug.c
17
#define le32_to_cpup(_a_) (le32toh(*(const uint32_t *)(_a_)))
sys/dev/iwx/if_iwxreg.h
7889
return le32toh(pkt->len_n_flags) & IWX_FH_RSCSR_FRAME_SIZE_MSK;
sys/dev/ixgbe/ix_txrx.c
375
staterr = le32toh(rxd->wb.upper.status_error);
sys/dev/ixgbe/ix_txrx.c
414
staterr = le32toh(rxd->wb.upper.status_error);
sys/dev/ixgbe/ix_txrx.c
421
ptype = le32toh(rxd->wb.lower.lo_dword.data) &
sys/dev/ixgbe/ix_txrx.c
456
ri->iri_flowid = le32toh(rxd->wb.lower.hi_dword.rss);
sys/dev/ixgbe/ixgbe_osdep.h
137
#define IXGBE_LE32_TO_CPU le32toh
sys/dev/ixl/i40e_osdep.h
103
#define LE32_TO_CPU(c) le32toh(c)
sys/dev/ixl/ixl_pf_iov.c
1422
opcode = le32toh(event->desc.cookie_high);
sys/dev/ixl/ixl_txrx.c
723
ri->iri_flowid = le32toh(cur->wb.qword0.hi_dword.rss);
sys/dev/jme/if_jme.c
2410
status = le32toh(txd->tx_desc->flags);
sys/dev/jme/if_jme.c
2420
le32toh(txd->tx_desc->buflen) &
sys/dev/jme/if_jme.c
2487
flags = le32toh(desc->flags);
sys/dev/jme/if_jme.c
2488
status = le32toh(desc->buflen);
sys/dev/jme/if_jme.c
2619
if ((le32toh(desc->flags) & JME_RD_OWN) == JME_RD_OWN)
sys/dev/jme/if_jme.c
2621
if ((le32toh(desc->buflen) & JME_RD_VALID) == 0)
sys/dev/jme/if_jme.c
2623
nsegs = JME_RX_NSEGS(le32toh(desc->buflen));
sys/dev/jme/if_jme.c
2630
pktlen = JME_RX_BYTES(le32toh(desc->buflen));
sys/dev/malo/if_malo.c
1978
readptr = le32toh(ds->physnext);
sys/dev/malo/if_malo.c
853
uint32_t status = le32toh(ds->status);
sys/dev/malo/if_malo.c
858
le32toh(ds->physnext), le32toh(ds->physbuffdata),
sys/dev/malo/if_malo.c
870
uint32_t status = le32toh(ds->status);
sys/dev/malo/if_malo.c
875
le32toh(ds->physnext),
sys/dev/malo/if_malo.c
876
le32toh(ds->pktptr), le16toh(ds->pktlen), status,
sys/dev/malo/if_malo.c
881
le32toh(ds->sap_pktinfo), le16toh(ds->format));
sys/dev/malo/if_malo.c
951
status = le32toh(ds->status);
sys/dev/malo/if_malohal.c
554
hw->wcbbase[0] = le32toh(cmd->wcbbase0) & 0x0000ffff;
sys/dev/malo/if_malohal.c
555
hw->wcbbase[1] = le32toh(cmd->wcbbase1) & 0x0000ffff;
sys/dev/malo/if_malohal.c
556
hw->wcbbase[2] = le32toh(cmd->wcbbase2) & 0x0000ffff;
sys/dev/malo/if_malohal.c
557
hw->wcbbase[3] = le32toh(cmd->wcbbase3) & 0x0000ffff;
sys/dev/malo/if_malohal.c
558
hw->rxdesc_read = le32toh(cmd->rxpdrd_ptr)& 0x0000ffff;
sys/dev/malo/if_malohal.c
559
hw->rxdesc_write = le32toh(cmd->rxpdwr_ptr)& 0x0000ffff;
sys/dev/malo/if_malohal.c
561
hw->fw_releasenum = le32toh(cmd->fw_releasenum);
sys/dev/mgb/if_mgb.c
1089
rxd.ctl = le32toh(rxd.ctl);
sys/dev/mgb/if_mgb.c
1090
rxd.addr.low = le32toh(rxd.ctl);
sys/dev/mgb/if_mgb.c
1091
rxd.addr.high = le32toh(rxd.ctl);
sys/dev/mgb/if_mgb.c
1092
rxd.sts = le32toh(rxd.ctl);
sys/dev/mpi3mr/mpi3mr.c
1611
facts_flags = le32toh(facts_data->Flags);
sys/dev/mpi3mr/mpi3mr.c
3777
le32toh(tm_reply->TerminationCount));
sys/dev/mpi3mr/mpi3mr.c
4252
le32toh(event_reply->EventContext));
sys/dev/mpi3mr/mpi3mr.c
4306
le32toh(evtdata->ActiveCablePowerRequirement));
sys/dev/mpi3mr/mpi3mr.c
4453
fw_event->event_context = le32toh(event_reply->EventContext);
sys/dev/mpi3mr/mpi3mr.c
4894
returned_sense_len = min(le32toh(sense_count),
sys/dev/mpi3mr/mpi3mr.c
4934
le32toh(scsi_reply->IOCLogInfo));
sys/dev/mpi3mr/mpi3mr.c
4938
le32toh(xfer_count));
sys/dev/mpi3mr/mpi3mr.c
4946
csio->resid = cm->length - le32toh(xfer_count);
sys/dev/mpi3mr/mpi3mr.c
4991
returned_sense_len = min(le32toh(scsi_reply->SenseCount),
sys/dev/mpi3mr/mpi3mr_app.c
1518
sc->newest_seqnum = le32toh(pel_seq_num->Newest) + 1;
sys/dev/mpi3mr/mpi3mr_cam.c
1254
req->Flags = htole32(le32toh(req->Flags) | MPI3_SCSIIO_FLAGS_DIVERT_REASON_IO_THROTTLING);
sys/dev/mpi3mr/mpi3mr_cam.c
129
req->Flags = htole32(le32toh(req->Flags) |
sys/dev/mpr/mpr.c
1171
facts->IOCLogInfo = le32toh(facts->IOCLogInfo);
sys/dev/mpr/mpr.c
1174
facts->IOCCapabilities = le32toh(facts->IOCCapabilities);
sys/dev/mpr/mpr.c
2478
mpr_sas_log_info(sc, le32toh(mpi_reply->IOCLogInfo));
sys/dev/mpr/mpr.c
2560
(le32toh(desc->Words.High) == 0xffffffff))
sys/dev/mpr/mpr.c
2594
baddr = le32toh(desc->AddressReply.ReplyFrameAddress);
sys/dev/mpr/mpr.c
2650
le32toh(desc->AddressReply.
sys/dev/mpr/mpr_mapping.c
1174
device_info = le32toh(sas_device_pg0.DeviceInfo);
sys/dev/mpr/mpr_mapping.c
1175
sas_address = le32toh(sas_device_pg0.SASAddress.High);
sys/dev/mpr/mpr_mapping.c
1177
le32toh(sas_device_pg0.SASAddress.Low);
sys/dev/mpr/mpr_mapping.c
1349
port_change->device_info = le32toh(pcie_device_pg0.DeviceInfo);
sys/dev/mpr/mpr_mapping.c
153
le32toh(dpm_entry->PhysicalBitsMapping);
sys/dev/mpr/mpr_mapping.c
160
le32toh(dpm_entry->PhysicalBitsMapping);
sys/dev/mpr/mpr_mapping.c
2125
dpm_entry->PhysicalBitsMapping = le32toh(dpm_entry->
sys/dev/mpr/mpr_mapping.c
2254
phy_bits = le32toh(dpm_entry->PhysicalBitsMapping);
sys/dev/mpr/mpr_mapping.c
277
le32toh(phy_bits))))
sys/dev/mpr/mpr_mapping.c
2812
et_entry->phy_bits |= le32toh(event_data->PhyBits);
sys/dev/mpr/mpr_mapping.c
2879
et_entry->phy_bits = le32toh(event_data->PhyBits);
sys/dev/mpr/mpr_mapping.c
3043
flags = le32toh(event_data->Flags);
sys/dev/mpr/mpr_sas.c
1271
le16toh(reply->IOCStatus), le32toh(reply->ResponseCode),
sys/dev/mpr/mpr_sas.c
1272
le32toh(reply->TerminationCount));
sys/dev/mpr/mpr_sas.c
1370
le16toh(reply->IOCStatus), le32toh(reply->ResponseCode),
sys/dev/mpr/mpr_sas.c
1371
le32toh(reply->TerminationCount));
sys/dev/mpr/mpr_sas.c
1526
le16toh(reply->IOCStatus), le32toh(reply->ResponseCode),
sys/dev/mpr/mpr_sas.c
1527
le32toh(reply->TerminationCount));
sys/dev/mpr/mpr_sas.c
2176
u32 log_info = le32toh(mpi_reply->IOCLogInfo);
sys/dev/mpr/mpr_sas.c
2211
response_info = le32toh(mpi_reply->ResponseInfo);
sys/dev/mpr/mpr_sas.c
2477
rep->SCSIState, le32toh(rep->TransferCount));
sys/dev/mpr/mpr_sas.c
2489
le32toh(rep->TransferCount));
sys/dev/mpr/mpr_sas.c
2598
le32toh(rep->TransferCount));
sys/dev/mpr/mpr_sas.c
2602
csio->resid = cm->cm_length - le32toh(rep->TransferCount);
sys/dev/mpr/mpr_sas.c
2632
((le32toh(rep->ResponseInfo) & MPI2_SCSI_RI_MASK_REASONCODE)
sys/dev/mpr/mpr_sas.c
2660
returned_sense_len = min(le32toh(rep->SenseCount),
sys/dev/mpr/mpr_sas.c
2791
le32toh(rep->IOCLogInfo),
sys/dev/mpr/mpr_sas.c
2796
le32toh(rep->TransferCount));
sys/dev/mpr/mpr_sas.c
2811
le16toh(rep->IOCStatus), le32toh(rep->IOCLogInfo),
sys/dev/mpr/mpr_sas.c
2813
le32toh(rep->TransferCount));
sys/dev/mpr/mpr_sas.c
2892
sasaddr = le32toh(req->SASAddress.Low);
sys/dev/mpr/mpr_sas.c
2893
sasaddr |= ((uint64_t)(le32toh(req->SASAddress.High))) << 32;
sys/dev/mpr/mpr_sas.c
3297
__func__, le16toh(resp->IOCStatus), le32toh(resp->ResponseCode));
sys/dev/mpr/mpr_sas.c
3299
if (le32toh(resp->ResponseCode) == MPI2_SCSITASKMGMT_RSP_TM_COMPLETE) {
sys/dev/mpr/mpr_sas.c
375
le32toh(reply->TerminationCount));
sys/dev/mpr/mpr_sas.c
599
le32toh(reply->TerminationCount));
sys/dev/mpr/mpr_sas_lsi.c
1278
device_info = le32toh(config_page.DeviceInfo);
sys/dev/mpr/mpr_sas_lsi.c
1294
parent_devinfo = le32toh(parent_config_page.DeviceInfo);
sys/dev/mpr/mpr_sas_lsi.c
285
foreign_config = (le32toh(event_data->Flags) &
sys/dev/mpr/mpr_sas_lsi.c
470
"handle 0x%x", le32toh(event_data->PreviousValue),
sys/dev/mpr/mpr_sas_lsi.c
471
le32toh(event_data->NewValue),
sys/dev/mpr/mpr_sas_lsi.c
477
"handle 0x%x", le32toh(event_data->PreviousValue),
sys/dev/mpr/mpr_sas_lsi.c
478
le32toh(event_data->NewValue),
sys/dev/mpr/mpr_sas_lsi.c
484
"handle 0x%x", le32toh(event_data->PreviousValue),
sys/dev/mpr/mpr_sas_lsi.c
485
le32toh(event_data->NewValue),
sys/dev/mpr/mpr_sas_lsi.c
489
state = le32toh(event_data->NewValue);
sys/dev/mpr/mpr_sas_lsi.c
543
"%d", le32toh(event_data->PreviousValue),
sys/dev/mpr/mpr_sas_lsi.c
544
le32toh(event_data->NewValue),
sys/dev/mpr/mpr_sas_lsi.c
554
le32toh(event_data->PreviousValue),
sys/dev/mpr/mpr_sas_lsi.c
555
le32toh(event_data->NewValue),
sys/dev/mpr/mpr_sas_lsi.c
565
le32toh(event_data->PreviousValue),
sys/dev/mpr/mpr_sas_lsi.c
566
le32toh(event_data->NewValue),
sys/dev/mpr/mpr_sas_lsi.c
842
device_info = le32toh(config_page.DeviceInfo);
sys/dev/mpr/mpr_sas_lsi.c
861
parent_devinfo = le32toh(parent_config_page.DeviceInfo);
sys/dev/mpr/mpr_sas_lsi.c
942
targ->devname = le32toh(config_page.DeviceName.High);
sys/dev/mpr/mpr_sas_lsi.c
944
le32toh(config_page.DeviceName.Low);
sys/dev/mpr/mpr_table.c
345
mpr_print_field(sc, "DeviceInfo: %b,%s\n", le32toh(buf->DeviceInfo),
sys/dev/mpr/mpr_table.c
378
le32toh(data->DiscoveryStatus), "\20"
sys/dev/mpr/mpr_table.c
486
(le32toh(buf->PhyInfo) >> 16) & 0xf), le32toh(buf->PhyInfo));
sys/dev/mpr/mpr_table.c
488
le32toh(buf->AttachedDeviceInfo), "\20" "\4SATAhost" "\5SMPinit" "\6STPinit"
sys/dev/mpr/mpr_table.c
492
le32toh(buf->AttachedDeviceInfo) & 0x03));
sys/dev/mpr/mpr_table.c
504
le32toh(buf->AttachedPhyInfo) & 0xf), le32toh(buf->AttachedPhyInfo));
sys/dev/mpr/mpr_table.c
518
le32toh(buf->AttachedPhyInfo) & 0xf), le32toh(buf->AttachedPhyInfo));
sys/dev/mpr/mpr_table.c
529
(le32toh(buf->PhyInfo) >> 16) & 0xf), le32toh(buf->PhyInfo));
sys/dev/mpr/mpr_table.c
553
length = le32toh(ieee_sge->Length);
sys/dev/mpr/mpr_table.c
564
le32toh(ieee_sgc->Length),
sys/dev/mpr/mpr_table.c
577
flags = le32toh(sge->FlagsLength) >> MPI2_SGE_FLAGS_SHIFT;
sys/dev/mpr/mpr_table.c
579
flags, le32toh(sge->FlagsLength) & 0xffffff,
sys/dev/mpr/mpr_user.c
1098
MIN((le32toh(((MPI2_SCSI_IO_REPLY *)rpl)->
sys/dev/mpr/mpr_user.c
1138
sz = MIN(le32toh(nvme_error_reply->ErrorResponseCount),
sys/dev/mpr/mpr_user.c
1334
le16toh(reply->IOCStatus), le32toh(reply->IOCLogInfo),
sys/dev/mpr/mpr_user.c
1335
le32toh(reply->TransferLength));
sys/dev/mpr/mpr_user.c
1427
le32toh(reply->IOCLogInfo));
sys/dev/mpr/mpr_user.c
241
params.page_address = le32toh(page_req->page_address);
sys/dev/mpr/mpr_user.c
285
params.page_address = le32toh(page_req->page_address);
sys/dev/mpr/mpr_user.c
287
params.length = le32toh(page_req->len);
sys/dev/mpr/mpr_user.c
314
params.page_address = le32toh(ext_page_req->page_address);
sys/dev/mpr/mpr_user.c
354
params.page_address = le32toh(ext_page_req->page_address);
sys/dev/mpr/mpr_user.c
361
params.length = le32toh(ext_page_req->len);
sys/dev/mpr/mpr_user.c
402
params.page_address = le32toh(page_req->page_address);
sys/dev/mpr/mpr_user.c
404
params.length = le32toh(page_req->len);
sys/dev/mpr/mprvar.h
777
mpr_print_field((sc), #attr ": " #fmt "\n", le32toh((facts)->attr))
sys/dev/mpr/mprvar.h
789
return (((uint64_t)le32toh(data->High) << 32) | le32toh(data->Low));
sys/dev/mps/mps.c
2320
mps_sas_log_info(sc, le32toh(mpi_reply->IOCLogInfo));
sys/dev/mps/mps.c
2401
|| (le32toh(desc->Words.High) == 0xffffffff))
sys/dev/mps/mps.c
2433
baddr = le32toh(desc->AddressReply.ReplyFrameAddress);
sys/dev/mps/mps.c
2493
cm->cm_reply_data = le32toh(
sys/dev/mps/mps.c
2793
if (((le32toh(sge->FlagsLength) >> MPI2_SGE_FLAGS_SHIFT) &
sys/dev/mps/mps.c
2876
saved_buf_len = le32toh(sge->FlagsLength) & 0x00FFFFFF;
sys/dev/mps/mps_mapping.c
1136
device_info = le32toh(sas_device_pg0.DeviceInfo);
sys/dev/mps/mps_mapping.c
1137
sas_address = le32toh(sas_device_pg0.SASAddress.High);
sys/dev/mps/mps_mapping.c
1139
le32toh(sas_device_pg0.SASAddress.Low);
sys/dev/mps/mps_mapping.c
154
le32toh(dpm_entry->PhysicalBitsMapping);
sys/dev/mps/mps_mapping.c
161
le32toh(dpm_entry->PhysicalBitsMapping);
sys/dev/mps/mps_mapping.c
1676
dpm_entry->PhysicalBitsMapping = le32toh(dpm_entry->
sys/dev/mps/mps_mapping.c
1805
phy_bits = le32toh(dpm_entry->PhysicalBitsMapping);
sys/dev/mps/mps_mapping.c
2329
et_entry->phy_bits |= le32toh(event_data->PhyBits);
sys/dev/mps/mps_mapping.c
2391
et_entry->phy_bits = le32toh(event_data->PhyBits);
sys/dev/mps/mps_mapping.c
2505
flags = le32toh(event_data->Flags);
sys/dev/mps/mps_mapping.c
278
le32toh(phy_bits))))
sys/dev/mps/mps_sas.c
1214
le16toh(reply->IOCStatus), le32toh(reply->ResponseCode),
sys/dev/mps/mps_sas.c
1215
le32toh(reply->TerminationCount));
sys/dev/mps/mps_sas.c
1310
le16toh(reply->IOCStatus), le32toh(reply->ResponseCode),
sys/dev/mps/mps_sas.c
1311
le32toh(reply->TerminationCount));
sys/dev/mps/mps_sas.c
1448
le16toh(reply->IOCStatus), le32toh(reply->ResponseCode),
sys/dev/mps/mps_sas.c
1449
le32toh(reply->TerminationCount));
sys/dev/mps/mps_sas.c
1917
u32 log_info = le32toh(mpi_reply->IOCLogInfo);
sys/dev/mps/mps_sas.c
1948
response_info = le32toh(mpi_reply->ResponseInfo);
sys/dev/mps/mps_sas.c
2020
le32toh(rep->TransferCount));
sys/dev/mps/mps_sas.c
2032
le32toh(rep->TransferCount));
sys/dev/mps/mps_sas.c
2127
le32toh(rep->TransferCount));
sys/dev/mps/mps_sas.c
2145
csio->resid = cm->cm_length - le32toh(rep->TransferCount);
sys/dev/mps/mps_sas.c
2176
((le32toh(rep->ResponseInfo) &
sys/dev/mps/mps_sas.c
2205
returned_sense_len = min(le32toh(rep->SenseCount),
sys/dev/mps/mps_sas.c
2337
le32toh(rep->IOCLogInfo),
sys/dev/mps/mps_sas.c
2342
le32toh(rep->TransferCount));
sys/dev/mps/mps_sas.c
2357
le16toh(rep->IOCStatus), le32toh(rep->IOCLogInfo),
sys/dev/mps/mps_sas.c
2359
le32toh(rep->TransferCount));
sys/dev/mps/mps_sas.c
2700
sasaddr = le32toh(req->SASAddress.Low);
sys/dev/mps/mps_sas.c
2701
sasaddr |= ((uint64_t)(le32toh(req->SASAddress.High))) << 32;
sys/dev/mps/mps_sas.c
3110
le16toh(resp->IOCStatus), le32toh(resp->ResponseCode));
sys/dev/mps/mps_sas.c
3112
if (le32toh(resp->ResponseCode) == MPI2_SCSITASKMGMT_RSP_TM_COMPLETE) {
sys/dev/mps/mps_sas.c
567
le32toh(reply->TerminationCount));
sys/dev/mps/mps_sas_lsi.c
281
foreign_config = (le32toh(event_data->Flags) &
sys/dev/mps/mps_sas_lsi.c
394
"handle 0x%x", le32toh(event_data->PreviousValue),
sys/dev/mps/mps_sas_lsi.c
395
le32toh(event_data->NewValue),
sys/dev/mps/mps_sas_lsi.c
401
"handle 0x%x", le32toh(event_data->PreviousValue),
sys/dev/mps/mps_sas_lsi.c
402
le32toh(event_data->NewValue),
sys/dev/mps/mps_sas_lsi.c
408
"handle 0x%x", le32toh(event_data->PreviousValue),
sys/dev/mps/mps_sas_lsi.c
409
le32toh(event_data->NewValue),
sys/dev/mps/mps_sas_lsi.c
413
state = le32toh(event_data->NewValue);
sys/dev/mps/mps_sas_lsi.c
461
"%d", le32toh(event_data->PreviousValue),
sys/dev/mps/mps_sas_lsi.c
462
le32toh(event_data->NewValue),
sys/dev/mps/mps_sas_lsi.c
471
le32toh(event_data->PreviousValue),
sys/dev/mps/mps_sas_lsi.c
472
le32toh(event_data->NewValue), event_data->PhysDiskNum,
sys/dev/mps/mps_sas_lsi.c
480
le32toh(event_data->PreviousValue),
sys/dev/mps/mps_sas_lsi.c
481
le32toh(event_data->NewValue), event_data->PhysDiskNum,
sys/dev/mps/mps_sas_lsi.c
637
device_info = le32toh(config_page.DeviceInfo);
sys/dev/mps/mps_sas_lsi.c
656
parent_devinfo = le32toh(parent_config_page.DeviceInfo);
sys/dev/mps/mps_sas_lsi.c
738
targ->devname = le32toh(config_page.DeviceName.High);
sys/dev/mps/mps_sas_lsi.c
740
le32toh(config_page.DeviceName.Low);
sys/dev/mps/mps_table.c
529
flags = le32toh(sge->FlagsLength) >> MPI2_SGE_FLAGS_SHIFT;
sys/dev/mps/mps_table.c
531
i, flags, le32toh(sge->FlagsLength) & 0xffffff,
sys/dev/mps/mps_table.c
542
sgc->NextChainOffset, le32toh(sgc->Address));
sys/dev/mps/mps_user.c
1029
MIN((le32toh(((MPI2_SCSI_IO_REPLY *)rpl)->
sys/dev/mps/mps_user.c
1223
le16toh(reply->IOCStatus), le32toh(reply->IOCLogInfo),
sys/dev/mps/mps_user.c
1224
le32toh(reply->TransferLength));
sys/dev/mps/mps_user.c
1316
le32toh(reply->IOCLogInfo));
sys/dev/mps/mps_user.c
227
params.page_address = le32toh(page_req->page_address);
sys/dev/mps/mps_user.c
271
params.page_address = le32toh(page_req->page_address);
sys/dev/mps/mps_user.c
273
params.length = le32toh(page_req->len);
sys/dev/mps/mps_user.c
300
params.page_address = le32toh(ext_page_req->page_address);
sys/dev/mps/mps_user.c
340
params.page_address = le32toh(ext_page_req->page_address);
sys/dev/mps/mps_user.c
347
params.length = le32toh(ext_page_req->len);
sys/dev/mps/mps_user.c
388
params.page_address = le32toh(page_req->page_address);
sys/dev/mps/mps_user.c
390
params.length = le32toh(page_req->len);
sys/dev/mps/mpsvar.h
711
return (((uint64_t)le32toh(data->High) << 32) | le32toh(data->Low));
sys/dev/mpt/mpt.c
564
msg->IOCLogInfo = le32toh(msg->IOCLogInfo);
sys/dev/mpt/mpt.c
565
msg->Event = le32toh(msg->Event);
sys/dev/mpt/mpt.c
747
ctxt_idx = le32toh(reply_frame->MsgContext);
sys/dev/mpt/mpt.c
867
cb_index = MPT_CONTEXT_TO_CBI(le32toh(msg_hdr->MsgContext));
sys/dev/mpt/mpt.h
238
#define MPT_2_HOST32(ptr, tag) ptr->tag = le32toh(ptr->tag)
sys/dev/mpt/mpt_cam.c
2289
data0 = le32toh(msg->Data[0]);
sys/dev/mpt/mpt_cam.c
2290
data1 = le32toh(msg->Data[1]);
sys/dev/mpt/mpt_cam.c
2528
pde->DiscoveryStatus = le32toh(pde->DiscoveryStatus);
sys/dev/mpt/mpt_cam.c
2859
rctl = (le32toh(rp->Rctl_Did) & MPI_FC_RCTL_MASK) >> MPI_FC_RCTL_SHIFT;
sys/dev/mpt/mpt_cam.c
2860
type = (le32toh(rp->Type_Fctl) & MPI_FC_TYPE_MASK) >> MPI_FC_TYPE_SHIFT;
sys/dev/mpt/mpt_cam.c
2870
ioindex = le32toh(rp->TransactionContext);
sys/dev/mpt/mpt_cam.c
2880
le32toh(rp->Wwn.PortNameHigh),
sys/dev/mpt/mpt_cam.c
2881
le32toh(rp->Wwn.PortNameLow));
sys/dev/mpt/mpt_cam.c
2901
le32toh(rp->Wwn.PortNameHigh),
sys/dev/mpt/mpt_cam.c
2902
le32toh(rp->Wwn.PortNameLow));
sys/dev/mpt/mpt_cam.c
2924
ox_id, rx_id, le32toh(rp->Wwn.PortNameHigh),
sys/dev/mpt/mpt_cam.c
2925
le32toh(rp->Wwn.PortNameLow));
sys/dev/mpt/mpt_cam.c
3045
ccb->csio.dxfer_len - le32toh(scsi_io_reply->TransferCount);
sys/dev/mpt/mpt_cam.c
3053
sense_returned = le32toh(scsi_io_reply->SenseCount);
sys/dev/mpt/mpt_cam.c
5326
uint32_t cc = GET_IO_INDEX(le32toh(abtp->ReplyWord));
sys/dev/mpt/mpt_cam.c
5331
cc, le16toh(abtrp->IOCStatus), le32toh(abtrp->AbortCount));
sys/dev/mpt/mpt_cam.c
746
device_info->device_info = le32toh(buffer->DeviceInfo);
sys/dev/mpt/mpt_user.c
263
params.PageAddress = le32toh(page_req->page_address);
sys/dev/mpt/mpt_user.c
308
params.PageAddress = le32toh(page_req->page_address);
sys/dev/mpt/mpt_user.c
312
le32toh(page_req->len), TRUE, 5000);
sys/dev/mpt/mpt_user.c
346
params.PageAddress = le32toh(ext_page_req->page_address);
sys/dev/mpt/mpt_user.c
396
params.PageAddress = le32toh(ext_page_req->page_address);
sys/dev/mpt/mpt_user.c
402
le32toh(ext_page_req->len), TRUE, 5000);
sys/dev/mpt/mpt_user.c
458
params.PageAddress = le32toh(page_req->page_address);
sys/dev/mpt/mpt_user.c
467
le32toh(page_req->len), TRUE, 5000);
sys/dev/mpt/mpt_user.c
549
MPI_pSGE_SET_LENGTH(se, le32toh(raid_act->len));
sys/dev/mrsas/mrsas.c
1712
extStatus, le32toh(data_length), sense);
sys/dev/mrsas/mrsas.c
1742
extStatus, le32toh(data_length), sense);
sys/dev/mrsas/mrsas.c
2914
le32toh(req_desc_lo));
sys/dev/mrsas/mrsas.c
2916
le32toh(req_desc_hi));
sys/dev/mrsas/mrsas.c
2935
le32toh(req_desc_lo));
sys/dev/mrsas/mrsas.c
4096
if (le32toh(cmd->frame->dcmd.opcode) == MR_DCMD_CTRL_EVENT_WAIT)
sys/dev/mrsas/mrsas.c
4282
if (le32toh(pd_sync->count) > MAX_PHYSICAL_DEVICES) {
sys/dev/mrsas/mrsas.c
4616
if (le32toh(pd_list_mem->count) < pd_count) {
sys/dev/mrsas/mrsas.c
4619
for (pd_index = 0; pd_index < le32toh(pd_list_mem->count); pd_index++) {
sys/dev/mrsas/mrsas.c
4727
if (le32toh(ld_list_mem->ldCount) <= sc->fw_supported_vd_count) {
sys/dev/mrsas/mrsas.c
4728
sc->CurLdCount = le32toh(ld_list_mem->ldCount);
sys/dev/mrsas/mrsas.c
4730
for (ld_index = 0; ld_index < le32toh(ld_list_mem->ldCount); ld_index++) {
sys/dev/mrsas/mrsas.c
645
prev_aen.word = le32toh(sc->aen_cmd->frame->dcmd.mbox.w[1]);
sys/dev/mrsas/mrsas.h
160
#define le32_to_cpus(x) do { *((u_int32_t *)(x)) = le32toh((*(u_int32_t *)x)); } while (0)
sys/dev/mrsas/mrsas_fp.c
1237
if (le32toh(map->raidMap.ldSpanMap[ld].spanBlock[span].
sys/dev/mrsas/mrsas_fp.c
1245
span_set->diff = le32toh(quad->diff);
sys/dev/mrsas/mrsas_fp.c
1249
if (le32toh(map->raidMap.ldSpanMap[ld].spanBlock[count].
sys/dev/mrsas/mrsas_fp.c
1263
le64toh(quad->logStart)) + le32toh(quad->diff)),
sys/dev/mrsas/mrsas_fp.c
1264
le32toh(quad->diff));
sys/dev/mrsas/mrsas_fp.c
1279
(span_row * le32toh(quad->diff)) - 1;
sys/dev/mrsas/mrsas_fp.c
1297
(span_row * le32toh(quad->diff)) - 1;
sys/dev/mrsas/mrsas_fp.c
292
fw_map_dyn->raidMapSize, le32toh(fw_map_dyn->descTableOffset),
sys/dev/mrsas/mrsas_fp.c
296
le32toh(fw_map_dyn->descTableOffset));
sys/dev/mrsas/mrsas_fp.c
310
le32toh(fw_map_dyn->descTableOffset) +
sys/dev/mrsas/mrsas_fp.c
311
le32toh(fw_map_dyn->descTableSize);
sys/dev/mrsas/mrsas_fp.c
313
for (i = 0; i < le32toh(fw_map_dyn->descTableNumElements); ++i) {
sys/dev/mrsas/mrsas_fp.c
326
le32toh(desc_table->raidMapDescType), desc_table->raidMapDescOffset,
sys/dev/mrsas/mrsas_fp.c
327
le32toh(desc_table->raidMapDescElements), desc_table->raidMapDescBufferSize);
sys/dev/mrsas/mrsas_fp.c
329
switch (le32toh(desc_table->raidMapDescType)) {
sys/dev/mrsas/mrsas_fp.c
332
((char *)raid_map_data + le32toh(desc_table->raidMapDescOffset));
sys/dev/mrsas/mrsas_fp.c
338
sizeof(MR_DEV_HANDLE_INFO) * le32toh(desc_table->raidMapDescElements));
sys/dev/mrsas/mrsas_fp.c
343
le32toh(desc_table->raidMapDescOffset));
sys/dev/mrsas/mrsas_fp.c
348
for (j = 0; j < le32toh(desc_table->raidMapDescElements); j++) {
sys/dev/mrsas/mrsas_fp.c
358
le32toh(desc_table->raidMapDescOffset));
sys/dev/mrsas/mrsas_fp.c
364
sizeof(MR_ARRAY_INFO) * le32toh(desc_table->raidMapDescElements));
sys/dev/mrsas/mrsas_fp.c
368
le32toh(desc_table->raidMapDescOffset));
sys/dev/mrsas/mrsas_fp.c
371
le32toh(desc_table->raidMapDescElements));
sys/dev/mrsas/mrsas_fp.c
472
for (i = 0; i < le32toh(pFwRaidMap->ldCount); i++) {
sys/dev/mrsas/mrsas_fp.c
556
if (le32toh(pDrvRaidMap->totalSize) != expected_map_size) {
sys/dev/mrsas/mrsas_fp.c
559
device_printf(sc->mrsas_dev, "pDrvRaidMap->totalSize=%x\n", le32toh(pDrvRaidMap->totalSize));
sys/dev/mrsas/mrsas_fp.c
601
le32toh(map->raidMap.ldSpanMap[ld].spanBlock[span].
sys/dev/mrsas/mrsas_fp.c
631
element, le32toh(quad->diff));
sys/dev/mrsas/mrsas_fp.c
678
if (le32toh(map->raidMap.ldSpanMap[ld].spanBlock[span].
sys/dev/mrsas/mrsas_fp.c
690
le32toh(quad->diff))) == 0) {
sys/dev/mrsas/mrsas_fp.c
696
le32toh(quad->diff));
sys/dev/mrsas/mrsas_fp.c
744
if (le32toh(map->raidMap.ldSpanMap[ld].spanBlock[span].
sys/dev/mrsas/mrsas_fp.c
797
if (le32toh(map->raidMap.ldSpanMap[ld].spanBlock[span].
sys/dev/mrsas/mrsas_fp.c
804
le32toh(quad->diff)) == 0) {
sys/dev/mrsas/mrsas_fp.c
808
le32toh(quad->diff));
sys/dev/mrsas/mrsas_fp.c
857
if (le32toh(map->raidMap.ldSpanMap[ld].spanBlock[span].
sys/dev/msk/if_msk.c
3316
control = le32toh(cur_tx->msk_control);
sys/dev/msk/if_msk.c
3572
control = le32toh(sd->msk_control);
sys/dev/msk/if_msk.c
3577
status = le32toh(sd->msk_status);
sys/dev/mwl/if_mwl.c
3360
status = le32toh(ds->Status);
sys/dev/mwl/if_mwl.c
4491
uint32_t status = le32toh(ds->Status);
sys/dev/mwl/if_mwl.c
4495
ix, ds, (uintmax_t)bf->bf_daddr, le32toh(ds->pPhysNext),
sys/dev/mwl/if_mwl.c
4496
le32toh(ds->pPhysBuffData), ds->RxControl,
sys/dev/mwl/if_mwl.c
4507
uint32_t status = le32toh(ds->Status);
sys/dev/mwl/if_mwl.c
4512
le32toh(ds->pPhysNext),
sys/dev/mwl/if_mwl.c
4513
le32toh(ds->PktPtr), le16toh(ds->PktLen), status,
sys/dev/mwl/if_mwl.c
4518
le32toh(ds->SapPktInfo), le16toh(ds->Format));
sys/dev/mwl/if_mwl.c
4521
, le32toh(ds->multiframes)
sys/dev/mwl/if_mwl.c
4527
, le32toh(ds->PktPtrArray[0]), le32toh(ds->PktPtrArray[1])
sys/dev/mwl/if_mwl.c
4528
, le32toh(ds->PktPtrArray[2]), le32toh(ds->PktPtrArray[3])
sys/dev/mwl/if_mwl.c
4529
, le32toh(ds->PktPtrArray[4]), le32toh(ds->PktPtrArray[5])
sys/dev/mwl/mwlhal.c
1627
*mode = le32toh(pCmd->Option);
sys/dev/mwl/mwlhal.c
1628
*threshold = le32toh(pCmd->Threshold);
sys/dev/mwl/mwlhal.c
572
hw->wcbBase[0] = le32toh(pCmd->WcbBase0) & 0x0000ffff;
sys/dev/mwl/mwlhal.c
573
hw->wcbBase[1] = le32toh(pCmd->WcbBase1[0]) & 0x0000ffff;
sys/dev/mwl/mwlhal.c
574
hw->wcbBase[2] = le32toh(pCmd->WcbBase1[1]) & 0x0000ffff;
sys/dev/mwl/mwlhal.c
575
hw->wcbBase[3] = le32toh(pCmd->WcbBase1[2]) & 0x0000ffff;
sys/dev/mwl/mwlhal.c
576
hw->rxDescRead = le32toh(pCmd->RxPdRdPtr)& 0x0000ffff;
sys/dev/mwl/mwlhal.c
577
hw->rxDescWrite = le32toh(pCmd->RxPdWrPtr)& 0x0000ffff;
sys/dev/mwl/mwlhal.c
579
hw->fwReleaseNumber = le32toh(pCmd->FWReleaseNumber);
sys/dev/mwl/mwlhal.c
664
dp[i] = le32toh(sp[i]);
sys/dev/netmap/if_re_netmap.h
152
le32toh(sc->rl_ldata.rl_tx_list[nic_i].rl_cmdstat);
sys/dev/netmap/if_re_netmap.h
209
uint32_t rxstat = le32toh(cur_rx->rl_cmdstat);
sys/dev/nfe/if_nfe.c
2090
vtag = le32toh(desc64->physaddr[1]);
sys/dev/nfe/if_nfe.c
2205
vtag = le32toh(desc64->physaddr[1]);
sys/dev/nge/if_nge.c
1457
cmdsts = le32toh(cur_rx->nge_cmdsts);
sys/dev/nge/if_nge.c
1458
extsts = le32toh(cur_rx->nge_extsts);
sys/dev/nge/if_nge.c
1629
cmdsts = le32toh(cur_tx->nge_cmdsts);
sys/dev/nvme/nvme.h
2078
s->cdw0 = le32toh(s->cdw0);
sys/dev/nvme/nvme.h
2093
s->enlat = le32toh(s->enlat);
sys/dev/nvme/nvme.h
2094
s->exlat = le32toh(s->exlat);
sys/dev/nvme/nvme.h
2109
s->ver = le32toh(s->ver);
sys/dev/nvme/nvme.h
2110
s->rtd3r = le32toh(s->rtd3r);
sys/dev/nvme/nvme.h
2111
s->rtd3e = le32toh(s->rtd3e);
sys/dev/nvme/nvme.h
2112
s->oaes = le32toh(s->oaes);
sys/dev/nvme/nvme.h
2113
s->ctratt = le32toh(s->ctratt);
sys/dev/nvme/nvme.h
2122
s->hmpre = le32toh(s->hmpre);
sys/dev/nvme/nvme.h
2123
s->hmmin = le32toh(s->hmmin);
sys/dev/nvme/nvme.h
2124
s->rpmbs = le32toh(s->rpmbs);
sys/dev/nvme/nvme.h
2130
s->sanicap = le32toh(s->sanicap);
sys/dev/nvme/nvme.h
2131
s->hmminds = le32toh(s->hmminds);
sys/dev/nvme/nvme.h
2135
s->anagrpmax = le32toh(s->anagrpmax);
sys/dev/nvme/nvme.h
2136
s->nanagrpid = le32toh(s->nanagrpid);
sys/dev/nvme/nvme.h
2137
s->pels = le32toh(s->pels);
sys/dev/nvme/nvme.h
2139
s->nn = le32toh(s->nn);
sys/dev/nvme/nvme.h
2145
s->sgls = le32toh(s->sgls);
sys/dev/nvme/nvme.h
2146
s->mnan = le32toh(s->mnan);
sys/dev/nvme/nvme.h
2147
s->ioccsz = le32toh(s->ioccsz);
sys/dev/nvme/nvme.h
2148
s->iorcsz = le32toh(s->iorcsz);
sys/dev/nvme/nvme.h
2175
s->anagrpid = le32toh(s->anagrpid);
sys/dev/nvme/nvme.h
2179
s->lbaf[i] = le32toh(s->lbaf[i]);
sys/dev/nvme/nvme.h
2195
s->nsid = le32toh(s->nsid);
sys/dev/nvme/nvme.h
2235
s->warning_temp_time = le32toh(s->warning_temp_time);
sys/dev/nvme/nvme.h
2236
s->error_temp_time = le32toh(s->error_temp_time);
sys/dev/nvme/nvme.h
2239
s->tmt1tc = le32toh(s->tmt1tc);
sys/dev/nvme/nvme.h
2240
s->tmt2tc = le32toh(s->tmt2tc);
sys/dev/nvme/nvme.h
2241
s->ttftmt1 = le32toh(s->ttftmt1);
sys/dev/nvme/nvme.h
2242
s->ttftmt2 = le32toh(s->ttftmt2);
sys/dev/nvme/nvme.h
2253
s->ns[i] = le32toh(s->ns[i]);
sys/dev/nvme/nvme.h
2265
s->acs[i] = le32toh(s->acs[i]);
sys/dev/nvme/nvme.h
2267
s->iocs[i] = le32toh(s->iocs[i]);
sys/dev/nvme/nvme.h
2277
s->nsid = le32toh(s->nsid);
sys/dev/nvme/nvme.h
2288
s->scdw10 = le32toh(s->scdw10);
sys/dev/nvme/nvme.h
2289
s->etfo = le32toh(s->etfo);
sys/dev/nvme/nvme.h
2290
s->etfbe = le32toh(s->etfbe);
sys/dev/nvme/nvme.h
2291
s->etfce = le32toh(s->etfce);
sys/dev/nvme/nvme.h
2292
s->etfownd = le32toh(s->etfownd);
sys/dev/nvme/nvme.h
2293
s->etfbewnd = le32toh(s->etfbewnd);
sys/dev/nvme/nvme.h
2294
s->etfcewnd = le32toh(s->etfcewnd);
sys/dev/nvme/nvme.h
2305
s->gen = le32toh(s->gen);
sys/dev/nvme/nvme.h
2323
s->gen = le32toh(s->gen);
sys/dev/nvme/nvme.h
2344
s->result[r].nsid = le32toh(s->result[r].nsid);
sys/dev/nvme/nvme_ctrlr.c
1581
return (nvme_ctrlr_passthrough_cmd(ctrlr, pt, le32toh(pt->cmd.nsid),
sys/dev/nvme/nvme_qpair.c
68
cmd->cid, le32toh(cmd->nsid), le32toh(cmd->cdw10),
sys/dev/nvme/nvme_qpair.c
69
le32toh(cmd->cdw11));
sys/dev/nvme/nvme_qpair.c
88
qpair->id, cmd->cid, le32toh(cmd->nsid),
sys/dev/nvme/nvme_qpair.c
89
((unsigned long long)le32toh(cmd->cdw11) << 32) + le32toh(cmd->cdw10),
sys/dev/nvme/nvme_qpair.c
90
(le32toh(cmd->cdw12) & 0xFFFF) + 1);
sys/dev/nvme/nvme_qpair.c
95
qpair->id, cmd->cid, le32toh(cmd->nsid));
sys/dev/nvmf/controller/ctl_frontend_nvmf.c
131
if (lun_id >= le32toh(np->cdata.nn)) {
sys/dev/nvmf/controller/ctl_frontend_nvmf.c
133
np->cdata.subnqn, lun_id, le32toh(np->cdata.nn));
sys/dev/nvmf/controller/ctl_frontend_nvmf.c
194
if (lun_id >= le32toh(np->cdata.nn))
sys/dev/nvmf/controller/ctl_frontend_nvmf.c
273
io->io_hdr.nexus.targ_lun = le32toh(cmd->nsid) - 1;
sys/dev/nvmf/controller/nvmft_controller.c
1123
nsid = le32toh(nslist->ns[i]);
sys/dev/nvmf/controller/nvmft_controller.c
113
ioccsz = le32toh(ctrlr->cdata.ioccsz) * 16;
sys/dev/nvmf/controller/nvmft_controller.c
182
kato = le32toh(cmd->kato);
sys/dev/nvmf/controller/nvmft_controller.c
561
lid = le32toh(cmd->cdw10) & 0xff;
sys/dev/nvmf/controller/nvmft_controller.c
562
rae = (le32toh(cmd->cdw10) & (1U << 15)) != 0;
sys/dev/nvmf/controller/nvmft_controller.c
563
numd = le32toh(cmd->cdw10) >> 16 | le32toh(cmd->cdw11) << 16;
sys/dev/nvmf/controller/nvmft_controller.c
564
offset = le32toh(cmd->cdw12) | (uint64_t)le32toh(cmd->cdw13) << 32;
sys/dev/nvmf/controller/nvmft_controller.c
680
cns = le32toh(cmd->cdw10) & 0xFF;
sys/dev/nvmf/controller/nvmft_controller.c
711
nsid = le32toh(cmd->nsid);
sys/dev/nvmf/controller/nvmft_controller.c
747
fid = NVMEV(NVME_FEAT_SET_FID, le32toh(cmd->cdw10));
sys/dev/nvmf/controller/nvmft_controller.c
754
num_queues = le32toh(cmd->cdw11) & 0xffff;
sys/dev/nvmf/controller/nvmft_controller.c
761
if (le32toh(cmd->cdw11) >> 16 != num_queues)
sys/dev/nvmf/controller/nvmft_controller.c
794
aer_mask = le32toh(cmd->cdw11);
sys/dev/nvmf/controller/nvmft_controller.c
875
switch (le32toh(pget->ofst)) {
sys/dev/nvmf/controller/nvmft_controller.c
913
switch (le32toh(pset->ofst)) {
sys/dev/nvmf/controller/nvmft_controller.c
917
if (!update_cc(ctrlr, le32toh(pset->value.u32.low),
sys/dev/nvmf/host/nvmf.c
108
*value = le32toh(rsp->value.u32.low);
sys/dev/nvmf/host/nvmf_aer.c
175
cdw0 = le32toh(cqe->cdw0);
sys/dev/nvmf/host/nvmf_aer.c
73
nsid = le32toh(ns_list->ns[i]);
sys/dev/nvmf/nvmf_tcp.c
1144
needed = le32toh(ch.plen);
sys/dev/nvmf/nvmf_tcp.c
1682
if (tc->rx_pdu.data_len != le32toh(sgl->length)) {
sys/dev/nvmf/nvmf_tcp.c
1710
return (le32toh(nc->nc_sqe.sgl.length));
sys/dev/nvmf/nvmf_tcp.c
1772
data_len = le32toh(sgl->length);
sys/dev/nvmf/nvmf_tcp.c
1821
data_len = le32toh(sgl->length);
sys/dev/nvmf/nvmf_tcp.c
319
plen = le32toh(ch->plen);
sys/dev/nvmf/nvmf_tcp.c
645
if (le32toh(h2c->datal) > qp->maxh2cdata) {
sys/dev/nvmf/nvmf_tcp.c
689
data_len = le32toh(h2c->datal);
sys/dev/nvmf/nvmf_tcp.c
700
data_offset = le32toh(h2c->datao);
sys/dev/nvmf/nvmf_tcp.c
781
data_len = le32toh(c2h->datal);
sys/dev/nvmf/nvmf_tcp.c
792
data_offset = le32toh(c2h->datao);
sys/dev/nvmf/nvmf_tcp.c
962
data_offset = le32toh(r2t->r2to);
sys/dev/nvmf/nvmf_tcp.c
976
data_len = le32toh(r2t->r2tl);
sys/dev/nvmf/nvmf_tcp.h
42
plen = le32toh(ch->plen);
sys/dev/oce/oce_if.c
2251
req_size = le32toh(req.u0.req.request_length);
sys/dev/oce/oce_if.h
1124
#define HOST_32(x) le32toh(x)
sys/dev/otus/if_otus.c
1484
le32toh(tx->phy));
sys/dev/otus/if_otus.c
2634
tmp = le32toh(eep->antCtrlCommon);
sys/dev/otus/if_otus.c
2637
tmp = le32toh(eep->antCtrlChain[0]);
sys/dev/otus/if_otus.c
2640
tmp = le32toh(eep->antCtrlChain[1]);
sys/dev/otus/if_otus.c
2932
"status=0x%x\n", le32toh(rsp.status));
sys/dev/otus/if_otus.c
2939
le32toh(rsp.status));
sys/dev/otus/if_otus.c
2944
(((int32_t)le32toh(rsp.nf[i])) << 4) >> 23);
sys/dev/otus/if_otus.c
2947
((int32_t)le32toh(rsp.nf_ext[i])) >> 23);
sys/dev/otus/if_otus.c
2952
sc->sc_nf[i] = ((((int32_t)le32toh(rsp.nf[i])) << 4) >> 23);
sys/dev/pci/controller/pci_n1sdp.c
293
data = le32toh(data);
sys/dev/pci/pci.c
1107
vrs->val = le32toh(reg);
sys/dev/pci/pci_host_generic.c
323
data = le32toh(bus_read_4(sc->res, offset));
sys/dev/qlnx/qlnxe/bcm_osal.h
124
#define OSAL_LE32_TO_CPU(val) le32toh(val)
sys/dev/qlnx/qlnxe/qlnx_def.h
163
#define BD_UNMAP_ADDR(bd) HILO_U64(le32toh((bd)->addr.hi), \
sys/dev/qlnx/qlnxe/qlnx_def.h
164
le32toh((bd)->addr.lo))
sys/dev/qlxgb/qla_os.h
128
#define qla_le32_to_host(x) le32toh(x)
sys/dev/qlxgbe/ql_os.h
138
#define qla_le32_to_host(x) le32toh(x)
sys/dev/qlxge/qls_os.h
130
#define qla_le32_to_host(x) le32toh(x)
sys/dev/ral/rt2560.c
1019
flags = le32toh(desc->flags);
sys/dev/ral/rt2560.c
1109
if ((le32toh(desc->flags) & RT2560_RX_BUSY) ||
sys/dev/ral/rt2560.c
1110
(le32toh(desc->flags) & RT2560_RX_CIPHER_BUSY))
sys/dev/ral/rt2560.c
1118
if ((le32toh(desc->flags) & RT2560_RX_CIPHER_MASK) != 0 &&
sys/dev/ral/rt2560.c
1119
(le32toh(desc->flags) & RT2560_RX_ICV_ERROR)) {
sys/dev/ral/rt2560.c
1170
(le32toh(desc->flags) >> 16) & 0xfff;
sys/dev/ral/rt2560.c
1235
if ((le32toh(desc->flags) & RT2560_RX_BUSY) ||
sys/dev/ral/rt2560.c
1236
(le32toh(desc->flags) & RT2560_RX_CIPHER_BUSY))
sys/dev/ral/rt2560.c
1241
if ((le32toh(desc->flags) & RT2560_RX_PHY_ERROR) ||
sys/dev/ral/rt2560.c
1242
(le32toh(desc->flags) & RT2560_RX_CRC_ERROR)) {
sys/dev/ral/rt2560.c
1248
le32toh(desc->flags));
sys/dev/ral/rt2560.c
1252
if (((le32toh(desc->flags) >> 16) & 0xfff) > MCLBYTES) {
sys/dev/ral/rt2560.c
880
if ((le32toh(desc->flags) & RT2560_TX_BUSY) ||
sys/dev/ral/rt2560.c
881
(le32toh(desc->flags) & RT2560_TX_CIPHER_BUSY))
sys/dev/ral/rt2560.c
885
if ((le32toh(desc->flags) & RT2560_TX_CIPHER_MASK) ==
sys/dev/ral/rt2560.c
926
flags = le32toh(desc->flags);
sys/dev/ral/rt2661.c
1044
(le32toh(desc->flags) >> 16) & 0xfff;
sys/dev/ral/rt2661.c
937
if ((le32toh(desc->flags) & RT2661_TX_BUSY) ||
sys/dev/ral/rt2661.c
938
!(le32toh(desc->flags) & RT2661_TX_VALID))
sys/dev/ral/rt2661.c
978
if (le32toh(desc->flags) & RT2661_RX_BUSY)
sys/dev/ral/rt2661.c
981
if ((le32toh(desc->flags) & RT2661_RX_PHY_ERROR) ||
sys/dev/ral/rt2661.c
982
(le32toh(desc->flags) & RT2661_RX_CRC_ERROR)) {
sys/dev/ral/rt2661.c
988
le32toh(desc->flags));
sys/dev/ral/rt2661.c
993
if ((le32toh(desc->flags) & RT2661_RX_CIPHER_MASK) != 0) {
sys/dev/re/if_re.c
2196
rxstat = le32toh(cur_rx->rl_cmdstat);
sys/dev/re/if_re.c
2200
rxvlan = le32toh(cur_rx->rl_vlanctl);
sys/dev/re/if_re.c
2432
txstat = le32toh(sc->rl_ldata.rl_tx_list[cons].rl_cmdstat);
sys/dev/re/if_re.c
4050
le32toh(stats->rl_rx_errs));
sys/dev/re/if_re.c
4056
le32toh(stats->rl_tx_onecoll));
sys/dev/re/if_re.c
4058
le32toh(stats->rl_tx_multicolls));
sys/dev/re/if_re.c
4064
le32toh(stats->rl_rx_mcasts));
sys/dev/re/if_re.c
888
rxstat = le32toh(cur_rx->rl_cmdstat);
sys/dev/rge/if_rge.c
2133
rxstat = le32toh(cur_rx->hi_qword1.rx_qword4.rge_cmdsts);
sys/dev/rge/if_rge.c
2228
extsts = le32toh(cur_rx->hi_qword1.rx_qword4.rge_extsts);
sys/dev/rl/if_rl.c
1142
rxstat = le32toh(*(uint32_t *)rxbufpos);
sys/dev/rl/if_rlreg.h
787
#define RL_OWN(x) (le32toh((x)->rl_cmdstat) & RL_RDESC_STAT_OWN)
sys/dev/rl/if_rlreg.h
788
#define RL_RXBYTES(x) (le32toh((x)->rl_cmdstat) & sc->rl_rxlenmask)
sys/dev/rtwn/if_rtwn_rx.c
253
rxdw3 = le32toh(stat->rxdw3);
sys/dev/rtwn/if_rtwn_rx.c
254
tsfl = le32toh(stat->tsf_low);
sys/dev/rtwn/if_rtwn_rx.c
305
rxdw0 = le32toh(stat->rxdw0);
sys/dev/rtwn/if_rtwn_rx.c
355
rxs.c_rx_tsf = le32toh(stat->tsf_low);
sys/dev/rtwn/pci/rtwn_pci_reg.c
107
return le32toh(val);
sys/dev/rtwn/pci/rtwn_pci_rx.c
100
le32toh(rx_desc->rxdw2), le32toh(rx_desc->rxdw3),
sys/dev/rtwn/pci/rtwn_pci_rx.c
101
le32toh(rx_desc->rxdw4), le32toh(rx_desc->tsf_low),
sys/dev/rtwn/pci/rtwn_pci_rx.c
102
le32toh(rx_desc->rxbufaddr), le32toh(rx_desc->rxbufaddr64));
sys/dev/rtwn/pci/rtwn_pci_rx.c
104
rxdw0 = le32toh(rx_desc->rxdw0);
sys/dev/rtwn/pci/rtwn_pci_rx.c
198
rxdw0 = le32toh(rx_desc->rxdw0);
sys/dev/rtwn/pci/rtwn_pci_rx.c
359
if (le32toh(rx_desc->rxdw0) & RTWN_RXDW0_OWN)
sys/dev/rtwn/pci/rtwn_pci_rx.c
394
if (le32toh(rx_desc->rxdw0) & RTWN_RXDW0_OWN)
sys/dev/rtwn/pci/rtwn_pci_rx.c
99
__func__, le32toh(rx_desc->rxdw0), le32toh(rx_desc->rxdw1),
sys/dev/rtwn/rtl8188e/r88e_rx.c
257
mac_bitmap = ((uint64_t) le32toh(rxs->tsf_low) << 32)
sys/dev/rtwn/rtl8188e/r88e_rx.c
258
| le32toh(rxs->rxdw4);
sys/dev/rtwn/rtl8188e/r88e_rx.c
60
int report_sel = MS(le32toh(stat->rxdw3), R88E_RXDW3_RPT);
sys/dev/rtwn/rtl8192c/pci/r92ce_tx.c
104
le32toh(txd->txdw1), le32toh(txd->txdw2), le16toh(txd->txdw3),
sys/dev/rtwn/rtl8192c/pci/r92ce_tx.c
105
le16toh(txd->txdseq), le32toh(txd->txdw4), le32toh(txd->txdw5),
sys/dev/rtwn/rtl8192c/pci/r92ce_tx.c
106
le32toh(txd->txdw6), le16toh(txd->txbufsize), le16toh(txd->pad),
sys/dev/rtwn/rtl8192c/pci/r92ce_tx.c
107
le32toh(txd->txbufaddr), le32toh(txd->txbufaddr64),
sys/dev/rtwn/rtl8192c/pci/r92ce_tx.c
108
le32toh(txd->nextdescaddr), le32toh(txd->nextdescaddr64),
sys/dev/rtwn/rtl8192c/pci/r92ce_tx.c
109
le32toh(txd->reserved[0]), le32toh(txd->reserved[1]),
sys/dev/rtwn/rtl8192c/pci/r92ce_tx.c
110
le32toh(txd->reserved[2]), le32toh(txd->reserved[3]));
sys/dev/rtwn/rtl8192c/r92c_rx.c
100
rate = MS(le32toh(stat->rxdw3), R92C_RXDW3_RATE);
sys/dev/rtwn/rtl8192c/r92c_rx.c
116
rxdw1 = le32toh(stat->rxdw1);
sys/dev/rtwn/rtl8192c/r92c_rx.c
117
rxdw3 = le32toh(stat->rxdw3);
sys/dev/rtwn/rtl8192c/usb/r92cu_tx.c
57
le32toh(txd->txdw1), le32toh(txd->txdw2), le16toh(txd->txdw3),
sys/dev/rtwn/rtl8192c/usb/r92cu_tx.c
58
le16toh(txd->txdseq), le32toh(txd->txdw4), le32toh(txd->txdw5),
sys/dev/rtwn/rtl8192c/usb/r92cu_tx.c
59
le32toh(txd->txdw6), le16toh(txd->txdsum), le16toh(txd->pad));
sys/dev/rtwn/rtl8812a/r12a_rx.c
185
rxdw1 = le32toh(stat->rxdw1);
sys/dev/rtwn/rtl8812a/r12a_rx.c
224
rate = MS(le32toh(stat->rxdw3), R12A_RXDW3_RATE);
sys/dev/rtwn/rtl8812a/r12a_rx.c
241
rxdw0 = le32toh(stat->rxdw0);
sys/dev/rtwn/rtl8812a/r12a_rx.c
242
rxdw1 = le32toh(stat->rxdw1);
sys/dev/rtwn/rtl8812a/r12a_rx.c
243
rxdw3 = le32toh(stat->rxdw3);
sys/dev/rtwn/rtl8812a/r12a_rx.c
244
rxdw4 = le32toh(stat->rxdw4);
sys/dev/rtwn/rtl8812a/r12a_tx.c
532
rate = MS(le32toh(txd->txdw4), R12A_TXDW4_DATARATE);
sys/dev/rtwn/rtl8812a/usb/r12au_rx.c
63
uint32_t rxdw2 = le32toh(stat->rxdw2);
sys/dev/rtwn/rtl8812a/usb/r12au_tx.c
67
le32toh(txd->txdw1), le32toh(txd->txdw2), le32toh(txd->txdw3),
sys/dev/rtwn/rtl8812a/usb/r12au_tx.c
68
le32toh(txd->txdw4), le32toh(txd->txdw5), le32toh(txd->txdw6),
sys/dev/rtwn/rtl8812a/usb/r12au_tx.c
69
le16toh(txd->txdsum), le16toh(txd->flags7), le32toh(txd->txdw8),
sys/dev/rtwn/rtl8812a/usb/r12au_tx.c
70
le32toh(txd->txdw9));
sys/dev/rtwn/usb/rtwn_usb_reg.c
161
return (le32toh(val));
sys/dev/rtwn/usb/rtwn_usb_rx.c
120
__func__, le32toh(stat->rxdw0), le32toh(stat->rxdw1),
sys/dev/rtwn/usb/rtwn_usb_rx.c
121
le32toh(stat->rxdw2), le32toh(stat->rxdw3), le32toh(stat->rxdw4),
sys/dev/rtwn/usb/rtwn_usb_rx.c
122
le32toh(stat->tsf_low));
sys/dev/rtwn/usb/rtwn_usb_rx.c
184
"tsfl %08X\n", __func__, le32toh(stat->rxdw0),
sys/dev/rtwn/usb/rtwn_usb_rx.c
185
le32toh(stat->rxdw1), le32toh(stat->rxdw2),
sys/dev/rtwn/usb/rtwn_usb_rx.c
186
le32toh(stat->rxdw3), le32toh(stat->rxdw4),
sys/dev/rtwn/usb/rtwn_usb_rx.c
187
le32toh(stat->tsf_low));
sys/dev/rtwn/usb/rtwn_usb_rx.c
190
rxdw0 = le32toh(stat->rxdw0);
sys/dev/rtwn/usb/rtwn_usb_rx.c
260
rxdw0 = le32toh(stat->rxdw0);
sys/dev/rtwn/usb/rtwn_usb_rx.c
83
rxdw0 = le32toh(stat->rxdw0);
sys/dev/sdio/sdio_subr.c
214
return (le32toh(v));
sys/dev/sfxge/common/efsys.h
1104
*(_knp) = le32toh((_valp)->ed_u32[0]); \
sys/dev/sge/if_sge.c
1153
rxinfo = le32toh(cur_rx->sge_cmdsts);
sys/dev/sge/if_sge.c
1156
rxstat = le32toh(cur_rx->sge_sts_size);
sys/dev/sge/if_sge.c
1244
txstat = le32toh(ld->sge_tx_ring[cons].sge_cmdsts);
sys/dev/sis/if_sis.c
1502
rxstat = le32toh(cur_rx->sis_cmdsts);
sys/dev/sis/if_sis.c
1586
txstat = le32toh(cur_tx->sis_cmdsts);
sys/dev/sk/if_sk.c
2650
sk_ctl = le32toh(cur_rx->sk_ctl);
sys/dev/sk/if_sk.c
2654
rxstat = le32toh(cur_rx->sk_xmac_rxstat);
sys/dev/sk/if_sk.c
2668
csum = le32toh(cur_rx->sk_csum);
sys/dev/sk/if_sk.c
2717
sk_ctl = le32toh(cur_rx->sk_ctl);
sys/dev/sk/if_sk.c
2721
rxstat = le32toh(cur_rx->sk_xmac_rxstat);
sys/dev/sk/if_sk.c
2735
csum = le32toh(cur_rx->sk_csum);
sys/dev/sk/if_sk.c
2783
sk_ctl = le32toh(cur_tx->sk_ctl);
sys/dev/sound/pci/hda/hdac.c
980
resp = le32toh(rirb->response);
sys/dev/sound/pci/hda/hdac.c
981
resp_ex = le32toh(rirb->response_ex);
sys/dev/ste/if_ste.c
606
rxstat = le32toh(cur_rx->ste_ptr->ste_status);
sys/dev/ste/if_ste.c
783
txstat = le32toh(cur_tx->ste_ptr->ste_ctl);
sys/dev/sume/if_sume.c
847
if (le32toh(data->rtag) != send->rtag)
sys/dev/sume/if_sume.c
849
le32toh(data->rtag), send->rtag);
sys/dev/sume/if_sume.c
851
sifr->val = le32toh(data->val);
sys/dev/sym/sym_hipd.c
835
#define scr_to_cpu(dw) le32toh(dw)
sys/dev/thunderbolt/nhi_var.h
248
return (le32toh(bus_space_read_4(sc->regs_btag, sc->regs_bhandle,
sys/dev/tpm/tpm_spibus.c
139
rx_word = le32toh(rx_word);
sys/dev/usb/controller/ehci.h
407
return sc->sc_flags & EHCI_SCFLG_BIGEDESC ? be32toh(v) : le32toh(v);
sys/dev/usb/controller/ehci.h
434
return le32toh(v);
sys/dev/usb/controller/ohci.c
1032
ed_headp = le32toh(ed->ed_headp);
sys/dev/usb/controller/ohci.c
1033
ed_tailp = le32toh(ed->ed_tailp);
sys/dev/usb/controller/ohci.c
1123
done = le32toh(hcca->hcca_done_head);
sys/dev/usb/controller/ohci.c
1838
nframes = le32toh(hcca->hcca_frame_number);
sys/dev/usb/controller/ohci.c
525
le32toh(hcca->hcca_frame_number),
sys/dev/usb/controller/ohci.c
526
le32toh(hcca->hcca_done_head));
sys/dev/usb/controller/ohci.c
546
td_flags = le32toh(std->td_flags);
sys/dev/usb/controller/ohci.c
551
std, le32toh(std->td_self),
sys/dev/usb/controller/ohci.c
560
le32toh(std->td_cbp),
sys/dev/usb/controller/ohci.c
561
le32toh(std->td_next),
sys/dev/usb/controller/ohci.c
562
le32toh(std->td_be));
sys/dev/usb/controller/ohci.c
576
itd_flags = le32toh(sitd->itd_flags);
sys/dev/usb/controller/ohci.c
581
sitd, le32toh(sitd->itd_self),
sys/dev/usb/controller/ohci.c
586
le32toh(sitd->itd_bp0),
sys/dev/usb/controller/ohci.c
587
le32toh(sitd->itd_next),
sys/dev/usb/controller/ohci.c
588
le32toh(sitd->itd_be));
sys/dev/usb/controller/ohci.c
616
ed_flags = le32toh(sed->ed_flags);
sys/dev/usb/controller/ohci.c
617
ed_headp = le32toh(sed->ed_headp);
sys/dev/usb/controller/ohci.c
621
sed, le32toh(sed->ed_self),
sys/dev/usb/controller/ohci.c
630
le32toh(sed->ed_tailp),
sys/dev/usb/controller/ohci.c
633
le32toh(sed->ed_headp),
sys/dev/usb/controller/ohci.c
634
le32toh(sed->ed_next));
sys/dev/usb/controller/ohci.c
818
phy_start = le32toh(td->td_cbp);
sys/dev/usb/controller/ohci.c
819
td_flags = le32toh(td->td_flags);
sys/dev/usb/controller/ohci.c
827
phy_end = le32toh(td->td_be);
sys/dev/usb/controller/ohci.c
952
phy_start = le32toh(td->td_cbp);
sys/dev/usb/controller/ohci.c
953
td_flags = le32toh(td->td_flags);
sys/dev/usb/controller/ohci.c
954
td_next = le32toh(td->td_next);
sys/dev/usb/controller/uhci.c
1032
status = le32toh(td->td_status);
sys/dev/usb/controller/uhci.c
1082
status = le32toh(td->td_status);
sys/dev/usb/controller/uhci.c
1083
token = le32toh(td->td_token);
sys/dev/usb/controller/uhci.c
1307
status = le32toh(td->td_status);
sys/dev/usb/controller/uhci.c
1314
status |= le32toh(td->td_status);
sys/dev/usb/controller/uhci.c
1332
status = le32toh(td->td_status);
sys/dev/usb/controller/uhci.c
731
td_next = le32toh(p->td_next);
sys/dev/usb/controller/uhci.c
732
td_status = le32toh(p->td_status);
sys/dev/usb/controller/uhci.c
733
td_token = le32toh(p->td_token);
sys/dev/usb/controller/uhci.c
744
le32toh(p->td_self),
sys/dev/usb/controller/uhci.c
748
le32toh(p->td_buffer));
sys/dev/usb/controller/uhci.c
787
qh_h_next = le32toh(sqh->qh_h_next);
sys/dev/usb/controller/uhci.c
788
qh_e_next = le32toh(sqh->qh_e_next);
sys/dev/usb/controller/uhci.c
791
le32toh(sqh->qh_self), qh_h_next, qh_e_next);
sys/dev/usb/controller/xhci.c
1024
temp = le32toh(td->td_trb[i].dwTrb2);
sys/dev/usb/controller/xhci.c
1141
temp = le32toh(phwr->hwr_events[i].dwTrb3);
sys/dev/usb/controller/xhci.c
1152
(long)le32toh(phwr->hwr_events[i].dwTrb2),
sys/dev/usb/controller/xhci.c
1153
(long)le32toh(phwr->hwr_events[i].dwTrb3));
sys/dev/usb/controller/xhci.c
1230
i, XHCI_TRB_3_TYPE_GET(le32toh(trb->dwTrb3)),
sys/dev/usb/controller/xhci.c
1232
(long)le32toh(trb->dwTrb2),
sys/dev/usb/controller/xhci.c
1233
(long)le32toh(trb->dwTrb3));
sys/dev/usb/controller/xhci.c
1306
temp = le32toh(trb->dwTrb3);
sys/dev/usb/controller/xhci.c
1328
temp = le32toh(sc->sc_cmd_result[0]);
sys/dev/usb/controller/xhci.c
1377
temp = le32toh(trb.dwTrb3);
sys/dev/usb/controller/xhci.c
1508
temp = le32toh(sc->sc_cmd_result[0]);
sys/dev/usb/controller/xhci.c
1529
temp = le32toh(slot->dwSctx3);
sys/dev/usb/controller/xhci.c
184
DPRINTFN(5, "dwTrb2 = 0x%08x\n", le32toh(trb->dwTrb2));
sys/dev/usb/controller/xhci.c
185
DPRINTFN(5, "dwTrb3 = 0x%08x\n", le32toh(trb->dwTrb3));
sys/dev/usb/controller/xhci.c
192
DPRINTFN(5, "dwEpCtx0=0x%08x\n", le32toh(pep->dwEpCtx0));
sys/dev/usb/controller/xhci.c
193
DPRINTFN(5, "dwEpCtx1=0x%08x\n", le32toh(pep->dwEpCtx1));
sys/dev/usb/controller/xhci.c
195
DPRINTFN(5, "dwEpCtx4=0x%08x\n", le32toh(pep->dwEpCtx4));
sys/dev/usb/controller/xhci.c
196
DPRINTFN(5, "dwEpCtx5=0x%08x\n", le32toh(pep->dwEpCtx5));
sys/dev/usb/controller/xhci.c
197
DPRINTFN(5, "dwEpCtx6=0x%08x\n", le32toh(pep->dwEpCtx6));
sys/dev/usb/controller/xhci.c
198
DPRINTFN(5, "dwEpCtx7=0x%08x\n", le32toh(pep->dwEpCtx7));
sys/dev/usb/controller/xhci.c
205
DPRINTFN(5, "dwSctx0=0x%08x\n", le32toh(psl->dwSctx0));
sys/dev/usb/controller/xhci.c
206
DPRINTFN(5, "dwSctx1=0x%08x\n", le32toh(psl->dwSctx1));
sys/dev/usb/controller/xhci.c
207
DPRINTFN(5, "dwSctx2=0x%08x\n", le32toh(psl->dwSctx2));
sys/dev/usb/controller/xhci.c
208
DPRINTFN(5, "dwSctx3=0x%08x\n", le32toh(psl->dwSctx3));
sys/dev/usb/controller/xhci.c
2381
temp = le32toh(slot->dwSctx0);
sys/dev/usb/controller/xhci.c
3840
temp = le32toh(endp->dwEpCtx0);
sys/dev/usb/controller/xhci.c
953
temp = le32toh(trb->dwTrb2);
sys/dev/usb/controller/xhci.c
958
temp = le32toh(trb->dwTrb3);
sys/dev/usb/net/if_axge.c
1013
pkt_hdr.status = le32toh(pkt_hdr.status);
sys/dev/usb/net/if_axge.c
978
rxhdr = le32toh(rxhdr);
sys/dev/usb/net/if_muge.c
1200
rx_cmd_a = le32toh(rx_cmd_a);
sys/dev/usb/net/if_muge.c
1207
rx_cmd_b = le32toh(rx_cmd_b);
sys/dev/usb/net/if_muge.c
292
*data = le32toh(buf);
sys/dev/usb/net/if_muge.c
682
val = le32toh(val);
sys/dev/usb/net/if_smsc.c
281
*data = le32toh(buf);
sys/dev/usb/net/if_smsc.c
466
val = le32toh(val);
sys/dev/usb/net/if_smsc.c
986
rxhdr = le32toh(rxhdr);
sys/dev/usb/net/if_umb.c
1231
if (len < sizeof (*hdr) || le32toh(hdr->len) != len) {
sys/dev/usb/net/if_umb.c
1247
type = le32toh(hdr->type);
sys/dev/usb/net/if_umb.c
1252
if (le32toh(fraghdr->frag.nfrag) != 1) {
sys/dev/usb/net/if_umb.c
1262
le32toh(hdr->tid));
sys/dev/usb/net/if_umb.c
1272
err = le32toh(e->err);
sys/dev/usb/net/if_umb.c
1276
umb_error2str(err), le32toh(hdr->tid));
sys/dev/usb/net/if_umb.c
1310
umb_request2str(le32toh(m->hdr.type)));
sys/dev/usb/net/if_umb.c
1315
umb_request2str(le32toh(m->hdr.type)),
sys/dev/usb/net/if_umb.c
1319
infolen = le32toh(m->infolen);
sys/dev/usb/net/if_umb.c
1322
umb_request2str(le32toh(m->hdr.type)),
sys/dev/usb/net/if_umb.c
1327
cid = le32toh(m->cid);
sys/dev/usb/net/if_umb.c
1339
status = le32toh(resp->status);
sys/dev/usb/net/if_umb.c
1361
status = le32toh(resp->status);
sys/dev/usb/net/if_umb.c
1374
offs = le32toh(offs);
sys/dev/usb/net/if_umb.c
1375
sz = le32toh(sz);
sys/dev/usb/net/if_umb.c
1435
sc->sc_info.nwerror = le32toh(rs->nwerror);
sys/dev/usb/net/if_umb.c
1436
sc->sc_info.regstate = le32toh(rs->regstate);
sys/dev/usb/net/if_umb.c
1437
sc->sc_info.regmode = le32toh(rs->regmode);
sys/dev/usb/net/if_umb.c
1438
sc->sc_info.cellclass = le32toh(rs->curcellclass);
sys/dev/usb/net/if_umb.c
1448
le32toh(rs->availclasses), sc->sc_info.cellclass,
sys/dev/usb/net/if_umb.c
1470
sc->sc_maxsessions = le32toh(dc->max_sessions);
sys/dev/usb/net/if_umb.c
1471
sc->sc_info.supportedclasses = le32toh(dc->dataclass);
sys/dev/usb/net/if_umb.c
1492
sc->sc_info.sim_state = le32toh(si->ready);
sys/dev/usb/net/if_umb.c
1499
npn = le32toh(si->no_pn);
sys/dev/usb/net/if_umb.c
1526
(le32toh(rs->hw_state) == MBIM_RADIO_STATE_ON) ? 1 : 0;
sys/dev/usb/net/if_umb.c
1528
(le32toh(rs->sw_state) == MBIM_RADIO_STATE_ON) ? 1 : 0;
sys/dev/usb/net/if_umb.c
1556
attempts_left = le32toh(pi->remaining_attempts);
sys/dev/usb/net/if_umb.c
1560
switch (le32toh(pi->state)) {
sys/dev/usb/net/if_umb.c
1565
switch (le32toh(pi->type)) {
sys/dev/usb/net/if_umb.c
1582
DEVNAM(sc), umb_pin_type(le32toh(pi->type)),
sys/dev/usb/net/if_umb.c
1583
(le32toh(pi->state) == MBIM_PIN_STATE_UNLOCKED) ?
sys/dev/usb/net/if_umb.c
1585
le32toh(pi->remaining_attempts));
sys/dev/usb/net/if_umb.c
1607
sc->sc_info.nwerror = le32toh(psi->nwerror);
sys/dev/usb/net/if_umb.c
1608
state = le32toh(psi->state);
sys/dev/usb/net/if_umb.c
1609
highestclass = le32toh(psi->highest_dataclass);
sys/dev/usb/net/if_umb.c
1669
if (le32toh(ss->rssi) == 99)
sys/dev/usb/net/if_umb.c
1672
rssi = -113 + 2 * le32toh(ss->rssi);
sys/dev/usb/net/if_umb.c
1678
sc->sc_info.ber = le32toh(ss->err_rate);
sys/dev/usb/net/if_umb.c
1694
if (le32toh(ci->sessionid) != umb_session_id) {
sys/dev/usb/net/if_umb.c
1696
le32toh(ci->sessionid));
sys/dev/usb/net/if_umb.c
1704
act = le32toh(ci->activation);
sys/dev/usb/net/if_umb.c
1710
le32toh(ci->iptype) != MBIM_CONTEXT_IPTYPE_DEFAULT &&
sys/dev/usb/net/if_umb.c
1711
le32toh(ci->iptype) != MBIM_CONTEXT_IPTYPE_IPV4)
sys/dev/usb/net/if_umb.c
1713
DEVNAM(sc), le32toh(ci->iptype));
sys/dev/usb/net/if_umb.c
1716
sc->sc_info.nwerror = le32toh(ci->nwerror);
sys/dev/usb/net/if_umb.c
1791
if (le32toh(ic->sessionid) != umb_session_id) {
sys/dev/usb/net/if_umb.c
1793
le32toh(ic->sessionid));
sys/dev/usb/net/if_umb.c
1800
avail_v4 = le32toh(ic->ipv4_available);
sys/dev/usb/net/if_umb.c
1803
n = le32toh(ic->ipv4_naddr);
sys/dev/usb/net/if_umb.c
1804
off = le32toh(ic->ipv4_addroffs);
sys/dev/usb/net/if_umb.c
1814
ipv4elem.prefixlen = le32toh(ipv4elem.prefixlen);
sys/dev/usb/net/if_umb.c
1817
off = le32toh(ic->ipv4_gwoffs);
sys/dev/usb/net/if_umb.c
1829
n = le32toh(ic->ipv4_ndnssrv);
sys/dev/usb/net/if_umb.c
1830
off = le32toh(ic->ipv4_dnssrvoffs);
sys/dev/usb/net/if_umb.c
1843
val = le32toh(ic->ipv4_mtu);
sys/dev/usb/net/if_umb.c
1853
avail_v4 = le32toh(ic->ipv6_available);
sys/dev/usb/net/if_umb.c
2299
if (le32toh(c->op) == MBIM_CMDOP_SET)
sys/dev/usb/net/if_umb.c
2303
str = umb_cid2str(le32toh(c->cid));
sys/dev/usb/net/if_umb.c
2570
umb_request2str(le32toh(cmd->hdr.type)));
sys/dev/usb/net/if_umb.c
2573
cid = le32toh(cmd->cid);
sys/dev/usb/net/if_umb.c
2578
umb_request2str(le32toh(cmd->hdr.type)),
sys/dev/usb/net/if_umb.c
2585
status = le32toh(cmd->status);
sys/dev/usb/net/if_umb.c
2604
infolen = le32toh(cmd->infolen);
sys/dev/usb/net/if_ure.c
2201
csum = le32toh(rp->ure_csum);
sys/dev/usb/net/if_ure.c
2202
misc = le32toh(rp->ure_misc);
sys/dev/usb/net/if_ure.c
731
len = le32toh(pkt.ure_pktlen) & URE_RXPKT_LEN_MASK;
sys/dev/usb/net/if_ure.c
765
pktcsum = le32toh(pkt.ure_csum);
sys/dev/usb/net/if_ure.c
887
m->m_pkthdr.csum_flags, le32toh(txpkt.ure_pktlen),
sys/dev/usb/net/if_ure.c
888
le32toh(txpkt.ure_csum));
sys/dev/usb/net/if_urndis.c
474
DPRINTF("type 0x%x len %u\n", le32toh(hdr->rm_type),
sys/dev/usb/net/if_urndis.c
475
le32toh(hdr->rm_len));
sys/dev/usb/net/if_urndis.c
477
if (le32toh(hdr->rm_len) > RNDIS_RESPONSE_LEN) {
sys/dev/usb/net/if_urndis.c
479
le32toh(hdr->rm_len), RNDIS_RESPONSE_LEN);
sys/dev/usb/net/if_urndis.c
497
switch (le32toh(hdr->rm_type)) {
sys/dev/usb/net/if_urndis.c
512
rval = le32toh(hdr->rm_status);
sys/dev/usb/net/if_urndis.c
518
le32toh(hdr->rm_type));
sys/dev/usb/net/if_urndis.c
536
le32toh(msg->rm_len),
sys/dev/usb/net/if_urndis.c
537
le32toh(msg->rm_rid),
sys/dev/usb/net/if_urndis.c
538
le32toh(msg->rm_status),
sys/dev/usb/net/if_urndis.c
539
le32toh(msg->rm_ver_major),
sys/dev/usb/net/if_urndis.c
540
le32toh(msg->rm_ver_minor),
sys/dev/usb/net/if_urndis.c
541
le32toh(msg->rm_devflags),
sys/dev/usb/net/if_urndis.c
542
le32toh(msg->rm_medium),
sys/dev/usb/net/if_urndis.c
543
le32toh(msg->rm_pktmaxcnt),
sys/dev/usb/net/if_urndis.c
544
le32toh(msg->rm_pktmaxsz),
sys/dev/usb/net/if_urndis.c
545
le32toh(msg->rm_align),
sys/dev/usb/net/if_urndis.c
546
le32toh(msg->rm_aflistoffset),
sys/dev/usb/net/if_urndis.c
547
le32toh(msg->rm_aflistsz));
sys/dev/usb/net/if_urndis.c
549
if (le32toh(msg->rm_status) != RNDIS_STATUS_SUCCESS) {
sys/dev/usb/net/if_urndis.c
550
DPRINTF("init failed 0x%x\n", le32toh(msg->rm_status));
sys/dev/usb/net/if_urndis.c
551
return (le32toh(msg->rm_status));
sys/dev/usb/net/if_urndis.c
553
if (le32toh(msg->rm_devflags) != RNDIS_DF_CONNECTIONLESS) {
sys/dev/usb/net/if_urndis.c
555
le32toh(msg->rm_devflags));
sys/dev/usb/net/if_urndis.c
558
if (le32toh(msg->rm_medium) != RNDIS_MEDIUM_802_3) {
sys/dev/usb/net/if_urndis.c
560
le32toh(msg->rm_medium));
sys/dev/usb/net/if_urndis.c
563
sc->sc_lim_pktsz = le32toh(msg->rm_pktmaxsz);
sys/dev/usb/net/if_urndis.c
565
return (le32toh(msg->rm_status));
sys/dev/usb/net/if_urndis.c
579
le32toh(msg->rm_len),
sys/dev/usb/net/if_urndis.c
580
le32toh(msg->rm_rid),
sys/dev/usb/net/if_urndis.c
581
le32toh(msg->rm_status),
sys/dev/usb/net/if_urndis.c
582
le32toh(msg->rm_infobuflen),
sys/dev/usb/net/if_urndis.c
583
le32toh(msg->rm_infobufoffset));
sys/dev/usb/net/if_urndis.c
587
if (le32toh(msg->rm_status) != RNDIS_STATUS_SUCCESS) {
sys/dev/usb/net/if_urndis.c
588
DPRINTF("query failed 0x%x\n", le32toh(msg->rm_status));
sys/dev/usb/net/if_urndis.c
589
return (le32toh(msg->rm_status));
sys/dev/usb/net/if_urndis.c
591
limit = le32toh(msg->rm_infobuflen);
sys/dev/usb/net/if_urndis.c
592
limit += le32toh(msg->rm_infobufoffset);
sys/dev/usb/net/if_urndis.c
595
if (limit > (uint64_t)le32toh(msg->rm_len)) {
sys/dev/usb/net/if_urndis.c
599
le32toh(msg->rm_infobuflen),
sys/dev/usb/net/if_urndis.c
600
le32toh(msg->rm_infobufoffset),
sys/dev/usb/net/if_urndis.c
601
le32toh(msg->rm_infobuflen) +
sys/dev/usb/net/if_urndis.c
602
le32toh(msg->rm_infobufoffset) + RNDIS_HEADER_OFFSET,
sys/dev/usb/net/if_urndis.c
603
le32toh(msg->rm_len));
sys/dev/usb/net/if_urndis.c
607
le32toh(msg->rm_infobufoffset);
sys/dev/usb/net/if_urndis.c
608
*bufsz = le32toh(msg->rm_infobuflen);
sys/dev/usb/net/if_urndis.c
610
return (le32toh(msg->rm_status));
sys/dev/usb/net/if_urndis.c
622
rval = le32toh(msg->rm_status);
sys/dev/usb/net/if_urndis.c
626
le32toh(msg->rm_len),
sys/dev/usb/net/if_urndis.c
628
le32toh(msg->rm_adrreset));
sys/dev/usb/net/if_urndis.c
669
le32toh(msg.rm_type),
sys/dev/usb/net/if_urndis.c
670
le32toh(msg.rm_len),
sys/dev/usb/net/if_urndis.c
671
le32toh(msg.rm_rid),
sys/dev/usb/net/if_urndis.c
672
le32toh(msg.rm_ver_major),
sys/dev/usb/net/if_urndis.c
673
le32toh(msg.rm_ver_minor),
sys/dev/usb/net/if_urndis.c
674
le32toh(msg.rm_max_xfersz));
sys/dev/usb/net/if_urndis.c
702
le32toh(msg.rm_type),
sys/dev/usb/net/if_urndis.c
703
le32toh(msg.rm_len),
sys/dev/usb/net/if_urndis.c
704
le32toh(msg.rm_rid));
sys/dev/usb/net/if_urndis.c
742
le32toh(msg->rm_type),
sys/dev/usb/net/if_urndis.c
743
le32toh(msg->rm_len),
sys/dev/usb/net/if_urndis.c
744
le32toh(msg->rm_rid),
sys/dev/usb/net/if_urndis.c
745
le32toh(msg->rm_oid),
sys/dev/usb/net/if_urndis.c
746
le32toh(msg->rm_infobuflen),
sys/dev/usb/net/if_urndis.c
747
le32toh(msg->rm_infobufoffset),
sys/dev/usb/net/if_urndis.c
748
le32toh(msg->rm_devicevchdl));
sys/dev/usb/net/if_urndis.c
788
le32toh(msg->rm_type),
sys/dev/usb/net/if_urndis.c
789
le32toh(msg->rm_len),
sys/dev/usb/net/if_urndis.c
790
le32toh(msg->rm_rid),
sys/dev/usb/net/if_urndis.c
791
le32toh(msg->rm_oid),
sys/dev/usb/net/if_urndis.c
792
le32toh(msg->rm_infobuflen),
sys/dev/usb/net/if_urndis.c
793
le32toh(msg->rm_infobufoffset),
sys/dev/usb/net/if_urndis.c
794
le32toh(msg->rm_devicevchdl));
sys/dev/usb/net/if_urndis.c
835
if (le32toh(0x1234567U) != 0x1234567U) {
sys/dev/usb/net/if_urndis.c
837
msg.rm_type = le32toh(msg.rm_type);
sys/dev/usb/net/if_urndis.c
838
msg.rm_len = le32toh(msg.rm_len);
sys/dev/usb/net/if_urndis.c
839
msg.rm_dataoffset = le32toh(msg.rm_dataoffset);
sys/dev/usb/net/if_urndis.c
840
msg.rm_datalen = le32toh(msg.rm_datalen);
sys/dev/usb/net/if_urndis.c
841
msg.rm_oobdataoffset = le32toh(msg.rm_oobdataoffset);
sys/dev/usb/net/if_urndis.c
842
msg.rm_oobdatalen = le32toh(msg.rm_oobdatalen);
sys/dev/usb/net/if_urndis.c
843
msg.rm_oobdataelements = le32toh(msg.rm_oobdataelements);
sys/dev/usb/net/if_urndis.c
844
msg.rm_pktinfooffset = le32toh(msg.rm_pktinfooffset);
sys/dev/usb/net/if_urndis.c
845
msg.rm_pktinfolen = le32toh(msg.rm_pktinfolen);
sys/dev/usb/net/if_urndis.c
846
msg.rm_vchandle = le32toh(msg.rm_vchandle);
sys/dev/usb/net/if_urndis.c
847
msg.rm_reserved = le32toh(msg.rm_reserved);
sys/dev/usb/video/udl.c
686
*buf = le32toh(lbuf);
sys/dev/usb/wlan/if_mtw.c
1195
if (size < sizeof(struct mtw_ucode_hdr) + le32toh(hdr->ilm_len) +
sys/dev/usb/wlan/if_mtw.c
1196
le32toh(hdr->dlm_len)) {
sys/dev/usb/wlan/if_mtw.c
1201
ilen = le32toh(hdr->ilm_len) - MTW_MCU_IVB_LEN;
sys/dev/usb/wlan/if_mtw.c
1202
dlen = le32toh(hdr->dlm_len);
sys/dev/usb/wlan/if_mtw.c
1218
le32toh(hdr->fw_ver), le32toh(hdr->build_ver), hdr->build_time);
sys/dev/usb/wlan/if_mtw.c
1253
*val = le32toh(tmp);
sys/dev/usb/wlan/if_mtw.c
2220
le32toh(sta[0]) & 0xffff);
sys/dev/usb/wlan/if_mtw.c
2222
txs->nretries = (le32toh(sta[1]) >> 16);
sys/dev/usb/wlan/if_mtw.c
2223
txs->nsuccess = (le32toh(sta[1]) & 0xffff);
sys/dev/usb/wlan/if_mtw.c
2225
txs->nframes = txs->nsuccess + (le32toh(sta[0]) & 0xffff);
sys/dev/usb/wlan/if_mtw.c
2229
txs->nsuccess, le32toh(sta[0]) & 0xffff);
sys/dev/usb/wlan/if_mtw.c
2417
flags = le32toh(rxwi->flags);
sys/dev/usb/wlan/if_mtw.c
2641
dmalen = le32toh(*mtod(m, uint32_t *)) & 0xffff;
sys/dev/usb/wlan/if_mtw.c
491
*val = le32toh(tmp);
sys/dev/usb/wlan/if_rsu.c
1140
return (le32toh(val));
sys/dev/usb/wlan/if_rsu.c
1917
le32toh(cmd.active));
sys/dev/usb/wlan/if_rsu.c
1920
ieee80211_print_essid(cmd.ssid, le32toh(cmd.ssidlen));
sys/dev/usb/wlan/if_rsu.c
2006
ether_sprintf(bss->macaddr), le32toh(bss->config.dsconfig));
sys/dev/usb/wlan/if_rsu.c
2055
ieslen = le32toh(bss->ieslen);
sys/dev/usb/wlan/if_rsu.c
2065
le32toh(bss->config.dsconfig), le32toh(bss->inframode),
sys/dev/usb/wlan/if_rsu.c
2066
le32toh(bss->networktype), le32toh(bss->privacy),
sys/dev/usb/wlan/if_rsu.c
2067
le32toh(bss->rssi));
sys/dev/usb/wlan/if_rsu.c
2096
rxs.c_ieee = le32toh(bss->config.dsconfig);
sys/dev/usb/wlan/if_rsu.c
2100
rxs.c_rssi = le32toh(bss->rssi) / 2;
sys/dev/usb/wlan/if_rsu.c
2124
res = (int)le32toh(rsp->join_res);
sys/dev/usb/wlan/if_rsu.c
2141
tmp = le32toh(rsp->associd);
sys/dev/usb/wlan/if_rsu.c
2207
le32toh(*(uint32_t *)buf));
sys/dev/usb/wlan/if_rsu.c
2311
rssi = ((le32toh(phy->phydw1) >> 1) & 0x7f) - 106;
sys/dev/usb/wlan/if_rsu.c
2325
rxdw0 = le32toh(stat->rxdw0);
sys/dev/usb/wlan/if_rsu.c
2383
rxdw0 = le32toh(stat->rxdw0);
sys/dev/usb/wlan/if_rsu.c
2384
rxdw3 = le32toh(stat->rxdw3);
sys/dev/usb/wlan/if_rsu.c
2460
if (le32toh(stat->tsf_low) > rsu_get_tsf_low(sc))
sys/dev/usb/wlan/if_rsu.c
2506
npkts = MS(le32toh(stat->rxdw2), R92S_RXDW2_PKTCNT);
sys/dev/usb/wlan/if_rsu.c
2515
rxdw0 = le32toh(stat->rxdw0);
sys/dev/usb/wlan/if_rsu.c
2564
if ((le32toh(stat->rxdw1) & 0x1ff) == 0x1ff) {
sys/dev/usb/wlan/if_rsu.c
3427
imemsz = le32toh(hdr->imemsz);
sys/dev/usb/wlan/if_rsu.c
3428
ememsz = le32toh(hdr->sramsz);
sys/dev/usb/wlan/if_rum.c
1195
flags = le32toh(sc->sc_rx_desc.flags);
sys/dev/usb/wlan/if_rum.c
1815
return le32toh(val);
sys/dev/usb/wlan/if_rum.c
3148
ok[0] = (le32toh(sc->sta[4]) & 0xffff); /* TX ok w/o retry */
sys/dev/usb/wlan/if_rum.c
3149
ok[1] = (le32toh(sc->sta[4]) >> 16); /* TX ok w/ one retry */
sys/dev/usb/wlan/if_rum.c
3150
ok[2] = (le32toh(sc->sta[5]) & 0xffff); /* TX ok w/ multiple retries */
sys/dev/usb/wlan/if_rum.c
3151
fail = (le32toh(sc->sta[5]) >> 16); /* TX retry-fail count */
sys/dev/usb/wlan/if_run.c
1357
*val = le32toh(tmp);
sys/dev/usb/wlan/if_run.c
2914
flags = le32toh(rxd->flags);
sys/dev/usb/wlan/if_run.c
3107
dmalen = le32toh(*mtod(m, uint32_t *)) & 0xffff;
sys/dev/usb/wlan/if_upgt.c
1507
if (data_tx->addr == le32toh(desc->header2.reqid)) {
sys/dev/usb/wlan/if_upgt.c
1515
le32toh(desc->header2.reqid),
sys/dev/usb/wlan/if_upgt.c
1780
bra_option_type = le32toh(bra_opt->type);
sys/dev/usb/wlan/if_upgt.c
1781
bra_option_len = le32toh(bra_opt->len) * sizeof(*uc);
sys/dev/usb/wlan/if_upgt.c
1827
le32toh(descr->memaddr_space_start);
sys/dev/usb/wlan/if_upgt.c
1829
le32toh(descr->memaddr_space_end);
sys/dev/usb/wlan/if_ural.c
877
flags = le32toh(sc->sc_rx_desc.flags);
sys/dev/usb/wlan/if_urtw.c
3971
flen = le32toh(rx->flag) & 0xfff;
sys/dev/usb/wlan/if_urtw.c
3975
rate = (le32toh(rx->flag) >> URTW_RX_FLAG_RXRATE_SHIFT) & 0xf;
sys/dev/usb/wlan/if_urtw.c
3990
flen = le32toh(rx->flag) & 0xfff;
sys/dev/usb/wlan/if_urtw.c
3994
rate = (le32toh(rx->flag) >> URTW_RX_FLAG_RXRATE_SHIFT) & 0xf;
sys/dev/vge/if_vge.c
1446
rxstat = le32toh(cur_rx->vge_sts);
sys/dev/vge/if_vge.c
1451
rxctl = le32toh(cur_rx->vge_ctl);
sys/dev/vge/if_vge.c
1623
txstat = le32toh(cur_tx->vge_sts);
sys/dev/virtio/balloon/virtio_balloon.c
484
return (le32toh(desired));
sys/dev/virtio/gpu/virtio_gpu.c
527
le32toh(s.resp.pmodes[i].r.width);
sys/dev/virtio/gpu/virtio_gpu.c
529
le32toh(s.resp.pmodes[i].r.height);
sys/dev/virtio/gpu/virtio_gpu.c
570
le32toh(s.resp.type));
sys/dev/virtio/gpu/virtio_gpu.c
615
le32toh(s.resp.type));
sys/dev/virtio/gpu/virtio_gpu.c
653
le32toh(s.resp.type));
sys/dev/virtio/gpu/virtio_gpu.c
692
le32toh(s.resp.type));
sys/dev/virtio/gpu/virtio_gpu.c
729
le32toh(s.resp.type));
sys/dev/virtio/mmio/virtio_mmio.c
710
le32toh(vtmmio_read_config_4(sc, off));
sys/dev/virtio/mmio/virtio_mmio.c
750
val0 = le32toh(vtmmio_read_config_4(sc, off));
sys/dev/virtio/mmio/virtio_mmio.c
751
val1 = le32toh(vtmmio_read_config_4(sc, off + 4));
sys/dev/virtio/pci/virtio_pci_legacy.c
127
le32toh(bus_read_4((sc)->vtpci_res, (o)))
sys/dev/virtio/virtio_endian.h
65
return (le32toh(val));
sys/dev/vr/if_vr.c
1310
rxstat = le32toh(cur_rx->vr_status);
sys/dev/vr/if_vr.c
1311
rxctl = le32toh(cur_rx->vr_ctl);
sys/dev/vr/if_vr.c
1455
txctl = le32toh(cur_tx->vr_ctl);
sys/dev/vr/if_vr.c
1456
txstat = le32toh(cur_tx->vr_status);
sys/dev/wg/wg_crypto.c
25
#define le32_to_cpup(a) le32toh(*(a))
sys/dev/wpi/if_wpi.c
1933
flags = le32toh(tail->flags);
sys/dev/wpi/if_wpi.c
1937
le32toh(desc->len), len, (int8_t)stat->rssi,
sys/dev/wpi/if_wpi.c
2062
uint32_t status = le32toh(stat->status);
sys/dev/wpi/if_wpi.c
2072
stat->btkillcnt, stat->rate, le32toh(stat->duration), status);
sys/dev/wpi/if_wpi.c
2137
le32toh(desc->len));
sys/dev/wpi/if_wpi.c
2186
hw = le32toh(sc->shared->next) & 0xfff;
sys/dev/wpi/if_wpi.c
2202
desc->type, wpi_cmd_str(desc->type), le32toh(desc->len));
sys/dev/wpi/if_wpi.c
2240
misses = le32toh(miss->consecutive);
sys/dev/wpi/if_wpi.c
2241
expected = le32toh(miss->expected);
sys/dev/wpi/if_wpi.c
2242
received = le32toh(miss->received);
sys/dev/wpi/if_wpi.c
2247
__func__, misses, le32toh(miss->total), received,
sys/dev/wpi/if_wpi.c
2280
stat->btkillcnt, stat->rate, le32toh(stat->duration),
sys/dev/wpi/if_wpi.c
2281
le32toh(stat->status), le64toh(*tsf),
sys/dev/wpi/if_wpi.c
2282
le32toh(*mode));
sys/dev/wpi/if_wpi.c
2298
uc->subtype, le32toh(uc->valid));
sys/dev/wpi/if_wpi.c
2300
if (le32toh(uc->valid) != 1) {
sys/dev/wpi/if_wpi.c
2307
sc->errptr = le32toh(uc->errptr);
sys/dev/wpi/if_wpi.c
2318
le32toh(*status));
sys/dev/wpi/if_wpi.c
2320
if (le32toh(*status) & 1) {
sys/dev/wpi/if_wpi.c
2340
__func__, scan->chan, le32toh(scan->status));
sys/dev/wpi/if_wpi.c
5052
fw->main.textsz = le32toh(hdr->rtextsz);
sys/dev/wpi/if_wpi.c
5053
fw->main.datasz = le32toh(hdr->rdatasz);
sys/dev/wpi/if_wpi.c
5054
fw->init.textsz = le32toh(hdr->itextsz);
sys/dev/wpi/if_wpi.c
5055
fw->init.datasz = le32toh(hdr->idatasz);
sys/dev/wpi/if_wpi.c
5056
fw->boot.textsz = le32toh(hdr->btextsz);
sys/dev/wpi/if_wpi.c
5090
"boot (text %u)\n", hdr->major, hdr->minor, le32toh(hdr->driver),
sys/dev/xilinx/xlnx_pcib.c
491
data = le32toh(data);
sys/dev/xl/if_xl.c
1825
while ((rxstat = le32toh(sc->xl_cdata.xl_rx_head->xl_ptr->xl_status))) {
sys/dev/xl/if_xl.c
2037
if (!(le32toh(cur_tx->xl_ptr->xl_status) &
sys/fs/ext2fs/ext2_alloc.c
1138
le32toh(fs->e2fs->e2fs_first_dblock) + bno);
sys/fs/ext2fs/ext2_alloc.c
1246
return (cg * fs->e2fs_fpg + le32toh(fs->e2fs->e2fs_first_dblock)
sys/fs/ext2fs/ext2_alloc.c
1556
if (cg == le32toh(fs->e2fs->e4fs_backup_bgs[0]) ||
sys/fs/ext2fs/ext2_alloc.c
1557
cg == le32toh(fs->e2fs->e4fs_backup_bgs[1]))
sys/fs/ext2fs/ext2_alloc.c
498
return (((uint64_t)(le32toh(gd->ext4bgd_b_bitmap_hi)) << 32) |
sys/fs/ext2fs/ext2_alloc.c
499
le32toh(gd->ext2bgd_b_bitmap));
sys/fs/ext2fs/ext2_alloc.c
506
return (((uint64_t)(le32toh(gd->ext4bgd_i_bitmap_hi)) << 32) |
sys/fs/ext2fs/ext2_alloc.c
507
le32toh(gd->ext2bgd_i_bitmap));
sys/fs/ext2fs/ext2_alloc.c
514
return (((uint64_t)(le32toh(gd->ext4bgd_i_tables_hi)) << 32) |
sys/fs/ext2fs/ext2_alloc.c
515
le32toh(gd->ext2bgd_i_tables));
sys/fs/ext2fs/ext2_alloc.c
729
return (le32toh(bap[tmp]));
sys/fs/ext2fs/ext2_alloc.c
737
EXT2_BLOCKS_PER_GROUP(fs)) + le32toh(fs->e2fs->e2fs_first_dblock));
sys/fs/ext2fs/ext2_alloc.c
800
return (le32toh(fs->e2fs->e3fs_first_meta_bg));
sys/fs/ext2fs/ext2_alloc.c
827
first_meta_bg = le32toh(fs->e2fs->e3fs_first_meta_bg);
sys/fs/ext2fs/ext2_alloc.c
845
cg < le32toh(fs->e2fs->e3fs_first_meta_bg) *
sys/fs/ext2fs/ext2_alloc.c
876
return ((block - le32toh(fs->e2fs->e2fs_first_dblock)) /
sys/fs/ext2fs/ext2_alloc.c
906
le32toh(fs->e2fs->e2fs_first_dblock);
sys/fs/ext2fs/ext2_alloc.c
964
le32toh(fs->e2fs->e2fs_first_dblock);
sys/fs/ext2fs/ext2_balloc.c
220
nb = le32toh(bap[indirs[i].in_off]);
sys/fs/ext2fs/ext2_bmap.c
126
if (lbn < le32toh(ep->e_blk)) {
sys/fs/ext2fs/ext2_bmap.c
128
*runp = min(maxrun, le32toh(ep->e_blk) - lbn - 1);
sys/fs/ext2fs/ext2_bmap.c
130
} else if (le32toh(ep->e_blk) <= lbn &&
sys/fs/ext2fs/ext2_bmap.c
131
lbn < le32toh(ep->e_blk) + le16toh(ep->e_len)) {
sys/fs/ext2fs/ext2_bmap.c
132
*bnp = fsbtodb(fs, lbn - le32toh(ep->e_blk) +
sys/fs/ext2fs/ext2_bmap.c
133
(le32toh(ep->e_start_lo) |
sys/fs/ext2fs/ext2_bmap.c
138
(lbn - le32toh(ep->e_blk)) - 1);
sys/fs/ext2fs/ext2_bmap.c
141
*runb = min(maxrun, lbn - le32toh(ep->e_blk));
sys/fs/ext2fs/ext2_bmap.c
144
*runb = min(maxrun, le32toh(ep->e_blk) + lbn -
sys/fs/ext2fs/ext2_bmap.c
287
daddr = le32toh(((e2fs_daddr_t *)bp->b_data)[ap->in_off]);
sys/fs/ext2fs/ext2_bmap.c
388
daddr = le32toh(((e2fs_daddr_t *)bp->b_data)[off]);
sys/fs/ext2fs/ext2_csum.c
102
fs->e2fs_fsmnt, le32toh(fs->e2fs->e4fs_sbchksum),
sys/fs/ext2fs/ext2_csum.c
258
if (calculated != le32toh(tp->e2dt_checksum))
sys/fs/ext2fs/ext2_csum.c
457
provided = le32toh(etp->et_checksum);
sys/fs/ext2fs/ext2_csum.c
79
fs->e2fs_csum_seed = le32toh(fs->e2fs->e4fs_chksum_seed);
sys/fs/ext2fs/ext2_csum.c
97
if (le32toh(fs->e2fs->e4fs_sbchksum) !=
sys/fs/ext2fs/ext2_extattr.c
1024
for (n = (le32toh(entry->e_value_size) +
sys/fs/ext2fs/ext2_extattr.c
1028
le32toh(*value++);
sys/fs/ext2fs/ext2_extattr.c
1054
le32toh(here->e_hash);
sys/fs/ext2fs/ext2_extattr.c
1086
if (le32toh(header->h_magic) != EXTATTR_MAGIC ||
sys/fs/ext2fs/ext2_extattr.c
1087
le32toh(header->h_blocks) != 1) {
sys/fs/ext2fs/ext2_extattr.c
1098
if (le32toh(header->h_refcount) > 1) {
sys/fs/ext2fs/ext2_extattr.c
1233
if (le32toh(header->h_magic) != EXTATTR_MAGIC ||
sys/fs/ext2fs/ext2_extattr.c
1234
le32toh(header->h_blocks) != 1) {
sys/fs/ext2fs/ext2_extattr.c
1246
if (le32toh(header->h_refcount) > 1) {
sys/fs/ext2fs/ext2_extattr.c
1247
header->h_refcount = htole32(le32toh(header->h_refcount) - 1);
sys/fs/ext2fs/ext2_extattr.c
219
if (le32toh(header->h_magic) != EXTATTR_MAGIC) {
sys/fs/ext2fs/ext2_extattr.c
286
if (le32toh(header->h_magic) != EXTATTR_MAGIC ||
sys/fs/ext2fs/ext2_extattr.c
287
le32toh(header->h_blocks) != 1) {
sys/fs/ext2fs/ext2_extattr.c
360
if (le32toh(header->h_magic) != EXTATTR_MAGIC) {
sys/fs/ext2fs/ext2_extattr.c
389
*size += le32toh(entry->e_value_size);
sys/fs/ext2fs/ext2_extattr.c
394
le32toh(entry->e_value_size), uio);
sys/fs/ext2fs/ext2_extattr.c
428
if (le32toh(header->h_magic) != EXTATTR_MAGIC ||
sys/fs/ext2fs/ext2_extattr.c
429
le32toh(header->h_blocks) != 1) {
sys/fs/ext2fs/ext2_extattr.c
457
*size += le32toh(entry->e_value_size);
sys/fs/ext2fs/ext2_extattr.c
462
le32toh(entry->e_value_size), uio);
sys/fs/ext2fs/ext2_extattr.c
495
memmove(off + min_offs + EXT2_EXTATTR_SIZE(le32toh(entry->e_value_size)),
sys/fs/ext2fs/ext2_extattr.c
505
EXT2_EXTATTR_SIZE(le32toh(entry->e_value_size)));
sys/fs/ext2fs/ext2_extattr.c
510
min_offs += EXT2_EXTATTR_SIZE(le32toh(entry->e_value_size));
sys/fs/ext2fs/ext2_extattr.c
565
if (le32toh(header->h_magic) != EXTATTR_MAGIC) {
sys/fs/ext2fs/ext2_extattr.c
640
if (le32toh(header->h_magic) != EXTATTR_MAGIC ||
sys/fs/ext2fs/ext2_extattr.c
641
le32toh(header->h_refcount) == 1)
sys/fs/ext2fs/ext2_extattr.c
655
header->h_refcount = htole32(le32toh(header->h_refcount) - 1);
sys/fs/ext2fs/ext2_extattr.c
690
if (le32toh(header->h_magic) != EXTATTR_MAGIC ||
sys/fs/ext2fs/ext2_extattr.c
691
le32toh(header->h_blocks) != 1) {
sys/fs/ext2fs/ext2_extattr.c
702
if (le32toh(header->h_refcount) > 1) {
sys/fs/ext2fs/ext2_extattr.c
817
EXT2_EXTATTR_SIZE(le32toh(entry->e_value_size));
sys/fs/ext2fs/ext2_extattr.c
837
if (le32toh(entry->e_value_size))
sys/fs/ext2fs/ext2_extattr.c
844
le32toh(entry->e_value_size), uio);
sys/fs/ext2fs/ext2_extattr.c
891
if (le32toh(new_entry->e_value_size) > 0)
sys/fs/ext2fs/ext2_extattr.c
893
EXT2_EXTATTR_SIZE(le32toh(new_entry->e_value_size)));
sys/fs/ext2fs/ext2_extattr.c
896
le32toh(new_entry->e_value_size), uio);
sys/fs/ext2fs/ext2_extattr.c
931
if (le32toh(header->h_magic) != EXTATTR_MAGIC) {
sys/fs/ext2fs/ext2_extents.c
1166
error = ext4_ext_find_extent(ip, le32toh(newext->e_blk), &path);
sys/fs/ext2fs/ext2_extents.c
1177
error = ext4_ext_find_extent(ip, le32toh(newext->e_blk), &path);
sys/fs/ext2fs/ext2_extents.c
1215
border = le32toh(path[depth].ep_ext->e_blk);
sys/fs/ext2fs/ext2_extents.c
1263
if (le32toh(newext->e_blk) > le32toh(nex->e_blk) && next !=
sys/fs/ext2fs/ext2_extents.c
1300
} else if (le32toh(newext->e_blk) > le32toh(nearex->e_blk)) {
sys/fs/ext2fs/ext2_extents.c
134
ep, le32toh(ep->e_blk), le16toh(ep->e_len),
sys/fs/ext2fs/ext2_extents.c
1411
newblk = iblk - le32toh(newex.e_blk) +
sys/fs/ext2fs/ext2_extents.c
1413
allocated = le16toh(newex.e_len) - (iblk - le32toh(newex.e_blk));
sys/fs/ext2fs/ext2_extents.c
1433
uint64_t lblk = le32toh(ex->e_blk);
sys/fs/ext2fs/ext2_extents.c
1514
if (from >= le32toh(ex->e_blk) &&
sys/fs/ext2fs/ext2_extents.c
1515
to == le32toh(ex->e_blk) + ext4_ext_get_actual_len(ex) - 1) {
sys/fs/ext2fs/ext2_extents.c
1517
num = le32toh(ex->e_blk) + ext4_ext_get_actual_len(ex) - from;
sys/fs/ext2fs/ext2_extents.c
153
le32toh(eh->eh_gen));
sys/fs/ext2fs/ext2_extents.c
1571
ex_blk = le32toh(ex->e_blk);
sys/fs/ext2fs/ext2_extents.c
234
blk = le32toh(index->ei_leaf_lo);
sys/fs/ext2fs/ext2_extents.c
253
blk = le32toh(extent->e_start_lo);
sys/fs/ext2fs/ext2_extents.c
373
if ((start_blk <= le32toh(fs->e2fs->e2fs_first_dblock)) ||
sys/fs/ext2fs/ext2_extents.c
385
uint32_t lblk = le32toh(ext->e_blk);
sys/fs/ext2fs/ext2_extents.c
423
lblk = le32toh(ext->e_blk);
sys/fs/ext2fs/ext2_extents.c
506
if (blk < le32toh(m->ei_blk))
sys/fs/ext2fs/ext2_extents.c
534
if (blk < le32toh(m->e_blk))
sys/fs/ext2fs/ext2_extents.c
748
e2fs_daddr_t blk = le32toh(ex->e_blk);
sys/fs/ext2fs/ext2_extents.c
763
le32toh(fs->e2fs->e2fs_first_dblock);
sys/fs/ext2fs/ext2_extents.c
773
if (le32toh(ex1->e_blk) + le16toh(ex1->e_len) != le32toh(ex2->e_blk))
sys/fs/ext2fs/ext2_extents.c
801
return (le32toh(path[depth].ep_index[1].ei_blk));
sys/fs/ext2fs/ext2_extents.c
846
if (lblk == le32toh(path->ep_index->ei_blk)) {
sys/fs/ext2fs/ext2_extents.c
859
if (lblk > le32toh(path->ep_index->ei_blk)) {
sys/fs/ext2fs/ext2_extents.c
948
border = le32toh(path[depth].ep_ext[1].e_blk);
sys/fs/ext2fs/ext2_extents.c
95
le32toh(ex->ei_blk),
sys/fs/ext2fs/ext2_extents.c
950
border = le32toh(newext->e_blk);
sys/fs/ext2fs/ext2_extents.c
97
le32toh(ex->ei_leaf_lo));
sys/fs/ext2fs/ext2_htree.c
158
return (le32toh(ep->h_blk) & 0x00FFFFFF);
sys/fs/ext2fs/ext2_htree.c
182
return (le32toh(ep->h_hash));
sys/fs/ext2fs/ext2_htree.c
252
seed[i] = le32toh(es->e3fs_hash_seed[i]);
sys/fs/ext2fs/ext2_htree.c
506
if (le32toh(entry1->h_hash) < le32toh(entry2->h_hash))
sys/fs/ext2fs/ext2_htree.c
508
if (le32toh(entry1->h_hash) > le32toh(entry2->h_hash))
sys/fs/ext2fs/ext2_htree.c
569
if (le32toh(ep->e2d_ino) && ep->e2d_namlen) {
sys/fs/ext2fs/ext2_htree.c
598
*split_hash = le32toh(sort_info[i + 1].h_hash);
sys/fs/ext2fs/ext2_htree.c
603
if (*split_hash == le32toh(sort_info[i].h_hash))
sys/fs/ext2fs/ext2_htree.c
628
if (le32toh(ep->e2d_ino)) {
sys/fs/ext2fs/ext2_inode.c
189
nb = le32toh(bap[i]);
sys/fs/ext2fs/ext2_inode.c
207
nb = le32toh(bap[i]);
sys/fs/ext2fs/ext2_inode_cnv.c
136
*sec += (uint64_t)(le32toh(extra) & EXT3_EPOCH_MASK) << 32;
sys/fs/ext2fs/ext2_inode_cnv.c
138
*nsec = (le32toh(extra) & EXT3_NSEC_MASK) >> EXT3_EPOCH_BITS;
sys/fs/ext2fs/ext2_inode_cnv.c
154
(ip->i_number > le32toh(fs->e2fs->e2fs_icount))) {
sys/fs/ext2fs/ext2_inode_cnv.c
184
ip->i_size = le32toh(ei->e2di_size);
sys/fs/ext2fs/ext2_inode_cnv.c
186
ip->i_size |= (uint64_t)le32toh(ei->e2di_size_high) << 32;
sys/fs/ext2fs/ext2_inode_cnv.c
187
ip->i_atime = (signed)le32toh(ei->e2di_atime);
sys/fs/ext2fs/ext2_inode_cnv.c
188
ip->i_mtime = (signed)le32toh(ei->e2di_mtime);
sys/fs/ext2fs/ext2_inode_cnv.c
189
ip->i_ctime = (signed)le32toh(ei->e2di_ctime);
sys/fs/ext2fs/ext2_inode_cnv.c
197
ip->i_birthtime = (signed)le32toh(ei->e2di_crtime);
sys/fs/ext2fs/ext2_inode_cnv.c
202
ei_flags_host = le32toh(ei->e2di_flags);
sys/fs/ext2fs/ext2_inode_cnv.c
208
ip->i_blocks = le32toh(ei->e2di_nblock);
sys/fs/ext2fs/ext2_inode_cnv.c
209
ip->i_facl = le32toh(ei->e2di_facl);
sys/fs/ext2fs/ext2_inode_cnv.c
216
ip->i_gen = le32toh(ei->e2di_gen);
sys/fs/ext2fs/ext2_inode_cnv.c
224
ip->i_rdev = ext2_old_decode_dev(le32toh(ei->e2di_blocks[0]));
sys/fs/ext2fs/ext2_inode_cnv.c
226
ip->i_rdev = ext2_new_decode_dev(le32toh(ei->e2di_blocks[1]));
sys/fs/ext2fs/ext2_inode_cnv.c
231
ip->i_db[i] = le32toh(ei->e2di_blocks[i]);
sys/fs/ext2fs/ext2_inode_cnv.c
233
ip->i_ib[i] = le32toh(ei->e2di_blocks[EXT2_NDIR_BLOCKS + i]);
sys/fs/ext2fs/ext2_inode_cnv.c
273
le32toh(ei->e2di_mtime));
sys/fs/ext2fs/ext2_inode_cnv.c
80
le32toh(ehp->eh_gen));
sys/fs/ext2fs/ext2_inode_cnv.c
83
le32toh(ep->e_blk),
sys/fs/ext2fs/ext2_inode_cnv.c
84
le16toh(ep->e_len), le32toh(ep->e_start_lo),
sys/fs/ext2fs/ext2_lookup.c
1022
if (le32toh(ep->e2d_ino)) {
sys/fs/ext2fs/ext2_lookup.c
1196
if (dp->e2d_name[1] == '.' && le32toh(dp->e2d_ino) == parentino)
sys/fs/ext2fs/ext2_lookup.c
1243
if (le32toh(dirbuf.dotdot_ino) == source->i_number) {
sys/fs/ext2fs/ext2_lookup.c
1247
if (le32toh(dirbuf.dotdot_ino) == EXT2_ROOTINO)
sys/fs/ext2fs/ext2_lookup.c
1250
if ((error = VFS_VGET(vp->v_mount, le32toh(dirbuf.dotdot_ino),
sys/fs/ext2fs/ext2_lookup.c
225
if (offset < startoffset || le32toh(dp->e2d_ino) == 0)
sys/fs/ext2fs/ext2_lookup.c
227
dstdp.d_fileno = le32toh(dp->e2d_ino);
sys/fs/ext2fs/ext2_lookup.c
457
ino = le32toh(ep->e2d_ino);
sys/fs/ext2fs/ext2_lookup.c
829
else if (le32toh(de->e2d_ino) > fs->e2fs->e2fs_icount)
sys/fs/ext2fs/ext2_lookup.c
831
else if (le32toh(de->e2d_ino) == EXT2_ROOTINO &&
sys/fs/ext2fs/ext2_lookup.c
840
le32toh(de->e2d_ino), le16toh(de->e2d_reclen),
sys/fs/ext2fs/ext2_vfsops.c
1085
overhead = le32toh(fs->e2fs->e2fs_first_dblock) +
sys/fs/ext2fs/ext2_vfsops.c
1087
if (le32toh(fs->e2fs->e2fs_rev) > E2FS_REV0 &&
sys/fs/ext2fs/ext2_vfsops.c
1088
le32toh(fs->e2fs->e2fs_features_rocompat) & EXT2F_ROCOMPAT_SPARSESUPER) {
sys/fs/ext2fs/ext2_vfsops.c
1097
if (le32toh(fs->e2fs->e2fs_rev) > E2FS_REV0 &&
sys/fs/ext2fs/ext2_vfsops.c
1098
le32toh(fs->e2fs->e2fs_features_compat) & EXT2F_COMPAT_RESIZE)
sys/fs/ext2fs/ext2_vfsops.c
1107
sbp->f_files = le32toh(fs->e2fs->e2fs_icount);
sys/fs/ext2fs/ext2_vfsops.c
304
if (le32toh(es->e2fs_rev) > E2FS_REV0) {
sys/fs/ext2fs/ext2_vfsops.c
305
mask = le32toh(es->e2fs_features_incompat) & ~(EXT2F_INCOMPAT_SUPP);
sys/fs/ext2fs/ext2_vfsops.c
317
mask = le32toh(es->e2fs_features_rocompat) & ~EXT2F_ROCOMPAT_SUPP;
sys/fs/ext2fs/ext2_vfsops.c
346
number < le32toh(fs->e2fs->e3fs_first_meta_bg))
sys/fs/ext2fs/ext2_vfsops.c
360
le32toh(fs->e2fs->e2fs_first_dblock));
sys/fs/ext2fs/ext2_vfsops.c
373
first_block = le32toh(fs->e2fs->e2fs_first_dblock);
sys/fs/ext2fs/ext2_vfsops.c
485
if (le32toh(es->e2fs_log_bsize) > 2) {
sys/fs/ext2fs/ext2_vfsops.c
491
fs->e2fs_bshift = EXT2_MIN_BLOCK_LOG_SIZE + le32toh(es->e2fs_log_bsize);
sys/fs/ext2fs/ext2_vfsops.c
493
fs->e2fs_fsbtodb = le32toh(es->e2fs_log_bsize) + 1;
sys/fs/ext2fs/ext2_vfsops.c
497
if (le32toh(es->e2fs_log_fsize) >
sys/fs/ext2fs/ext2_vfsops.c
504
fs->e2fs_fsize = EXT2_MIN_FRAG_SIZE << le32toh(es->e2fs_log_fsize);
sys/fs/ext2fs/ext2_vfsops.c
520
if (le32toh(es->e2fs_rev) == E2FS_REV0) {
sys/fs/ext2fs/ext2_vfsops.c
528
if (le32toh(es->e2fs_first_ino) < EXT2_FIRSTINO) {
sys/fs/ext2fs/ext2_vfsops.c
554
fs->e2fs_bpg = le32toh(es->e2fs_bpg);
sys/fs/ext2fs/ext2_vfsops.c
555
fs->e2fs_fpg = le32toh(es->e2fs_fpg);
sys/fs/ext2fs/ext2_vfsops.c
580
fs->e2fs_ipg = le32toh(es->e2fs_ipg);
sys/fs/ext2fs/ext2_vfsops.c
589
fs->e2fs_bcount = le32toh(es->e2fs_bcount);
sys/fs/ext2fs/ext2_vfsops.c
590
fs->e2fs_rbcount = le32toh(es->e2fs_rbcount);
sys/fs/ext2fs/ext2_vfsops.c
591
fs->e2fs_fbcount = le32toh(es->e2fs_fbcount);
sys/fs/ext2fs/ext2_vfsops.c
593
fs->e2fs_bcount |= (uint64_t)(le32toh(es->e4fs_bcount_hi)) << 32;
sys/fs/ext2fs/ext2_vfsops.c
594
fs->e2fs_rbcount |= (uint64_t)(le32toh(es->e4fs_rbcount_hi)) << 32;
sys/fs/ext2fs/ext2_vfsops.c
595
fs->e2fs_fbcount |= (uint64_t)(le32toh(es->e4fs_fbcount_hi)) << 32;
sys/fs/ext2fs/ext2_vfsops.c
604
fs->e2fs_ficount = le32toh(es->e2fs_ficount);
sys/fs/ext2fs/ext2_vfsops.c
605
if (fs->e2fs_ficount > le32toh(es->e2fs_icount)) {
sys/fs/ext2fs/ext2_vfsops.c
611
if (le32toh(es->e2fs_first_dblock) != (fs->e2fs_bsize > 1024 ? 0 : 1) ||
sys/fs/ext2fs/ext2_vfsops.c
612
le32toh(es->e2fs_first_dblock) >= fs->e2fs_bcount) {
sys/fs/ext2fs/ext2_vfsops.c
619
le32toh(es->e2fs_first_dblock), EXT2_BLOCKS_PER_GROUP(fs));
sys/fs/ext2fs/ext2_vfsops.c
695
if (le32toh(es->e2fs_rev) == E2FS_REV0 ||
sys/fs/ext2fs/ext2_vfsops.c
703
if (le32toh(es->e4fs_flags) & E2FS_UNSIGNED_HASH) {
sys/fs/ext2fs/ext2_vfsops.c
705
} else if ((le32toh(es->e4fs_flags) & E2FS_SIGNED_HASH) == 0) {
sys/fs/ext2fs/ext2_vfsops.c
707
es->e4fs_flags = htole32(le32toh(es->e4fs_flags) | E2FS_UNSIGNED_HASH);
sys/fs/ext2fs/ext2_vfsops.c
710
es->e4fs_flags = htole32(le32toh(es->e4fs_flags) | E2FS_SIGNED_HASH);
sys/fs/ext2fs/ext2_vfsops.c
971
ump->um_bptrtodb = le32toh(fs->e2fs->e2fs_log_bsize) + 1;
sys/fs/ext2fs/ext2fs.h
347
( le32toh(EXT2_SB(sb)->e2fs->e2fs_features_compat) & mask)
sys/fs/ext2fs/ext2fs.h
349
( le32toh(EXT2_SB(sb)->e2fs->e2fs_features_rocompat) & mask)
sys/fs/ext2fs/ext2fs.h
351
( le32toh(EXT2_SB(sb)->e2fs->e2fs_features_incompat) & mask)
sys/fs/ext2fs/ext2fs.h
428
#define EXT2_FIRST_INO(s) (le32toh((EXT2_SB(s)->e2fs->e2fs_rev) == \
sys/fs/ext2fs/ext2fs.h
429
E2FS_REV0) ? EXT2_FIRSTINO : le32toh(EXT2_SB(s)->e2fs->e2fs_first_ino))
sys/fs/ext2fs/fs.h
120
#define dtog(fs, d) (((d) - le32toh(fs->e2fs->e2fs_first_dblock)) / \
sys/fs/ext2fs/fs.h
122
#define dtogd(fs, d) (((d) - le32toh(fs->e2fs->e2fs_first_dblock)) % \
sys/fs/udf/ecma167-udf.h
386
#define GETICBLEN(ad_type, icb) le32toh(((struct ad_type *)(icb))->len)
sys/fs/udf/udf.h
117
return (le32toh(icb->loc.lb_num));
sys/fs/udf/udf_vfsops.c
393
mvds_start = le32toh(avdp.main_vds_ex.loc);
sys/fs/udf/udf_vfsops.c
394
mvds_end = mvds_start + (le32toh(avdp.main_vds_ex.len) - 1) / bsize;
sys/fs/udf/udf_vfsops.c
403
udfmp->bsize = le32toh(lvd->lb_size);
sys/fs/udf/udf_vfsops.c
412
fsd_offset = le32toh(lvd->_lvd_use.fsd_loc.loc.lb_num);
sys/fs/udf/udf_vfsops.c
421
udfmp->part_len = le32toh(pd->part_len);
sys/fs/udf/udf_vfsops.c
422
udfmp->part_start = le32toh(pd->start_loc);
sys/fs/udf/udf_vfsops.c
471
sector = le32toh(udfmp->root_icb.loc.lb_num) + udfmp->part_start;
sys/fs/udf/udf_vfsops.c
472
size = le32toh(udfmp->root_icb.len);
sys/fs/udf/udf_vfsops.c
654
lea = le32toh(fe->l_ea);
sys/fs/udf/udf_vfsops.c
655
lad = le32toh(fe->l_ad);
sys/fs/udf/udf_vfsops.c
765
for (i = 0; i < le32toh(lvd->n_pm); i++) {
sys/fs/udf/udf_vfsops.c
794
udfmp->s_table = malloc(le32toh(pms->st_size),
sys/fs/udf/udf_vfsops.c
807
if ((error = udf_readdevblks(udfmp, le32toh(pms->st_loc[0]),
sys/fs/udf/udf_vfsops.c
808
le32toh(pms->st_size), &bp)) != 0) {
sys/fs/udf/udf_vfsops.c
812
le32toh(pms->st_loc[0]));
sys/fs/udf/udf_vfsops.c
816
bcopy(bp->b_data, udfmp->s_table, le32toh(pms->st_size));
sys/fs/udf/udf_vfsops.c
830
if (le32toh(udfmp->s_table->entries[k].org) >=
sys/fs/udf/udf_vnops.c
1346
*data = &fentry->data[le32toh(fentry->l_ea)];
sys/fs/udf/udf_vnops.c
1347
*size = le32toh(fentry->l_ad);
sys/fs/udf/udf_vnops.c
142
perm = le32toh(node->fentry->perm);
sys/fs/udf/udf_vnops.c
1430
if (ad_offset > le32toh(fentry->l_ad)) {
sys/fs/udf/udf_vnops.c
1435
le32toh(fentry->l_ea) + ad_offset);
sys/fs/udf/udf_vnops.c
1441
le32toh(((struct short_ad *)(icb))->pos);
sys/fs/udf/udf_vnops.c
1455
if (ad_offset > le32toh(fentry->l_ad)) {
sys/fs/udf/udf_vnops.c
1460
le32toh(fentry->l_ea) + ad_offset);
sys/fs/udf/udf_vnops.c
1466
le32toh(((struct long_ad *)(icb))->loc.lb_num);
sys/fs/udf/udf_vnops.c
1497
lsector - le32toh(udfmp->s_table->entries[i].org);
sys/fs/udf/udf_vnops.c
1500
le32toh(udfmp->s_table->entries[i].map) +
sys/fs/udf/udf_vnops.c
308
vap->va_uid = (le32toh(fentry->uid) == -1) ? 0 : le32toh(fentry->uid);
sys/fs/udf/udf_vnops.c
309
vap->va_gid = (le32toh(fentry->gid) == -1) ? 0 : le32toh(fentry->gid);
sys/fs/udf/udf_vnops.c
467
data = &fentry->data[le32toh(fentry->l_ea)];
sys/fs/udf/udf_vnops.c
468
fsize = le32toh(fentry->l_ad);
sys/geom/part/g_part_bsd64.c
511
basetable->gpt_entries = le32toh(dlp->d_npartitions);
sys/geom/part/g_part_bsd64.c
515
v32 = le32toh(dlp->d_crc);
sys/geom/part/g_part_bsd64.c
521
table->d_align = le32toh(dlp->d_align);
sys/geom/part/g_part_gpt.c
471
sz = le32toh(buf->hdr_size);
sys/geom/part/g_part_gpt.c
479
crc = le32toh(buf->hdr_crc_self);
sys/geom/part/g_part_gpt.c
486
hdr->hdr_revision = le32toh(buf->hdr_revision);
sys/geom/part/g_part_gpt.c
507
hdr->hdr_entries = le32toh(buf->hdr_entries);
sys/geom/part/g_part_gpt.c
508
hdr->hdr_entsz = le32toh(buf->hdr_entsz);
sys/geom/part/g_part_gpt.c
528
hdr->hdr_crc_table = le32toh(buf->hdr_crc_table);
sys/kern/subr_mchain.c
432
*x = le32toh(v);
sys/libkern/murmur3_32.c
111
k = le32toh(*data);
sys/net80211/ieee80211_radiotap.c
328
uint32_t present = le32toh(rh->it_present);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
1456
val->flow.token_rate = le32toh(val->flow.token_rate);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
1458
le32toh(val->flow.token_bucket_size);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
1459
val->flow.peak_bandwidth = le32toh(val->flow.peak_bandwidth);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
1460
val->flow.latency = le32toh(val->flow.latency);
sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
1461
val->flow.delay_variation = le32toh(val->flow.delay_variation);
sys/powerpc/mpc85xx/fsl_sata.c
1219
ccb->ataio.dxfer_len - le32toh(clp->ttl);
sys/powerpc/mpc85xx/fsl_sata.c
1224
ccb->csio.dxfer_len - le32toh(clp->ttl);
sys/powerpc/mpc85xx/pci_mpc85xx.c
475
data = le32toh(bus_space_read_4(sc->sc_bst, sc->sc_bsh,
sys/riscv/starfive/jh7110_pcie.c
186
data = le32toh(bus_read_4(sc->cfg_mem_res, offset));
sys/sys/imgact_aout.h
102
#define N_STROFF(ex) (N_SYMOFF(ex) + le32toh((ex).a_syms))
sys/sys/imgact_aout.h
36
( le32toh((ex).a_midmag) & 0xffff )
sys/sys/imgact_aout.h
77
(le32toh((ex).a_entry) < le32toh((ex).a_text) ? 0 : \
sys/sys/imgact_aout.h
78
le32toh((ex).a_entry) & ~__LDPGSZ) : __LDPGSZ)
sys/sys/imgact_aout.h
82
N_ALIGN(ex, N_TXTADDR(ex) + le32toh((ex).a_text))
sys/sys/imgact_aout.h
91
N_ALIGN(ex, N_TXTOFF(ex) + le32toh((ex).a_text))
sys/sys/imgact_aout.h
95
N_ALIGN(ex, N_DATOFF(ex) + le32toh((ex).a_data))
sys/sys/imgact_aout.h
99
(N_RELOFF(ex) + le32toh((ex).a_trsize) + le32toh((ex).a_drsize))
tests/include/endian_test.c
77
#define O32(x) le32toh(x)
tests/include/endian_test.c
81
#define H32(x) le32toh(x)
tests/include/sys_endian_test.c
74
#define O32(x) le32toh(x)
tests/include/sys_endian_test.c
78
#define H32(x) le32toh(x)
tools/tools/dmardump/dmardump.c
267
addr = le32toh(rsdt->TableOffsetEntry[i]);
tools/tools/iwn/iwnstats/main.c
100
le32toh(rxphy->cts),
tools/tools/iwn/iwnstats/main.c
101
le32toh(rxphy->ba_resp),
tools/tools/iwn/iwnstats/main.c
102
le32toh(rxphy->dsp_kill),
tools/tools/iwn/iwnstats/main.c
103
le32toh(rxphy->bad_mh),
tools/tools/iwn/iwnstats/main.c
104
le32toh(rxphy->rssi_sum));
tools/tools/iwn/iwnstats/main.c
113
le32toh(g->bad_cts),
tools/tools/iwn/iwnstats/main.c
114
le32toh(g->bad_ack),
tools/tools/iwn/iwnstats/main.c
115
le32toh(g->not_bss),
tools/tools/iwn/iwnstats/main.c
116
le32toh(g->filtered),
tools/tools/iwn/iwnstats/main.c
117
le32toh(g->bad_chan),
tools/tools/iwn/iwnstats/main.c
118
le32toh(g->beacons));
tools/tools/iwn/iwnstats/main.c
123
le32toh(g->missed_beacons),
tools/tools/iwn/iwnstats/main.c
124
le32toh(g->adc_saturated),
tools/tools/iwn/iwnstats/main.c
125
le32toh(g->ina_searched));
tools/tools/iwn/iwnstats/main.c
129
le32toh(g->noise[0]),
tools/tools/iwn/iwnstats/main.c
130
le32toh(g->noise[1]),
tools/tools/iwn/iwnstats/main.c
131
le32toh(g->noise[2]),
tools/tools/iwn/iwnstats/main.c
132
le32toh(g->flags),
tools/tools/iwn/iwnstats/main.c
133
le32toh(g->load),
tools/tools/iwn/iwnstats/main.c
134
le32toh(g->fa));
tools/tools/iwn/iwnstats/main.c
138
le32toh(g->rssi[0]),
tools/tools/iwn/iwnstats/main.c
139
le32toh(g->rssi[1]),
tools/tools/iwn/iwnstats/main.c
140
le32toh(g->rssi[2]),
tools/tools/iwn/iwnstats/main.c
141
le32toh(g->energy[0]),
tools/tools/iwn/iwnstats/main.c
142
le32toh(g->energy[1]),
tools/tools/iwn/iwnstats/main.c
143
le32toh(g->energy[2]));
tools/tools/iwn/iwnstats/main.c
152
le32toh(tx->preamble),
tools/tools/iwn/iwnstats/main.c
153
le32toh(tx->rx_detected),
tools/tools/iwn/iwnstats/main.c
154
le32toh(tx->bt_defer),
tools/tools/iwn/iwnstats/main.c
155
le32toh(tx->bt_kill),
tools/tools/iwn/iwnstats/main.c
156
le32toh(tx->short_len));
tools/tools/iwn/iwnstats/main.c
160
le32toh(tx->cts_timeout),
tools/tools/iwn/iwnstats/main.c
161
le32toh(tx->ack_timeout),
tools/tools/iwn/iwnstats/main.c
162
le32toh(tx->exp_ack),
tools/tools/iwn/iwnstats/main.c
163
le32toh(tx->ack),
tools/tools/iwn/iwnstats/main.c
164
le32toh(tx->msdu));
tools/tools/iwn/iwnstats/main.c
168
le32toh(tx->burst_err1),
tools/tools/iwn/iwnstats/main.c
169
le32toh(tx->burst_err2),
tools/tools/iwn/iwnstats/main.c
170
le32toh(tx->cts_collision),
tools/tools/iwn/iwnstats/main.c
171
le32toh(tx->ack_collision));
tools/tools/iwn/iwnstats/main.c
175
le32toh(tx->ba_timeout),
tools/tools/iwn/iwnstats/main.c
176
le32toh(tx->ba_resched),
tools/tools/iwn/iwnstats/main.c
177
le32toh(tx->query_ampdu),
tools/tools/iwn/iwnstats/main.c
178
le32toh(tx->query),
tools/tools/iwn/iwnstats/main.c
179
le32toh(tx->query_ampdu_frag));
tools/tools/iwn/iwnstats/main.c
183
le32toh(tx->query_mismatch),
tools/tools/iwn/iwnstats/main.c
184
le32toh(tx->not_ready),
tools/tools/iwn/iwnstats/main.c
185
le32toh(tx->underrun),
tools/tools/iwn/iwnstats/main.c
186
le32toh(tx->bt_ht_kill),
tools/tools/iwn/iwnstats/main.c
187
le32toh(tx->rx_ba_resp));
tools/tools/iwn/iwnstats/main.c
196
le32toh(ht->bad_plcp),
tools/tools/iwn/iwnstats/main.c
197
le32toh(ht->overrun),
tools/tools/iwn/iwnstats/main.c
198
le32toh(ht->eoverrun),
tools/tools/iwn/iwnstats/main.c
199
le32toh(ht->good_crc32),
tools/tools/iwn/iwnstats/main.c
200
le32toh(ht->bad_crc32));
tools/tools/iwn/iwnstats/main.c
204
le32toh(ht->bad_plcp),
tools/tools/iwn/iwnstats/main.c
205
le32toh(ht->good_ampdu_crc32),
tools/tools/iwn/iwnstats/main.c
206
le32toh(ht->ampdu),
tools/tools/iwn/iwnstats/main.c
207
le32toh(ht->fragment));
tools/tools/iwn/iwnstats/main.c
218
le32toh(stats->general.temp),
tools/tools/iwn/iwnstats/main.c
219
le32toh(stats->general.temp_m),
tools/tools/iwn/iwnstats/main.c
220
le32toh(stats->general.burst_check),
tools/tools/iwn/iwnstats/main.c
221
le32toh(stats->general.burst),
tools/tools/iwn/iwnstats/main.c
222
le32toh(stats->general.sleep),
tools/tools/iwn/iwnstats/main.c
223
le32toh(stats->general.slot_out),
tools/tools/iwn/iwnstats/main.c
224
le32toh(stats->general.slot_idle));
tools/tools/iwn/iwnstats/main.c
227
le32toh(stats->general.slot_out),
tools/tools/iwn/iwnstats/main.c
228
le32toh(stats->general.ttl_tstamp),
tools/tools/iwn/iwnstats/main.c
229
le32toh(stats->general.tx_ant_a),
tools/tools/iwn/iwnstats/main.c
230
le32toh(stats->general.tx_ant_b),
tools/tools/iwn/iwnstats/main.c
231
le32toh(stats->general.exec),
tools/tools/iwn/iwnstats/main.c
232
le32toh(stats->general.probe));
tools/tools/iwn/iwnstats/main.c
235
le32toh(stats->general.rx_enabled));
tools/tools/iwn/iwnstats/main.c
79
le32toh(rxphy->ina),
tools/tools/iwn/iwnstats/main.c
80
le32toh(rxphy->fina),
tools/tools/iwn/iwnstats/main.c
81
le32toh(rxphy->bad_plcp),
tools/tools/iwn/iwnstats/main.c
82
le32toh(rxphy->bad_crc32),
tools/tools/iwn/iwnstats/main.c
83
le32toh(rxphy->overrun),
tools/tools/iwn/iwnstats/main.c
84
le32toh(rxphy->eoverrun));
tools/tools/iwn/iwnstats/main.c
89
le32toh(rxphy->fa),
tools/tools/iwn/iwnstats/main.c
90
le32toh(rxphy->bad_fina_sync),
tools/tools/iwn/iwnstats/main.c
91
le32toh(rxphy->sfd_timeout),
tools/tools/iwn/iwnstats/main.c
92
le32toh(rxphy->fina_timeout),
tools/tools/iwn/iwnstats/main.c
93
le32toh(rxphy->no_rts_ack));
tools/tools/iwn/iwnstats/main.c
98
le32toh(rxphy->rxe_limit),
tools/tools/iwn/iwnstats/main.c
99
le32toh(rxphy->ack),
tools/tools/net80211/w00t/libw00t/w00t.c
207
present = le32toh(rth->it_present);
tools/tools/net80211/wesside/wesside/wesside.c
2330
present = le32toh(rth->it_present);
tools/tools/net80211/wlaninject/wlaninject.c
489
present = le32toh(rth->it_present);
tools/tools/nvmf/nvmfd/controller.c
103
switch (le32toh(pset->ofst)) {
tools/tools/nvmf/nvmfd/controller.c
107
if (!update_cc(c, le32toh(pset->value.u32.low)))
tools/tools/nvmf/nvmfd/controller.c
155
cns = le32toh(cmd->cdw10) & 0xFF;
tools/tools/nvmf/nvmfd/controller.c
68
switch (le32toh(pget->ofst)) {
tools/tools/nvmf/nvmfd/io.c
100
offset = le32toh(cmd->cdw12) | (uint64_t)le32toh(cmd->cdw13) << 32;
tools/tools/nvmf/nvmfd/io.c
150
cns = le32toh(cmd->cdw10) & 0xFF;
tools/tools/nvmf/nvmfd/io.c
153
if (!device_namespace_data(le32toh(cmd->nsid), &nsdata)) {
tools/tools/nvmf/nvmfd/io.c
162
nsid = le32toh(cmd->nsid);
tools/tools/nvmf/nvmfd/io.c
172
if (!device_identification_descriptor(le32toh(cmd->nsid),
tools/tools/nvmf/nvmfd/io.c
193
fid = NVMEV(NVME_FEAT_SET_FID, le32toh(cmd->cdw10));
tools/tools/nvmf/nvmfd/io.c
205
num_queues = le32toh(cmd->cdw11) & 0xffff;
tools/tools/nvmf/nvmfd/io.c
212
if (le32toh(cmd->cdw11) >> 16 != num_queues)
tools/tools/nvmf/nvmfd/io.c
234
aer_mask = le32toh(cmd->cdw11);
tools/tools/nvmf/nvmfd/io.c
351
return ((uint64_t)le32toh(cmd->cdw11) << 32 | le32toh(cmd->cdw10));
tools/tools/nvmf/nvmfd/io.c
357
return ((le32toh(cmd->cdw12) & 0xffff) + 1);
tools/tools/nvmf/nvmfd/io.c
367
device_read(le32toh(cmd->nsid), cmd_lba(cmd), cmd_nlb(cmd), nc);
tools/tools/nvmf/nvmfd/io.c
384
device_write(le32toh(cmd->nsid), cmd_lba(cmd), cmd_nlb(cmd), nc);
tools/tools/nvmf/nvmfd/io.c
397
device_flush(le32toh(cmd->nsid), nc);
tools/tools/nvmf/nvmfd/io.c
98
lid = le32toh(cmd->cdw10) & 0xff;
tools/tools/nvmf/nvmfd/io.c
99
numd = le32toh(cmd->cdw10) >> 16 | le32toh(cmd->cdw11) << 16;
usr.sbin/acpi/acpidump/acpi.c
2497
printf("0x%08x", le32toh(rsdt->TableOffsetEntry[i]));
usr.sbin/acpi/acpidump/acpi.c
2800
addr = le32toh(rsdt->TableOffsetEntry[i]);
usr.sbin/acpi/acpidump/acpi.c
3021
addr = le32toh(rsdt->TableOffsetEntry[i]);
usr.sbin/bhyve/pci_nvme.c
2739
nsid = le32toh(cmd->nsid);
usr.sbin/bhyve/qemu_loader.c
202
switch (le32toh(entry->cmd_le)) {
usr.sbin/bhyve/qemu_loader.c
207
le32toh(entry->alloc.alignment_le));
usr.sbin/bhyve/qemu_loader.c
216
le32toh(entry->add_pointer.off_le));
usr.sbin/bhyve/qemu_loader.c
223
le32toh(entry->add_checksum.off_le));
usr.sbin/bhyve/qemu_loader.c
225
le32toh(entry->add_checksum.start_le));
usr.sbin/bhyve/qemu_loader.c
227
le32toh(entry->add_checksum.len_le));
usr.sbin/bhyve/qemu_loader.c
234
le32toh(entry->write_pointer.dest_off_le));
usr.sbin/bhyve/qemu_loader.c
236
le32toh(entry->write_pointer.src_off_le));
usr.sbin/bluetooth/ath3kfw/ath3k_hw.c
208
pt_ver.rom_version = le32toh(tmp);
usr.sbin/bluetooth/ath3kfw/ath3k_hw.c
210
pt_ver.build_version = le32toh(tmp);
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
332
le32toh(fw_header->fw_version), num_patches);
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
428
subsec_len = le32toh(subsec_hdr->len);
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
489
num_sections = le32toh(hdr->num_sections);
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
501
section_len = le32toh(section->len);
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
502
opcode = le32toh(section->opcode);
usr.sbin/btxld/btxld.c
313
btx->btx_entry = le32toh(btx->btx_entry);
usr.sbin/btxld/btxld.c
353
hdr->text = le32toh(ex->a_text);
usr.sbin/btxld/btxld.c
354
hdr->data = le32toh(ex->a_data);
usr.sbin/btxld/btxld.c
355
hdr->bss = le32toh(ex->a_bss);
usr.sbin/btxld/btxld.c
356
hdr->entry = le32toh(ex->a_entry);
usr.sbin/btxld/btxld.c
357
if (le32toh(ex->a_entry) >= BTX_PGSIZE)
usr.sbin/btxld/btxld.c
366
ep = (void *)((uint8_t *)p + le32toh(ee->e_phoff) +
usr.sbin/btxld/btxld.c
368
if (le32toh(ep->p_type) == PT_LOAD)
usr.sbin/btxld/btxld.c
371
hdr->text = le32toh(ep->p_filesz);
usr.sbin/btxld/btxld.c
372
hdr->org = le32toh(ep->p_paddr);
usr.sbin/btxld/btxld.c
373
if (le32toh(ep->p_flags) & PF_W)
usr.sbin/btxld/btxld.c
377
hdr->data = le32toh(ep->p_filesz);
usr.sbin/btxld/btxld.c
378
hdr->bss = le32toh(ep->p_memsz) -
usr.sbin/btxld/btxld.c
379
le32toh(ep->p_filesz);
usr.sbin/btxld/btxld.c
387
hdr->entry = le32toh(ee->e_entry);
usr.sbin/btxld/btxld.c
421
eh.p[1].p_offset = htole32(le32toh(eh.p[0].p_offset) +
usr.sbin/btxld/btxld.c
422
le32toh(eh.p[0].p_filesz));
usr.sbin/btxld/btxld.c
424
htole32(roundup2(le32toh(eh.p[0].p_paddr) + le32toh(eh.p[0].p_memsz),
usr.sbin/crunch/crunchide/exec_elf32.c
63
#define xewtoh(x) ((data == ELFDATA2MSB) ? be32toh(x) : le32toh(x))
usr.sbin/crunch/crunchide/exec_elf32.c
65
#define wewtoh(x) ((data == ELFDATA2MSB) ? be32toh(x) : le32toh(x))
usr.sbin/crunch/crunchide/exec_elf32.c
72
#define wewtoh(x) ((data == ELFDATA2MSB) ? be32toh(x) : le32toh(x))
usr.sbin/crunch/crunchide/exec_elf32.c
87
#define xe32toh(x) ((data == ELFDATA2MSB) ? be32toh(x) : le32toh(x))
usr.sbin/ctld/nvmf_discovery.cc
288
switch (le32toh(pget->ofst)) {
usr.sbin/ctld/nvmf_discovery.cc
323
switch (le32toh(pset->ofst)) {
usr.sbin/ctld/nvmf_discovery.cc
327
if (!update_cc(le32toh(pset->value.u32.low)))
usr.sbin/ctld/nvmf_discovery.cc
375
cns = le32toh(cmd->cdw10) & 0xFF;
usr.sbin/ctld/nvmf_discovery.cc
85
log->numrec = htole32(le32toh(log->numrec) + 1);
usr.sbin/fstyp/exfat.c
252
fat_offset_sect = le32toh(ev->ev_fat_offset);
usr.sbin/fstyp/exfat.c
258
nextclust = le32toh(fatsect[clsectoff]);
usr.sbin/fstyp/exfat.c
272
cluster_offset_sect = le32toh(ev->ev_cluster_offset);
usr.sbin/fstyp/exfat.c
273
rootdir_cluster = le32toh(ev->ev_rootdir_cluster);
usr.sbin/fstyp/exfat.c
357
if (chksum != le32toh(cksect[0])) {
usr.sbin/fstyp/exfat.c
359
le32toh(cksect[0]), chksum);
usr.sbin/mpsutil/mps_cmd.c
507
size = le32toh(reply.ActualImageSize);
usr.sbin/mpsutil/mps_cmd.c
795
facts->IOCLogInfo = le32toh(facts->IOCLogInfo);
usr.sbin/mpsutil/mps_cmd.c
798
facts->IOCCapabilities = le32toh(facts->IOCCapabilities);
usr.sbin/mpsutil/mps_cmd.c
801
facts->FWVersion.Word = le32toh(facts->FWVersion.Word);
usr.sbin/mpsutil/mps_show.c
111
v = le32toh(bios3->BiosVersion);
usr.sbin/mpsutil/mps_show.c
206
type = get_device_type(le32toh(phy0->ControllerPhyDeviceInfo));
usr.sbin/mpsutil/mps_show.c
574
type = get_device_type(le32toh(device->DeviceInfo));
usr.sbin/mpsutil/mps_show.c
615
snprintf(buf, sizeof(buf), "%08x%08x", le32toh(device->SASAddress.High),
usr.sbin/mpsutil/mps_show.c
616
le32toh(device->SASAddress.Low));
usr.sbin/mpsutil/mps_show.c
670
le16toh(enc->NumSlots), le32toh(enc->EnclosureLogicalID.High),
usr.sbin/mpsutil/mps_show.c
671
le32toh(enc->EnclosureLogicalID.Low), sepstr, le16toh(enc->EnclosureHandle),
usr.sbin/mpsutil/mps_show.c
728
exp0->NumPhys, le32toh(exp0->SASAddress.High), le32toh(exp0->SASAddress.Low),
usr.sbin/mpsutil/mps_show.c
746
type = get_device_type(le32toh(exp1->AttachedDeviceInfo));
usr.sbin/mpsutil/mps_show.c
747
if ((le32toh(exp1->AttachedDeviceInfo) &0x7) == 0) {
usr.sbin/usbdump/usbdump.c
483
up->up_totlen = le32toh(up->up_totlen);
usr.sbin/usbdump/usbdump.c
484
up->up_busunit = le32toh(up->up_busunit);
usr.sbin/usbdump/usbdump.c
485
up->up_flags = le32toh(up->up_flags);
usr.sbin/usbdump/usbdump.c
486
up->up_status = le32toh(up->up_status);
usr.sbin/usbdump/usbdump.c
487
up->up_error = le32toh(up->up_error);
usr.sbin/usbdump/usbdump.c
488
up->up_interval = le32toh(up->up_interval);
usr.sbin/usbdump/usbdump.c
489
up->up_frames = le32toh(up->up_frames);
usr.sbin/usbdump/usbdump.c
490
up->up_packet_size = le32toh(up->up_packet_size);
usr.sbin/usbdump/usbdump.c
491
up->up_packet_count = le32toh(up->up_packet_count);
usr.sbin/usbdump/usbdump.c
492
up->up_endpoint = le32toh(up->up_endpoint);
usr.sbin/usbdump/usbdump.c
532
framelen = le32toh(uf->length);
usr.sbin/usbdump/usbdump.c
533
flags = le32toh(uf->flags);
usr.sbin/usbdump/usbdump.c
627
temp.ts_sec = le32toh(hdr32->ts_sec);
usr.sbin/usbdump/usbdump.c
628
temp.ts_usec = le32toh(hdr32->ts_usec);
usr.sbin/usbdump/usbdump.c
629
temp.caplen = le32toh(hdr32->caplen);
usr.sbin/usbdump/usbdump.c
630
temp.datalen = le32toh(hdr32->datalen);
usr.sbin/usbdump/usbdump.c
673
datalen = le32toh(datalen);
usr.sbin/usbdump/usbdump.c
734
if (le32toh(uf.magic) != USBCAP_FILEHDR_MAGIC) {
usr.sbin/usbdump/usbdump.c
737
(unsigned int)le32toh(uf.magic));