common/lib/libc/cdb/cdbr.c
232
return /* LINTED */le32toh(*(const uint32_t *)addr);
common/lib/libc/stdlib/mi_vector_hash.c
159
a += le32toh(key32[0]);
common/lib/libc/stdlib/mi_vector_hash.c
160
b += le32toh(key32[1]);
common/lib/libc/stdlib/mi_vector_hash.c
161
c += le32toh(key32[2]);
common/lib/libc/stdlib/mi_vector_hash.c
169
c += (le32toh(key32[2]) & mask[len - 9]) << 8;
common/lib/libc/stdlib/mi_vector_hash.c
170
b += le32toh(key32[1]);
common/lib/libc/stdlib/mi_vector_hash.c
171
a += le32toh(key32[0]);
common/lib/libc/stdlib/mi_vector_hash.c
173
b += le32toh(key32[1]) & mask[len - 5];
common/lib/libc/stdlib/mi_vector_hash.c
174
a += le32toh(key32[0]);
common/lib/libc/stdlib/mi_vector_hash.c
176
a += le32toh(key32[0]) & mask[len - 1];
lib/libbluetooth/bluetooth.h
188
#define btohl(x) le32toh(x)
sbin/atactl/atactl.c
1122
printf("\tLBA first error: %d\n", le32toh(le->lba_first_error));
sbin/cgdconfig/cgdconfig.c
1182
&& le32toh(hdr.hdr_revision) == GPT_HDR_REVISION
sbin/cgdconfig/cgdconfig.c
1183
&& le32toh(hdr.hdr_size) == GPT_HDR_SIZE) {
sbin/disklabel/main.c
959
start = le32toh(dp->mbrp_start);
sbin/fdisk/fdisk.c
1147
ext.base = le32toh(mp->mbrp_start);
sbin/fdisk/fdisk.c
1148
ext.limit = ext.base + le32toh(mp->mbrp_size);
sbin/fdisk/fdisk.c
1150
for (offset = 0;; offset = le32toh(boot->mbr_parts[1].mbrp_start)) {
sbin/fdisk/fdisk.c
1169
offset + le32toh(boot->mbr_parts[0].mbrp_start)
sbin/fdisk/fdisk.c
1170
+ le32toh(boot->mbr_parts[0].mbrp_size) > ext.limit)
sbin/fdisk/fdisk.c
1179
if (offset >= le32toh(boot->mbr_parts[1].mbrp_start))
sbin/fdisk/fdisk.c
1244
ptn_0_base = le32toh(partp->mbrp_start);
sbin/fdisk/fdisk.c
1245
ptn_0_limit = ptn_0_base + le32toh(partp->mbrp_size);
sbin/fdisk/fdisk.c
1355
return le32toh(mboot.mbr_parts[p].mbrp_start);
sbin/fdisk/fdisk.c
1365
+ le32toh(ext.ptn[p].mbr_parts[0].mbrp_start);
sbin/fdisk/fdisk.c
1405
if (le32toh(mboot.mbr_parts[p].mbrp_start) == default_ptn)
sbin/fdisk/fdisk.c
1416
if (le32toh(ext.ptn[p].mbr_parts[0].mbrp_start) +
sbin/fdisk/fdisk.c
1446
if (le32toh(mboot.mbr_parts[p].mbrp_start) >= dos_totalsectors)
sbin/fdisk/fdisk.c
1577
off[opt] = le32toh(mboot.mbr_parts[i].mbrp_start);
sbin/fdisk/fdisk.c
1590
le32toh(ext.ptn[i].mbr_parts[0].mbrp_start);
sbin/fdisk/fdisk.c
1746
*absolute = le32toh(part->mbrp_start);
sbin/fdisk/fdisk.c
1751
*absolute = le32toh(part->mbrp_start)
sbin/fdisk/fdisk.c
1752
+ le32toh(part->mbrp_size) - 1;
sbin/fdisk/fdisk.c
1814
le32toh(ext.ptn[1].mbr_parts[0].mbrp_start) +
sbin/fdisk/fdisk.c
1815
le32toh(ext.ptn[1].mbr_parts[0].mbrp_size));
sbin/fdisk/fdisk.c
1827
dos(le32toh(partp->mbrp_start),
sbin/fdisk/fdisk.c
1829
dos(le32toh(partp->mbrp_start) + le32toh(partp->mbrp_size) - 1,
sbin/fdisk/fdisk.c
1855
p_s = le32toh(mboot.mbr_parts[p].mbrp_start);
sbin/fdisk/fdisk.c
1856
p_e = p_s + le32toh(mboot.mbr_parts[p].mbrp_size);
sbin/fdisk/fdisk.c
1914
if (le32toh(mboot.mbr_parts[part].mbrp_start) != ext.base)
sbin/fdisk/fdisk.c
1922
p_e = p_s + le32toh(ext.ptn[p].mbr_parts[0].mbrp_start)
sbin/fdisk/fdisk.c
1923
+ le32toh(ext.ptn[p].mbr_parts[0].mbrp_size);
sbin/fdisk/fdisk.c
1936
le32toh(ext.ptn[p].mbr_parts[1].mbrp_start)
sbin/fdisk/fdisk.c
1940
if (le32toh(ext.ptn[0].mbr_parts[1].mbrp_start) == 0) {
sbin/fdisk/fdisk.c
1985
p_e = p_s + le32toh(ext.ptn[p].mbr_parts[0].mbrp_start)
sbin/fdisk/fdisk.c
1986
+ le32toh(ext.ptn[p].mbr_parts[0].mbrp_size);
sbin/fdisk/fdisk.c
1988
p_s += le32toh(ext.ptn[p].mbr_parts[0].mbrp_start)
sbin/fdisk/fdisk.c
2064
start = offset + le32toh(partp->mbrp_start);
sbin/fdisk/fdisk.c
2065
size = le32toh(partp->mbrp_size);
sbin/fdisk/fdisk.c
2070
start = offset + le32toh(partp->mbrp_start);
sbin/fdisk/fdisk.c
2075
size = le32toh(partp->mbrp_size);
sbin/fdisk/fdisk.c
2093
+ le32toh(ext.ptn[p].mbr_parts[0].mbrp_start)
sbin/fdisk/fdisk.c
2094
+ le32toh(ext.ptn[p].mbr_parts[0].mbrp_size);
sbin/fdisk/fdisk.c
2111
n_s = le32toh(mboot.mbr_parts[p].mbrp_start);
sbin/fdisk/fdisk.c
2113
start < n_s + le32toh(mboot.mbr_parts[p].mbrp_size))
sbin/fdisk/fdisk.c
2122
n_s = le32toh(mboot.mbr_parts[p].mbrp_start);
sbin/fdisk/fdisk.c
2123
n_e = n_s + le32toh(mboot.mbr_parts[p].mbrp_size);
sbin/fdisk/fdisk.c
2171
+ le32toh(ext.ptn[p].mbr_parts[0].mbrp_start)
sbin/fdisk/fdisk.c
2172
+ le32toh(ext.ptn[p].mbr_parts[0].mbrp_size)) {
sbin/fdisk/fdisk.c
2183
n_s = le32toh(mboot.mbr_parts[p].mbrp_start);
sbin/fdisk/fdisk.c
2187
+ le32toh(mboot.mbr_parts[p].mbrp_size)) {
sbin/fdisk/fdisk.c
2765
id = le32toh(boot->mbr_parts[id].mbrp_start);
sbin/fdisk/fdisk.c
2810
offset = le32toh(ext.ptn[i].mbr_parts[1].mbrp_start);
sbin/fdisk/fdisk.c
687
offset += le32toh(ext.ptn[part - 1].mbr_parts[1].mbrp_start);
sbin/fdisk/fdisk.c
748
le32toh(mboot.mbr_dsn),
sbin/fdisk/fdisk.c
749
le32toh(mboot.mbr_dsn));
sbin/fdisk/fdisk.c
791
printf("PART%s%dSIZE=%u\n", e, part, le32toh(partp->mbrp_size));
sbin/fdisk/fdisk.c
793
offset + le32toh(partp->mbrp_start));
sbin/fdisk/fdisk.c
843
start = le32toh(partp->mbrp_start);
sbin/fdisk/fdisk.c
844
size = le32toh(partp->mbrp_size);
sbin/fdisk/fdisk.c
862
if (v_flag == 0 && le32toh(partp->mbrp_start) == ptn_0_offset)
sbin/gpt/add.c
101
if (entry > le32toh(hdr->hdr_entries)) {
sbin/gpt/add.c
103
entry, le32toh(hdr->hdr_entries));
sbin/gpt/add.c
116
for (i = 0; i < le32toh(hdr->hdr_entries); i++) {
sbin/gpt/add.c
121
if (i == le32toh(hdr->hdr_entries)) {
sbin/gpt/backup.c
134
le32toh(hdr->hdr_revision)));
sbin/gpt/backup.c
137
assert(le32toh(hdr->hdr_entries) <= INT32_MAX);
sbin/gpt/backup.c
139
(int32_t)le32toh(hdr->hdr_entries)));
sbin/gpt/biosboot.c
158
unsigned int ne = le32toh(hdr->hdr_entries);
sbin/gpt/gpt.c
1381
if (entry > le32toh(hdr->hdr_entries)) {
sbin/gpt/gpt.c
1383
entry, le32toh(hdr->hdr_entries));
sbin/gpt/gpt.c
400
crc = le32toh(hdr->hdr_crc_self);
sbin/gpt/gpt.c
402
if (crc32(hdr, le32toh(hdr->hdr_size)) != crc) {
sbin/gpt/gpt.c
409
tblsz = le32toh(hdr->hdr_entries) * le32toh(hdr->hdr_entsz);
sbin/gpt/gpt.c
425
if (crc32(p, tblsz) != le32toh(hdr->hdr_crc_table)) {
sbin/gpt/gpt.c
450
for (i = 0; i < le32toh(hdr->hdr_entries); i++) {
sbin/gpt/gpt.c
451
ent = (void*)(p + i * le32toh(hdr->hdr_entsz));
sbin/gpt/gpt.c
764
le32toh(hdr->hdr_entries) * le32toh(hdr->hdr_entsz)));
sbin/gpt/gpt.c
766
hdr->hdr_crc_self = htole32(crc32(hdr, le32toh(hdr->hdr_size)));
sbin/gpt/gpt.c
826
return (void *)((char *)tbl->map_data + i * le32toh(hdr->hdr_entsz));
sbin/gpt/gpt.c
968
if (le32toh(hdr->hdr_entries) > parts)
sbin/gpt/gpt.c
973
for (i = 0; i < le32toh(hdr->hdr_entries); i++) {
sbin/gpt/header.c
100
printf("- Number of GPT Entries: %u\n", le32toh(hdr->hdr_entries));
sbin/gpt/header.c
93
revision = le32toh(hdr->hdr_revision);
sbin/gpt/migrate.c
190
if (le32toh(dl->d_magic) != DISKMAGIC ||
sbin/gpt/migrate.c
191
le32toh(dl->d_magic2) != DISKMAGIC) {
sbin/gpt/migrate.c
197
rawofs = le32toh(dl->d_partitions[RAW_PART].p_offset) *
sbin/gpt/migrate.c
198
le32toh(dl->d_secsize);
sbin/gpt/migrate.c
202
ofs = le32toh(dl->d_partitions[i].p_offset) *
sbin/gpt/migrate.c
203
le32toh(dl->d_secsize);
sbin/gpt/migrate.c
224
ofs = (le32toh(dl->d_partitions[i].p_offset) *
sbin/gpt/migrate.c
225
le32toh(dl->d_secsize)) / gpt->secsz;
sbin/gpt/migrate.c
229
(off_t)le32toh((uint64_t)dl->d_partitions[i].p_size)
sbin/gpt/recover.c
108
hdr->hdr_crc_self = htole32(crc32(hdr, le32toh(hdr->hdr_size)));
sbin/gpt/resizedisk.c
149
le32toh(hdr->hdr_entries) * le32toh(hdr->hdr_entsz)); ent++) {
sbin/nvmectl/logpage.c
142
e->nsid = le32toh(e->nsid);
sbin/nvmectl/logpage.c
220
e->warning_temp_time = le32toh(e->warning_temp_time);
sbin/nvmectl/logpage.c
221
e->error_temp_time = le32toh(e->error_temp_time);
sys/arch/aarch64/aarch64/disasm.c
4092
insn = le32toh(di->di_readword(loc));
sys/arch/aarch64/aarch64/kobj_machdep.c
193
le32toh(*insn), strdisasm((vaddr_t)insn, 0));
sys/arch/aarch64/aarch64/kobj_machdep.c
257
(le32toh(*insn) & ~__BITS(21,10)) | (val << 10));
sys/arch/aarch64/aarch64/kobj_machdep.c
278
*insn = htole32((le32toh(*insn) &
sys/arch/aarch64/aarch64/kobj_machdep.c
302
*insn = htole32((le32toh(*insn) & ~__BITS(25,0)) | val);
sys/arch/aarch64/aarch64/kobj_machdep.c
359
le32toh(*insn), strdisasm((vaddr_t)insn, 0));
sys/arch/arm/acpi/acpi_iort.c
126
offset = le32toh(iort->NodeOffset);
sys/arch/arm/acpi/acpi_iort.c
127
for (n = 0; n < le32toh(iort->NodeCount); n++) {
sys/arch/arm/acpi/acpi_iort.c
131
if (le32toh(root->PciSegmentNumber) == seg) {
sys/arch/arm/acpi/acpi_iort.c
137
if (le32toh(its_group->ItsCount) == 0)
sys/arch/arm/acpi/acpi_iort.c
140
odevid, le32toh(its_group->Identifiers[0]));
sys/arch/arm/acpi/acpi_iort.c
141
return le32toh(its_group->Identifiers[0]);
sys/arch/arm/acpi/acpi_iort.c
50
offset = le32toh(node->MappingOffset);
sys/arch/arm/acpi/acpi_iort.c
51
for (n = 0; n < le32toh(node->MappingCount); n++) {
sys/arch/arm/acpi/acpi_iort.c
53
if (le32toh(map->Flags) & ACPI_IORT_ID_SINGLE_MAPPING) {
sys/arch/arm/acpi/acpi_iort.c
54
*id = le32toh(map->OutputBase);
sys/arch/arm/acpi/acpi_iort.c
57
if (*id >= le32toh(map->InputBase) && *id <= le32toh(map->InputBase) + le32toh(map->IdCount)) {
sys/arch/arm/acpi/acpi_iort.c
58
*id = *id - le32toh(map->InputBase) + le32toh(map->OutputBase);
sys/arch/arm/acpi/acpi_iort.c
76
return ACPI_ADD_PTR(ACPI_IORT_NODE, iort, le32toh(map->OutputReference));
sys/arch/arm/acpi/acpi_iort.c
92
offset = le32toh(iort->NodeOffset);
sys/arch/arm/acpi/acpi_iort.c
93
for (n = 0; n < le32toh(iort->NodeCount); n++) {
sys/arch/arm/acpi/acpi_iort.c
97
if (le32toh(root->PciSegmentNumber) == seg) {
sys/arch/arm/acpi/acpi_pci_n1sdp.c
176
const uint32_t bdf = le32toh(n1sdp_data[ap->ap_seg]->valid_bdfs[n]);
sys/arch/arm/acpi/acpi_platform.c
301
char *end = (char *)madt + le32toh(madt->Header.Length);
sys/arch/arm/acpi/acpi_table.c
101
const u_int entries = (le32toh(xsdt->Header.Length) - sizeof(ACPI_TABLE_HEADER)) / ACPI_XSDT_ENTRY_SIZE;
sys/arch/arm/acpi/acpi_table.c
64
length = le32toh(header->Length);
sys/arch/arm/acpi/acpi_table.c
74
acpi_md_OsUnmapMemory(hdrp, le32toh(hdrp->Length));
sys/arch/arm/altera/cycv_platform.c
47
while ((le32toh(uartaddr[com_lsr]) & LSR_TXRDY) == 0)
sys/arch/arm/arm/disksubr_mbr.c
156
if (le32toh(mbrp->mbrp_start) +
sys/arch/arm/arm/disksubr_mbr.c
157
le32toh(mbrp->mbrp_size) > lp->d_secperunit) {
sys/arch/arm/arm/disksubr_mbr.c
165
pp->p_offset = le32toh(mbrp->mbrp_start);
sys/arch/arm/arm/disksubr_mbr.c
166
pp->p_size = le32toh(mbrp->mbrp_size);
sys/arch/arm/arm/disksubr_mbr.c
175
mbrpartoff = le32toh(mbrp->mbrp_start);
sys/arch/arm/arm/disksubr_mbr.c
180
lp->d_partitions[2].p_size = le32toh(mbrp->mbrp_size);
sys/arch/arm/arm/disksubr_mbr.c
182
le32toh(mbrp->mbrp_start);
sys/arch/arm/arm/disksubr_mbr.c
274
mbrpartoff = le32toh(ourmbrp->mbrp_start);
sys/arch/arm/broadcom/bcm2835_com_acpi.c
167
return le32toh(vb.vbt_clockrate.rate) * 2;
sys/arch/arm/broadcom/bcm2835_vcaudio.c
382
switch (le32toh(msg.type)) {
sys/arch/arm/broadcom/bcm2835_vcaudio.c
385
sc->sc_success = le32toh(msg.u.result.success);
sys/arch/arm/broadcom/bcm2835_vcaudio.c
392
if (le32toh(msg.u.complete.cookie1) == VC_AUDIO_WRITE_COOKIE1 &&
sys/arch/arm/broadcom/bcm2835_vcaudio.c
393
le32toh(msg.u.complete.cookie2) == VC_AUDIO_WRITE_COOKIE2) {
sys/arch/arm/broadcom/bcm2835_vcaudio.c
394
int count = le32toh(msg.u.complete.count) & 0xffff;
sys/arch/arm/broadcom/bcm2835_vcaudio.c
395
int perr = (le32toh(msg.u.complete.count) & __BIT(30)) != 0;
sys/arch/arm/broadcom/bcm283x_platform.c
1013
le32toh(vb_setfb.vbt_allocbuf.address),
sys/arch/arm/broadcom/bcm283x_platform.c
1014
le32toh(vb_setfb.vbt_allocbuf.size));
sys/arch/arm/broadcom/bcm283x_platform.c
1015
printf("%s: depth = %d\n", __func__, le32toh(vb_setfb.vbt_depth.bpp));
sys/arch/arm/broadcom/bcm283x_platform.c
1017
le32toh(vb_setfb.vbt_pitch.linebytes));
sys/arch/arm/broadcom/bcm283x_platform.c
1019
le32toh(vb_setfb.vbt_res.width), le32toh(vb_setfb.vbt_res.height));
sys/arch/arm/broadcom/bcm283x_platform.c
1021
le32toh(vb_setfb.vbt_vres.width),
sys/arch/arm/broadcom/bcm283x_platform.c
1022
le32toh(vb_setfb.vbt_vres.height));
sys/arch/arm/broadcom/bcm283x_platform.c
1038
le32toh(vb_setfb.vbt_res.width));
sys/arch/arm/broadcom/bcm283x_platform.c
1040
le32toh(vb_setfb.vbt_res.height));
sys/arch/arm/broadcom/bcm283x_platform.c
1042
le32toh(vb_setfb.vbt_depth.bpp));
sys/arch/arm/broadcom/bcm283x_platform.c
1044
le32toh(vb_setfb.vbt_pitch.linebytes));
sys/arch/arm/broadcom/bcm283x_platform.c
1046
le32toh(vb_setfb.vbt_allocbuf.address));
sys/arch/arm/broadcom/bcm283x_platform.c
1374
while ((le32toh(uartaddr[PL01XCOM_FR / 4]) & PL01X_FR_TXFF) != 0)
sys/arch/arm/broadcom/bcm283x_platform.c
1379
while ((le32toh(uartaddr[PL01XCOM_FR / 4]) & PL01X_FR_TXFE) == 0)
sys/arch/arm/broadcom/bcm283x_platform.c
1391
while ((le32toh(uartaddr[com_lsr]) & LSR_TXRDY) == 0)
sys/arch/arm/broadcom/bcm283x_platform.c
1452
"chanmask", le32toh(vb.vbt_dmachan.mask));
sys/arch/arm/broadcom/bcm283x_platform.c
617
return le32toh(vb_uart.vbt_uartclockrate.rate);
sys/arch/arm/broadcom/bcm283x_platform.c
627
return le32toh(vb.vbt_vpuclockrate.rate);
sys/arch/arm/broadcom/bcm283x_platform.c
638
return le32toh(vb.vbt_emmcclockrate.rate);
sys/arch/arm/broadcom/bcm283x_platform.c
649
return le32toh(vb.vbt_emmc2clockrate.rate);
sys/arch/arm/broadcom/bcm283x_platform.c
674
uart_clk = le32toh(vb_uart.vbt_uartclockrate.rate);
sys/arch/arm/broadcom/bcm283x_platform.c
676
core_clk = le32toh(vb_uart.vbt_vpuclockrate.rate);
sys/arch/arm/broadcom/bcm283x_platform.c
770
le32toh(vptp_mem->mem[i].base);
sys/arch/arm/broadcom/bcm283x_platform.c
772
atop(le32toh(vptp_mem->mem[i].size));
sys/arch/arm/broadcom/bcm283x_platform.c
775
bcm283x_memorysize += le32toh(vptp_mem->mem[i].size);
sys/arch/arm/broadcom/bcm283x_platform.c
781
le32toh(vb.vbt_armclockrate.rate);
sys/arch/arm/broadcom/bcm283x_platform.c
790
le32toh(vb.vbt_armclockrate.rate));
sys/arch/arm/broadcom/bcm283x_platform.c
793
le32toh(vb.vbt_vpuclockrate.rate));
sys/arch/arm/broadcom/bcm283x_platform.c
796
le32toh(vb.vbt_emmcclockrate.rate));
sys/arch/arm/broadcom/bcm283x_platform.c
799
le32toh(vb.vbt_emmcclockrate.rate));
sys/arch/arm/broadcom/bcm283x_platform.c
802
le32toh(vb.vbt_fwrev.rev));
sys/arch/arm/broadcom/bcm283x_platform.c
805
le32toh(vb.vbt_boardmodel.model));
sys/arch/arm/broadcom/bcm283x_platform.c
811
le32toh(vb.vbt_boardrev.rev));
sys/arch/arm/broadcom/bcm283x_platform.c
817
le32toh(vb.vbt_dmachan.mask));
sys/arch/arm/broadcom/bcm53xx_eth.c
1065
rxsts = le32toh(rxsts);
sys/arch/arm/broadcom/bcm53xx_eth.c
1427
le32toh(producer->txdb_flags),
sys/arch/arm/broadcom/bcm53xx_eth.c
1428
le32toh(producer->txdb_buflen),
sys/arch/arm/broadcom/bcm53xx_eth.c
1429
le32toh(producer->txdb_addrlo),
sys/arch/arm/broadcom/bcm53xx_eth.c
1430
le32toh(producer->txdb_addrhi));
sys/arch/arm/broadcom/bcm53xx_eth.c
1445
le32toh(producer->txdb_flags), le32toh(producer->txdb_buflen),
sys/arch/arm/broadcom/bcm53xx_eth.c
1446
le32toh(producer->txdb_addrlo), le32toh(producer->txdb_addrhi));
sys/arch/arm/broadcom/bcm53xx_eth.c
1634
const uint32_t txdb_flags = le32toh(consumer->txdb_flags);
sys/arch/arm/fdt/arm_platform.c
90
while ((le32toh(uartaddr[PL01XCOM_FR / 4]) & PL01X_FR_TXFF) != 0)
sys/arch/arm/fdt/arm_platform.c
96
while ((le32toh(uartaddr[PL01XCOM_FR / 4]) & PL01X_FR_TXFE) == 0)
sys/arch/arm/gemini/gemini_gmac.c
695
if (d->d_bufaddr && (le32toh(d->d_bufaddr) >> 16) != 0xdead) {
sys/arch/arm/gemini/gemini_gmac.c
789
if (le32toh(d->d_bufaddr) == map->dm_segs->ds_addr) {
sys/arch/arm/gemini/gemini_gmac.c
903
d.d_desc0 = le32toh(hwq->hwq_base[rptr].d_desc0);
sys/arch/arm/gemini/gemini_gmac.c
904
d.d_desc1 = le32toh(hwq->hwq_base[rptr].d_desc1);
sys/arch/arm/gemini/gemini_gmac.c
905
d.d_bufaddr = le32toh(hwq->hwq_base[rptr].d_bufaddr);
sys/arch/arm/gemini/gemini_gmac.c
906
d.d_desc3 = le32toh(hwq->hwq_base[rptr].d_desc3);
sys/arch/arm/imx/imx23_platform.c
74
while ((le32toh(uartaddr[PL01XCOM_FR / 4]) & PL01X_FR_TXFF) != 0)
sys/arch/arm/imx/imx23_platform.c
80
while ((le32toh(uartaddr[PL01XCOM_FR / 4]) & PL01X_FR_TXFE) == 0)
sys/arch/arm/marvell/armadaxp.c
89
#define read_miscreg(r) le32toh(*(volatile uint32_t *)(misc_base + (r)))
sys/arch/arm/marvell/dove.c
282
val = le32toh(*(volatile uint32_t *)(iobase + DOVE_MISC_BASE +
sys/arch/arm/marvell/dove.c
64
#define READ_PMUREG(sc, o) le32toh(*(volatile uint32_t *)(pmu_base + (o)))
sys/arch/arm/marvell/kirkwood.c
247
reg = le32toh(*(volatile uint32_t *)(iobase + KIRKWOOD_MPP_BASE +
sys/arch/arm/marvell/mv78xx0.c
217
reg = le32toh(*(volatile uint32_t *)(iobase +
sys/arch/arm/marvell/mv78xx0.c
225
reg = le32toh(*(volatile uint32_t *)(iobase +
sys/arch/arm/marvell/mvsoc.c
1198
reg = le32toh(*(volatile uint32_t *)(pex_base + PCI_ID_REG));
sys/arch/arm/marvell/mvsoc.c
1203
reg = le32toh(*(volatile uint32_t *)(regbase + ORION_PMI_BASE +
sys/arch/arm/marvell/mvsoc.c
1211
reg = le32toh(*(volatile uint32_t *)(regbase +
sys/arch/arm/marvell/mvsoc.c
1229
reg = le32toh(*(volatile uint32_t *)(pex_base + PCI_CLASS_REG));
sys/arch/arm/marvell/mvsoc.c
1314
sizereg = le32toh(*(volatile uint32_t *)(dsc_base +
sys/arch/arm/marvell/mvsoc.c
1317
baseaddrreg = le32toh(*(volatile uint32_t *)(dsc_base +
sys/arch/arm/marvell/mvsoc.c
1405
val = le32toh(*(volatile uint32_t *)(regbase + MVSOC_AXI_MMAP1(cs)));
sys/arch/arm/marvell/mvsoc.c
95
return le32toh(*(volatile uint32_t *)(com_base + (o << 2)));
sys/arch/arm/marvell/mvsocvar.h
52
le32toh(*(volatile uint32_t *)(mlmb_base + (o)))
sys/arch/arm/marvell/orion.c
227
reg = le32toh(*(volatile uint32_t *)(iobase + ORION_PMI_BASE +
sys/arch/arm/nxp/imx6_platform.c
125
while ((le32toh(uartaddr[(IMX_USR2/4)]) & IMX_USR2_TXDC) == 0)
sys/arch/arm/rockchip/rk_platform.c
144
while ((le32toh(uartaddr[com_lsr]) & LSR_TXRDY) == 0)
sys/arch/arm/rockchip/rk_platform.c
222
while ((le32toh(uartaddr[com_lsr]) & LSR_TXRDY) == 0)
sys/arch/arm/rockchip/rk_platform.c
280
while ((le32toh(uartaddr[com_lsr]) & LSR_TXRDY) == 0)
sys/arch/arm/rockchip/rk_platform.c
339
while ((le32toh(uartaddr[com_lsr]) & LSR_TXRDY) == 0)
sys/arch/arm/sociox/if_scx.c
1578
txstat = le32toh(sc->sc_txdescs[txs->txs_lastdesc].t0);
sys/arch/arm/sociox/if_scx.c
1611
rxstat = le32toh(sc->sc_rxdescs[i].r0);
sys/arch/arm/sociox/if_scx.c
1616
rlen = le32toh(sc->sc_rxdescs[i].r3) >> 16;
sys/arch/arm/sunxi/sunxi_emac.c
797
status = le32toh(sc->rx.desc_ring[index].status);
sys/arch/arm/sunxi/sunxi_emac.c
867
status = le32toh(desc->status);
sys/arch/arm/sunxi/sunxi_platform.c
194
while ((le32toh(uartaddr[com_lsr]) & LSR_TXRDY) == 0)
sys/arch/arm/ti/am18xx_platform.c
93
while ((le32toh(uartaddr[com_lsr]) & LSR_TXRDY) == 0)
sys/arch/arm/ti/am3_platform.c
36
while ((le32toh(uartaddr[com_lsr]) & LSR_TXRDY) == 0)
sys/arch/arm/ti/omap3_platform.c
224
while ((le32toh(uartaddr[com_lsr]) & LSR_TXRDY) == 0)
sys/arch/arm/ti/omap3_platform.c
241
while ((le32toh(uartaddr[com_lsr]) & LSR_TXRDY) == 0)
sys/arch/arm/vexpress/vexpress_platform.c
104
while ((le32toh(uartaddr[PL01XCOM_FR / 4]) & PL01X_FR_TXFF) != 0)
sys/arch/arm/vexpress/vexpress_platform.c
110
while ((le32toh(uartaddr[PL01XCOM_FR / 4]) & PL01X_FR_TXFE) == 0)
sys/arch/arm/xilinx/zynq_platform.c
149
while ((le32toh(uartaddr[UART_CHNL_INT_STS / 4]) & STS_TEMPTY) == 0)
sys/arch/bebox/stand/boot/io.c
112
return le32toh(*((u_long *)&PCI_mem[addr]));
sys/arch/bebox/stand/boot/sd.c
530
sector = le32toh(mp[i].mbrp_start);
sys/arch/bebox/stand/boot/siop.c
51
#define ctoh32(x) le32toh(x)
sys/arch/bebox/stand/boot/wd.c
192
sector = le32toh(mp[i].mbrp_start);
sys/arch/cobalt/stand/boot/tlp.c
318
if ((le32toh(txd->xd0) & T0_OWN) == 0)
sys/arch/cobalt/stand/boot/tlp.c
343
rxstat = le32toh(rxd->xd0);
sys/arch/emips/ebus/ace_ebus.c
1142
Data32 = le32toh(Data32);
sys/arch/emips/ebus/flash_ebus.c
443
v = le32toh(v);
sys/arch/emips/ebus/flash_ebus.c
452
v = le32toh(v);
sys/arch/emips/ebus/flash_ebus.c
472
Value = le32toh(Value);
sys/arch/emips/ebus/flash_ebus.c
481
v = le32toh(v);
sys/arch/emips/stand/common/ace.c
544
Data32 = le32toh(Data32);
sys/arch/evbarm/bcm53xx/bcm53xx_machdep.c
444
while ((le32toh(uartaddr[com_lsr]) & LSR_TXRDY) == 0)
sys/arch/evbarm/rpi/rpi_vcmbox.c
169
*val = le32toh(vb.vbt_temp.value);
sys/arch/evbarm/rpi/rpi_vcmbox.c
192
*val = le32toh(vb.vbt_clockrate.rate);
sys/arch/evbarm/rpi/vcprop.h
520
return le32toh(vpbh->vpb_rcode) & VCPROP_REQ_SUCCESS;
sys/arch/evbarm/rpi/vcprop.h
527
return le32toh(vpbt->vpt_rcode) & VCPROPTAG_RESPONSE;
sys/arch/evbarm/rpi/vcprop.h
534
return le32toh(vpbt->vpt_rcode) & ~VCPROPTAG_RESPONSE;
sys/arch/evbarm/rpi/vcprop_subr.c
140
le32toh(vb_allocmem.vbt_am.size), error, res,
sys/arch/evbarm/rpi/vcprop_subr.c
141
le32toh(vb_allocmem.vbt_am.tag.vpt_rcode));
sys/arch/evbarm/rpi/vcprop_subr.c
152
return le32toh(vb_allocmem.vbt_am.size);
sys/arch/evbarm/rpi/vcprop_subr.c
189
le32toh(vb_lockmem.vbt_lm.handle), error, res,
sys/arch/evbarm/rpi/vcprop_subr.c
190
le32toh(vb_lockmem.vbt_lm.tag.vpt_rcode));
sys/arch/evbarm/rpi/vcprop_subr.c
200
return le32toh(vb_lockmem.vbt_lm.handle);
sys/arch/evbarm/rpi/vcprop_subr.c
237
le32toh(vb_unlockmem.vbt_lm.handle), error, res,
sys/arch/evbarm/rpi/vcprop_subr.c
238
le32toh(vb_unlockmem.vbt_lm.tag.vpt_rcode));
sys/arch/evbarm/rpi/vcprop_subr.c
285
le32toh(vb_releasemem.vbt_lm.handle), error, res,
sys/arch/evbarm/rpi/vcprop_subr.c
286
le32toh(vb_releasemem.vbt_lm.tag.vpt_rcode));
sys/arch/evbarm/rpi/vcprop_subr.c
336
le32toh(vb_cursorstate.vbt_cs.enable), error, res,
sys/arch/evbarm/rpi/vcprop_subr.c
337
le32toh(vb_cursorstate.vbt_cs.tag.vpt_rcode));
sys/arch/evbarm/rpi/vcprop_subr.c
390
le32toh(vb_cursorinfo.vbt_ci.width), error, res,
sys/arch/evbarm/rpi/vcprop_subr.c
391
le32toh(vb_cursorinfo.vbt_ci.tag.vpt_rcode));
sys/arch/evbarm/rpi/vcprop_subr.c
438
le32toh(vb_pixelorder.vbt_po.order), error, res,
sys/arch/evbarm/rpi/vcprop_subr.c
439
le32toh(vb_pixelorder.vbt_po.tag.vpt_rcode));
sys/arch/evbarm/rpi/vcprop_subr.c
489
le32toh(vb_pixelorder.vbt_po.order), error, res,
sys/arch/evbarm/rpi/vcprop_subr.c
490
le32toh(vb_pixelorder.vbt_po.tag.vpt_rcode));
sys/arch/evbarm/rpi/vcprop_subr.c
90
le32toh(vb_setblank.vbt_blank.state), error, res,
sys/arch/evbarm/rpi/vcprop_subr.c
91
le32toh(vb_setblank.vbt_blank.tag.vpt_rcode));
sys/arch/evbmips/malta/dev/gt.c
195
data = le32toh(data);
sys/arch/evbmips/malta/dev/gt.c
199
if (le32toh(GT_REGVAL(GT_INTR_CAUSE)) &
sys/arch/evbmips/malta/pci/pcib.c
424
irq = le32toh(GT_REGVAL(GT_PCI0_INTR_ACK)) & 0xff;
sys/arch/evbppc/mpc85xx/machdep.c
1512
((uint64_t)le32toh(cpu_read_4(ETSEC1_BASE + MACSTNADDR1)) << 16)
sys/arch/evbppc/mpc85xx/machdep.c
1513
| ((uint64_t)le32toh(cpu_read_4(ETSEC1_BASE + MACSTNADDR2)) << 48);
sys/arch/evbppc/stand/wii/sdmmc.c
127
printf("SDMMC: bad MBR magic: 0x%x\n", le32toh(mbr.mbr_magic));
sys/arch/evbppc/stand/wii/sdmmc.c
135
size = le32toh(mbr_part->mbrp_size);
sys/arch/evbppc/stand/wii/sdmmc.c
136
if (le32toh(mbr_part->mbrp_size) == 0) {
sys/arch/evbppc/stand/wii/sdmmc.c
139
start = le32toh(mbr_part->mbrp_start);
sys/arch/evbppc/stand/wii/sdmmc.c
254
error = miniipc_sdmmc_read(le32toh(p->p_offset) + dblk,
sys/arch/evbppc/stand/wii/sdmmc.c
71
printf(" - %u %u\n", le32toh(p->p_offset), le32toh(p->p_size));
sys/arch/evbppc/stand/wii/sdmmc.c
89
if (le32toh(d.d_magic) != DISKMAGIC ||
sys/arch/evbppc/stand/wii/sdmmc.c
90
le32toh(d.d_magic2) != DISKMAGIC) {
sys/arch/evbppc/stand/wii/sdmmc.c
92
printf("SDMMC: bad diskmagic 0x%x 0x%x\n", le32toh(d.d_magic),
sys/arch/evbppc/stand/wii/sdmmc.c
93
le32toh(d.d_magic2));
sys/arch/hppa/dev/apic.c
283
bus = le32toh(elroy_read32(&r->busnum)) & 0xff;
sys/arch/hppa/dev/apic.c
98
return le32toh(elroy_read32(&r->apic_data));
sys/arch/hppa/dev/astro.c
251
rid = le32toh(r->rid);
sys/arch/hppa/dev/astro.c
254
ioc_ctrl = le32toh(r->ioc_ctrl);
sys/arch/hppa/dev/dino.c
1230
*a++ = le32toh(data);
sys/arch/hppa/dev/dino.c
1239
*a++ = le32toh(data);
sys/arch/hppa/dev/dino.c
381
return le32toh(data);
sys/arch/hppa/dev/dino.c
687
return le32toh(data);
sys/arch/hppa/dev/dino.c
924
*a++ = le32toh(*p);
sys/arch/hppa/dev/elroy.c
1304
sc->sc_ver = PCI_REVISION(le32toh(elroy_read32(&r->pci_class)));
sys/arch/hppa/dev/elroy.c
290
data = le32toh(data);
sys/arch/hppa/dev/elroy.c
530
return le32toh(data);
sys/arch/hppa/dev/elroy.c
659
*a++ = le32toh(*p);
sys/arch/hppa/dev/elroy.c
872
*a++ = le32toh(data);
sys/arch/hppa/dev/mongoose.c
417
return le32toh(r);
sys/arch/hppa/dev/mongoose.c
445
*(a++) = le32toh(*(volatile uint32_t *)h);
sys/arch/hppa/dev/mongoose.c
514
*a++ = le32toh(r);
sys/arch/hppa/dev/sti_pci_machdep.c
196
tmp = le32toh(tmp);
sys/arch/hppa/dev/sti_pci_machdep.c
212
tmp = le32toh(tmp);
sys/arch/hppa/dev/sti_pci_machdep.c
243
tmp = le32toh(tmp);
sys/arch/hppa/dev/sti_pci_machdep.c
312
stiromsize = le32toh(stiromsize);
sys/arch/i386/stand/bootxx/boot1.c
242
if (le32toh(hdr->hdr_size) > BIOSDISK_DEFAULT_SECSIZE)
sys/arch/i386/stand/bootxx/boot1.c
245
nents = le32toh(hdr->hdr_entries);
sys/arch/i386/stand/bootxx/boot1.c
246
entsz = le32toh(hdr->hdr_entsz);
sys/arch/macppc/dev/if_gm.c
364
cmd = le32toh(dp->cmd);
sys/arch/macppc/dev/if_gm.c
370
if (le32toh(dp->cmd_hi) & 0x40000000) {
sys/arch/mips/ingenic/ingenic_com.c
129
while ((le32toh(com0addr[com_lsr]) & LSR_TXRDY) == 0)
sys/arch/mips/ingenic/ingenic_com.c
135
while ((le32toh(com0addr[com_lsr]) & LSR_TSRE) == 0)
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
115
#define CHIP_SWAP32(x) le32toh(x)
sys/arch/mips/rmi/rmixl_usbi.c
61
#define RMIXL_USBI_GEN_READ(o) le32toh(*RMIXL_USBI_GEN_VADDR(o))
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
565
le32toh(lli->sar), le32toh(lli->dar), le32toh(lli->llp),
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
566
le32toh(lli->ctl_hi), le32toh(lli->ctl_lo));
sys/arch/prep/prep/residual.c
164
l = le32toh(devid);
sys/arch/prep/stand/boot/io.c
87
return le32toh(*((u_long *)&PCI_mem[addr]));
sys/arch/prep/stand/boot/sd.c
530
sector = le32toh(mp[i].mbrp_start);
sys/arch/prep/stand/boot/siop.c
47
#define ctoh32(x) le32toh(x)
sys/arch/prep/stand/installboot/installboot.c
150
imgsz = le32toh(*(u_int32_t *)(buf + sizeof(u_int32_t)))
sys/arch/prep/stand/installboot/installboot.c
152
lseek(fd, le32toh(*(u_int32_t *)buf), SEEK_SET);
sys/arch/prep/stand/installboot/installboot.c
208
le32toh(mbrp[i].mbrp_start), le32toh(mbrp[i].mbrp_size));
sys/arch/prep/stand/installboot/installboot.c
213
ppp->mbrp_start = le32toh(ppp->mbrp_start);
sys/arch/prep/stand/installboot/installboot.c
214
ppp->mbrp_size = le32toh(ppp->mbrp_size);
sys/arch/sandpoint/stand/altboot/kse.c
202
txstat = le32toh(txd->xd0);
sys/arch/sandpoint/stand/altboot/kse.c
229
rxstat = le32toh(rxd->xd0);
sys/arch/sandpoint/stand/altboot/nvt.c
262
if ((le32toh(txd->xd0) & T0_OWN) == 0)
sys/arch/sandpoint/stand/altboot/nvt.c
288
rxstat = le32toh(rxd->xd0);
sys/arch/sandpoint/stand/altboot/pcn.c
237
if ((le32toh(txd->xd1) & T1_OWN) == 0)
sys/arch/sandpoint/stand/altboot/pcn.c
263
rxstat = le32toh(rxd->xd1);
sys/arch/sandpoint/stand/altboot/rge.c
257
if ((le32toh(txd->xd0) & T0_OWN) == 0)
sys/arch/sandpoint/stand/altboot/rge.c
285
rxstat = le32toh(rxd->xd0);
sys/arch/sandpoint/stand/altboot/sip.c
245
if ((le32toh(txd->xd1) & XD1_OWN) == 0)
sys/arch/sandpoint/stand/altboot/sip.c
271
rxstat = le32toh(rxd->xd1);
sys/arch/sandpoint/stand/altboot/skg.c
343
if ((le32toh(txd->xd0) & CTL_OWN) == 0)
sys/arch/sandpoint/stand/altboot/skg.c
371
ctl = le32toh(rxd->xd0);
sys/arch/sandpoint/stand/altboot/skg.c
379
rxstat = le32toh(rxd->xd4);
sys/arch/sandpoint/stand/altboot/sme.c
200
txstat = le32toh(txd->xd0);
sys/arch/sandpoint/stand/altboot/sme.c
229
rxstat = le32toh(rxd->xd0);
sys/arch/sandpoint/stand/altboot/tlp.c
218
txstat = le32toh(txd->xd0);
sys/arch/sandpoint/stand/altboot/tlp.c
247
rxstat = le32toh(rxd->xd0);
sys/arch/sandpoint/stand/altboot/vge.c
333
if ((le32toh(txd->t0) & T0_OWN) == 0)
sys/arch/sandpoint/stand/altboot/vge.c
358
rxstat = le32toh(rxd->r0);
sys/arch/sandpoint/stand/altboot/wm.c
238
if ((le32toh(txd->t3) & T3_DD) != 0)
sys/arch/sandpoint/stand/altboot/wm.c
264
rxstat = le32toh(rxd->r3);
sys/arch/sh3/sh3/disksubr.c
370
pp->p_offset = le32toh(dp->mbrp_start);
sys/arch/sh3/sh3/disksubr.c
371
pp->p_size = le32toh(dp->mbrp_size);
sys/arch/sh3/sh3/disksubr.c
386
dospartoff = le32toh(dp->mbrp_start);
sys/arch/sh3/sh3/disksubr.c
391
le32toh(dp->mbrp_size);
sys/arch/sh3/sh3/disksubr.c
393
le32toh(dp->mbrp_start);
sys/arch/sh3/sh3/disksubr.c
464
if (le32toh(dlp->d_magic) == DISKMAGIC &&
sys/arch/sh3/sh3/disksubr.c
465
le32toh(dlp->d_magic2) == DISKMAGIC) {
sys/arch/sh3/sh3/disksubr.c
530
dospartoff = le32toh(ourdp->mbrp_start);
sys/arch/sh3/sh3/disksubr.c
579
} else if (le32toh(dlp->d_magic) == DISKMAGIC &&
sys/arch/sh3/sh3/disksubr.c
580
le32toh(dlp->d_magic2) == DISKMAGIC &&
sys/arch/sparc/dev/ts102.c
247
return (le32toh(*(volatile uint32_t *)(handle +
sys/arch/sparc/sparc/msiiep.c
600
return le32toh(val);
sys/arch/sparc/sparc/msiiepreg.h
242
(le32toh(((volatile struct msiiep_pcic_reg *)MSIIEP_PCIC_VA)->reg))
sys/arch/sparc/sparc/pci_machdep.c
385
val = le32toh(lda(mode1_data_reg_pa, ASI_BYPASS));
sys/arch/sparc64/dev/auxio.c
67
led = le32toh(bus_space_read_4(sc->sc_tag, sc->sc_led, 0));
sys/crypto/adiantum/adiantum.c
1820
A->kn[i] = le32toh(A->kn[i]);
sys/dev/acpi/dalb_acpi.c
137
sc->sc_usageid = le32toh(*(uint32_t *)obj->Buffer.Pointer);
sys/dev/dkwedge/dkwedge_bsdlabel.c
382
next_ext = le32toh(dp->mbrp_start);
sys/dev/dkwedge/dkwedge_bsdlabel.c
422
int ptn_base = ext_base + le32toh(dp->mbrp_start);
sys/dev/dkwedge/dkwedge_gpt.c
106
rv = le32toh(crc) == crc32(0, (void *)hdr, le32toh(hdr->hdr_size));
sys/dev/dkwedge/dkwedge_gpt.c
157
if (le32toh(hdr->hdr_size) > secsize) {
sys/dev/dkwedge/dkwedge_gpt.c
178
entries = le32toh(hdr->hdr_entries);
sys/dev/dkwedge/dkwedge_gpt.c
179
entsz = roundup(le32toh(hdr->hdr_entsz), 8);
sys/dev/dkwedge/dkwedge_gpt.c
182
pdk->dk_name, le32toh(hdr->hdr_entsz));
sys/dev/dkwedge/dkwedge_gpt.c
186
gpe_crc = le32toh(hdr->hdr_crc_table);
sys/dev/dkwedge/dkwedge_mbr.c
132
dkw.dkw_offset = le32toh(dp[i].mbrp_start);
sys/dev/dkwedge/dkwedge_mbr.c
133
dkw.dkw_size = le32toh(dp[i].mbrp_size);
sys/dev/dkwedge/dkwedge_mbr.c
167
poff = le32toh(dp[i].mbrp_start) + extoff;
sys/dev/i2o/dpti.c
207
sc->sc_blinkled = le32toh(param.dib.serialoutputoff) + 8;
sys/dev/i2o/iop.c
1012
le32toh(*sw));
sys/dev/i2o/iop.c
1168
esize = le32toh(sc->sc_status.expectedlctsize);
sys/dev/i2o/iop.c
1471
le32toh(mema[1]), PAGE_SIZE, 0, 0, &boo, &bsh);
sys/dev/i2o/iop.c
1482
le32toh(ioa[1]), 0, 0, 0, &boo, &bsh);
sys/dev/i2o/iop.c
1537
le32toh(*sw));
sys/dev/i2o/iop.c
1628
if ((le32toh(rb->msgflags) & I2O_MSGFLAGS_64BIT) != 0)
sys/dev/i2o/iop.c
1634
ictx = le32toh(rb->msgictx);
sys/dev/i2o/iop.c
1666
tctx = le32toh(rb->msgtctx);
sys/dev/i2o/iop.c
1709
size = (le32toh(rb->msgflags) >> 14) & ~3;
sys/dev/i2o/iop.c
1790
event = le32toh(rb->event);
sys/dev/i2o/iop.c
2002
*p++ = le32toh(saddr);
sys/dev/i2o/iop.c
2201
(le32toh(sc->sc_status.segnumber) >> 16) & 0xff);
sys/dev/i2o/iop.c
2231
(le32toh(sc->sc_status.segnumber) >> 16) & 0xff);
sys/dev/i2o/iop.c
2264
function = (le32toh(rb->msgfunc) >> 24) & 0xff;
sys/dev/i2o/iop.c
2277
device_xname(sc->sc_dev), detail, le32toh(rb->msgictx),
sys/dev/i2o/iop.c
2278
le32toh(rb->msgtctx));
sys/dev/i2o/iop.c
2280
(le32toh(rb->msgfunc) >> 12) & 4095, le32toh(rb->msgfunc) & 4095,
sys/dev/i2o/iop.c
2281
(le32toh(rb->msgflags) >> 8) & 0xff);
sys/dev/i2o/iop.c
2295
le32toh(fn->msgictx), le32toh(fn->msgtctx));
sys/dev/i2o/iop.c
2605
i = (le32toh(im->im_rb->msgflags) >> 14) & ~3;
sys/dev/i2o/iop.c
364
(le32toh(sc->sc_status.segnumber) >> 12) & 15);
sys/dev/i2o/iop.c
367
le32toh(sc->sc_status.desiredprivmemsize),
sys/dev/i2o/iop.c
368
le32toh(sc->sc_status.currentprivmemsize),
sys/dev/i2o/iop.c
369
le32toh(sc->sc_status.currentprivmembase));
sys/dev/i2o/iop.c
371
le32toh(sc->sc_status.desiredpriviosize),
sys/dev/i2o/iop.c
372
le32toh(sc->sc_status.currentpriviosize),
sys/dev/i2o/iop.c
373
le32toh(sc->sc_status.currentpriviobase));
sys/dev/i2o/iop.c
376
sc->sc_maxob = le32toh(sc->sc_status.maxoutboundmframes);
sys/dev/i2o/iop.c
379
sc->sc_maxib = le32toh(sc->sc_status.maxinboundmframes);
sys/dev/i2o/iop.c
442
le32toh(sc->sc_status.maxinboundmframes),
sys/dev/i2o/iop.c
443
sc->sc_maxob, le32toh(sc->sc_status.maxoutboundmframes));
sys/dev/i2o/iop.c
527
htole32(le32toh(iop->sc_status.segnumber) & ~4095);
sys/dev/i2o/iop.c
629
device_xname(sc->sc_dev), le32toh(lct.changeindicator), rv));
sys/dev/i2o/iop.c
633
iop_reconfigure(sc, le32toh(lct.changeindicator));
sys/dev/i2o/iop.c
703
chgind = le32toh(sc->sc_lct->changeindicator);
sys/dev/i2o/iop.c
786
usertid = le32toh(le->usertid) & 4095;
sys/dev/i2o/iopsp.c
168
le32toh(param.p.sci.initiatorid));
sys/dev/i2o/iopsp.c
187
sc->sc_channel.chan_id = le32toh(param.p.sci.initiatorid);
sys/dev/i2o/iopsp.c
261
(le32toh(le->usertid) & 4095) == bptid) {
sys/dev/i2o/iopsp.c
270
if (((le32toh(le->usertid) >> 12) & 4095) != bptid)
sys/dev/i2o/iopsp.c
278
targ = le32toh(param.sdi.identifier);
sys/dev/i2o/iopsp.c
314
if ((le32toh(le->usertid) & 4095) != I2O_TID_NONE) {
sys/dev/i2o/iopsp.c
321
le32toh(le->usertid) & 4095);
sys/dev/i2o/iopsp.c
576
sl = le32toh(rb->senselen);
sys/dev/i2o/iopsp.c
592
xs->resid = xs->datalen - le32toh(rb->datalen);
sys/dev/i2o/ld_iop.c
196
ld->sc_secsize = le32toh(param.p.bdi.blocksize);
sys/dev/i2o/ld_iop.c
223
if ((le32toh(param.p.bdi.capabilities) & I2O_RBS_CAP_REMOVABLE_MEDIA)
sys/dev/i2o/ld_iop.c
243
if ((cachesz = le32toh(param.p.cc.totalcachesize)) != 0)
sys/dev/i2o/ld_iop.c
515
bp->b_resid = bp->b_bcount - le32toh(rb->transfercount);
sys/dev/i2o/ld_iop.c
535
event = le32toh(rb->event);
sys/dev/ic/aac.c
1098
if (le32toh(fib->Header.XferState) & AAC_FIBSTATE_FROMADAP) {
sys/dev/ic/aac.c
1498
fib_addr = le32toh(ac->ac_fib->Header.ReceiverFibAddress);
sys/dev/ic/aac.c
1506
pi = le32toh(sc->sc_queues->qt_qindex[queue][AAC_PRODUCER_INDEX]);
sys/dev/ic/aac.c
1507
ci = le32toh(sc->sc_queues->qt_qindex[queue][AAC_CONSUMER_INDEX]);
sys/dev/ic/aac.c
1555
pi = le32toh(sc->sc_queues->qt_qindex[queue][AAC_PRODUCER_INDEX]);
sys/dev/ic/aac.c
1556
ci = le32toh(sc->sc_queues->qt_qindex[queue][AAC_CONSUMER_INDEX]);
sys/dev/ic/aac.c
1571
*fib_size = le32toh((sc->sc_qentries[queue] + ci)->aq_fib_size);
sys/dev/ic/aac.c
1576
idx = le32toh((sc->sc_qentries[queue] + ci)->aq_fib_addr);
sys/dev/ic/aac.c
1582
idx = le32toh((sc->sc_qentries[queue] + ci)->aq_fib_addr);
sys/dev/ic/aac.c
1635
pi = le32toh(sc->sc_queues->qt_qindex[queue][AAC_PRODUCER_INDEX]);
sys/dev/ic/aac.c
1636
ci = le32toh(sc->sc_queues->qt_qindex[queue][AAC_CONSUMER_INDEX]);
sys/dev/ic/aac.c
1702
"\25APIFIB\n", le32toh(fib->Header.XferState));
sys/dev/ic/aac.c
1711
le32toh(fib->Header.SenderFibAddress));
sys/dev/ic/aac.c
1713
le32toh(fib->Header.ReceiverFibAddress));
sys/dev/ic/aac.c
1722
if (le32toh(br->Command) == VM_CtBlockRead) {
sys/dev/ic/aac.c
1724
le32toh(br->ContainerId), le32toh(br->BlockNumber),
sys/dev/ic/aac.c
1725
le32toh(br->ByteCount));
sys/dev/ic/aac.c
1728
if (le32toh(bw->Command) == VM_CtBlockWrite) {
sys/dev/ic/aac.c
1730
le32toh(bw->ContainerId), le32toh(bw->BlockNumber),
sys/dev/ic/aac.c
1731
le32toh(bw->ByteCount),
sys/dev/ic/aac.c
1732
le32toh(bw->Stable) == CSTABLE ?
sys/dev/ic/aac.c
1737
printf(" %d s/g entries\n", le32toh(sg->SgCount));
sys/dev/ic/aac.c
1738
for (i = 0; i < le32toh(sg->SgCount); i++)
sys/dev/ic/aac.c
1740
le32toh(sg->SgEntry[i].SgAddress),
sys/dev/ic/aac.c
1741
le32toh(sg->SgEntry[i].SgByteCount));
sys/dev/ic/aac.c
391
aac_describe_code(aac_cpu_variant, le32toh(info->CpuVariant)),
sys/dev/ic/aac.c
392
le32toh(info->ClockSpeed),
sys/dev/ic/aac.c
393
le32toh(info->TotalMem) / (1024 * 1024),
sys/dev/ic/aac.c
394
le32toh(info->BufferMem) / (1024 * 1024),
sys/dev/ic/aac.c
396
le32toh(info->batteryPlatform)));
sys/dev/ic/aac.c
515
sc->sc_max_fib_size = le32toh(opt1) & 0xffff;
sys/dev/ic/aac.c
516
sc->sc_max_sectors = (le32toh(opt1) >> 16) << 1;
sys/dev/ic/aac.c
517
tmpval = (le32toh(opt2) >> 16);
sys/dev/ic/aac.c
521
tmpval = (le32toh(opt3) & 0xffff);
sys/dev/ic/aac.c
858
if (le32toh(mir.Status) != ST_OK ||
sys/dev/ic/aac.c
859
le32toh(mir.MntTable[0].VolType) == CT_NONE)
sys/dev/ic/aac.c
863
hd->hd_size = le32toh(mir.MntTable[0].Capacity);
sys/dev/ic/aac.c
866
le32toh(mir.MntTable[0].CapacityHigh) << 32;
sys/dev/ic/aac.c
867
hd->hd_devtype = le32toh(mir.MntTable[0].VolType);
sys/dev/ic/adw.c
1069
xs->resid = le32toh(scsiq->data_cnt);
sys/dev/ic/adw.c
743
sg_block_physical_addr = le32toh(ccb->hashkey) +
sys/dev/ic/adwlib.c
1795
le32toh(new_carrp->carr_ba));
sys/dev/ic/adwlib.c
2023
while (((le32toh(irq_next_pa = sc->irq_sp->next_ba)) & ASC_RQ_DONE) != 0)
sys/dev/ic/adwlib.c
2051
if ((le32toh(irq_next_pa) & ASC_RQ_GOOD) != 0) {
sys/dev/ic/adwlib.c
860
ADW_WRITE_DWORD_LRAM(iot, ioh, ADW_MC_ICQ, le32toh(sc->icq_sp->carr_ba));
sys/dev/ic/adwlib.c
868
le32toh(sc->icq_sp->carr_ba));
sys/dev/ic/adwlib.c
892
ADW_WRITE_DWORD_LRAM(iot, ioh, ADW_MC_IRQ, le32toh(sc->irq_sp->carr_ba));
sys/dev/ic/adwmcode.h
73
#define ASC_GET_CARRP(carrp) htole32((le32toh(carrp)) & ASC_NEXT_BA_MASK)
sys/dev/ic/adwmcode.h
87
le32toh((u_long)x) - \
sys/dev/ic/ahcisata_core.c
1603
le32toh(achp->ahcic_cmdh[xfer->c_slot].cmdh_prdbc);
sys/dev/ic/ahcisata_core.c
2042
sc_xfer->resid -= le32toh(achp->ahcic_cmdh[xfer->c_slot].cmdh_prdbc);
sys/dev/ic/aic6915.c
637
tcd = le32toh(sc->sc_txcomp[consumer].tcd_word0);
sys/dev/ic/aic6915.c
712
word0 = le32toh(rcd->rcd_word0);
sys/dev/ic/aic79xx_osm.h
174
#define ahd_le32toh(x) le32toh(x)
sys/dev/ic/aic7xxx_osm.h
189
#define ahc_le32toh(x) le32toh(x)
sys/dev/ic/am79c930.c
344
return le32toh(bus_space_read_stream_4(sc->sc_memt, sc->sc_memh,
sys/dev/ic/an.c
1401
le32toh(frmhdr.an_rx_time), le16toh(frmhdr.an_rx_status),
sys/dev/ic/an.c
1527
le32toh(frmhdr.an_rx_time));
sys/dev/ic/atw.c
3111
rxstat = le32toh(sc->sc_rxdescs[i].ar_stat);
sys/dev/ic/atw.c
3112
ctlrssi = le32toh(sc->sc_rxdescs[i].ar_ctlrssi);
sys/dev/ic/atw.c
3126
le32toh(sc->sc_rxdescs[i].ar_buf1),
sys/dev/ic/atw.c
3127
le32toh(sc->sc_rxdescs[i].ar_buf2)));
sys/dev/ic/atw.c
3304
le32toh(sc->sc_txdescs[i].at_stat));
sys/dev/ic/atw.c
3306
le32toh(sc->sc_txdescs[i].at_flags));
sys/dev/ic/atw.c
3308
le32toh(sc->sc_txdescs[i].at_buf1));
sys/dev/ic/atw.c
3310
le32toh(sc->sc_txdescs[i].at_buf2));
sys/dev/ic/atw.c
3319
txstat = le32toh(sc->sc_txdescs[txs->txs_lastdesc].at_stat);
sys/dev/ic/atw.c
3834
le32toh(sc->sc_txdescs[seg].at_ctl));
sys/dev/ic/atw.c
3836
le32toh(sc->sc_txdescs[seg].at_flags));
sys/dev/ic/atw.c
3838
le32toh(sc->sc_txdescs[seg].at_buf1));
sys/dev/ic/atw.c
3840
le32toh(sc->sc_txdescs[seg].at_buf2));
sys/dev/ic/bwfm.c
1742
dcmd->hdr.cmd = le32toh(dcmd->hdr.cmd);
sys/dev/ic/bwfm.c
1743
dcmd->hdr.len = le32toh(dcmd->hdr.len);
sys/dev/ic/bwfm.c
1744
dcmd->hdr.flags = le32toh(dcmd->hdr.flags);
sys/dev/ic/bwfm.c
1745
dcmd->hdr.status = le32toh(dcmd->hdr.status);
sys/dev/ic/bwfm.c
1800
dcmd->hdr.cmd = le32toh(dcmd->hdr.cmd);
sys/dev/ic/bwfm.c
1801
dcmd->hdr.len = le32toh(dcmd->hdr.len);
sys/dev/ic/bwfm.c
1802
dcmd->hdr.flags = le32toh(dcmd->hdr.flags);
sys/dev/ic/bwfm.c
1803
dcmd->hdr.status = le32toh(dcmd->hdr.status);
sys/dev/ic/bwfm.c
1882
*data = le32toh(*data);
sys/dev/ic/bwfm.c
1929
*data = le32toh(*data);
sys/dev/ic/bwfm.c
2120
flags = le32toh(sta.flags);
sys/dev/ic/bwfm.c
2124
txrate = le32toh(sta.tx_rate);
sys/dev/ic/bwfm.c
2214
if (len < sizeof(*res) || len < le32toh(res->buflen)) {
sys/dev/ic/bwfm.c
2235
len -= sizeof(*bss) + le32toh(bss->length);
sys/dev/ic/bwfm.c
2236
bss = (void *)(((uintptr_t)bss) + le32toh(bss->length));
sys/dev/ic/bwfm.c
2288
efrm = sfrm + le32toh(bss->ie_length);
sys/dev/ic/bwfm.c
2301
rates[1] = le32toh(bss->nrates);
sys/dev/ic/bwfm.c
2373
le32toh(bss->rssi), 0);
sys/dev/ic/bwfm.c
406
const u_int nbands = le32toh(bandlist[0]);
sys/dev/ic/bwfm.c
408
switch (le32toh(bandlist[i])) {
sys/dev/ic/bwfm.c
444
le32toh(bandlist[i]));
sys/dev/ic/ciss.c
1478
bd->bd_size = (u_int64_t)le32toh(pdid->nblocks) *
sys/dev/ic/ciss.c
1584
blks = le32toh(pdid->nblocks);
sys/dev/ic/ciss.c
907
xs->resid = le32toh(err->resid);
sys/dev/ic/ciss.c
934
le32toh(err->resid)));
sys/dev/ic/ciss.c
941
xs->resid = le32toh(err->resid);
sys/dev/ic/dp83932var.h
383
return (le32toh(val));
sys/dev/ic/dwc_eqos.c
1048
le32toh(sc->sc_rx.desc_ring[index].tdes1);
sys/dev/ic/dwc_eqos.c
1124
tdes3 = le32toh(desc->tdes3);
sys/dev/ic/dwc_eqos.c
954
tdes3 = le32toh(sc->sc_rx.desc_ring[index].tdes3);
sys/dev/ic/dwc_gmac.c
1275
__func__, le32toh(desc->ddesc_status0));
sys/dev/ic/dwc_gmac.c
1521
return !!(le32toh(desc->ddesc_status0) & DDESC_STATUS_OWNEDBYDEV);
sys/dev/ic/dwc_gmac.c
1527
uint32_t cntl = le32toh(desc->ddesc_cntl1);
sys/dev/ic/dwc_gmac.c
1537
return __SHIFTOUT(le32toh(desc->ddesc_status0), DDESC_STATUS_FRMLENMSK);
sys/dev/ic/dwc_gmac.c
1551
uint32_t cntl = le32toh(desc->ddesc_cntl1);
sys/dev/ic/dwc_gmac.c
1559
uint32_t cntl = le32toh(desc->ddesc_cntl1);
sys/dev/ic/dwc_gmac.c
1575
return !!(le32toh(desc->ddesc_status0) &
sys/dev/ic/dwc_gmac.c
1582
uint32_t tdes1 = le32toh(desc->ddesc_cntl1);
sys/dev/ic/dwc_gmac.c
1592
return __SHIFTOUT(le32toh(desc->ddesc_status0), DDESC_RDES0_FL);
sys/dev/ic/dwc_gmac.c
1606
uint32_t tdes0 = le32toh(desc->ddesc_status0);
sys/dev/ic/dwc_gmac.c
1614
uint32_t tdes0 = le32toh(desc->ddesc_status0);
sys/dev/ic/dwc_gmac.c
1631
return !!(le32toh(desc->ddesc_status0) &
sys/dev/ic/dwc_gmac.c
1683
le32toh(desc->ddesc_status0), le32toh(desc->ddesc_cntl1),
sys/dev/ic/dwc_gmac.c
1684
le32toh(desc->ddesc_data), le32toh(desc->ddesc_next));
sys/dev/ic/dwc_gmac.c
1726
"\0", le32toh(desc->ddesc_status0));
sys/dev/ic/dwc_gmac.c
1732
le32toh(desc->ddesc_status0), le32toh(desc->ddesc_cntl1),
sys/dev/ic/dwc_gmac.c
1733
le32toh(desc->ddesc_data), le32toh(desc->ddesc_next),
sys/dev/ic/elinkxl.c
1350
pktstat = le32toh(upd->upd_pktstatus);
sys/dev/ic/esiop.c
1086
le32toh(esiop_cmd->cmd_tables->id),
sys/dev/ic/esiop.c
1088
le32toh(esiop_cmd->cmd_tables->status));
sys/dev/ic/esiop.c
1116
xs->status = le32toh(esiop_cmd->cmd_tables->status);
sys/dev/ic/esiop.c
1135
(le32toh(ESIOP_XFER(esiop_cmd, saved_offset)) >> 8) & 0xff;
sys/dev/ic/esiop.c
125
return le32toh(sc->sc_c.sc_script[offset]);
sys/dev/ic/esiop.c
1289
status = le32toh(esiop_cmd->cmd_tables->status);
sys/dev/ic/esiop.c
1311
(le32toh(ESIOP_XFER(esiop_cmd, saved_offset)) >> 8) & 0xff;
sys/dev/ic/esiop.c
1817
le32toh(esiop_cmd->cmd_tables->status));
sys/dev/ic/esiop.c
1981
le32toh(newcbd->cmds[i].cmd_tables->t_msgin.addr),
sys/dev/ic/esiop.c
1982
le32toh(newcbd->cmds[i].cmd_tables->t_msgout.addr),
sys/dev/ic/esiop.c
1983
le32toh(newcbd->cmds[i].cmd_tables->t_status.addr));
sys/dev/ic/esiop.c
535
le32toh(esiop_cmd->cmd_tables->status));
sys/dev/ic/hmereg.h
305
(p) ? le32toh(*((uint32_t *)HME_XD_FLAGS(b,i))) : \
sys/dev/ic/i82557.c
1483
if_statadd_ref(ifp, nsr, if_opackets, le32toh(sp->tx_good));
sys/dev/ic/i82557.c
1485
le32toh(sp->tx_total_collisions));
sys/dev/ic/i82557.c
1492
le32toh(sp->rx_crc_errors) +
sys/dev/ic/i82557.c
1493
le32toh(sp->rx_alignment_errors) +
sys/dev/ic/i82557.c
1494
le32toh(sp->rx_rnr_errors) +
sys/dev/ic/i82557.c
1495
le32toh(sp->rx_overrun_errors));
sys/dev/ic/i82557.c
1502
le32toh(sp->tx_underruns));
sys/dev/ic/icp.c
285
binfo.bi_chan_count, le32toh(binfo.bi_memsize) >> 20);
sys/dev/ic/iha.c
1836
xcnt -= le32toh(sg->sg_len);
sys/dev/ic/iha.c
1838
xcnt += le32toh(sg->sg_len);
sys/dev/ic/iha.c
1841
htole32(le32toh(sg->sg_addr) + xcnt);
sys/dev/ic/iha.c
1843
htole32(le32toh(sg->sg_len) - xcnt);
sys/dev/ic/ld_aac.c
288
status = le32toh(bwr->Status);
sys/dev/ic/ld_aac.c
292
status = le32toh(brr->Status);
sys/dev/ic/ld_aac.c
338
status = le32toh(brr->Status);
sys/dev/ic/ld_aac.c
341
status = le32toh(bwr->Status);
sys/dev/ic/ld_icp.c
128
t = le32toh(cdi->ld_dtype) >> 16;
sys/dev/ic/ld_icp.c
133
if (le32toh(cdi->ld_dcnt) > 1 || le32toh(cdi->ld_slave) != -1)
sys/dev/ic/malo.c
1334
if ((le32toh(desc->status) & MALO_TXD_STATUS_FW_OWNED) ||
sys/dev/ic/malo.c
1335
!(le32toh(data->softstat) & MALO_TXD_STATUS_FAILED_AGING))
sys/dev/ic/malo.c
1343
switch (le32toh(desc->status) & MALO_TXD_STATUS_USED) {
sys/dev/ic/malo.c
1542
desc->datarate, le32toh(desc->physdata),
sys/dev/ic/malo.c
1543
le32toh(desc->physnext), desc->qosctrl, desc->reserved2);
sys/dev/ic/malo.c
1631
rxRdPtr = le32toh(desc->physnext);
sys/dev/ic/malo.c
1975
malo_mem_write4(sc, le32toh(spec->RxPdRdPtr) & 0xffff,
sys/dev/ic/malo.c
1977
malo_mem_write4(sc, le32toh(spec->RxPdWrPtr) & 0xffff,
sys/dev/ic/malo.c
1979
malo_mem_write4(sc, le32toh(spec->WcbBase0) & 0xffff,
sys/dev/ic/malo.c
1983
sc->sc_RxPdRdPtr = le32toh(spec->RxPdRdPtr) & 0xffff;
sys/dev/ic/malo.c
1984
sc->sc_RxPdWrPtr = le32toh(spec->RxPdWrPtr) & 0xffff;
sys/dev/ic/mlx.c
402
ci->ci_mem_size = le32toh(me2->me_mem_size);
sys/dev/ic/mlx.c
602
size = le32toh(mes[i].sd_size);
sys/dev/ic/mpt.h
192
#define MPT_2_HOST32(ptr, tag) ptr->tag = le32toh(ptr->tag)
sys/dev/ic/mpt_debug.c
335
printf("\tMsgContext 0x%08x\n", le32toh(msg->MsgContext));
sys/dev/ic/mpt_debug.c
364
le32toh(msg->CurrentHostMfaHighAddr));
sys/dev/ic/mpt_debug.c
366
le32toh(msg->CurrentSenseBufferHighAddr));
sys/dev/ic/mpt_debug.c
371
printf("\tFWImageSize 0x%04x\n", le32toh(msg->FWImageSize));
sys/dev/ic/mpt_debug.c
390
printf("\tTransferCnt 0x%04x\n", le32toh(msg->TransferCount));
sys/dev/ic/mpt_debug.c
391
printf("\tSenseCnt 0x%04x\n", le32toh(msg->SenseCount));
sys/dev/ic/mpt_debug.c
392
printf("\tResponseInfo 0x%08x\n", le32toh(msg->ResponseInfo));
sys/dev/ic/mpt_debug.c
401
printf("\tEvent: %s\n", mpt_ioc_event(le32toh(msg->Event)));
sys/dev/ic/mpt_debug.c
402
printf("\tEventContext 0x%04x\n", le32toh(msg->EventContext));
sys/dev/ic/mpt_debug.c
408
printf("\tEvtLogData: 0x%04x\n", le32toh(msg->Data[0]));
sys/dev/ic/mpt_debug.c
488
printf("\tMsgContext 0x%08x\n", le32toh(req->MsgContext));
sys/dev/ic/mpt_debug.c
503
printf("\tControl 0x%08x ", le32toh(msg->Control));
sys/dev/ic/mpt_debug.c
509
switch (le32toh(msg->Control) & MPI_SCSIIO_CONTROL_DATADIRECTION_MASK) {
sys/dev/ic/mpt_debug.c
517
switch (le32toh(msg->Control) & MPI_SCSIIO_CONTROL_TASKATTRIBUTE_MASK) {
sys/dev/ic/mpt_debug.c
532
printf("\tDataLength\t0x%08x\n", le32toh(msg->DataLength));
sys/dev/ic/mpt_debug.c
533
printf("\tSenseBufAddr\t0x%08x\n", le32toh(msg->SenseBufferLowAddr));
sys/dev/ic/mpt_debug.c
582
flags = MPI_SGE_GET_FLAGS(le32toh(se->FlagsLength));
sys/dev/ic/mpt_debug.c
587
se, le32toh(se->Address), le32toh(se->FlagsLength));
sys/dev/ic/mpt_debug.c
595
"Len=0x%0x\n", ce, le32toh(ce->Address),
sys/dev/ic/mpt_netbsd.c
1274
int index = le32toh(msg->MsgContext) & ~0x80000000;
sys/dev/ic/mpt_netbsd.c
1286
int index = le32toh(msg->MsgContext) & ~0x80000000;
sys/dev/ic/mpt_netbsd.c
1300
int index = le32toh(msg->MsgContext) & ~0x80000000;
sys/dev/ic/mpt_netbsd.c
1319
switch (le32toh(msg->Event)) {
sys/dev/ic/mpt_netbsd.c
1490
uint32_t sstatus = le32toh(data->SettingsStatus);
sys/dev/ic/mpt_netbsd.c
1637
mpt_prt(mpt, "Unknown async event: 0x%x", le32toh(msg->Event));
sys/dev/ic/mpt_netbsd.c
540
le32toh(mpt_reply->MsgContext) & 0xffff);
sys/dev/ic/mpt_netbsd.c
548
index = le32toh(mpt_reply->MsgContext);
sys/dev/ic/mpt_netbsd.c
682
xs->resid = xs->datalen - le32toh(mpt_reply->TransferCount);
sys/dev/ic/ninjascsi32.c
1474
sg->sg_addr = htole32(le32toh(sg->sg_addr) - cmd->c_sgfixcnt);
sys/dev/ic/ninjascsi32.c
1475
sg->sg_len = htole32(le32toh(sg->sg_len) + cmd->c_sgfixcnt);
sys/dev/ic/ninjascsi32.c
1493
len = le32toh(sg->sg_len) & ~NJSC32_SGT_ENDMARK;
sys/dev/ic/ninjascsi32.c
1495
sg->sg_addr = htole32(le32toh(sg->sg_addr) + pos);
sys/dev/ic/ninjascsi32.c
1496
sg->sg_len = htole32(le32toh(sg->sg_len) - pos);
sys/dev/ic/ninjascsi32.c
2638
cntoffset = le32toh(cmd->c_sgt[0].sg_addr) & 3;
sys/dev/ic/nvmeio.h
147
psd->enlat = le32toh(psd->enlat);
sys/dev/ic/nvmeio.h
148
psd->exlat = le32toh(psd->exlat);
sys/dev/ic/nvmeio.h
164
identify->ver = le32toh(identify->ver);
sys/dev/ic/nvmeio.h
165
identify->rtd3r = le32toh(identify->rtd3r);
sys/dev/ic/nvmeio.h
166
identify->rtd3e = le32toh(identify->rtd3e);
sys/dev/ic/nvmeio.h
167
identify->oaes = le32toh(identify->oaes);
sys/dev/ic/nvmeio.h
168
identify->ctrattr = le32toh(identify->ctrattr);
sys/dev/ic/nvmeio.h
173
identify->hmpre = le32toh(identify->hmpre);
sys/dev/ic/nvmeio.h
174
identify->hmmin = le32toh(identify->hmmin);
sys/dev/ic/nvmeio.h
177
identify->rpmbs = le32toh(identify->rpmbs);
sys/dev/ic/nvmeio.h
183
identify->sanicap = le32toh(identify->sanicap);
sys/dev/ic/nvmeio.h
185
identify->nn = le32toh(identify->nn);
sys/dev/ic/nvmeio.h
191
identify->sgls = le32toh(identify->sgls);
sys/dev/ic/nvmevar.h
175
#define lemtoh32(p) le32toh(*((uint32_t *)(p)))
sys/dev/ic/oosiop.c
350
dcmd = le32toh(sc->sc_scr[addr / 4 + 0]);
sys/dev/ic/oosiop.c
351
dsps = le32toh(sc->sc_scr[addr / 4 + 1]);
sys/dev/ic/oosiop.c
377
dcmd = le32toh(sc->sc_scr[addr / 4 + 0]);
sys/dev/ic/oosiop.c
378
dsps = le32toh(sc->sc_scr[addr / 4 + 1]);
sys/dev/ic/oosiop.c
403
dcmd = le32toh(sc->sc_scr[addr / 4]);
sys/dev/ic/oosiop.c
422
dcmd = le32toh(sc->sc_scr[addr / 4]);
sys/dev/ic/oosiop.c
607
len += le32toh(cb->xfer->datain_scr[i * 2]) &
sys/dev/ic/oosiop.c
619
len += le32toh(cb->xfer->dataout_scr[i * 2]) &
sys/dev/ic/oosiopvar.h
152
le32toh(bus_space_read_4((sc)->sc_bst, (sc)->sc_bsh, (addr)))
sys/dev/ic/rt2560.c
1034
if (le32toh(desc->flags) &
sys/dev/ic/rt2560.c
1039
if ((le32toh(desc->flags) & RT2560_TX_CIPHER_MASK) ==
sys/dev/ic/rt2560.c
1081
if ((le32toh(desc->flags) & RT2560_TX_BUSY) ||
sys/dev/ic/rt2560.c
1082
(le32toh(desc->flags) & RT2560_TX_CIPHER_BUSY) ||
sys/dev/ic/rt2560.c
1083
!(le32toh(desc->flags) & RT2560_TX_VALID))
sys/dev/ic/rt2560.c
1088
switch (le32toh(desc->flags) & RT2560_TX_RESULT_MASK) {
sys/dev/ic/rt2560.c
1100
(le32toh(desc->flags) >> 5) & 0x7));
sys/dev/ic/rt2560.c
1119
le32toh(desc->flags));
sys/dev/ic/rt2560.c
1170
if ((le32toh(desc->flags) & RT2560_TX_BUSY) ||
sys/dev/ic/rt2560.c
1171
!(le32toh(desc->flags) & RT2560_TX_VALID))
sys/dev/ic/rt2560.c
1174
switch (le32toh(desc->flags) & RT2560_TX_RESULT_MASK) {
sys/dev/ic/rt2560.c
1181
(le32toh(desc->flags) >> 5) & 0x7));
sys/dev/ic/rt2560.c
1193
le32toh(desc->flags));
sys/dev/ic/rt2560.c
1253
if (le32toh(desc->flags) &
sys/dev/ic/rt2560.c
1262
if ((le32toh(desc->flags) & RT2560_RX_CIPHER_MASK) != 0 &&
sys/dev/ic/rt2560.c
1263
(le32toh(desc->flags) & RT2560_RX_ICV_ERROR)) {
sys/dev/ic/rt2560.c
1323
(le32toh(desc->flags) >> 16) & 0xfff;
sys/dev/ic/rt2560.c
1405
if (le32toh(desc->flags) &
sys/dev/ic/rt2560.c
1411
if (le32toh(desc->flags) &
sys/dev/ic/rt2560.c
1418
le32toh(desc->flags)));
sys/dev/ic/rt2560.c
1422
if (((le32toh(desc->flags) >> 16) & 0xfff) > MCLBYTES) {
sys/dev/ic/rt2560.c
1562
if (le32toh(desc->flags) & RT2560_RX_OFDM) {
sys/dev/ic/rt2661.c
1036
if (le32toh(desc->flags) & RT2661_RX_BUSY)
sys/dev/ic/rt2661.c
1039
if ((le32toh(desc->flags) & RT2661_RX_PHY_ERROR) ||
sys/dev/ic/rt2661.c
1040
(le32toh(desc->flags) & RT2661_RX_CRC_ERROR)) {
sys/dev/ic/rt2661.c
1046
le32toh(desc->flags)));
sys/dev/ic/rt2661.c
1051
if ((le32toh(desc->flags) & RT2661_RX_CIPHER_MASK) != 0) {
sys/dev/ic/rt2661.c
1111
(le32toh(desc->flags) >> 16) & 0xfff;
sys/dev/ic/rt2661.c
1317
if (le32toh(desc->flags) & RT2661_RX_OFDM) {
sys/dev/ic/rt2661.c
991
if ((le32toh(desc->flags) & RT2661_TX_BUSY) ||
sys/dev/ic/rt2661.c
992
!(le32toh(desc->flags) & RT2661_TX_VALID))
sys/dev/ic/rtl8169.c
1191
cmdstat = le32toh(d->re_cmdstat);
sys/dev/ic/rtl8169.c
1282
rxstat = le32toh(cur_rx->re_cmdstat);
sys/dev/ic/rtl8169.c
1283
rxvlan = le32toh(cur_rx->re_vlanctl);
sys/dev/ic/rtl8169.c
1505
le32toh(sc->re_ldata.re_tx_list[descidx].re_cmdstat);
sys/dev/ic/rtl8169.c
1827
cmdstat = le32toh(d->re_cmdstat);
sys/dev/ic/rtl8169.c
556
rxstat = le32toh(cur_rx->re_cmdstat);
sys/dev/ic/rtl81x9.c
938
rxstat = le32toh(*(uint32_t *)rxbufpos);
sys/dev/ic/rtw.c
1377
le32toh(obuf), le32toh(rd->rd_buf), le32toh(octl),
sys/dev/ic/rtw.c
1378
le32toh(rd->rd_ctl)));
sys/dev/ic/rtw.c
1474
hstat = le32toh(rd->rd_stat);
sys/dev/ic/rtw.c
1475
hrssi = le32toh(rd->rd_rssi);
sys/dev/ic/rtw.c
1476
htsfth = le32toh(rd->rd_tsfth);
sys/dev/ic/rtw.c
1477
htsftl = le32toh(rd->rd_tsftl);
sys/dev/ic/rtw.c
1721
hstat = le32toh(tdn->td_stat);
sys/dev/ic/rtw.c
1801
printf(" %" PRIx32 "/%" PRIx32 "/%" PRIx32 "/%" PRIu32 "/%" PRIx32, le32toh(tdb->tdb_desc[next].td_stat), le32toh(tdb->tdb_desc[next].td_ctl1), le32toh(tdb->tdb_desc[next].td_buf), le32toh(tdb->tdb_desc[next].td_len), le32toh(tdb->tdb_desc[next].td_next));
sys/dev/ic/rtw.c
1813
le32toh(tdb->tdb_desc[next].td_stat),
sys/dev/ic/rtw.c
1952
le32toh(rd->rd_ctl), le32toh(rd->rd_rssi),
sys/dev/ic/rtw.c
1953
le32toh(rd->rd_buf), le32toh(rd->rd_tsfth));
sys/dev/ic/rtw.c
2033
return (le32toh(RTW_READ(regs, tdb->tdb_basereg)) - tdb->tdb_base) /
sys/dev/ic/rtw.c
3296
le32toh(td->td_buf), le32toh(td->td_next),
sys/dev/ic/rtw.c
3297
le32toh(td->td_ctl0), le32toh(td->td_ctl1),
sys/dev/ic/rtw.c
3298
le32toh(td->td_len)));
sys/dev/ic/siopvar_common.h
214
(((sc)->features & SF_CHIP_BE) ? be32toh((x)) : le32toh((x)))
sys/dev/ic/tulip.c
1220
rxstat = le32toh(sc->sc_rxdescs[i].td_status);
sys/dev/ic/tulip.c
1427
le32toh(txd->td_status));
sys/dev/ic/tulip.c
1429
le32toh(txd->td_ctl));
sys/dev/ic/tulip.c
1431
le32toh(txd->td_bufaddr1));
sys/dev/ic/tulip.c
1433
le32toh(sc->sc_txdescs[i].td_bufaddr2));
sys/dev/ic/tulip.c
1440
txstat = le32toh(sc->sc_txdescs[txs->txs_lastdesc].td_status);
sys/dev/ic/tulip.c
2770
printf(" td_status: 0x%08x\n", le32toh(txd->td_status));
sys/dev/ic/tulip.c
2771
printf(" td_ctl: 0x%08x\n", le32toh(txd->td_ctl));
sys/dev/ic/tulip.c
2773
le32toh(txd->td_bufaddr1));
sys/dev/ic/tulip.c
2775
le32toh(txd->td_bufaddr2));
sys/dev/ic/tulip.c
834
le32toh(txd->td_status));
sys/dev/ic/tulip.c
836
le32toh(txd->td_ctl));
sys/dev/ic/tulip.c
838
le32toh(txd->td_bufaddr1));
sys/dev/ic/tulip.c
840
le32toh(txd->td_bufaddr2));
sys/dev/ic/wivar.h
241
le32toh(bus_space_read_4(sc->sc_iot, sc->sc_ioh, \
sys/dev/ieee1394/fwohcireg.h
102
#define FWOHCI_DMA_READ(x) le32toh(x)
sys/dev/marvell/if_gfe.c
124
#define gt32toh(a) le32toh(a)
sys/dev/marvell/mvcesa.c
614
digest[i] = le32toh(digest[i]);
sys/dev/marvell/mvgbereg.h
47
#define MVGBE2H32(x) le32toh(x)
sys/dev/nand/nand.c
576
chip->nc_page_size = le32toh(params.param_pagesize);
sys/dev/nand/nand.c
578
le32toh(params.param_blocksize) * chip->nc_page_size;
sys/dev/nand/nand.c
580
chip->nc_lun_blocks = le32toh(params.param_lunsize);
sys/dev/pci/amr.c
660
le32toh(aex->ae_drivesize[i]);
sys/dev/pci/amr.c
675
sig = le32toh(ae->ae_signature);
sys/dev/pci/amr.c
724
if (le32toh(ae->ae_signature) == AMR_SIG_438) {
sys/dev/pci/amr.c
768
amr->amr_drive[i].al_size = le32toh(ae->ae_ldrv.al_size[i]);
sys/dev/pci/cxgb/cxgb_osdep.h
325
#define le32_to_cpu(x) le32toh(x)
sys/dev/pci/cz.c
488
if (le32toh(zfh->zfh_configoff) & (sizeof(u_int32_t) - 1)) {
sys/dev/pci/cz.c
490
le32toh(zfh->zfh_configoff));
sys/dev/pci/cz.c
494
le32toh(zfh->zfh_configoff));
sys/dev/pci/cz.c
495
nconfigs = le32toh(zfh->zfh_nconfig);
sys/dev/pci/cz.c
499
if (le32toh(zfc->zfc_mailbox) == cz->cz_mailbox0 &&
sys/dev/pci/cz.c
500
le32toh(zfc->zfc_function) == ZFC_FUNCTION_NORMAL)
sys/dev/pci/cz.c
508
nblocks = le32toh(zfc->zfc_nblocks);
sys/dev/pci/cz.c
510
le32toh(zfh->zfh_blockoff));
sys/dev/pci/cz.c
527
zfb = &zblocks[le32toh(zfc->zfc_blocklist[i])];
sys/dev/pci/cz.c
528
if (le32toh(zfb->zfb_type) == ZFB_TYPE_FPGA) {
sys/dev/pci/cz.c
529
nbytes = le32toh(zfb->zfb_size);
sys/dev/pci/cz.c
531
le32toh(zfb->zfb_fileoff)];
sys/dev/pci/cz.c
550
zfb = &zblocks[le32toh(zfc->zfc_blocklist[i])];
sys/dev/pci/cz.c
551
if (le32toh(zfb->zfb_type) == ZFB_TYPE_FIRMWARE) {
sys/dev/pci/cz.c
553
u_int32_t ro = le32toh(zfb->zfb_ramoff);
sys/dev/pci/cz.c
554
nbytes = le32toh(zfb->zfb_size);
sys/dev/pci/cz.c
556
&cycladesz_firmware[le32toh(zfb->zfb_fileoff)];
sys/dev/pci/cz.c
559
ro + j, le32toh(*lp));
sys/dev/pci/if_age.c
1403
status = le32toh(rxrd->flags);
sys/dev/pci/if_age.c
1404
index = le32toh(rxrd->index);
sys/dev/pci/if_age.c
1408
sc->age_cdata.age_rxlen = AGE_RX_BYTES(le32toh(rxrd->len));
sys/dev/pci/if_age.c
1445
mp->m_len = AGE_RX_BYTES(le32toh(desc->len));
sys/dev/pci/if_age.c
1519
uint32_t vtag = AGE_RX_VLAN(le32toh(rxrd->vtags));
sys/dev/pci/if_age.c
1555
nsegs = AGE_RX_NSEGS(le32toh(rxrd->index));
sys/dev/pci/if_age.c
1564
pktlen = AGE_RX_BYTES(le32toh(rxrd->len));
sys/dev/pci/if_age.c
512
status = le32toh(cmb->intr_status);
sys/dev/pci/if_age.c
516
sc->age_tpd_cons = (le32toh(cmb->tpd_cons) & TPD_CONS_MASK) >>
sys/dev/pci/if_age.c
518
sc->age_rr_prod = (le32toh(cmb->rprod_cons) & RRD_PROD_MASK) >>
sys/dev/pci/if_age.c
555
status = le32toh(cmb->intr_status);
sys/dev/pci/if_alc.c
2489
status = le32toh(rrd->status);
sys/dev/pci/if_alc.c
2492
nsegs = RRD_RD_CNT(le32toh(rrd->rdinfo));
sys/dev/pci/if_alc.c
2550
status = le32toh(rrd->status);
sys/dev/pci/if_alc.c
2551
rdinfo = le32toh(rrd->rdinfo);
sys/dev/pci/if_alc.c
2640
uint32_t vtag = RRD_VLAN(le32toh(rrd->vtag));
sys/dev/pci/if_ale.c
1483
seqno = ALE_RX_SEQNO(le32toh(rs->seqno));
sys/dev/pci/if_ale.c
1505
length = ALE_RX_BYTES(le32toh(rs->length));
sys/dev/pci/if_ale.c
1506
status = le32toh(rs->flags);
sys/dev/pci/if_ale.c
1544
uint32_t vtags = ALE_RX_VLAN(le32toh(rs->vtags));
sys/dev/pci/if_aq.c
5512
rxd_type = le32toh(rxd->wb.type);
sys/dev/pci/if_aq.c
5515
rxd_hash = le32toh(rxd->wb.rss_hash);
sys/dev/pci/if_dge.c
1366
lasttx, le32toh(sc->sc_txdescs[lasttx].dt_ctl)));
sys/dev/pci/if_iavf.c
3828
le32toh(iaq->iaq_param[0]), le32toh(iaq->iaq_param[1]),
sys/dev/pci/if_iavf.c
3829
le32toh(iaq->iaq_param[2]), le32toh(iaq->iaq_param[3]));
sys/dev/pci/if_iavf.c
4359
sc->sc_major_ver = le32toh(ver->major);
sys/dev/pci/if_iavf.c
4360
sc->sc_minor_ver = le32toh(ver->minor);
sys/dev/pci/if_iavf.c
4384
sc->sc_vf_cap = le32toh(vf_res->offload_flags);
sys/dev/pci/if_iavf.c
4398
sc->sc_vf_id = le32toh(iaq->iaq_param[0]);
sys/dev/pci/if_iavf.c
692
return le32toh(vc->iaq_vc_opcode);
sys/dev/pci/if_iavf.c
701
return le32toh(vc->iaq_vc_retval);
sys/dev/pci/if_ipw.c
1015
DPRINTFN(5, ("received frame len=%u, rssi=%u\n", le32toh(status->len),
sys/dev/pci/if_ipw.c
1018
if (le32toh(status->len) < sizeof (struct ieee80211_frame_min) ||
sys/dev/pci/if_ipw.c
1019
le32toh(status->len) > MCLBYTES)
sys/dev/pci/if_ipw.c
1045
bus_dmamap_sync(sc->sc_dmat, sbuf->map, 0, le32toh(status->len),
sys/dev/pci/if_ipw.c
1077
m->m_pkthdr.len = m->m_len = le32toh(status->len);
sys/dev/pci/if_ipw.c
1921
fw->main_size = le32toh(hdr.main_size);
sys/dev/pci/if_ipw.c
1922
fw->ucode_size = le32toh(hdr.ucode_size);
sys/dev/pci/if_ipw.c
2000
DPRINTF(("Setting mode to %u\n", le32toh(data)));
sys/dev/pci/if_ipw.c
2008
DPRINTF(("Setting channel to %u\n", le32toh(data)));
sys/dev/pci/if_ipw.c
2040
DPRINTF(("Setting basic tx rates to 0x%x\n", le32toh(data)));
sys/dev/pci/if_ipw.c
2046
DPRINTF(("Setting tx rates to 0x%x\n", le32toh(data)));
sys/dev/pci/if_ipw.c
2052
DPRINTF(("Setting power mode to %u\n", le32toh(data)));
sys/dev/pci/if_ipw.c
2059
DPRINTF(("Setting tx power index to %u\n", le32toh(data)));
sys/dev/pci/if_ipw.c
2067
DPRINTF(("Setting RTS threshold to %u\n", le32toh(data)));
sys/dev/pci/if_ipw.c
2073
DPRINTF(("Setting frag threshold to %u\n", le32toh(data)));
sys/dev/pci/if_ipw.c
2134
DPRINTF(("Setting tx key index to %u\n", le32toh(data)));
sys/dev/pci/if_ipw.c
2142
DPRINTF(("Setting wep flags to 0x%x\n", le32toh(data)));
sys/dev/pci/if_ipw.c
2160
DPRINTF(("Setting beacon interval to %u\n", le32toh(data)));
sys/dev/pci/if_ipw.c
2169
DPRINTF(("Setting scan options to 0x%x\n", le32toh(options.flags)));
sys/dev/pci/if_ipw.c
910
DPRINTFN(2, ("cmd ack'ed (%u, %u, %u, %u, %u)\n", le32toh(cmd->type),
sys/dev/pci/if_ipw.c
911
le32toh(cmd->subtype), le32toh(cmd->seq), le32toh(cmd->len),
sys/dev/pci/if_ipw.c
912
le32toh(cmd->status)));
sys/dev/pci/if_ipw.c
929
state = le32toh(*mtod(sbuf->m, uint32_t *));
sys/dev/pci/if_iwi.c
1347
device_xname(sc->sc_dev), le32toh(beacon->number)));
sys/dev/pci/if_iwi.c
1754
ac, txq->cur, le16toh(desc->len), le32toh(desc->nseg)));
sys/dev/pci/if_iwi.c
2260
hdr->version = le32toh(hdr->version);
sys/dev/pci/if_iwi.c
2261
hdr->bsize = le32toh(hdr->bsize);
sys/dev/pci/if_iwi.c
2262
hdr->usize = le32toh(hdr->usize);
sys/dev/pci/if_iwi.c
2263
hdr->fsize = le32toh(hdr->fsize);
sys/dev/pci/if_iwi.c
2357
DPRINTF(("Setting power mode to %u\n", le32toh(data)));
sys/dev/pci/if_iwi.c
2363
DPRINTF(("Setting RTS threshold to %u\n", le32toh(data)));
sys/dev/pci/if_iwi.c
2369
DPRINTF(("Setting fragmentation threshold to %u\n", le32toh(data)));
sys/dev/pci/if_iwi.c
2456
DPRINTF(("Setting initialization vector to %u\n", le32toh(data)));
sys/dev/pci/if_iwm.c
1003
paging_mem_size = le32toh(*(uint32_t *)tlv_data);
sys/dev/pci/if_iwm.c
1025
le32toh(*(uint32_t *)tlv_data);
sys/dev/pci/if_iwm.c
1039
le32toh(((uint32_t *)tlv_data)[0]),
sys/dev/pci/if_iwm.c
1040
le32toh(((uint32_t *)tlv_data)[1]),
sys/dev/pci/if_iwm.c
1041
le32toh(((uint32_t *)tlv_data)[2]));
sys/dev/pci/if_iwm.c
151
#define le32_to_cpup(_a_) (le32toh(*(const uint32_t *)(_a_)))
sys/dev/pci/if_iwm.c
2591
if (le32toh(resp->status) == 0)
sys/dev/pci/if_iwm.c
2592
sc->sc_time_event_uid = le32toh(resp->unique_id);
sys/dev/pci/if_iwm.c
4083
val = le32toh(phy_info->non_cfg_phy[IWM_RX_INFO_AGC_IDX]);
sys/dev/pci/if_iwm.c
4087
val = le32toh(phy_info->non_cfg_phy[IWM_RX_INFO_RSSI_AB_IDX]);
sys/dev/pci/if_iwm.c
4116
val = le32toh(phy_info->non_cfg_phy[IWM_RX_INFO_ENERGY_ANT_ABC_IDX]);
sys/dev/pci/if_iwm.c
4158
noise = le32toh(stats->beacon_silence_rssi[i]) & 0xff;
sys/dev/pci/if_iwm.c
4193
rx_pkt_status = le32toh(*(uint32_t *)(pkt->data +
sys/dev/pci/if_iwm.c
4212
device_timestamp = le32toh(phy_info->system_timestamp);
sys/dev/pci/if_iwm.c
4229
if (le32toh(phy_info->channel) < __arraycount(ic->ic_channels))
sys/dev/pci/if_iwm.c
4230
c = &ic->ic_channels[le32toh(phy_info->channel)];
sys/dev/pci/if_iwm.c
4716
*status = le32toh(resp->status);
sys/dev/pci/if_iwm.c
5150
le32toh(tx->tx_flags), le32toh(tx->initial_rate_index),
sys/dev/pci/if_iwm.c
5151
le32toh(tx->rate_n_flags)));
sys/dev/pci/if_iwm.c
612
int chan = le32toh(sc->sc_last_phy_info.channel);
sys/dev/pci/if_iwm.c
6365
le32toh(mb->mac_id),
sys/dev/pci/if_iwm.c
6366
le32toh(mb->consec_missed_beacons),
sys/dev/pci/if_iwm.c
6367
le32toh(mb->consec_missed_beacons_since_last_rx),
sys/dev/pci/if_iwm.c
6368
le32toh(mb->num_recvd_beacons),
sys/dev/pci/if_iwm.c
6369
le32toh(mb->num_expected_beacons)));
sys/dev/pci/if_iwm.c
6375
if (le32toh(mb->consec_missed_beacons_since_last_rx) >
sys/dev/pci/if_iwm.c
6440
cmd.quotas[0].quota = htole32(le32toh(cmd.quotas[0].quota) + quota_rem);
sys/dev/pci/if_iwm.c
707
uint32_t ucode_type = le32toh(def_calib->ucode_type);
sys/dev/pci/if_iwm.c
789
|| le32toh(uhdr->magic) != IWM_TLV_UCODE_MAGIC) {
sys/dev/pci/if_iwm.c
797
IWM_UCODE_MAJOR(le32toh(uhdr->ver)),
sys/dev/pci/if_iwm.c
798
IWM_UCODE_MINOR(le32toh(uhdr->ver)),
sys/dev/pci/if_iwm.c
799
IWM_UCODE_API(le32toh(uhdr->ver)));
sys/dev/pci/if_iwm.c
809
tlv_len = le32toh(tlv.length);
sys/dev/pci/if_iwm.c
810
tlv_type = le32toh(tlv.type);
sys/dev/pci/if_iwm.c
830
= le32toh(*(uint32_t *)tlv_data);
sys/dev/pci/if_iwm.c
8416
= le32toh(resp1->error_event_table_ptr);
sys/dev/pci/if_iwm.c
8418
= le32toh(resp1->log_event_table_ptr);
sys/dev/pci/if_iwm.c
8419
sc->sched_base = le32toh(resp1->scd_base_ptr);
sys/dev/pci/if_iwm.c
8430
= le32toh(resp2->error_event_table_ptr);
sys/dev/pci/if_iwm.c
8432
= le32toh(resp2->log_event_table_ptr);
sys/dev/pci/if_iwm.c
8433
sc->sched_base = le32toh(resp2->scd_base_ptr);
sys/dev/pci/if_iwm.c
8435
= le32toh(resp2->error_info_addr);
sys/dev/pci/if_iwm.c
8445
= le32toh(resp3->error_event_table_ptr);
sys/dev/pci/if_iwm.c
8447
= le32toh(resp3->log_event_table_ptr);
sys/dev/pci/if_iwm.c
8448
sc->sched_base = le32toh(resp3->scd_base_ptr);
sys/dev/pci/if_iwm.c
8450
= le32toh(resp3->error_info_addr);
sys/dev/pci/if_iwm.c
8605
le32toh(resp->error_type), resp->cmd_id);
sys/dev/pci/if_iwm.c
8614
if (sc->sc_time_event_uid != le32toh(notif->unique_id))
sys/dev/pci/if_iwm.c
8616
action = le32toh(notif->action);
sys/dev/pci/if_iwm.c
865
sc->sc_capaflags = le32toh(*(uint32_t *)tlv_data);
sys/dev/pci/if_iwm.c
878
num_cpu = le32toh(*(uint32_t *)tlv_data);
sys/dev/pci/if_iwm.c
917
sc->sc_fw_phy_config = le32toh(*(uint32_t *)tlv_data);
sys/dev/pci/if_iwm.c
929
idx = le32toh(api->api_index);
sys/dev/pci/if_iwm.c
930
bits = le32toh(api->api_flags);
sys/dev/pci/if_iwm.c
952
idx = le32toh(capa->api_index);
sys/dev/pci/if_iwm.c
953
bits = le32toh(capa->api_capa);
sys/dev/pci/if_iwmreg.h
7156
return le32toh(pkt->len_n_flags) & IWM_FH_RSCSR_FRAME_SIZE_MSK;
sys/dev/pci/if_iwn.c
1811
le32toh(sc->eeprom_crystal)));
sys/dev/pci/if_iwn.c
2165
flags = le32toh(*(uint32_t *)(head + len));
sys/dev/pci/if_iwn.c
2336
len = (le32toh(desc->len) & 0x3fff) - 4;
sys/dev/pci/if_iwn.c
2424
if (le32toh(stats->rx.general.flags) != 1) {
sys/dev/pci/if_iwn.c
2455
iwn_tx_done(sc, desc, stat->ackfailcnt, le32toh(stat->status) & 0xff);
sys/dev/pci/if_iwn.c
2615
le32toh(miss->consecutive), le32toh(miss->total)));
sys/dev/pci/if_iwn.c
2617
le32toh(miss->consecutive) > 5)
sys/dev/pci/if_iwn.c
2631
uc->subtype, le32toh(uc->valid)));
sys/dev/pci/if_iwn.c
2633
if (le32toh(uc->valid) != 1) {
sys/dev/pci/if_iwn.c
2644
sc->errptr = le32toh(uc->errptr);
sys/dev/pci/if_iwn.c
2654
DPRINTF(("state changed to %x\n", le32toh(*status)));
sys/dev/pci/if_iwn.c
2656
if (le32toh(*status) & 1) {
sys/dev/pci/if_iwn.c
2677
scan->chan, le32toh(scan->status)));
sys/dev/pci/if_iwn.c
2840
tmp = le32toh(tmp);
sys/dev/pci/if_iwn.c
3747
vdiff = ((int32_t)le32toh(uc->volt) - sc->eeprom_voltage) / 7;
sys/dev/pci/if_iwn.c
3753
vdiff, le32toh(uc->volt), sc->eeprom_voltage));
sys/dev/pci/if_iwn.c
3823
idx += (int32_t)le32toh(uc->atten[grp][c]);
sys/dev/pci/if_iwn.c
3903
agc = (le32toh(phy->agc) >> 9) & 0x7f;
sys/dev/pci/if_iwn.c
3922
if ((noise = le32toh(stats->noise[i]) & 0xff) == 0)
sys/dev/pci/if_iwn.c
3940
r1 = le32toh(uc->temp[0].chan20MHz);
sys/dev/pci/if_iwn.c
3941
r2 = le32toh(uc->temp[1].chan20MHz);
sys/dev/pci/if_iwn.c
3942
r3 = le32toh(uc->temp[2].chan20MHz);
sys/dev/pci/if_iwn.c
3943
r4 = le32toh(sc->rawtemp);
sys/dev/pci/if_iwn.c
3968
temp = le32toh(sc->rawtemp);
sys/dev/pci/if_iwn.c
4030
calib->rssi[i] += le32toh(stats->rssi[i]) & 0xff;
sys/dev/pci/if_iwn.c
4031
calib->noise[i] += le32toh(stats->noise[i]) & 0xff;
sys/dev/pci/if_iwn.c
4189
if ((rxena = le32toh(stats->general.load)) == 0)
sys/dev/pci/if_iwn.c
4193
fa = le32toh(stats->ofdm.bad_plcp) - calib->bad_plcp_ofdm;
sys/dev/pci/if_iwn.c
4194
fa += le32toh(stats->ofdm.fa) - calib->fa_ofdm;
sys/dev/pci/if_iwn.c
4198
calib->bad_plcp_ofdm = le32toh(stats->ofdm.bad_plcp);
sys/dev/pci/if_iwn.c
4199
calib->fa_ofdm = le32toh(stats->ofdm.fa);
sys/dev/pci/if_iwn.c
4220
noise[i] = (le32toh(stats->general.noise[i]) >> 8) & 0xff;
sys/dev/pci/if_iwn.c
4234
energy[i] = le32toh(stats->general.energy[i]);
sys/dev/pci/if_iwn.c
4248
fa = le32toh(stats->cck.bad_plcp) - calib->bad_plcp_cck;
sys/dev/pci/if_iwn.c
4249
fa += le32toh(stats->cck.fa) - calib->fa_cck;
sys/dev/pci/if_iwn.c
4253
calib->bad_plcp_cck = le32toh(stats->cck.bad_plcp);
sys/dev/pci/if_iwn.c
4254
calib->fa_cck = le32toh(stats->cck.fa);
sys/dev/pci/if_iwn.c
5614
cmd.cap_pin[0] = le32toh(sc->eeprom_crystal) & 0xff;
sys/dev/pci/if_iwn.c
5615
cmd.cap_pin[1] = (le32toh(sc->eeprom_crystal) >> 16) & 0xff;
sys/dev/pci/if_iwn.c
5839
rev = le32toh(*ptr++);
sys/dev/pci/if_iwn.c
5859
fw->main.textsz = le32toh(*ptr++);
sys/dev/pci/if_iwn.c
5860
fw->main.datasz = le32toh(*ptr++);
sys/dev/pci/if_iwn.c
5861
fw->init.textsz = le32toh(*ptr++);
sys/dev/pci/if_iwn.c
5862
fw->init.datasz = le32toh(*ptr++);
sys/dev/pci/if_iwn.c
5863
fw->boot.textsz = le32toh(*ptr++);
sys/dev/pci/if_iwn.c
5903
"bad firmware signature 0x%08x\n", le32toh(hdr->signature));
sys/dev/pci/if_iwn.c
5907
le32toh(hdr->build)));
sys/dev/pci/if_iwn.c
5908
sc->ucode_rev = le32toh(hdr->rev);
sys/dev/pci/if_iwn.c
5925
len = le32toh(tlv->len);
sys/dev/pci/if_iwn.c
5974
if (le32toh(*ptr) <= IWN5000_PHY_CALIB_MAX) {
sys/dev/pci/if_iwn.c
5975
sc->reset_noise_gain = le32toh(*ptr);
sys/dev/pci/if_iwn.c
5976
sc->noise_gain = le32toh(*ptr) + 1;
sys/dev/pci/if_iwn.c
5984
sc->tlv_feature_flags = le32toh(*ptr);
sys/dev/pci/if_ixl.c
3723
le32toh(iaq->iaq_param[0]), le32toh(iaq->iaq_param[1]),
sys/dev/pci/if_ixl.c
3724
le32toh(iaq->iaq_param[2]), le32toh(iaq->iaq_param[3]));
sys/dev/pci/if_ixl.c
4006
fwbuild = le32toh(iaq.iaq_param[1]);
sys/dev/pci/if_ixl.c
4007
fwver = le32toh(iaq.iaq_param[2]);
sys/dev/pci/if_ixl.c
4008
apiver = le32toh(iaq.iaq_param[3]);
sys/dev/pci/if_ixl.c
4124
number = le32toh(cap->number);
sys/dev/pci/if_ixl.c
4125
logical_id = le32toh(cap->logical_id);
sys/dev/pci/if_ixl.c
4424
sc->sc_phy_types = le32toh(phy->phy_type);
sys/dev/pci/if_ixl.c
4425
sc->sc_phy_types |= (uint64_t)le32toh(phy->phy_type_ext) << 32;
sys/dev/pci/if_ixlvar.h
194
val = le32toh(iaq->iaq_param[2]);
sys/dev/pci/if_jme.c
1042
sc->jme_rx_cons, le32toh(sc->jme_rxring[sc->jme_rx_cons].flags));
sys/dev/pci/if_jme.c
1045
while ((le32toh(sc->jme_rxring[sc->jme_rx_cons].flags) & JME_RD_OWN)
sys/dev/pci/if_jme.c
1051
i, le32toh(desc->flags), le32toh(desc->buflen));
sys/dev/pci/if_jme.c
1064
if ((le32toh(desc->buflen) & JME_RD_VALID) == 0)
sys/dev/pci/if_jme.c
1067
buflen = le32toh(desc->buflen);
sys/dev/pci/if_jme.c
1069
flags = le32toh(desc->flags);
sys/dev/pci/if_jme.c
1563
status = le32toh(desc->flags);
sys/dev/pci/if_jme.c
1577
le32toh(desc->buflen) &
sys/dev/pci/if_msk.c
71
#define letoh32 le32toh
sys/dev/pci/if_pcn.c
1330
tmd1 = le32toh(sc->sc_txdescs[txs->txs_lastdesc].tmd1);
sys/dev/pci/if_pcn.c
1340
tmd = le32toh(sc->sc_txdescs[j].tmd1);
sys/dev/pci/if_pcn.c
1344
tmd2 = le32toh(sc->sc_txdescs[j].tmd0);
sys/dev/pci/if_pcn.c
1346
tmd2 = le32toh(sc->sc_txdescs[j].tmd2);
sys/dev/pci/if_pcn.c
1428
rmd1 = le32toh(sc->sc_rxdescs[i].rmd1);
sys/dev/pci/if_pcn.c
1487
len = le32toh(sc->sc_rxdescs[i].rmd0) & LE_R1_BCNT_MASK;
sys/dev/pci/if_pcn.c
1489
len = le32toh(sc->sc_rxdescs[i].rmd2) & LE_R1_BCNT_MASK;
sys/dev/pci/if_rtwn.c
1652
rssi = ((le32toh(phy->phydw1) >> 1) & 0x7f) - 110;
sys/dev/pci/if_rtwn.c
1674
rxdw0 = le32toh(rx_desc->rxdw0);
sys/dev/pci/if_rtwn.c
1675
rxdw3 = le32toh(rx_desc->rxdw3);
sys/dev/pci/if_rtwn.c
2043
if (le32toh(tx_desc->txdw0) & R92C_TXDW0_OWN)
sys/dev/pci/if_rtwn.c
3537
if (le32toh(rx_desc->rxdw0) & R92C_RXDW0_OWN)
sys/dev/pci/if_rtwn.c
776
return le32toh(bus_space_read_4(sc->sc_st, sc->sc_sh, addr));
sys/dev/pci/if_sip.c
2052
cmdsts = le32toh(sc->sc_txdescs[
sys/dev/pci/if_sip.c
2125
le32toh(sc->sc_rxdescs[i].sipd_words[sc->sc_cmdsts_idx]);
sys/dev/pci/if_sip.c
2142
le32toh(sc->sc_rxdescs[i].sipd_words[sc->sc_extsts_idx]);
sys/dev/pci/if_sip.c
2341
le32toh(sc->sc_rxdescs[i].sipd_words[sc->sc_cmdsts_idx]);
sys/dev/pci/if_sip.c
2921
le32toh(sc->sc_txdescs[
sys/dev/pci/if_sk.c
2050
sk_ctl = le32toh(sc_if->sk_rdata->sk_rx_ring[cur].sk_ctl);
sys/dev/pci/if_sk.c
2065
rxstat = le32toh(cur_desc->sk_xmac_rxstat);
sys/dev/pci/if_sk.c
2068
total_len = SK_RXBYTES(le32toh(cur_desc->sk_ctl));
sys/dev/pci/if_sk.c
2131
sk_ctl = le32toh(cur_tx->sk_ctl);
sys/dev/pci/if_sk.c
3016
DESC_PRINT(le32toh(desc->sk_ctl));
sys/dev/pci/if_sk.c
3017
DESC_PRINT(le32toh(desc->sk_next));
sys/dev/pci/if_sk.c
3018
DESC_PRINT(le32toh(desc->sk_data_lo));
sys/dev/pci/if_sk.c
3019
DESC_PRINT(le32toh(desc->sk_data_hi));
sys/dev/pci/if_sk.c
3020
DESC_PRINT(le32toh(desc->sk_xmac_txstat));
sys/dev/pci/if_ste.c
1004
control = le32toh(sc->sc_txdescs[i].tfd_control);
sys/dev/pci/if_ste.c
1046
status = le32toh(sc->sc_rxdescs[i].rfd_status);
sys/dev/pci/if_ste.c
1243
control = le32toh(sc->sc_txdescs[id].tfd_control);
sys/dev/pci/if_tl.c
1011
while (le32toh(sc->active_Rx->hw_list->stat) &
sys/dev/pci/if_tl.c
1021
size = le32toh(Rx->hw_list->stat) >> 16;
sys/dev/pci/if_tl.c
1091
if (le32toh(sc->active_Rx->hw_list->stat) & TL_RX_CSTAT_CPLT) {
sys/dev/pci/if_tl.c
1114
if ((le32toh(Tx->hw_list->stat) & TL_TX_CSTAT_CPLT)
sys/dev/pci/if_tl.c
1348
le32toh(Tx->hw_list->stat));
sys/dev/pci/if_tl.c
1353
le32toh(Tx->hw_list->seg[segment].data_addr),
sys/dev/pci/if_tl.c
1354
le32toh(Tx->hw_list->seg[segment].data_count));
sys/dev/pci/if_txp.c
1633
*out2 = le32toh(rsp->rsp_par2);
sys/dev/pci/if_txp.c
1635
*out3 = le32toh(rsp->rsp_par3);
sys/dev/pci/if_txp.c
1695
idx = le32toh(hv->hv_resp_read_idx);
sys/dev/pci/if_txp.c
1696
if (idx != le32toh(hv->hv_resp_write_idx)) {
sys/dev/pci/if_txp.c
1722
while (ridx != le32toh(hv->hv_resp_write_idx)) {
sys/dev/pci/if_txp.c
1739
ridx = le32toh(hv->hv_resp_read_idx);
sys/dev/pci/if_txp.c
1756
ridx = le32toh(hv->hv_resp_read_idx);
sys/dev/pci/if_txp.c
1757
hv->hv_resp_read_idx = le32toh(ridx);
sys/dev/pci/if_txp.c
1771
ridx = le32toh(hv->hv_resp_read_idx);
sys/dev/pci/if_txp.c
1797
ridx = le32toh(hv->hv_cmd_read_idx);
sys/dev/pci/if_txp.c
1801
nfree = le32toh(br->br_cmd_siz) - sizeof(struct txp_cmd_desc);
sys/dev/pci/if_txp.c
1804
nfree = le32toh(br->br_cmd_siz) -
sys/dev/pci/if_txp.c
1945
le32toh(cmd->cmd_par2), le32toh(cmd->cmd_par3));
sys/dev/pci/if_txp.c
1953
le32toh(rsp->rsp_par2), le32toh(rsp->rsp_par3));
sys/dev/pci/if_txp.c
1975
le32toh(cmd->cmd_par2), le32toh(cmd->cmd_par3));
sys/dev/pci/if_txp.c
471
WRITE_REG(sc, TXP_H2A_1, le32toh(fileheader->addr));
sys/dev/pci/if_txp.c
472
WRITE_REG(sc, TXP_H2A_2, le32toh(fileheader->hmac[0]));
sys/dev/pci/if_txp.c
473
WRITE_REG(sc, TXP_H2A_3, le32toh(fileheader->hmac[1]));
sys/dev/pci/if_txp.c
474
WRITE_REG(sc, TXP_H2A_4, le32toh(fileheader->hmac[2]));
sys/dev/pci/if_txp.c
475
WRITE_REG(sc, TXP_H2A_5, le32toh(fileheader->hmac[3]));
sys/dev/pci/if_txp.c
476
WRITE_REG(sc, TXP_H2A_6, le32toh(fileheader->hmac[4]));
sys/dev/pci/if_txp.c
489
for (sect = 0; sect < le32toh(fileheader->nsections); sect++) {
sys/dev/pci/if_txp.c
493
(((const uint8_t *)secthead) + le32toh(secthead->nbytes) +
sys/dev/pci/if_txp.c
566
rseg += le32toh(sect->nbytes);
sys/dev/pci/if_txp.c
573
if (txp_dma_malloc(sc, le32toh(sect->nbytes), &dma, 0)) {
sys/dev/pci/if_txp.c
579
le32toh(sect->nbytes));
sys/dev/pci/if_txp.c
587
m.m_len = le32toh(sect->nbytes);
sys/dev/pci/if_txp.c
591
csum = in_cksum(&m, le32toh(sect->nbytes));
sys/dev/pci/if_txp.c
603
WRITE_REG(sc, TXP_H2A_1, le32toh(sect->nbytes));
sys/dev/pci/if_txp.c
604
WRITE_REG(sc, TXP_H2A_2, le32toh(sect->cksum));
sys/dev/pci/if_txp.c
605
WRITE_REG(sc, TXP_H2A_3, le32toh(sect->addr));
sys/dev/pci/if_txp.c
656
TXP_OFFSET2IDX(le32toh(*(sc->sc_txhir.r_off)))))
sys/dev/pci/if_txp.c
660
TXP_OFFSET2IDX(le32toh(*(sc->sc_txlor.r_off)))))
sys/dev/pci/if_txp.c
720
roff = le32toh(*r->r_roff);
sys/dev/pci/if_txp.c
721
woff = le32toh(*r->r_woff);
sys/dev/pci/if_txp.c
733
le32toh(rxd->rx_stat));
sys/dev/pci/if_txp.c
819
woff = le32toh(*r->r_woff);
sys/dev/pci/if_txp.c
834
end = TXP_OFFSET2IDX(le32toh(hv->hv_rx_buf_read_idx));
sys/dev/pci/if_txp.c
835
i = TXP_OFFSET2IDX(le32toh(hv->hv_rx_buf_write_idx));
sys/dev/pci/if_txp.c
910
uint32_t idx = TXP_OFFSET2IDX(le32toh(*(r->r_off)));
sys/dev/pci/if_vge.c
1121
rd_sts = le32toh(rxd->rd_sts);
sys/dev/pci/if_vge.c
1208
rxstat = le32toh(cur_rxd->rd_sts);
sys/dev/pci/if_vge.c
1214
rxctl = le32toh(cur_rxd->rd_ctl);
sys/dev/pci/if_vge.c
1376
txstat = le32toh(sc->sc_txdescs[idx].td_sts);
sys/dev/pci/if_vge.c
1530
td_sts = le32toh(txd->td_sts);
sys/dev/pci/if_vr.c
617
rxstat = le32toh(d->vr_status);
sys/dev/pci/if_vr.c
680
VR_RXBYTES(le32toh(d->vr_status)), rxstat);
sys/dev/pci/if_vr.c
691
total_len = VR_RXBYTES(le32toh(d->vr_status));
sys/dev/pci/if_vr.c
853
txstat = le32toh(d->vr_status);
sys/dev/pci/if_wm.c
10008
le32toh(rxq->rxq_ext_descs[idx].erx_ctx.erxc_err_stat));
sys/dev/pci/if_wm.c
10011
le32toh(rxq->rxq_nq_descs[idx].nqrx_ctx.nrxc_err_stat));
sys/dev/pci/if_wm.c
10023
le32toh(rxq->rxq_ext_descs[idx].erx_ctx.erxc_err_stat));
sys/dev/pci/if_wm.c
10026
le32toh(rxq->rxq_nq_descs[idx].nqrx_ctx.nrxc_err_stat));
sys/dev/pci/if_wm.c
10246
uint32_t rsshash = le32toh(wm_rxdesc_get_rsshash(rxq, i));
sys/dev/pci/if_wm.c
9221
lasttx, le32toh(txq->txq_descs[lasttx].wtx_cmdlen)));
sys/dev/pci/if_wm.c
9807
lasttx, le32toh(txq->txq_descs[lasttx].wtx_cmdlen)));
sys/dev/pci/if_wpi.c
1311
main_textsz = le32toh(hdr.main_textsz);
sys/dev/pci/if_wpi.c
1312
main_datasz = le32toh(hdr.main_datasz);
sys/dev/pci/if_wpi.c
1313
init_textsz = le32toh(hdr.init_textsz);
sys/dev/pci/if_wpi.c
1314
init_datasz = le32toh(hdr.init_datasz);
sys/dev/pci/if_wpi.c
1315
boot_textsz = le32toh(hdr.boot_textsz);
sys/dev/pci/if_wpi.c
1506
"chan=%d tstamp=%" PRIu64 "\n", ring->cur, le32toh(desc->len),
sys/dev/pci/if_wpi.c
1514
if ((le32toh(tail->flags) & WPI_RX_NOERROR) != WPI_RX_NOERROR) {
sys/dev/pci/if_wpi.c
1516
le32toh(tail->flags)));
sys/dev/pci/if_wpi.c
1641
stat->nkill, stat->rate, le32toh(stat->duration),
sys/dev/pci/if_wpi.c
1642
le32toh(stat->status)));
sys/dev/pci/if_wpi.c
1657
if ((le32toh(stat->status) & 0xff) != 1)
sys/dev/pci/if_wpi.c
1709
hw = le32toh(sc->shared->next);
sys/dev/pci/if_wpi.c
1720
desc->type, le32toh(desc->len)));
sys/dev/pci/if_wpi.c
1743
"alive %x\n", le32toh(uc->version),
sys/dev/pci/if_wpi.c
1744
le32toh(uc->valid)));
sys/dev/pci/if_wpi.c
1746
if (le32toh(uc->valid) != 1) {
sys/dev/pci/if_wpi.c
1757
DPRINTF(("state changed to %x\n", le32toh(*status)));
sys/dev/pci/if_wpi.c
1759
if (le32toh(*status) & 1) {
sys/dev/pci/if_wpi.c
1781
scan->chan, le32toh(scan->status)));
sys/dev/pci/igc/if_igc.c
1811
const uint32_t status = le32toh(txdesc->wb.status);
sys/dev/pci/igc/if_igc.c
2114
const uint32_t staterr = le32toh(rxdesc->wb.upper.status_error);
sys/dev/pci/igc/if_igc.c
2150
const uint32_t ptype = le32toh(rxdesc->wb.lower.lo_dword.data) &
sys/dev/pci/igc/if_igc.c
2154
le32toh(rxdesc->wb.lower.hi_dword.rss);
sys/dev/pci/ixgbe/ix_txrx.c
1146
le32toh(txd[kring->nr_kflags].wb.status) & IXGBE_TXD_STAT_DD) {
sys/dev/pci/ixgbe/ix_txrx.c
1172
if ((le32toh(eop->wb.status) & IXGBE_TXD_STAT_DD) == 0)
sys/dev/pci/ixgbe/ix_txrx.c
1273
return (le32toh(rx->wb.lower.lo_dword.data) &
sys/dev/pci/ixgbe/ix_txrx.c
1907
staterr = le32toh(cur->wb.upper.status_error);
sys/dev/pci/ixgbe/ix_txrx.c
1926
ptype = le32toh(cur->wb.lower.lo_dword.data) &
sys/dev/pci/ixgbe/ix_txrx.c
2118
le32toh(cur->wb.lower.hi_dword.rss);
sys/dev/pci/ixgbe/ixgbe_netmap.c
427
uint32_t staterr = le32toh(curr->wb.upper.status_error);
sys/dev/pci/ixgbe/ixgbe_osdep.h
141
#define IXGBE_LE32_TO_CPU le32toh
sys/dev/pci/ixgbe/ixgbe_osdep.h
142
#define IXGBE_LE32_TO_CPUS(x) (*(x) = le32toh(*(x)))
sys/dev/pci/mfii.c
1300
mfii_aen_start(sc, ccb, mdm, le32toh(mel.mel_boot_seq_num));
sys/dev/pci/mfii.c
1371
le32toh(med->med_seq_num), le32toh(med->med_code),
sys/dev/pci/mfii.c
1374
switch (le32toh(med->med_code)) {
sys/dev/pci/mfii.c
1404
mfii_aen_start(sc, ccb, mdm, le32toh(med->med_seq_num) + 1);
sys/dev/pci/mfii.c
3946
status = le32toh(bbu.fw_status) & mask;
sys/dev/pci/mfii.c
4029
if (ISSET(le32toh(sc->sc_info.mci_hw_present), MFI_INFO_HW_BBU)) {
sys/dev/pci/mly.c
1011
if (le32toh(mly->mly_mmbox->mmm_health.status.change_counter) !=
sys/dev/pci/mly.c
1014
le32toh(mly->mly_mmbox->mmm_health.status.change_counter);
sys/dev/pci/mly.c
1016
le32toh(mly->mly_mmbox->mmm_health.status.next_event);
sys/dev/pci/mly.c
1146
if (le32toh(me->code) == 0x1c &&
sys/dev/pci/mly.c
1152
event = le32toh(me->code);
sys/dev/pci/mly.c
1494
mc->mc_resid = le32toh(sp->status.residue);
sys/dev/pci/mly.c
745
tmp = le32toh(ldi->logical_device_number);
sys/dev/pci/mly.c
832
mly->mly_event_change = le32toh(mh->change_counter);
sys/dev/pci/mly.c
833
mly->mly_event_waiting = le32toh(mh->next_event);
sys/dev/pci/mly.c
834
mly->mly_event_counter = le32toh(mh->next_event);
sys/dev/pci/mpii.c
1286
if (ISSET(le32toh(ifp.ioc_capabilities),
sys/dev/pci/mpii.c
1289
if (ISSET(le32toh(ifp.ioc_capabilities),
sys/dev/pci/mpii.c
1463
le32toh(iip.ioc_loginfo));
sys/dev/pci/mpii.c
1466
le32toh(iip.ioc_loginfo))
sys/dev/pci/mpii.c
1649
if (!ISSET(le32toh(ipg.flags), MPII_CFG_IOC_1_REPLY_COALESCING))
sys/dev/pci/mpii.c
1770
if (ISSET(le32toh(ccl->flags), MPII_EVT_IR_CFG_CHANGE_LIST_FOREIGN)) {
sys/dev/pci/mpii.c
2321
le32toh(cp->ioc_loginfo));
sys/dev/pci/mpii.c
2436
le32toh(cp->ioc_loginfo));
sys/dev/pci/mpii.c
2466
rfid = (le32toh(rdp->frame_addr) -
sys/dev/pci/mpii.c
3229
le32toh(sie->ioc_loginfo));
sys/dev/pci/mpii.c
3231
le32toh(sie->transfer_count));
sys/dev/pci/mpii.c
3233
le32toh(sie->sense_count));
sys/dev/pci/mpii.c
3235
le32toh(sie->response_info));
sys/dev/pci/mpii.c
3239
DEVNAME(sc), le32toh(sie->bidirectional_transfer_count));
sys/dev/pci/mpii.c
3250
xs->resid = xs->datalen - le32toh(sie->transfer_count);
sys/dev/pci/mpii.c
3531
if (ISSET(le32toh(vpg->volume_status),
sys/dev/pci/mpii.c
3857
if (ISSET(le32toh(vpg->volume_status),
sys/dev/pci/pciide_common.c
782
seg, le32toh(dma_maps->dma_table[seg].byte_count),
sys/dev/pci/pciide_common.c
783
le32toh(dma_maps->dma_table[seg].base_addr)), DEBUG_DMA);
sys/dev/pci/sti_pci.c
186
tmp = le32toh(tmp);
sys/dev/pci/sti_pci.c
202
tmp = le32toh(tmp);
sys/dev/pci/sti_pci.c
233
tmp = le32toh(tmp);
sys/dev/pci/sti_pci.c
304
stiromsize = le32toh(stiromsize);
sys/dev/pci/trm.c
1430
if (xferlen >= le32toh(sg->length))
sys/dev/pci/trm.c
1431
xferlen -= le32toh(sg->length);
sys/dev/pci/trm.c
1439
htole32(le32toh(sg->length)
sys/dev/pci/trm.c
1443
htole32(le32toh(sg->address)
sys/dev/pci/trm.c
1516
if (xferlen >= le32toh(sg->length))
sys/dev/pci/trm.c
1517
xferlen -= le32toh(sg->length);
sys/dev/pci/trm.c
1525
htole32(le32toh(sg->length)
sys/dev/pci/trm.c
1529
htole32(le32toh(sg->address)
sys/dev/pci/twe.c
1103
*valp = le32toh(*(uint32_t *)tp->tp_data);
sys/dev/pci/virtio_pci.c
509
psc->sc_notify_off_multiplier = le32toh(notify.notify_off_multiplier);
sys/dev/pci/virtio_pci.c
591
le32toh(pci_conf_read(pc, tag, offset + i * 4));
sys/dev/pci/virtio_pci.c
608
le32toh(pci_conf_read(pc, tag, offset + i * 4));
sys/dev/pci/virtio_pci.c
612
v->vcap.offset = le32toh(v->vcap.offset);
sys/dev/pci/virtio_pci.c
613
v->vcap.length = le32toh(v->vcap.length);
sys/dev/pci/yds.c
1099
le32toh(*sc->ptbl)*
sys/dev/pci/yds.c
1104
pdma = le32toh(sc->pbankp[nbank]->pgstart) *
sys/dev/pci/yds.c
1118
rdma = le32toh(
sys/dev/pci/yds.c
304
num = le32toh(*(uint32_t*)sc->ptbl);
sys/dev/pcmcia/if_malo_pcmcia.c
1020
rxdesc->pkgoffset = le32toh(rxdesc->pkgoffset);
sys/dev/sbus/stp4020.c
266
return (le32toh(*(volatile uint32_t *)(handle + offset)));
sys/dev/scsipi/cd.c
1126
cte->addr.lba = le32toh(cte->addr.lba);
sys/dev/scsipi/cd.c
1189
cte->addr.lba = le32toh(cte->addr.lba);
sys/dev/sdmmc/if_bwfm_sdio.c
1477
addr = le32toh(addr);
sys/dev/sdmmc/if_bwfm_sdio.c
1486
sc->sc_console_addr = le32toh(sdpcm.console_addr);
sys/dev/sdmmc/if_bwfm_sdio.c
2133
c.log_buf = le32toh(c.log_buf);
sys/dev/sdmmc/if_bwfm_sdio.c
2134
c.log_bufsz = le32toh(c.log_bufsz);
sys/dev/sdmmc/if_bwfm_sdio.c
2135
c.log_idx = le32toh(c.log_idx);
sys/dev/sdmmc/if_bwi_sdio.c
450
val = le32toh(val);
sys/dev/sdmmc/sdhc.c
2088
*(uint32_t *)data = le32toh(HREAD4(hp, SDHC_DATA));
sys/dev/sdmmc/sdhc.c
2181
v = le32toh(v);
sys/dev/sdmmc/sdhc.c
2193
v = le32toh(v);
sys/dev/usb/ehci.c
1056
if (le32toh(itd->itd->itd_ctl[i]) & EHCI_ITD_ACTIVE)
sys/dev/usb/ehci.c
1100
bool active = ((le32toh(sitd->sitd->sitd_trans) & EHCI_SITD_ACTIVE) != 0);
sys/dev/usb/ehci.c
1185
status = le32toh(itd->itd->itd_ctl[i]);
sys/dev/usb/ehci.c
1228
status = le32toh(sitd->sitd->sitd_trans);
sys/dev/usb/ehci.c
1276
nstatus = le32toh(sqtd->qtd->qtd_status);
sys/dev/usb/ehci.c
1777
uint32_t s = le32toh(qtd->qtd_status);
sys/dev/usb/ehci.c
1805
le32toh(qtd->qtd_buffer[0]), le32toh(qtd->qtd_buffer[1]),
sys/dev/usb/ehci.c
1806
le32toh(qtd->qtd_buffer[2]), le32toh(qtd->qtd_buffer[3]));
sys/dev/usb/ehci.c
1808
"buffer[4] = %#jx", le32toh(qtd->qtd_buffer[4]), 0, 0, 0);
sys/dev/usb/ehci.c
1823
link = le32toh(qh->qh_link);
sys/dev/usb/ehci.c
1826
endp = le32toh(qh->qh_endp);
sys/dev/usb/ehci.c
1838
endphub = le32toh(qh->qh_endphub);
sys/dev/usb/ehci.c
1846
link = le32toh(qh->qh_curqtd);
sys/dev/usb/ehci.c
1889
t = le32toh(itd->itd->itd_ctl[i]);
sys/dev/usb/ehci.c
1899
EHCI_ITD_GET_BPTR(le32toh(itd->itd->itd_bufr[i])), 0, 0, 0);
sys/dev/usb/ehci.c
1901
b = le32toh(itd->itd->itd_bufr[0]);
sys/dev/usb/ehci.c
1902
b2 = le32toh(itd->itd->itd_bufr[1]);
sys/dev/usb/ehci.c
1903
b3 = le32toh(itd->itd->itd_bufr[2]);
sys/dev/usb/ehci.c
3182
le32toh(sqtd->qtd->qtd_buffer_hi[i]),
sys/dev/usb/ehci.c
3183
le32toh(sqtd->qtd->qtd_buffer[i]));
sys/dev/usb/ehci.c
3467
cur = EHCI_LINK_ADDR(le32toh(sqh->qh->qh_curqtd));
sys/dev/usb/ehci.c
3567
trans_status = le32toh(itd->itd->itd_ctl[i]);
sys/dev/usb/ehci.c
3585
trans_status = le32toh(sitd->sitd->sitd_trans);
sys/dev/usb/ehci.c
3736
KASSERTMSG(EHCI_QH_GET_ADDR(le32toh(sqh->qh->qh_endp)) == epipe->pipe.up_dev->ud_addr,
sys/dev/usb/ehci.c
3738
EHCI_QH_GET_ADDR(le32toh(sqh->qh->qh_endp)),
sys/dev/usb/ehci.c
3740
KASSERTMSG(EHCI_QH_GET_MPL(le32toh(sqh->qh->qh_endp)) ==
sys/dev/usb/ehci.c
3743
EHCI_QH_GET_MPL(le32toh(sqh->qh->qh_endp)),
sys/dev/usb/ehci.c
976
status = le32toh(lsqtd->qtd->qtd_status);
sys/dev/usb/ehci.c
989
status = le32toh(sqtd->qtd->qtd_status);
sys/dev/usb/if_axen.c
777
rx_hdr = le32toh(*hdr_p);
sys/dev/usb/if_axen.c
819
pkt_hdr = le32toh(*hdr_p);
sys/dev/usb/if_bwfm_usb.c
349
sc->sc_chip = le32toh(brom.chip);
sys/dev/usb/if_bwfm_usb.c
350
sc->sc_chiprev = le32toh(brom.chiprev);
sys/dev/usb/if_bwfm_usb.c
396
if (le32toh(brom.chip) == BRCMF_POSTBOOT_ID)
sys/dev/usb/if_bwfm_usb.c
400
if (le32toh(brom.chip) != BRCMF_POSTBOOT_ID) {
sys/dev/usb/if_bwfm_usb.c
406
sc->sc_chip = le32toh(brom.chip);
sys/dev/usb/if_bwfm_usb.c
407
sc->sc_chiprev = le32toh(brom.chiprev);
sys/dev/usb/if_bwfm_usb.c
680
if (le32toh(trx->magic) != TRX_MAGIC ||
sys/dev/usb/if_bwfm_usb.c
681
(le32toh(trx->flag_version) & TRX_UNCOMP_IMAGE) == 0) {
sys/dev/usb/if_bwfm_usb.c
687
rdlstate = le32toh(state.state);
sys/dev/usb/if_bwfm_usb.c
688
rdlbytes = le32toh(state.bytes);
sys/dev/usb/if_bwfm_usb.c
718
rdlstate = le32toh(state.state);
sys/dev/usb/if_bwfm_usb.c
719
rdlbytes = le32toh(state.bytes);
sys/dev/usb/if_bwfm_usb.c
735
rdlstate = le32toh(state.state);
sys/dev/usb/if_bwfm_usb.c
736
rdlbytes = le32toh(state.bytes);
sys/dev/usb/if_gscan.c
225
dlc = le32toh(gsframe->gsframe_can_dlc);
sys/dev/usb/if_gscan.c
230
echo_id = le32toh(gsframe->gsframe_echo_id);
sys/dev/usb/if_gscan.c
235
can_id = le32toh(gsframe->gsframe_can_id);
sys/dev/usb/if_gscan.c
666
le32toh(gscan_config.sw_version), le32toh(gscan_config.hw_version));
sys/dev/usb/if_gscan.c
676
le32toh(gscan_bt_const.btc_features),
sys/dev/usb/if_gscan.c
677
le32toh(gscan_bt_const.btc_fclk),
sys/dev/usb/if_gscan.c
678
le32toh(gscan_bt_const.btc_tseg1_min),
sys/dev/usb/if_gscan.c
679
le32toh(gscan_bt_const.btc_tseg1_max),
sys/dev/usb/if_gscan.c
680
le32toh(gscan_bt_const.btc_tseg2_min),
sys/dev/usb/if_gscan.c
681
le32toh(gscan_bt_const.btc_tseg2_max),
sys/dev/usb/if_gscan.c
682
le32toh(gscan_bt_const.btc_swj_max),
sys/dev/usb/if_gscan.c
683
le32toh(gscan_bt_const.btc_brp_min),
sys/dev/usb/if_gscan.c
684
le32toh(gscan_bt_const.btc_brp_max),
sys/dev/usb/if_gscan.c
685
le32toh(gscan_bt_const.btc_brp_inc));
sys/dev/usb/if_gscan.c
689
sc->sc_timecaps.cltc_ps1_min = le32toh(gscan_bt_const.btc_tseg1_min);
sys/dev/usb/if_gscan.c
690
sc->sc_timecaps.cltc_ps1_max = le32toh(gscan_bt_const.btc_tseg1_max);
sys/dev/usb/if_gscan.c
691
sc->sc_timecaps.cltc_ps2_min = le32toh(gscan_bt_const.btc_tseg2_min);
sys/dev/usb/if_gscan.c
692
sc->sc_timecaps.cltc_ps2_max = le32toh(gscan_bt_const.btc_tseg2_max);
sys/dev/usb/if_gscan.c
693
sc->sc_timecaps.cltc_sjw_max = le32toh(gscan_bt_const.btc_swj_max);
sys/dev/usb/if_gscan.c
694
sc->sc_timecaps.cltc_brp_min = le32toh(gscan_bt_const.btc_brp_min);
sys/dev/usb/if_gscan.c
695
sc->sc_timecaps.cltc_brp_max = le32toh(gscan_bt_const.btc_brp_max);
sys/dev/usb/if_gscan.c
696
sc->sc_timecaps.cltc_brp_inc = le32toh(gscan_bt_const.btc_brp_inc);
sys/dev/usb/if_gscan.c
697
sc->sc_timecaps.cltc_clock_freq = le32toh(gscan_bt_const.btc_fclk);
sys/dev/usb/if_gscan.c
699
if (le32toh(gscan_bt_const.btc_features) & FEAT_LISTEN_ONLY)
sys/dev/usb/if_gscan.c
701
if (le32toh(gscan_bt_const.btc_features) & FEAT_LOOPBACK)
sys/dev/usb/if_gscan.c
703
if (le32toh(gscan_bt_const.btc_features) & FEAT_TRIPLE_SAMPLE)
sys/dev/usb/if_mue.c
1158
rx_cmd_a = le32toh(hdrp->rx_cmd_a);
sys/dev/usb/if_otus.c
1681
le32toh(tx->phy));
sys/dev/usb/if_otus.c
2600
tmp = le32toh(eep->antCtrlCommon);
sys/dev/usb/if_otus.c
2603
tmp = le32toh(eep->antCtrlChain[0]);
sys/dev/usb/if_otus.c
2606
tmp = le32toh(eep->antCtrlChain[1]);
sys/dev/usb/if_otus.c
2902
DPRINTFN(DBG_CHAN, sc, "status=%#x\n", le32toh(rsp.status));
sys/dev/usb/if_otus.c
2910
le32toh(rsp.status));
sys/dev/usb/if_otus.c
2914
i, (((int32_t)le32toh(rsp.nf[i])) << 4) >> 23);
sys/dev/usb/if_otus.c
2916
i, ((int32_t)le32toh(rsp.nf_ext[i])) >> 23);
sys/dev/usb/if_rum.c
1419
return le32toh(val);
sys/dev/usb/if_rum.c
2265
if_statadd(ifp, if_oerrors, le32toh(sc->sta[5]) >> 16);
sys/dev/usb/if_rum.c
2268
(le32toh(sc->sta[4]) >> 16) + /* TX one-retry ok count */
sys/dev/usb/if_rum.c
2269
(le32toh(sc->sta[5]) & 0xffff) + /* TX more-retry ok count */
sys/dev/usb/if_rum.c
2270
(le32toh(sc->sta[5]) >> 16); /* TX retry-fail count */
sys/dev/usb/if_rum.c
2274
(le32toh(sc->sta[4]) & 0xffff); /* TX no-retry ok count */
sys/dev/usb/if_rum.c
836
if (le32toh(desc->flags) & RT2573_RX_CRC_ERROR) {
sys/dev/usb/if_rum.c
870
m->m_pkthdr.len = m->m_len = (le32toh(desc->flags) >> 16) & 0xfff;
sys/dev/usb/if_rum.c
913
if (le32toh(desc->flags) & RT2573_RX_OFDM) {
sys/dev/usb/if_run.c
1027
*val = le32toh(tmp);
sys/dev/usb/if_run.c
2201
le32toh(sta[1]) >> 16, le32toh(sta[1]) & 0xffff,
sys/dev/usb/if_run.c
2202
le32toh(sta[0]) & 0xffff));
sys/dev/usb/if_run.c
2206
if_statadd(ifp, if_oerrors, le32toh(sta[0]) & 0xffff);
sys/dev/usb/if_run.c
2209
(le32toh(sta[0]) & 0xffff) + /* failed TX count */
sys/dev/usb/if_run.c
2210
(le32toh(sta[1]) >> 16); /* TX retransmission count */
sys/dev/usb/if_run.c
2214
(le32toh(sta[1]) & 0xffff); /* successful TX count */
sys/dev/usb/if_run.c
2312
flags = le32toh(rxd->flags);
sys/dev/usb/if_run.c
2466
dmalen = le32toh(*(uint32_t *)buf) & 0xffff;
sys/dev/usb/if_smsc.c
227
*data = le32toh(buf);
sys/dev/usb/if_smsc.c
897
rxhdr = le32toh(rxhdr);
sys/dev/usb/if_umb.c
1193
if (len < sizeof(*hdr) || le32toh(hdr->len) != len) {
sys/dev/usb/if_umb.c
1209
type = le32toh(hdr->type);
sys/dev/usb/if_umb.c
1214
if (le32toh(fraghdr->frag.nfrag) != 1) {
sys/dev/usb/if_umb.c
1225
le32toh(hdr->tid));
sys/dev/usb/if_umb.c
1235
err = le32toh(e->err);
sys/dev/usb/if_umb.c
1239
umb_error2str(err), le32toh(hdr->tid));
sys/dev/usb/if_umb.c
1273
umb_request2str(le32toh(m->hdr.type)));
sys/dev/usb/if_umb.c
1278
DEVNAM(sc), umb_request2str(le32toh(m->hdr.type)),
sys/dev/usb/if_umb.c
1282
infolen = le32toh(m->infolen);
sys/dev/usb/if_umb.c
1285
DEVNAM(sc), umb_request2str(le32toh(m->hdr.type)),
sys/dev/usb/if_umb.c
1290
cid = le32toh(m->cid);
sys/dev/usb/if_umb.c
1302
status = le32toh(resp->status);
sys/dev/usb/if_umb.c
1324
status = le32toh(resp->status);
sys/dev/usb/if_umb.c
1337
offs = le32toh(offs);
sys/dev/usb/if_umb.c
1338
sz = le32toh(sz);
sys/dev/usb/if_umb.c
1399
sc->sc_info.nwerror = le32toh(rs->nwerror);
sys/dev/usb/if_umb.c
1400
sc->sc_info.regstate = le32toh(rs->regstate);
sys/dev/usb/if_umb.c
1401
sc->sc_info.regmode = le32toh(rs->regmode);
sys/dev/usb/if_umb.c
1402
sc->sc_info.cellclass = le32toh(rs->curcellclass);
sys/dev/usb/if_umb.c
1412
le32toh(rs->availclasses), sc->sc_info.cellclass,
sys/dev/usb/if_umb.c
1434
sc->sc_maxsessions = le32toh(dc->max_sessions);
sys/dev/usb/if_umb.c
1435
sc->sc_info.supportedclasses = le32toh(dc->dataclass);
sys/dev/usb/if_umb.c
1456
sc->sc_info.sim_state = le32toh(si->ready);
sys/dev/usb/if_umb.c
1463
npn = le32toh(si->no_pn);
sys/dev/usb/if_umb.c
1490
(le32toh(rs->hw_state) == MBIM_RADIO_STATE_ON) ? 1 : 0;
sys/dev/usb/if_umb.c
1492
(le32toh(rs->sw_state) == MBIM_RADIO_STATE_ON) ? 1 : 0;
sys/dev/usb/if_umb.c
1521
attempts_left = le32toh(pi->remaining_attempts);
sys/dev/usb/if_umb.c
1525
switch (le32toh(pi->state)) {
sys/dev/usb/if_umb.c
1530
switch (le32toh(pi->type)) {
sys/dev/usb/if_umb.c
1547
DEVNAM(sc), umb_pin_type(le32toh(pi->type)),
sys/dev/usb/if_umb.c
1548
(le32toh(pi->state) == MBIM_PIN_STATE_UNLOCKED) ?
sys/dev/usb/if_umb.c
1550
le32toh(pi->remaining_attempts));
sys/dev/usb/if_umb.c
1570
sc->sc_info.nwerror = le32toh(psi->nwerror);
sys/dev/usb/if_umb.c
1571
state = le32toh(psi->state);
sys/dev/usb/if_umb.c
1572
highestclass = le32toh(psi->highest_dataclass);
sys/dev/usb/if_umb.c
1632
if (le32toh(ss->rssi) == 99)
sys/dev/usb/if_umb.c
1635
rssi = -113 + 2 * le32toh(ss->rssi);
sys/dev/usb/if_umb.c
1641
sc->sc_info.ber = le32toh(ss->err_rate);
sys/dev/usb/if_umb.c
1657
if (le32toh(ci->sessionid) != umb_session_id) {
sys/dev/usb/if_umb.c
1659
DEVNAM(sc), le32toh(ci->sessionid));
sys/dev/usb/if_umb.c
1668
act = le32toh(ci->activation);
sys/dev/usb/if_umb.c
1674
le32toh(ci->iptype) != MBIM_CONTEXT_IPTYPE_DEFAULT &&
sys/dev/usb/if_umb.c
1675
le32toh(ci->iptype) != MBIM_CONTEXT_IPTYPE_IPV4)
sys/dev/usb/if_umb.c
1677
DEVNAM(sc), le32toh(ci->iptype));
sys/dev/usb/if_umb.c
1680
sc->sc_info.nwerror = le32toh(ci->nwerror);
sys/dev/usb/if_umb.c
1710
if (le32toh(ic->sessionid) != umb_session_id) {
sys/dev/usb/if_umb.c
1712
DEVNAM(sc), le32toh(ic->sessionid));
sys/dev/usb/if_umb.c
1720
avail = le32toh(ic->ipv4_available);
sys/dev/usb/if_umb.c
1723
n = le32toh(ic->ipv4_naddr);
sys/dev/usb/if_umb.c
1724
off = le32toh(ic->ipv4_addroffs);
sys/dev/usb/if_umb.c
1731
ipv4elem.prefixlen = le32toh(ipv4elem.prefixlen);
sys/dev/usb/if_umb.c
1742
off = le32toh(ic->ipv4_gwoffs);
sys/dev/usb/if_umb.c
1767
n = le32toh(ic->ipv4_ndnssrv);
sys/dev/usb/if_umb.c
1768
off = le32toh(ic->ipv4_dnssrvoffs);
sys/dev/usb/if_umb.c
1781
val = le32toh(ic->ipv4_mtu);
sys/dev/usb/if_umb.c
1791
avail = le32toh(ic->ipv6_available);
sys/dev/usb/if_umb.c
2123
if (le32toh(c->op) == MBIM_CMDOP_SET)
sys/dev/usb/if_umb.c
2127
str = umb_cid2str(le32toh(c->cid));
sys/dev/usb/if_umb.c
2390
umb_request2str(le32toh(cmd->hdr.type)));
sys/dev/usb/if_umb.c
2393
cid = le32toh(cmd->cid);
sys/dev/usb/if_umb.c
2398
DEVNAM(sc), umb_request2str(le32toh(cmd->hdr.type)),
sys/dev/usb/if_umb.c
2405
status = le32toh(cmd->status);
sys/dev/usb/if_umb.c
2424
infolen = le32toh(cmd->infolen);
sys/dev/usb/if_upgt.c
1737
if (data_tx->addr == le32toh(desc->header2.reqid)) {
sys/dev/usb/if_upgt.c
1746
le32toh(desc->header2.reqid),
sys/dev/usb/if_upgt.c
768
bra_option_type = le32toh(bra_option->type);
sys/dev/usb/if_upgt.c
769
bra_option_len = le32toh(bra_option->len) * sizeof(*uc);
sys/dev/usb/if_upgt.c
819
le32toh(descr->memaddr_space_start);
sys/dev/usb/if_upgt.c
821
le32toh(descr->memaddr_space_end);
sys/dev/usb/if_ural.c
827
if (le32toh(desc->flags) & RAL_RX_OFDM) {
sys/dev/usb/if_ural.c
928
if ((le32toh(desc->flags) & RAL_RX_PHY_ERROR) ||
sys/dev/usb/if_ural.c
929
(le32toh(desc->flags) & RAL_RX_CRC_ERROR)) {
sys/dev/usb/if_ural.c
958
m->m_pkthdr.len = m->m_len = (le32toh(desc->flags) >> 16) & 0xfff;
sys/dev/usb/if_ure.c
1008
csum = le32toh(rp->ure_csum);
sys/dev/usb/if_ure.c
1009
misc = le32toh(rp->ure_misc);
sys/dev/usb/if_ure.c
977
pkt_len = le32toh(rxhdr.ure_pktlen) & URE_RXPKT_LEN_MASK;
sys/dev/usb/if_urndis.c
195
le32toh(hdr->rm_type),
sys/dev/usb/if_urndis.c
196
le32toh(hdr->rm_len)));
sys/dev/usb/if_urndis.c
198
if (le32toh(hdr->rm_len) > URNDIS_RESPONSE_LEN) {
sys/dev/usb/if_urndis.c
201
le32toh(hdr->rm_len),
sys/dev/usb/if_urndis.c
223
switch (le32toh(hdr->rm_type)) {
sys/dev/usb/if_urndis.c
238
rval = le32toh(hdr->rm_status);
sys/dev/usb/if_urndis.c
247
DEVNAME(un), le32toh(hdr->rm_type));
sys/dev/usb/if_urndis.c
268
le32toh(msg->rm_len),
sys/dev/usb/if_urndis.c
269
le32toh(msg->rm_rid),
sys/dev/usb/if_urndis.c
270
le32toh(msg->rm_status),
sys/dev/usb/if_urndis.c
271
le32toh(msg->rm_ver_major),
sys/dev/usb/if_urndis.c
272
le32toh(msg->rm_ver_minor),
sys/dev/usb/if_urndis.c
273
le32toh(msg->rm_devflags),
sys/dev/usb/if_urndis.c
274
le32toh(msg->rm_medium),
sys/dev/usb/if_urndis.c
275
le32toh(msg->rm_pktmaxcnt),
sys/dev/usb/if_urndis.c
276
le32toh(msg->rm_pktmaxsz),
sys/dev/usb/if_urndis.c
277
le32toh(msg->rm_align),
sys/dev/usb/if_urndis.c
278
le32toh(msg->rm_aflistoffset),
sys/dev/usb/if_urndis.c
279
le32toh(msg->rm_aflistsz)));
sys/dev/usb/if_urndis.c
281
if (le32toh(msg->rm_status) != RNDIS_STATUS_SUCCESS) {
sys/dev/usb/if_urndis.c
284
le32toh(msg->rm_status));
sys/dev/usb/if_urndis.c
286
return le32toh(msg->rm_status);
sys/dev/usb/if_urndis.c
289
if (le32toh(msg->rm_devflags) != RNDIS_DF_CONNECTIONLESS) {
sys/dev/usb/if_urndis.c
292
le32toh(msg->rm_devflags));
sys/dev/usb/if_urndis.c
297
if (le32toh(msg->rm_medium) != RNDIS_MEDIUM_802_3) {
sys/dev/usb/if_urndis.c
299
DEVNAME(un), le32toh(msg->rm_medium));
sys/dev/usb/if_urndis.c
304
if (le32toh(msg->rm_ver_major) != RNDIS_MAJOR_VERSION ||
sys/dev/usb/if_urndis.c
305
le32toh(msg->rm_ver_minor) != RNDIS_MINOR_VERSION) {
sys/dev/usb/if_urndis.c
308
le32toh(msg->rm_ver_major), le32toh(msg->rm_ver_minor));
sys/dev/usb/if_urndis.c
313
sc->sc_maxppt = le32toh(msg->rm_pktmaxcnt);
sys/dev/usb/if_urndis.c
314
sc->sc_maxtsz = le32toh(msg->rm_pktmaxsz);
sys/dev/usb/if_urndis.c
315
sc->sc_palign = 1U << le32toh(msg->rm_align);
sys/dev/usb/if_urndis.c
317
return le32toh(msg->rm_status);
sys/dev/usb/if_urndis.c
331
le32toh(msg->rm_len),
sys/dev/usb/if_urndis.c
332
le32toh(msg->rm_rid),
sys/dev/usb/if_urndis.c
333
le32toh(msg->rm_status),
sys/dev/usb/if_urndis.c
334
le32toh(msg->rm_infobuflen),
sys/dev/usb/if_urndis.c
335
le32toh(msg->rm_infobufoffset)));
sys/dev/usb/if_urndis.c
342
if (le32toh(msg->rm_status) != RNDIS_STATUS_SUCCESS) {
sys/dev/usb/if_urndis.c
345
le32toh(msg->rm_status));
sys/dev/usb/if_urndis.c
347
return le32toh(msg->rm_status);
sys/dev/usb/if_urndis.c
350
if (le32toh(msg->rm_infobuflen) + le32toh(msg->rm_infobufoffset) +
sys/dev/usb/if_urndis.c
351
RNDIS_HEADER_OFFSET > le32toh(msg->rm_len)) {
sys/dev/usb/if_urndis.c
356
le32toh(msg->rm_infobuflen),
sys/dev/usb/if_urndis.c
357
le32toh(msg->rm_infobufoffset),
sys/dev/usb/if_urndis.c
358
le32toh(msg->rm_infobuflen) +
sys/dev/usb/if_urndis.c
359
le32toh(msg->rm_infobufoffset) + (uint32_t)RNDIS_HEADER_OFFSET,
sys/dev/usb/if_urndis.c
360
le32toh(msg->rm_len));
sys/dev/usb/if_urndis.c
367
*buf = kmem_alloc(le32toh(msg->rm_infobuflen), KM_SLEEP);
sys/dev/usb/if_urndis.c
368
*bufsz = le32toh(msg->rm_infobuflen);
sys/dev/usb/if_urndis.c
371
p += le32toh(msg->rm_infobufoffset);
sys/dev/usb/if_urndis.c
372
memcpy(*buf, p, le32toh(msg->rm_infobuflen));
sys/dev/usb/if_urndis.c
375
return le32toh(msg->rm_status);
sys/dev/usb/if_urndis.c
387
rval = le32toh(msg->rm_status);
sys/dev/usb/if_urndis.c
392
le32toh(msg->rm_len),
sys/dev/usb/if_urndis.c
394
le32toh(msg->rm_adrreset)));
sys/dev/usb/if_urndis.c
401
if (le32toh(msg->rm_adrreset) != 0) {
sys/dev/usb/if_urndis.c
426
rval = le32toh(msg->rm_status);
sys/dev/usb/if_urndis.c
431
le32toh(msg->rm_len),
sys/dev/usb/if_urndis.c
433
le32toh(msg->rm_stbuflen)));
sys/dev/usb/if_urndis.c
467
le32toh(msg->rm_type),
sys/dev/usb/if_urndis.c
468
le32toh(msg->rm_len),
sys/dev/usb/if_urndis.c
469
le32toh(msg->rm_rid),
sys/dev/usb/if_urndis.c
470
le32toh(msg->rm_ver_major),
sys/dev/usb/if_urndis.c
471
le32toh(msg->rm_ver_minor),
sys/dev/usb/if_urndis.c
472
le32toh(msg->rm_max_xfersz)));
sys/dev/usb/if_urndis.c
505
le32toh(msg->rm_type),
sys/dev/usb/if_urndis.c
506
le32toh(msg->rm_len),
sys/dev/usb/if_urndis.c
507
le32toh(msg->rm_rid)));
sys/dev/usb/if_urndis.c
544
le32toh(msg->rm_type),
sys/dev/usb/if_urndis.c
545
le32toh(msg->rm_len),
sys/dev/usb/if_urndis.c
546
le32toh(msg->rm_rid),
sys/dev/usb/if_urndis.c
547
le32toh(msg->rm_oid),
sys/dev/usb/if_urndis.c
548
le32toh(msg->rm_infobuflen),
sys/dev/usb/if_urndis.c
549
le32toh(msg->rm_infobufoffset),
sys/dev/usb/if_urndis.c
550
le32toh(msg->rm_devicevchdl)));
sys/dev/usb/if_urndis.c
592
le32toh(msg->rm_type),
sys/dev/usb/if_urndis.c
593
le32toh(msg->rm_len),
sys/dev/usb/if_urndis.c
594
le32toh(msg->rm_rid),
sys/dev/usb/if_urndis.c
595
le32toh(msg->rm_oid),
sys/dev/usb/if_urndis.c
596
le32toh(msg->rm_infobuflen),
sys/dev/usb/if_urndis.c
597
le32toh(msg->rm_infobufoffset),
sys/dev/usb/if_urndis.c
598
le32toh(msg->rm_devicevchdl)));
sys/dev/usb/if_urndis.c
654
le32toh(param->rm_nameoffset),
sys/dev/usb/if_urndis.c
655
le32toh(param->rm_namelen),
sys/dev/usb/if_urndis.c
656
le32toh(param->rm_type),
sys/dev/usb/if_urndis.c
657
le32toh(param->rm_valueoffset),
sys/dev/usb/if_urndis.c
658
le32toh(param->rm_valuelen)));
sys/dev/usb/if_urndis.c
683
le32toh(reset->rm_type),
sys/dev/usb/if_urndis.c
684
le32toh(reset->rm_len),
sys/dev/usb/if_urndis.c
685
le32toh(reset->rm_rid)));
sys/dev/usb/if_urndis.c
718
le32toh(keep->rm_type),
sys/dev/usb/if_urndis.c
719
le32toh(keep->rm_len),
sys/dev/usb/if_urndis.c
720
le32toh(keep->rm_rid)));
sys/dev/usb/if_urndis.c
767
le32toh(msg->rm_type),
sys/dev/usb/if_urndis.c
768
le32toh(msg->rm_len),
sys/dev/usb/if_urndis.c
769
le32toh(msg->rm_dataoffset),
sys/dev/usb/if_urndis.c
770
le32toh(msg->rm_datalen)));
sys/dev/usb/if_urndis.c
772
return le32toh(msg->rm_len);
sys/dev/usb/if_urndis.c
803
le32toh(msg->rm_len),
sys/dev/usb/if_urndis.c
804
le32toh(msg->rm_dataoffset),
sys/dev/usb/if_urndis.c
805
le32toh(msg->rm_datalen),
sys/dev/usb/if_urndis.c
806
le32toh(msg->rm_oobdataoffset),
sys/dev/usb/if_urndis.c
807
le32toh(msg->rm_oobdatalen),
sys/dev/usb/if_urndis.c
808
le32toh(msg->rm_oobdataelements),
sys/dev/usb/if_urndis.c
809
le32toh(msg->rm_pktinfooffset),
sys/dev/usb/if_urndis.c
810
le32toh(msg->rm_pktinfooffset)));
sys/dev/usb/if_urndis.c
812
if (le32toh(msg->rm_type) != REMOTE_NDIS_PACKET_MSG) {
sys/dev/usb/if_urndis.c
815
le32toh(msg->rm_type),
sys/dev/usb/if_urndis.c
819
if (le32toh(msg->rm_len) < sizeof(*msg)) {
sys/dev/usb/if_urndis.c
822
le32toh(msg->rm_len),
sys/dev/usb/if_urndis.c
826
if (le32toh(msg->rm_len) > total_len) {
sys/dev/usb/if_urndis.c
830
le32toh(msg->rm_len),
sys/dev/usb/if_urndis.c
835
if (le32toh(msg->rm_dataoffset) +
sys/dev/usb/if_urndis.c
836
le32toh(msg->rm_datalen) + RNDIS_HEADER_OFFSET
sys/dev/usb/if_urndis.c
837
> le32toh(msg->rm_len)) {
sys/dev/usb/if_urndis.c
842
le32toh(msg->rm_datalen),
sys/dev/usb/if_urndis.c
843
le32toh(msg->rm_dataoffset),
sys/dev/usb/if_urndis.c
844
le32toh(msg->rm_dataoffset) +
sys/dev/usb/if_urndis.c
845
le32toh(msg->rm_datalen) + (uint32_t)RNDIS_HEADER_OFFSET,
sys/dev/usb/if_urndis.c
846
le32toh(msg->rm_len));
sys/dev/usb/if_urndis.c
850
if (le32toh(msg->rm_datalen) < sizeof(struct ether_header)) {
sys/dev/usb/if_urndis.c
855
le32toh(msg->rm_datalen),
sys/dev/usb/if_urndis.c
861
((char*)&msg->rm_dataoffset + le32toh(msg->rm_dataoffset)),
sys/dev/usb/if_urndis.c
862
le32toh(msg->rm_datalen), 0, 0, 0);
sys/dev/usb/if_urndis.c
864
offset += le32toh(msg->rm_len);
sys/dev/usb/if_urndis.c
865
total_len -= le32toh(msg->rm_len);
sys/dev/usb/if_urtwn.c
2365
rssi = ((le32toh(phy->phydw1) >> 1) & 0x7f) - 110;
sys/dev/usb/if_urtwn.c
2419
rssi = ((le32toh(phy->phydw1) >> 1) & 0x7f) - 110;
sys/dev/usb/if_urtwn.c
2442
rxdw0 = le32toh(stat->rxdw0);
sys/dev/usb/if_urtwn.c
2443
rxdw3 = le32toh(stat->rxdw3);
sys/dev/usb/if_urtwn.c
2595
npkts = MS(le32toh(stat->rxdw2), R92E_RXDW2_PKTCNT);
sys/dev/usb/if_urtwn.c
2597
npkts = MS(le32toh(stat->rxdw2), R92C_RXDW2_PKTCNT);
sys/dev/usb/if_urtwn.c
2616
rxdw0 = le32toh(stat->rxdw0);
sys/dev/usb/uhci.c
1186
elink = le32toh(sqh->qh.qh_elink);
sys/dev/usb/uhci.c
1251
elink = le32toh(sqh->qh.qh_elink);
sys/dev/usb/uhci.c
1525
status = le32toh(lstd->td.td_status);
sys/dev/usb/uhci.c
1550
status = le32toh(std->td.td_status);
sys/dev/usb/uhci.c
1596
UHCI_TD_GET_MAXLEN(le32toh(std->td.td_token))) {
sys/dev/usb/uhci.c
1665
status = le32toh(std->td.td_status);
sys/dev/usb/uhci.c
1691
nstatus = le32toh(std->td.td_status);
sys/dev/usb/uhci.c
1696
if (UHCI_TD_GET_PID(le32toh(std->td.td_token)) !=
sys/dev/usb/uhci.c
1711
upipe->nexttoggle = UHCI_TD_GET_DT(le32toh(std->td.td_token));
sys/dev/usb/uhci.c
1869
if (le32toh(std->td.td_token) == TD_IS_FREE) {
sys/dev/usb/uhci.c
1954
td_link = le32toh(p->td.td_link);
sys/dev/usb/uhci.c
2054
if (le32toh(std->td.td_token) == TD_IS_FREE) {
sys/dev/usb/uhci.c
2589
link = le32toh(std->td.td_link);
sys/dev/usb/uhci.c
2973
len = UHCI_TD_GET_MAXLEN(le32toh(std->td.td_token));
sys/dev/usb/uhci.c
416
if (le32toh(pqh->qh.qh_hlink) & UHCI_PTR_T) {
sys/dev/usb/uhci.c
813
le32toh(p->td.td_link),
sys/dev/usb/uhci.c
814
le32toh(p->td.td_status),
sys/dev/usb/uhci.c
815
le32toh(p->td.td_token),
sys/dev/usb/uhci.c
816
le32toh(p->td.td_buffer));
sys/dev/usb/uhci.c
819
!!(le32toh(p->td.td_status) & UHCI_TD_BITSTUFF),
sys/dev/usb/uhci.c
820
!!(le32toh(p->td.td_status) & UHCI_TD_CRCTO),
sys/dev/usb/uhci.c
821
!!(le32toh(p->td.td_status) & UHCI_TD_NAK),
sys/dev/usb/uhci.c
822
!!(le32toh(p->td.td_status) & UHCI_TD_BABBLE));
sys/dev/usb/uhci.c
824
!!(le32toh(p->td.td_status) & UHCI_TD_DBUFFER),
sys/dev/usb/uhci.c
825
!!(le32toh(p->td.td_status) & UHCI_TD_STALLED),
sys/dev/usb/uhci.c
826
!!(le32toh(p->td.td_status) & UHCI_TD_ACTIVE),
sys/dev/usb/uhci.c
827
!!(le32toh(p->td.td_status) & UHCI_TD_IOC));
sys/dev/usb/uhci.c
829
!!(le32toh(p->td.td_status) & UHCI_TD_IOS),
sys/dev/usb/uhci.c
830
!!(le32toh(p->td.td_status) & UHCI_TD_LS),
sys/dev/usb/uhci.c
831
!!(le32toh(p->td.td_status) & UHCI_TD_SPD), 0);
sys/dev/usb/uhci.c
833
UHCI_TD_GET_ERRCNT(le32toh(p->td.td_status)),
sys/dev/usb/uhci.c
834
UHCI_TD_GET_ACTLEN(le32toh(p->td.td_status)),
sys/dev/usb/uhci.c
835
UHCI_TD_GET_PID(le32toh(p->td.td_token)), 0);
sys/dev/usb/uhci.c
837
UHCI_TD_GET_DEVADDR(le32toh(p->td.td_token)),
sys/dev/usb/uhci.c
838
UHCI_TD_GET_ENDPT(le32toh(p->td.td_token)),
sys/dev/usb/uhci.c
839
UHCI_TD_GET_DT(le32toh(p->td.td_token)),
sys/dev/usb/uhci.c
840
UHCI_TD_GET_MAXLEN(le32toh(p->td.td_token)));
sys/dev/usb/uhci.c
852
(int)sqh->physaddr, le32toh(sqh->qh.qh_hlink),
sys/dev/usb/uhci.c
853
le32toh(sqh->qh.qh_elink));
sys/dev/usb/uhci.c
900
if (sqh->hlink != NULL && !(le32toh(sqh->qh.qh_hlink) & UHCI_PTR_T))
sys/dev/usb/uhci.c
906
if (sqh->elink != NULL && !(le32toh(sqh->qh.qh_elink) & UHCI_PTR_T))
sys/dev/usb/uhci.c
930
stop = (le32toh(td->td.td_link) & UHCI_PTR_T ||
sys/dev/usb/uhci.c
931
le32toh(td->td.td_link) == 0);
sys/dev/usb/uslsa.c
550
ulControlHandshake = le32toh(fcs.ulControlHandshake);
sys/dev/usb/uslsa.c
551
ulFlowReplace = le32toh(fcs.ulFlowReplace);
sys/dev/usb/xhci.c
2431
trb_2 = le32toh(trb->trb_2);
sys/dev/usb/xhci.c
2432
trb_3 = le32toh(trb->trb_3);
sys/dev/usb/xhci.c
2463
XHCI_TRB_3_TYPE_GET(le32toh(xr->xr_trb[idx].trb_3)),
sys/dev/usb/xhci.c
2537
if (XHCI_TRB_3_TYPE_GET(le32toh(xr->xr_trb[idx].trb_3))
sys/dev/usb/xhci.c
2586
XHCI_TRB_2_REM_GET(le32toh(xr->xr_trb[idx].trb_2)) != 0) {
sys/dev/usb/xhci.c
2621
trb_2 = le32toh(trb->trb_2);
sys/dev/usb/xhci.c
2622
trb_3 = le32toh(trb->trb_3);
sys/dev/usb/xhci.c
2657
trb_2 = le32toh(trb->trb_2);
sys/dev/usb/xhci.c
2658
trb_3 = le32toh(trb->trb_3);
sys/dev/usb/xhci.c
2730
k = (le32toh(trb->trb_3) & XHCI_TRB_3_CYCLE_BIT) ? 1 : 0;
sys/dev/usb/xhci.c
2990
uint8_t addr = XHCI_SCTX_3_DEV_ADDR_GET(le32toh(cp[3]));
sys/dev/usb/xhci.c
584
return XHCI_EPCTX_0_EPSTATE_GET(le32toh(cp[0]));
sys/dev/virtio/virtio_mmio.c
138
val = le32toh(val);
sys/dev/virtio/virtio_mmio.c
277
if (magic == le32toh(VIRTIO_MMIO_MAGIC)) {
sys/kern/subr_disk_mbr.c
193
this_ext = le32toh(a->lp->d_secpercyl /
sys/kern/subr_disk_mbr.c
207
if ((uint64_t)ext_base + le32toh(dp->mbrp_start) +
sys/kern/subr_disk_mbr.c
208
le32toh(dp->mbrp_size) > a->lp->d_secperunit) {
sys/kern/subr_disk_mbr.c
216
next_ext = le32toh(dp->mbrp_start);
sys/kern/subr_disk_mbr.c
478
int ptn_base = ext_base + le32toh(dp->mbrp_start);
sys/kern/subr_disk_mbr.c
491
a->lp->d_partitions[2].p_size = le32toh(dp->mbrp_size);
sys/kern/subr_disk_mbr.c
510
pp->p_size == le32toh(dp->mbrp_size))
sys/kern/subr_disk_mbr.c
525
pp->p_size = le32toh(dp->mbrp_size);
sys/kern/subr_disk_mbr.c
704
int ptn_base = ext_base + le32toh(dp->mbrp_start);
sys/lib/libkern/entpool.h
49
#define ENTPOOL_WTOH le32toh
sys/net/if_wg.c
3369
switch (le32toh(wgm.wgm_type)) {
sys/net/if_wg.c
3385
le32toh(wgm.wgm_type));
sys/net/if_wg.c
3392
le32toh(wgm.wgm_type));
sys/net/if_wg.c
3424
switch (le32toh(wgm->wgm_type)) {
sys/net/if_wg.c
3439
panic("invalid message type: %d", le32toh(wgm->wgm_type));
sys/net/if_wg.c
3866
WG_DLOG("type=%d\n", le32toh(wgm.wgm_type));
sys/net/if_wg.c
3874
switch (le32toh(wgm.wgm_type)) {
sys/netbt/l2cap_signal.c
1229
qos->token_rate = le32toh(src->token_rate);
sys/netbt/l2cap_signal.c
1230
qos->token_bucket_size = le32toh(src->token_bucket_size);
sys/netbt/l2cap_signal.c
1231
qos->peak_bandwidth = le32toh(src->peak_bandwidth);
sys/netbt/l2cap_signal.c
1232
qos->latency = le32toh(src->latency);
sys/netbt/l2cap_signal.c
1233
qos->delay_variation = le32toh(src->delay_variation);
sys/stand/efiboot/efiblock.c
300
if (le32toh(d.d_magic) != DISKMAGIC || le32toh(d.d_magic2) != DISKMAGIC)
sys/stand/efiboot/efiblock.c
345
if (le32toh(mbr.mbr_magic) != MBR_MAGIC)
sys/stand/efiboot/efiblock.c
350
if (le32toh(mbr_part->mbrp_size) == 0)
sys/stand/efiboot/efiblock.c
354
le32toh(mbr_part->mbrp_start),
sys/stand/efiboot/efiblock.c
355
le32toh(mbr_part->mbrp_size));
sys/stand/efiboot/efiblock.c
429
if (le32toh(hdr.hdr_entsz) < sizeof(ent))
sys/stand/efiboot/efiblock.c
432
sz = le32toh(hdr.hdr_entsz) * le32toh(hdr.hdr_entries);
sys/stand/efiboot/efiblock.c
444
for (entry = 0; entry < le32toh(hdr.hdr_entries); entry++) {
sys/stand/efiboot/efiblock.c
445
memcpy(&ent, (UINT8 *)buf + (entry * le32toh(hdr.hdr_entsz)),
sys/ufs/chfs/chfs_gc.c
1046
if (le32toh(chfdn.name_crc) != name_crc)
sys/ufs/chfs/chfs_gc.c
739
if (crc != le32toh(nhdr->hdr_crc)) {
sys/ufs/chfs/chfs_gc.c
751
if (crc != le32toh(fvnode->node_crc)) {
sys/ufs/chfs/chfs_gc.c
761
if (crc != le32toh(fdirent->node_crc)) {
sys/ufs/chfs/chfs_gc.c
767
if (crc != le32toh(fdirent->name_crc)) {
sys/ufs/chfs/chfs_gc.c
777
if (crc != le32toh(fdata->node_crc)) {
sys/ufs/chfs/chfs_readinode.c
1150
if (crc != le32toh(dnode->hdr_crc)) {
sys/ufs/chfs/chfs_readinode.c
1151
chfs_err("CRC check failed. calc: 0x%x orig: 0x%x\n", crc, le32toh(dnode->hdr_crc));
sys/ufs/chfs/chfs_readinode.c
1165
if (crc != le32toh(dnode->node_crc)) {
sys/ufs/chfs/chfs_readinode.c
1166
chfs_err("Node CRC check failed. calc: 0x%x orig: 0x%x\n", crc, le32toh(dnode->node_crc));
sys/ufs/chfs/chfs_readinode.c
1173
if (crc != le32toh(dnode->data_crc)) {
sys/ufs/chfs/chfs_readinode.c
1174
chfs_err("Data CRC check failed. calc: 0x%x orig: 0x%x\n", crc, le32toh(dnode->data_crc));
sys/ufs/chfs/chfs_readinode.c
812
if (crc != le32toh(dnode->hdr_crc)) {
sys/ufs/chfs/chfs_readinode.c
813
chfs_err("CRC check failed. calc: 0x%x orig: 0x%x\n", crc, le32toh(dnode->hdr_crc));
sys/ufs/chfs/chfs_readinode.c
825
if (crc != le32toh(dnode->node_crc)) {
sys/ufs/chfs/chfs_readinode.c
826
chfs_err("Node CRC check failed. calc: 0x%x orig: 0x%x\n", crc, le32toh(dnode->node_crc));
sys/ufs/chfs/chfs_readinode.c
849
td->data_crc = le32toh(dnode->data_crc);
sys/ufs/chfs/chfs_readinode.c
851
td->node->size = le32toh(dnode->data_length);
sys/ufs/chfs/chfs_scan.c
117
if (crc != le32toh(vnode->node_crc)) {
sys/ufs/chfs/chfs_scan.c
119
cheb, le32toh(vnode->length));
sys/ufs/chfs/chfs_scan.c
166
chfs_change_size_free(chmp, cheb, -le32toh(vnode->length));
sys/ufs/chfs/chfs_scan.c
167
chfs_change_size_used(chmp, cheb, le32toh(vnode->length));
sys/ufs/chfs/chfs_scan.c
289
if (crc != le32toh(dirent->node_crc)) {
sys/ufs/chfs/chfs_scan.c
290
err = chfs_update_eb_dirty(chmp, cheb, le32toh(dirent->length));
sys/ufs/chfs/chfs_scan.c
314
if (crc != le32toh(dirent->name_crc)) {
sys/ufs/chfs/chfs_scan.c
316
"calculated: 0x%x\n", le32toh(dirent->name_crc), crc);
sys/ufs/chfs/chfs_scan.c
318
err = chfs_update_eb_dirty(chmp, cheb, le32toh(dirent->length));
sys/ufs/chfs/chfs_scan.c
363
if (crc != le32toh(dnode->node_crc)) {
sys/ufs/chfs/chfs_scan.c
364
err = chfs_update_eb_dirty(chmp, cheb, le32toh(dnode->length));
sys/ufs/chfs/chfs_scan.c
498
len = le32toh(nhdr->length) - CHFS_NODE_HDR_SIZE;
sys/ufs/chfs/chfs_scan.c
521
len = le32toh(nhdr->length) - CHFS_NODE_HDR_SIZE;
sys/ufs/chfs/chfs_scan.c
575
le32toh(nhdr->length));
sys/ufs/chfs/chfs_scan.c
583
le32toh(nhdr->length));
sys/ufs/chfs/chfs_scan.c
589
ofs += le32toh(nhdr->length) - CHFS_NODE_HDR_SIZE;
sys/ufs/chfs/chfs_scan.c
89
hdr_crc = le32toh(nhdr->hdr_crc);
sys/ufs/chfs/ebh.c
1218
ec = le32toh(ebhdr->ec_hdr.erase_cnt);
sys/ufs/chfs/ebh.c
1271
erase_cnt = le32toh(ebhdr->ec_hdr.erase_cnt);
sys/ufs/chfs/ebh.c
1327
ec = le32toh(ebhdr->ec_hdr.erase_cnt);
sys/ufs/chfs/ebh.c
1393
erase_cnt = le32toh(ebhdr->ec_hdr.erase_cnt);
sys/ufs/chfs/ebh.c
307
magic = le32toh(ebhdr->ec_hdr.magic);
sys/ufs/chfs/ebh.c
315
hdr_crc = le32toh(ebhdr->ec_hdr.crc_ec);
sys/ufs/chfs/ebh.c
338
hdr_crc = le32toh(ebhdr->u.nor_hdr.crc);
sys/ufs/chfs/ebh.c
355
if (!(le32toh(lid_save) & CHFS_LID_NOT_DIRTY_BIT)) {
sys/ufs/chfs/ebh.c
385
magic = le32toh(ebhdr->ec_hdr.magic);
sys/ufs/chfs/ebh.c
393
hdr_crc = le32toh(ebhdr->ec_hdr.crc_ec);
sys/ufs/chfs/ebh.c
410
hdr_crc = le32toh(ebhdr->u.nand_hdr.crc);
sys/ufs/chfs/ebh_misc.h
41
#define CHFS_GET_LID(lid) (le32toh(lid) & CHFS_LID_DIRTY_BIT_MASK)
tools/compat/compat_defs.h
1177
#if !HAVE_DECL_LE32TOH && !defined(le32toh)
usr.bin/mkubootimage/mkubootimage.c
366
printf(" magic: 0x%" PRIx32 "\n", le32toh(hdr->magic));
usr.sbin/acpitools/acpidump/acpi.c
4184
printf("0x%08x", le32toh(rsdt->TableOffsetEntry[i]));
usr.sbin/acpitools/acpidump/acpi.c
4482
addr = le32toh(rsdt->TableOffsetEntry[i]);
usr.sbin/acpitools/acpidump/acpi.c
4767
addr = le32toh(rsdt->TableOffsetEntry[i]);
usr.sbin/fstyp/exfat.c
251
fat_offset_sect = le32toh(ev->ev_fat_offset);
usr.sbin/fstyp/exfat.c
257
nextclust = le32toh(fatsect[clsectoff]);
usr.sbin/fstyp/exfat.c
271
cluster_offset_sect = le32toh(ev->ev_cluster_offset);
usr.sbin/fstyp/exfat.c
272
rootdir_cluster = le32toh(ev->ev_rootdir_cluster);
usr.sbin/fstyp/exfat.c
355
if (chksum != le32toh(cksect[0])) {
usr.sbin/fstyp/exfat.c
357
le32toh(cksect[0]), chksum);
usr.sbin/installboot/arch/i386.c
208
printf("timeout %d, ", le32toh(bpp->bp_timeout));
usr.sbin/installboot/arch/i386.c
209
printf("flags %x, ", le32toh(bpp->bp_flags));
usr.sbin/installboot/arch/i386.c
210
printf("speed %d, ", le32toh(bpp->bp_conspeed));
usr.sbin/installboot/arch/i386.c
211
printf("ioaddr %x, ", le32toh(bpp->bp_consaddr));
usr.sbin/installboot/arch/i386.c
213
if (consoles[i].dev == (int)le32toh(bpp->bp_consdev))
usr.sbin/installboot/arch/i386.c
217
printf("console %d\n", le32toh(bpp->bp_consdev));
usr.sbin/installboot/arch/i386.c
237
bplen = le32toh(bpp->bp_length);
usr.sbin/installboot/arch/i386.c
532
magic = le32toh(*(uint32_t *)(buf + 4)) | 0xf;
usr.sbin/installboot/arch/landisk.c
205
bplen = le32toh(bpp->bp_length);
usr.sbin/installboot/arch/pmax.c
153
if (le32toh(bb.magic) != PMAX_BOOT_MAGIC) {
usr.sbin/installboot/arch/pmax.c
257
le32toh(bb.map[0].start_block));
usr.sbin/installboot/arch/pmax.c
259
le32toh(bb.map[0].num_blocks));
usr.sbin/installboot/arch/pmax.c
261
le32toh(bb.load_addr));
usr.sbin/installboot/arch/pmax.c
263
le32toh(bb.exec_addr));
usr.sbin/installboot/arch/pmax.c
334
(off_t) le32toh(ehdr.e_phoff) + i * sizeof(phdr))
usr.sbin/installboot/arch/pmax.c
339
if (le32toh(phdr.p_type) != PT_LOAD)
usr.sbin/installboot/arch/pmax.c
342
seglist[nsegs].addr = le32toh(phdr.p_paddr);
usr.sbin/installboot/arch/pmax.c
343
seglist[nsegs].f_offset = le32toh(phdr.p_offset);
usr.sbin/installboot/arch/pmax.c
344
seglist[nsegs].f_size = le32toh(phdr.p_filesz);
usr.sbin/installboot/arch/pmax.c
347
if (le32toh(phdr.p_paddr) < lowaddr)
usr.sbin/installboot/arch/pmax.c
348
lowaddr = le32toh(phdr.p_paddr);
usr.sbin/installboot/arch/pmax.c
349
if (le32toh(phdr.p_paddr) + le32toh(phdr.p_filesz) > highaddr)
usr.sbin/installboot/arch/pmax.c
350
highaddr = le32toh(phdr.p_paddr) +
usr.sbin/installboot/arch/pmax.c
351
le32toh(phdr.p_filesz);
usr.sbin/installboot/arch/pmax.c
355
*execaddr = le32toh(ehdr.e_entry);
usr.sbin/installboot/arch/vax.c
259
printf("Bootstrap sector count: %u\n", le32toh(bb->bb_size));
usr.sbin/installboot/bbinfo.c
207
? (uint32_t)le32toh((x)) : (uint32_t)be32toh((x)))
usr.sbin/iopctl/iopctl.c
262
show("iop flags", "0x%x", le32toh(lct->iopflags));
usr.sbin/iopctl/iopctl.c
263
show("lct change indicator", "%d", le32toh(lct->changeindicator));
usr.sbin/iopctl/iopctl.c
267
classid = le32toh(ent->classid);
usr.sbin/iopctl/iopctl.c
268
usertid = le32toh(ent->usertid);
usr.sbin/iopctl/iopctl.c
273
show("change indicator", "%d", le32toh(ent->changeindicator));
usr.sbin/iopctl/iopctl.c
274
show("flags", "%x", le32toh(ent->deviceflags));
usr.sbin/iopctl/iopctl.c
279
show("subclass info", "%x", le32toh(ent->subclassinfo));
usr.sbin/iopctl/iopctl.c
286
show("event caps", "%x", le32toh(ent->eventcaps));
usr.sbin/iopctl/iopctl.c
302
segnumber = le32toh(status.segnumber);
usr.sbin/iopctl/iopctl.c
304
show("iop id", "%d", le32toh(status.iopid) & 4095);
usr.sbin/iopctl/iopctl.c
305
show("host unit id", "%d", (le32toh(status.iopid) >> 16));
usr.sbin/iopctl/iopctl.c
313
le32toh(status.maxinboundmframes));
usr.sbin/iopctl/iopctl.c
315
le32toh(status.currentinboundmframes));
usr.sbin/iopctl/iopctl.c
317
le32toh(status.maxoutboundmframes));
usr.sbin/iopctl/iopctl.c
319
show("expected lct size", "%d", le32toh(status.expectedlctsize));
usr.sbin/iopctl/iopctl.c
320
show("iop capabilities", "0x%08x", le32toh(status.iopcaps));
usr.sbin/iopctl/iopctl.c
322
le32toh(status.desiredprivmemsize));
usr.sbin/iopctl/iopctl.c
324
le32toh(status.currentprivmemsize));
usr.sbin/iopctl/iopctl.c
326
le32toh(status.currentprivmembase));
usr.sbin/iopctl/iopctl.c
328
le32toh(status.desiredpriviosize));
usr.sbin/iopctl/iopctl.c
330
le32toh(status.currentpriviosize));
usr.sbin/iopctl/iopctl.c
332
le32toh(status.currentpriviobase));
usr.sbin/iopctl/iopctl.c
373
show("class id", "%d (%s)", le32toh(p.di.classid) & 4095,
usr.sbin/iopctl/iopctl.c
374
class2str(le32toh(p.di.classid) & 4095));
usr.sbin/iopctl/iopctl.c
375
show("owner tid", "%d", le32toh(p.di.ownertid) & 4095);
usr.sbin/iopctl/iopctl.c
376
show("parent tid", "%d", le32toh(p.di.parenttid) & 4095);
usr.sbin/mlxctl/cmds.c
219
printf(" Hardware ID\t\t\t0x%08x\n", le32toh(hid));
usr.sbin/mlxctl/cmds.c
220
printf(" Firmware ID\t\t\t0x%08x\n", le32toh(sid));
usr.sbin/mlxctl/cmds.c
229
le32toh(enq.me_mem_size), le32toh(enq.me_cache_size),
usr.sbin/mlxctl/cmds.c
230
le32toh(enq.me_flash_size), le32toh(enq.me_nvram_size));
usr.sbin/puffs/mount_9p/ninebuf.c
73
return le32toh(val);
usr.sbin/sysinst/mbr.c
1916
*absolute = le32toh(apart->mbrp_start);
usr.sbin/sysinst/mbr.c
1921
*absolute = le32toh(apart->mbrp_start)
usr.sbin/sysinst/mbr.c
1922
+ le32toh(apart->mbrp_size) - 1;
usr.sbin/sysinst/mbr.c
603
mbrp->mbrp_start = le32toh(mbrp->mbrp_start);
usr.sbin/sysinst/mbr.c
604
mbrp->mbrp_size = le32toh(mbrp->mbrp_size);
usr.sbin/wsfontload/wsfontload.c
254
f.firstchar = le32toh(foo);
usr.sbin/wsfontload/wsfontload.c
256
f.numchars = le32toh(foo);
usr.sbin/wsfontload/wsfontload.c
258
f.encoding = le32toh(foo);
usr.sbin/wsfontload/wsfontload.c
260
f.fontwidth = le32toh(foo);
usr.sbin/wsfontload/wsfontload.c
262
f.fontheight = le32toh(foo);
usr.sbin/wsfontload/wsfontload.c
264
f.stride = le32toh(foo);
usr.sbin/wsfontload/wsfontload.c
266
f.bitorder = le32toh(foo);
usr.sbin/wsfontload/wsfontload.c
268
f.byteorder = le32toh(foo);