htobe32
return sc->sc_flags & EHCI_SCFLG_BIGEDESC ? htobe32(v) : htole32(v);
idx_val = htobe32(index);
elsbuf[0] = htobe32(0x02100014);
elsbuf[1] |= htobe32(0x00000100);
elsbuf[4] = htobe32(0x00000002);
elsbuf[4] |= htobe32(0x00000010);
elsbuf[4] |= htobe32(0x00000020);
elsbuf[0] = htobe32(0x02100014);
elsbuf[1] = htobe32(0x08000100);
elsbuf[0] = htobe32(0);
elsbuf[1] = htobe32((ox_id << 16) | rx_id);
elsbuf[2] = htobe32(0x000ffff);
rsp[3] = htobe32(tgt->resid);
rsp[4] = htobe32(MPT_SENSE_SIZE);
rsp[i] = htobe32(rsp[i]);
rsp[2] = htobe32(rsp[2]);
#define cpu_to_be32(x) htobe32(x)
ap->tstamp_sec = htobe32((uint32_t) tv.tv_sec);
ap->tstamp_usec = htobe32((uint32_t) tv.tv_usec);
alq->sc_alq_cfg.sc_mac_version = htobe32(macVer);
alq->sc_alq_cfg.sc_mac_revision = htobe32(macRev);
alq->sc_alq_cfg.sc_phy_rev = htobe32(phyRev);
alq->sc_alq_cfg.sc_hal_magic = htobe32(halMagic);
intr.intr_status = htobe32(status);
intr.intr_state[i] = htobe32(state[i]);
intr.intr_syncstate = htobe32(sync_state);
t.bt_intval = htobe32(bt.bt_intval);
t.bt_nexttbtt = htobe32(bt.bt_nexttbtt);
t.bt_nextdba = htobe32(bt.bt_nextdba);
t.bt_nextswba = htobe32(bt.bt_nextswba);
t.bt_nextatim = htobe32(bt.bt_nextatim);
t.bt_flags = htobe32(bt.bt_flags);
t.sc_tdmadbaprep = htobe32(sc->sc_tdmadbaprep);
t.sc_tdmaswbaprep = htobe32(sc->sc_tdmaswbaprep);
t.tdma_slot = htobe32(tdma->tdma_slot);
t.tdma_slotlen = htobe32(tdma->tdma_slotlen);
t.tdma_slotcnt = htobe32(tdma->tdma_slotcnt);
t.tdma_bintval = htobe32(tdma->tdma_bintval);
t.tdma_guard = htobe32(sc->sc_tdmaguard);
t.tdma_scbintval = htobe32(sc->sc_tdmabintval);
t.tdma_dbaprep = htobe32(sc->sc_tdmadbaprep);
t.nextslot_tu = htobe32(nextslottu);
t.txtime = htobe32(txtime);
t.tsfdelta = htobe32(tsfdelta);
t.avg_plus = htobe32(TDMA_AVG(sc->sc_avgtsfdeltap));
t.avg_minus = htobe32(TDMA_AVG(sc->sc_avgtsfdeltam));
t.tsfdelta = htobe32(tsfdelta);
#define IXGBE_CPU_TO_BE32 htobe32
*sc->intr_coal_delay_ptr = htobe32(sc->intr_coal_delay);
*sc->intr_coal_delay_ptr = htobe32(intr_coal_delay);
high_swapped = htobe32(MXGE_HIGHPART_TO_U32(seg->ds_addr));
req->addr_low = htobe32(low);
req->addr_low = htobe32(MXGE_LOWPART_TO_U32(seg->ds_addr));
req->addr_high = htobe32(MXGE_HIGHPART_TO_U32(seg->ds_addr));
req->addr_low = htobe32(MXGE_LOWPART_TO_U32(zeropad));
req->addr_high = htobe32(MXGE_HIGHPART_TO_U32(zeropad));
rx->shadow[idx].addr_low = htobe32(MXGE_LOWPART_TO_U32(seg.ds_addr));
rx->shadow[idx].addr_high = htobe32(MXGE_HIGHPART_TO_U32(seg.ds_addr));
rx->shadow[idx].addr_low = htobe32(MXGE_LOWPART_TO_U32(seg.ds_addr));
rx->shadow[idx].addr_high = htobe32(MXGE_HIGHPART_TO_U32(seg.ds_addr));
htobe32(*(const uint32_t *)(inflate_buffer + MCP_HEADER_PTR_OFFSET));
buf[0] = htobe32(dma_high); /* confirm addr MSW */
buf[1] = htobe32(dma_low); /* confirm addr LSW */
buf[2] = htobe32(0xffffffff); /* confirm data */
buf[3] = htobe32(dma_high); /* dummy addr MSW */
buf[4] = htobe32(dma_low); /* dummy addr LSW */
buf[5] = htobe32(enable); /* enable? */
buf->data0 = htobe32(data->data0);
buf->data1 = htobe32(data->data1);
buf->data2 = htobe32(data->data2);
buf->cmd = htobe32(cmd);
buf->response_addr.low = htobe32(dma_low);
buf->response_addr.high = htobe32(dma_high);
htobe32(*(volatile uint32_t *)(sc->sram + MCP_HEADER_PTR_OFFSET));
buf[0] = htobe32(dma_high); /* confirm addr MSW */
buf[1] = htobe32(dma_low); /* confirm addr LSW */
buf[2] = htobe32(0xffffffff); /* confirm data */
buf[3] = htobe32(MXGE_FW_OFFSET + 8);
buf[4] = htobe32(size - 8); /* length of code */
buf[5] = htobe32(8); /* where to copy to */
buf[6] = htobe32(0); /* where to jump to */
x = htobe32(x);
split[0] = htobe32(a);
split[1] = htobe32(b);
split[2] = htobe32(c);
split[3] = htobe32(d);
nsec = htobe32(time.tv_nsec);
#define htowew(x) ((data == ELFDATA2MSB) ? htobe32(x) : htole32(x))
#define htoxe32(x) ((data == ELFDATA2MSB) ? htobe32(x) : htole32(x))
Tbl.str_version = htobe32(Tbl.str_version);
Tbl.str_numstr = htobe32(Tbl.str_numstr);
Tbl.str_longlen = htobe32(Tbl.str_longlen);
Tbl.str_shortlen = htobe32(Tbl.str_shortlen);
Tbl.str_flags = htobe32(Tbl.str_flags);
apm32 = htobe32(total_partitions);
apm32 = htobe32(sector_start);
apm32 = htobe32(nsectors);
apm32 = htobe32(nsectors);
apm32 = htobe32(part_status);
apm32 = htobe32(diskStructure->totalSectors *
BPF_JMP | BPF_JEQ | BPF_K, htobe32(puf->endpoint), 0, 1);
BPF_JMP | BPF_JEQ | BPF_K, htobe32(puf->endpoint), 0, 1);