le32toh
uuid->time_low = le32toh(uuid->time_low);
sz = le32toh(hdr->hdr_size);
crc = le32toh(hdr->hdr_crc_self);
hdr->hdr_revision = le32toh(hdr->hdr_revision);
hdr->hdr_entries = le32toh(hdr->hdr_entries);
hdr->hdr_entsz = le32toh(hdr->hdr_entsz);
hdr->hdr_crc_table = le32toh(hdr->hdr_crc_table);
start = le32toh(dp[0].dp_start);
end = le32toh(dp[0].dp_size);
offset = e1->part.start + le32toh(dp[1].dp_start);
if (le32toh(dl->d_magic) != DISKMAGIC &&
le32toh(dl->d_magic2) != DISKMAGIC)
if (le32toh(dl->d_secsize) != table->sectorsize) {
raw_offset = le32toh(part[RAW_PART].p_offset);
entry->part.start = le32toh(part->p_offset) - raw_offset;
le32toh(part->p_size) - 1;
f1 = le32toh(SMBIOS_GET32(addr, 0));
(N_RELOFF(ex) + le32toh((ex).a_trsize) + le32toh((ex).a_drsize))
#define N_STROFF(ex) (N_SYMOFF(ex) + le32toh((ex).a_syms))
( le32toh((ex).a_midmag) & 0xffff )
(le32toh((ex).a_entry) < le32toh((ex).a_text) ? 0 : \
le32toh((ex).a_entry) & ~__LDPGSZ) : __LDPGSZ)
N_ALIGN(ex, N_TXTADDR(ex) + le32toh((ex).a_text))
N_ALIGN(ex, N_TXTOFF(ex) + le32toh((ex).a_text))
N_ALIGN(ex, N_DATOFF(ex) + le32toh((ex).a_data))
nsid = le32toh(cmd->nsid);
switch (le32toh(entry->cmd_le)) {
le32toh(entry->alloc.alignment_le));
le32toh(entry->add_pointer.off_le));
le32toh(entry->add_checksum.off_le));
le32toh(entry->add_checksum.start_le));
le32toh(entry->add_checksum.len_le));
le32toh(entry->write_pointer.dest_off_le));
le32toh(entry->write_pointer.src_off_le));
extern uint32_t le32toh(uint32_t);
*val = le32toh(*val);
msize = le32toh(*(uint32_t *)buffer);
test32 = le32toh(val32);
btx->btx_entry = le32toh(btx->btx_entry);
hdr->text = le32toh(ex->a_text);
hdr->data = le32toh(ex->a_data);
hdr->bss = le32toh(ex->a_bss);
hdr->entry = le32toh(ex->a_entry);
if (le32toh(ex->a_entry) >= BTX_PGSIZE)
ep = (void *)((uint8_t *)p + le32toh(ee->e_phoff) +
if (le32toh(ep->p_type) == PT_LOAD)
hdr->text = le32toh(ep->p_filesz);
hdr->org = le32toh(ep->p_paddr);
if (le32toh(ep->p_flags) & PF_W)
hdr->data = le32toh(ep->p_filesz);
hdr->bss = le32toh(ep->p_memsz) -
le32toh(ep->p_filesz);
hdr->entry = le32toh(ee->e_entry);
eh.p[1].p_offset = htole32(le32toh(eh.p[0].p_offset) +
le32toh(eh.p[0].p_filesz));
htole32(align(le32toh(eh.p[0].p_paddr) + le32toh(eh.p[0].p_memsz),
#ifndef le32toh
(N_RELOFF(ex) + le32toh((ex).a_trsize) + le32toh((ex).a_drsize))
#define N_STROFF(ex) (N_SYMOFF(ex) + le32toh((ex).a_syms))
(le32toh((ex).a_entry) < le32toh((ex).a_text) ? 0 : \
le32toh((ex).a_entry) & ~__LDPGSZ) : __LDPGSZ)
N_ALIGN(ex, N_TXTADDR(ex) + le32toh((ex).a_text))
N_ALIGN(ex, N_TXTOFF(ex) + le32toh((ex).a_text))
N_ALIGN(ex, N_DATOFF(ex) + le32toh((ex).a_data))
le32toh(sc->eeprom_crystal));
flags = le32toh(*(uint32_t *)(head + len));
len = (le32toh(desc->len) & 0x3fff) - 4;
if (le32toh(stats->rx.general.flags) != 1) {
iwn_tx_done(sc, desc, stat->ackfailcnt, le32toh(stat->status) & 0xff);
if (le32toh(miss->consecutive)
le32toh(miss->consecutive));
} else if (le32toh(miss->consecutive)
if (le32toh(uc->valid) != 1) {
sc->errptr = le32toh(uc->errptr);
if (le32toh(*status) & 1) {
uint32_t, le32toh(scan->status));
uint32_t, le32toh(scan->status),
tmp = le32toh(tmp);
vdiff = ((int32_t)le32toh(uc->volt) - sc->eeprom_voltage) / 7;
idx += (int32_t)le32toh(uc->atten[grp][c]);
agc = (le32toh(phy->agc) >> 9) & 0x7f;
if ((noise = le32toh(stats->noise[i]) & 0xff) == 0)
r1 = le32toh(uc->temp[0].chan20MHz);
r2 = le32toh(uc->temp[1].chan20MHz);
r3 = le32toh(uc->temp[2].chan20MHz);
r4 = le32toh(sc->rawtemp);
temp = le32toh(sc->rawtemp);
calib->rssi[i] += le32toh(stats->rssi[i]) & 0xff;
calib->noise[i] += le32toh(stats->noise[i]) & 0xff;
if ((rxena = le32toh(stats->general.load)) == 0)
fa = le32toh(stats->ofdm.bad_plcp) - calib->bad_plcp_ofdm;
fa += le32toh(stats->ofdm.fa) - calib->fa_ofdm;
calib->bad_plcp_ofdm = le32toh(stats->ofdm.bad_plcp);
calib->fa_ofdm = le32toh(stats->ofdm.fa);
noise[i] = (le32toh(stats->general.noise[i]) >> 8) & 0xff;
energy[i] = le32toh(stats->general.energy[i]);
fa = le32toh(stats->cck.bad_plcp) - calib->bad_plcp_cck;
fa += le32toh(stats->cck.fa) - calib->fa_cck;
calib->bad_plcp_cck = le32toh(stats->cck.bad_plcp);
calib->fa_cck = le32toh(stats->cck.fa);
cmd.cap_pin[0] = le32toh(sc->eeprom_crystal) & 0xff;
cmd.cap_pin[1] = (le32toh(sc->eeprom_crystal) >> 16) & 0xff;
rev = le32toh(*ptr++);
fw->main.textsz = le32toh(*ptr++);
fw->main.datasz = le32toh(*ptr++);
fw->init.textsz = le32toh(*ptr++);
fw->init.datasz = le32toh(*ptr++);
fw->boot.textsz = le32toh(*ptr++);
"!bad firmware signature 0x%08x", le32toh(hdr->signature));
len = le32toh(tlv->len);
if (le32toh(*ptr) <= IWN5000_PHY_CALIB_MAX) {
sc->reset_noise_gain = le32toh(*ptr);
sc->noise_gain = le32toh(*ptr) + 1;
sc->tlv_feature_flags = le32toh(*ptr);