htole16
fadt.SciInterrupt = htole16(SCI_INT);
fadt.BootFlags = htole16(ACPI_FADT_NO_VGA | ACPI_FADT_NO_ASPM);
madt_irq_override.IntiFlags = htole16(
madt_irq_override.IntiFlags = htole16(
madt_lapic_nmi.IntiFlags = htole16(
*eax = htole16(fwcfg_sc.selector.bits);
*fwcfg_max_cpus = htole16(guest_ncpus);
*fwcfg_max_cpus = htole16(guest_ncpus);
w = htole16(w);
extern uint16_t htole16(uint16_t);
copy = htole16(*val);
uint16_t u16 = htole16((uint16_t)req->sir_write);
test16 = htole16(val16);
hdr->smbh_hdl = htole16(table->stt_nextid);
ent0.smbaie_rhdl = htole16(smbios_addinfo_ent0_hdl);
ent1.smbaie_rhdl = htole16(smbios_addinfo_ent1_hdl);
ent2.smbaie_rhdl = htole16(smbios_addinfo_ent2_hdl);
ent0.smbaie_rhdl = htole16(smbios_addinfo_ent0_hdl);
ext->smbmdeve_mdev = htole16(smbios_extmemdevice_mdev);
mem.smbmdev_speed = htole16(smbios_memdevice_speed);
mem.smbmdev_clkspeed = htole16(smbios_memdevice_clkspeed);
mem.smbmdev_speed = htole16(smbios_memdevice_speed);
mem.smbmdev_clkspeed = htole16(smbios_memdevice_clkspeed);
mem.smbmdev_speed = htole16(0xffff);
mem.smbmdev_clkspeed = htole16(0xffff);
mem.smbmdev_speed = htole16(0xffff);
mem.smbmdev_clkspeed = htole16(0xffff);
mem.smbmdev_pmic0mfgid = htole16(smbios_memdevice_pmic0_mfg);
mem.smbmdev_pmic0rev = htole16(smbios_memdevice_pmic0_rev);
mem.smbmdev_rcdmfgid = htole16(smbios_memdevice_rcd_mfg);
mem.smbmdev_rcdrev = htole16(smbios_memdevice_rcd_rev);
mem->smbmdev_error = htole16(0xfffe);
pi.smbpai_proc = htole16(smbios_pinfo_phandle);
pi.smbpai_proc = htole16(smbios_pinfo_phandle);
pi.smbpai_proc = htole16(smbios_pinfo_phandle);
pi.smbpai_proc = htole16(smbios_pinfo_phandle);
pi.smbpai_proc = htole16(smbios_pinfo_phandle);
pi.smbpai_proc = htole16(smbios_pinfo_phandle);
proc.smbpr_family2 = htole16(SMB_PRF_RV64);
proc.smbpr_corecount2 = htole16(0x171);
proc.smbpr_coresenabled2 = htole16(0x717);
proc.smbpr_threadcount2 = htole16(0x5445);
proc.smbpr_threaden = htole16(0x2232);
proc.smbpr_family2 = htole16(SMB_PRF_RV64);
proc.smbpr_corecount2 = htole16(0x171);
proc.smbpr_coresenabled2 = htole16(0x717);
proc.smbpr_threadcount2 = htole16(0x5445);
proc.smbpr_threaden = htole16(0x2232);
proc->smbpr_clkspeed = htole16(0x1234);
proc->smbpr_maxspeed = htole16(0x5678);
proc->smbpr_curspeed = htole16(0x3210);
proc->smbpr_l1cache = htole16(0x11ca);
proc->smbpr_l2cache = htole16(0x12ca);
proc->smbpr_l3cache = htole16(0x13ca);
proc->smbpr_cflags = htole16(SMB_PRC_64BIT | SMB_PRC_NX);
proc->smbpr_family2 = htole16(0);
proc->smbpr_corecount2 = htole16(0);
proc->smbpr_coresenabled2 = htole16(0);
proc->smbpr_threadcount2 = htole16(0);
proc->smbpr_threaden = htole16(11);
peers[0].smbspb_group_no = htole16(1);
cont.smbsl_pitch = htole16(smbios_slot_pitch);
slot->smbsl_id = htole16(1);
slot->smbsl_sg = htole16(1);
peers[0].smbspb_group_no = htole16(1);
peers[1].smbspb_group_no = htole16(1);
cont.smbsl_pitch = htole16(smbios_slot_pitch);
str.smbstrp_prop_id = htole16(SMB_STRP_UEFI_DEVPATH);
str.smbstrp_phdl = htole16(smbios_strprop_hdl);
str.smbstrp_prop_id = htole16(SMB_STRP_UEFI_DEVPATH);
str.smbstrp_phdl = htole16(smbios_strprop_hdl);
str.smbstrp_prop_id = htole16(0);
str.smbstrp_phdl = htole16(0);
btxle.btx_pgctl = htole16(btxle.btx_pgctl);
btxle.btx_textsz = htole16(btxle.btx_textsz);
#ifndef htole16
htole16(ET_EXEC), /* e_type */
htole16(EM_386), /* e_machine */
htole16(sizeof(elfhdr.e)), /* e_ehsize */
htole16(sizeof(elfhdr.p[0])), /* e_phentsize */
htole16(sizeof(elfhdr.p) / sizeof(elfhdr.p[0])), /* e_phnum */
htole16(sizeof(elfhdr.sh[0])), /* e_shentsize */
htole16(sizeof(elfhdr.sh) / sizeof(elfhdr.sh[0])), /* e_shnum */
htole16(1) /* e_shstrndx */
#ifndef htole16
if (val & htole16(IWN_EEPROM_SKU_CAP_11N))
*w = htole16(len + 8);
*w = htole16(id << 12 | (len + 8));
*w = (*w & htole16(0xf000)) | htole16(1);
tx->timeout = htole16(3);
tx->timeout = htole16(2);
tx->timeout = htole16(0);
tx->len = htole16(totlen);
desc->segs[0].len = htole16(IWN_HIADDR(data->cmd_paddr) |
desc->segs[i].len = htole16(IWN_HIADDR(cookie.dmac_laddress) |
desc->segs[0].len = htole16(IWN_HIADDR(paddr) | totlen << 4);
linkq.ampdu_limit = htole16(4000); /* 4ms */
linkq.ampdu_limit = htole16(4000); /* 4ms */
cmd.bintval = htole16(ni->in_intval);
cmd.lintval = htole16(10);
sc->rxon.rxchain = htole16(IWN_RXCHAIN_SEL(sc->chainmask));
cmd.corr_ofdm_x1 = htole16(calib->ofdm_x1);
cmd.corr_ofdm_mrc_x1 = htole16(calib->ofdm_mrc_x1);
cmd.corr_ofdm_x4 = htole16(calib->ofdm_x4);
cmd.corr_ofdm_mrc_x4 = htole16(calib->ofdm_mrc_x4);
cmd.energy_ofdm = htole16(sc->limits->energy_ofdm);
cmd.energy_ofdm_th = htole16(62);
cmd.corr_cck_x4 = htole16(calib->cck_x4);
cmd.corr_cck_mrc_x4 = htole16(calib->cck_mrc_x4);
cmd.energy_cck = htole16(calib->energy_cck);
cmd.corr_barker = htole16(190);
cmd.corr_barker_mrc = htole16(390);
cmd.ofdm_det_slope_mrc = htole16(668);
cmd.ofdm_det_icept_mrc = htole16(4);
cmd.ofdm_det_slope = htole16(486);
cmd.ofdm_det_icept = htole16(37);
cmd.cck_det_slope_mrc = htole16(853);
cmd.cck_det_icept_mrc = htole16(4);
cmd.cck_det_slope = htole16(476);
cmd.cck_det_icept = htole16(99);
cmd.flags |= htole16(IWN_PS_ALLOW_SLEEP);
cmd.flags |= htole16(IWN_PS_FAST_PD);
cmd.flags |= htole16(IWN_PS_PCI_PMGT);
cmd.flags |= htole16(IWN_PS_SLEEP_OVER_DTIM);
sc->rxon.rxchain = htole16(rxchain);
hdr->quiet_time = htole16(20); /* timeout in milliseconds */
hdr->quiet_threshold = htole16(1); /* min # of packets */
hdr->rxchain = htole16(rxchain);
tx->len = htole16(frm - (uint8_t *)wh);
chan->chan = htole16(ieee80211_chan2ieee(ic, c));
chan->active = htole16(dwell_active);
chan->passive = htole16(dwell_passive);
hdr->len = htole16(buflen);
sc->rxon.associd = htole16(IEEE80211_AID(ni->in_associd));
node.kflags = htole16(kflags);
node.kflags = htole16(IWN_KFLAG_INVALID);
node.addba_ssn = htole16(ba->ba_winstart);
node.disable_tid = htole16(wn->disable_tid);
cmd.offset = htole16(sc->eeprom_temp);
cmd.offset = htole16(IWN_DEFAULT_TEMP_OFFSET);
cmd.offset_low = htole16(sc->eeprom_rawtemp);
cmd.offset_high = htole16(sc->eeprom_temp);
cmd.offset_low = htole16(IWN_DEFAULT_TEMP_OFFSET);
cmd.offset_high = htole16(IWN_DEFAULT_TEMP_OFFSET);
cmd.burnt_voltage_ref = htole16(sc->eeprom_voltage);
#define IWN_GOOD_CRC_TH_DEFAULT htole16(1)
#define IWN_GOOD_CRC_TH_NEVER htole16(0xffff)
#define IWN_BT_VALID_ENABLE_FLAGS htole16(1 << 0)
#define IWN_BT_VALID_BOOST htole16(1 << 1)
#define IWN_BT_VALID_MAX_KILL htole16(1 << 2)
#define IWN_BT_VALID_3W_TIMERS htole16(1 << 3)
#define IWN_BT_VALID_KILL_ACK_MASK htole16(1 << 4)
#define IWN_BT_VALID_KILL_CTS_MASK htole16(1 << 5)
#define IWN_BT_VALID_REDUCED_TX_PWR htole16(1 << 6)
#define IWN_BT_VALID_3W_LUT htole16(1 << 7)