htole64
ent->ent_lba_start = htole64((uint64_t)map->map_start);
ent->ent_lba_end = htole64((uint64_t)(map->map_start +
hdr->hdr_lba_self = htole64((uint64_t)gpt->gpt->map_start);
hdr->hdr_lba_alt = htole64((uint64_t)last);
hdr->hdr_lba_start = htole64((uint64_t)(gpt->tbl->map_start + blocks));
hdr->hdr_lba_end = htole64((uint64_t)(last - blocks - 1LL));
hdr->hdr_lba_table = htole64((uint64_t)(gpt->tbl->map_start));
hdr->hdr_lba_self = htole64((uint64_t)gpt->tpg->map_start);
hdr->hdr_lba_alt = htole64((uint64_t)gpt->gpt->map_start);
hdr->hdr_lba_table = htole64((uint64_t)gpt->lbt->map_start);
ent->ent_lba_start = htole64((uint64_t)ofs);
ent->ent_lba_end = htole64((uint64_t)(ofs +
ent->ent_lba_start = htole64((uint64_t)start);
ent->ent_lba_end = htole64((uint64_t)(start + size - 1LL));
hdr->hdr_lba_self = htole64((uint64_t)(*dgpt)->map_start);
hdr->hdr_lba_alt = htole64((uint64_t)sgpt->map_start);
hdr->hdr_lba_table = htole64((uint64_t)dtbl->map_start);
end = htole64((uint64_t)(map->map_start + newsize - 1LL));
hdr->hdr_lba_alt = htole64((uint64_t)gpt->tpg->map_start);
hdr->hdr_lba_end = htole64((uint64_t)(gpt->lbt->map_start - 1));
hdr->hdr_lba_self = htole64((uint64_t)gpt->tpg->map_start);
hdr->hdr_lba_alt = htole64((uint64_t)gpt->gpt->map_start);
hdr->hdr_lba_end = htole64((uint64_t)(gpt->lbt->map_start - 1));
hdr->hdr_lba_table = htole64((uint64_t)gpt->lbt->map_start);
ent.ent_lba_start = htole64(ent.ent_lba_start);
ent.ent_lba_end = htole64(ent.ent_lba_end);
ent.ent_attr = htole64(ent.ent_attr);
hdr->hdr_lba_self = htole64(GPT_HDR_BLKNO);
hdr->hdr_lba_alt = htole64((uint64_t)last);
hdr->hdr_lba_start = htole64((uint64_t)firstdata);
hdr->hdr_lba_end = htole64((uint64_t)lastdata);
hdr->hdr_lba_table = htole64(2);
hdr->hdr_lba_self = htole64((uint64_t)last);
hdr->hdr_lba_alt = htole64(GPT_HDR_BLKNO);
hdr->hdr_lba_table = htole64((uint64_t)(lastdata + 1));
dw[i] = htole64(cmd->dw[i]);
#define le64toh(x) htole64(x)
r->tlb_pdir_base = htole64(VM_PAGE_TO_PHYS(m));
*tte_ptr = htole64(tte);
*tte_ptr = htole64(tte & ~IOTTE_V);
*(volatile uint64_t *)h = htole64(vv);
vv = htole64(vv);
*(volatile uint64_t *)h = htole64(vv);
*p = htole64(*a++);
vv = htole64(vv);
*p++ = htole64(data);
txd[0].xd0 = htole64(VTOPHYS(&txd[1]));
txd[0].xd1 = htole64(T1_EMPTY);
txd[1].xd0 = htole64(VTOPHYS(&txd[0]));
txd[1].xd1 = htole64(T1_EMPTY);
rxd[0].xd0 = htole64(VTOPHYS(&rxd[1]));
rxd[0].xd2 = htole64(VTOPHYS(l->rxstore[0]) |
rxd[1].xd0 = htole64(VTOPHYS(&rxd[0]));
rxd[1].xd2 = htole64(VTOPHYS(l->rxstore[1]) |
txd->xd2 = htole64(VTOPHYS(buf) | ((uint64_t)len << 48));
txd->xd1 = htole64(T1_NOALIGN | (1 << 24));
htole64(value);
(*(volatile uint64_t *)(handle + offset)) = htole64(value);
cmd_tbl->cmdt_prd[seg].prd_dba = htole64(
htole64(achp->ahcic_bus_cmd_tbl[j]);
#define ahd_htole64(x) htole64(x)
#define ahc_htole64(x) htole64(x)
tap->wr_tsft = htole64(tsf);
tap->wr_tsft = htole64(tsf);
sc->sc_rx_th.wr_tsf = htole64(
sc->sc_tx_th.wt_tsf = htole64(tsf);
u.word = htole64(tsft);
cmd->err_pa = htole64((u_int64_t)pa);
(((sc)->sc_flags & GEM_PCI) ? htole64(v) : htobe64(v))
raw->BlockNumber = htole64(blkno);
sge->SgAddress = htole64(xfer->dm_segs[i].ds_addr);
sge->SgAddress = htole64(xfer->dm_segs[i].ds_addr);
sgl->sg_ieee[i].addr = htole64(sgd[i].ds_addr);
sgl->sg64[i].addr = htole64(sgd[i].ds_addr);
sgl_ptr->Address = htole64(sgd[i].ds_addr);
sgl_ptr->Address = htole64(sgd[i].ds_addr);
#define HOST_2_MPT64(ptr, tag) ptr->tag = htole64(ptr->tag)
#define htolem64(p, x) (*((uint64_t *)(p)) = htole64(x))
htole64(((uint64_t)tsf_hi << 32) | tsf_lo);
htole64(((uint64_t)tsf_hi << 32) | tsf_lo);
htole64(((uint64_t)htsfth << 32) | htsftl);
htole64(schp->sch_datad[slot]->dm_segs[seg].ds_addr);
return htole64(x);
bits = htole64(bits);
address = htole64(sc->sc_address);
address = htole64(sc->sc_address);
desc->addr = htole64(map->dm_segs[i].ds_addr);
desc->addr = htole64(rxd->rx_dmamap->dm_segs[0].ds_addr);
desc->addr = htole64(map->dm_segs[idx].ds_addr);
rxd->rx_desc->addr = htole64(rxd->rx_dmamap->dm_segs[0].ds_addr);
desc->addr = htole64(map->dm_segs[i].ds_addr);
htole64(rxring->rxr_mbufs[idx].dmamap->dm_segs[0].ds_addr);
htole64(map->dm_segs[i].ds_addr);
#define CAS_DMA_WRITE(v) htole64(v)
rxd->paddr = htole64(map->dm_segs[0].ds_addr);
rxd->haddr = htole64(0);
dtype = txd->cmd & htole64(IXL_TX_DESC_DTYPE_MASK);
if (dtype != htole64(IXL_TX_DESC_DTYPE_DONE))
txd->addr = htole64(map->dm_segs[i].ds_addr);
txd->cmd = htole64(cmd);
txd->cmd = htole64(cmd);
txq->dma_ring_addr = htole64(IXL_DMA_DVA(&txr->txr_mem));
rxq->dma_ring_addr = htole64(IXL_DMA_DVA(&rxr->rxr_mem));
htole64(dev_phy_addr);
sta->dtim_tsf = htole64(tsf + dtim_off);
txq.base = htole64(IXL_DMA_DVA(&txr->txr_mem) / IXL_HMC_TXQ_BASE_UNIT);
txd->addr = htole64(map->dm_segs[i].ds_addr);
txd->cmd = htole64(cmd);
txd->cmd = htole64(cmd);
dtype = txd->cmd & htole64(IXL_TX_DESC_DTYPE_MASK);
if (dtype != htole64(IXL_TX_DESC_DTYPE_DONE))
rxq.base = htole64(IXL_DMA_DVA(&rxr->rxr_mem) / IXL_HMC_RXQ_BASE_UNIT);
rxd->paddr = htole64(map->dm_segs[0].ds_addr);
rxd->haddr = htole64(0);
*sdpage = htole64(dva | IXL_HMC_PDVALID);
r->hi_qword0.rge_addr = htole64(rxmap->dm_segs[0].ds_addr);
d->rge_addr = htole64(txmap->dm_segs[i].ds_addr);
d->rge_addr = htole64(txmap->dm_segs[0].ds_addr);
sc->sc_txdescs[i].tfd_next = htole64(
sc->sc_txdescs[i].tfd_control = htole64(TFD_TFDDone);
htole64(FRAG_ADDR(__ds->ds_dmamap->dm_segs[0].ds_addr + 2) |\
htole64((uint64_t)STGE_CDRXADDR((sc), STGE_NEXTRX((x)))); \
htole64(FRAG_ADDR(dmamap->dm_segs[seg].ds_addr) |
tfd->tfd_control = htole64(tfc);
htole64(rxs->rxs_dmamap->dm_segs[0].ds_addr + sc->sc_align_tweak);
htole64(rxs->rxs_dmamap->dm_segs[0].ds_addr + sc->sc_align_tweak);
htole64(dmamap->dm_segs[0].ds_addr);
htole64(dmamap->dm_segs[seg].ds_addr);
rxdesc->read.pkt_addr = htole64(map->dm_segs[0].ds_addr);
#define htolem64(p, x) (*((uint64_t *)(p)) = htole64(x))
htole64(rxbuf->pmap->dm_segs[0].ds_addr);
rxr->rx_base[i].read.pkt_addr = htole64(paddr);
rxbuf->addr = htole64(paddr);
htole64(rxbuf->pmap->dm_segs[0].ds_addr);
rxbuf->addr = htole64(rxbuf->pmap->dm_segs[0].ds_addr);
segaddr = htole64(map->dm_segs[j].ds_addr);
curr->read.buffer_addr = htole64(paddr);
curr->read.pkt_addr = htole64(paddr);
_lto8b(htole64(bp->b_rawblkno),
sge->sg_addr = htole64(ccb->ccb_sense_dva);
sgl->sg64[0].addr = htole64(MFII_DMA_DVA(mdm));
sge->sg_addr = htole64(ccb->ccb_mfi_dva);
iiq->timestamp = htole64(time_uptime);
ce->sg_addr = htole64(ccb->ccb_sgl_dva);
sge->sg_addr = htole64(dmap->dm_segs[i].ds_addr);
#define MFII_REQ_MFA(_a) htole64((_a) | MFII_REQ_TYPE_MFA)
htole64(mc->mc_packetphys);
htole64(mly->mly_sg_busaddr +
sg->physaddr = htole64(ds->ds_addr);
sg->length = htole64(ds->ds_len);
mci.param.setmemorymailbox.command_mailbox_physaddr = htole64(tmp);
mci.param.setmemorymailbox.status_mailbox_physaddr = htole64(tmp);
mci.param.setmemorymailbox.health_buffer_physaddr = htole64(tmp);
ioctl->sense_buffer_address = htole64(mci->sense_buffer_address);
csge->sg_addr = htole64(ccb->ccb_cmd_dva +
sge->sg_addr = htole64(dmap->dm_segs[i].ds_addr);
(*(volatile uint64_t *)(handle + offset)) = htole64(value);
tap->wr_tsft = htole64(be64toh(rs->rs_tstamp));
spbufarray[i] = htole64(DMAADDR(dma, 0));
htole64(DMAADDR(&sc->sc_spbufarray_dma, 0));
erst[0].erste_0 = htole64(xhci_ring_trbp(sc->sc_er, 0));
dcbaa[si] = htole64(dcba);
*(uint64_t *)(&cp[2]) = htole64(
trb->trb_0 = htole64(parameter);
#define ENTPOOL_HTOW htole64
const uint64_t now = time_second/60, now_le = htole64(now);
wgmd->wgmd_counter = htole64(wg_session_inc_send_counter(wgs));
*(cksum) = htole64(_cksum); \
#define le64toh(x) htole64(x)
fdnode->version = htole64(++ip->chvc->highest_version);
fdirent->vno = htole64(ino);
fdirent->pvno = htole64(pdir->ino);
fdirent->version = htole64(++pdir->chvc->highest_version);
dnode->vno = htole64(ip->ino);
dnode->version = htole64(++ip->chvc->highest_version);
dnode->offset = htole64(ofs);
fvnode->vno = htole64(ip->ino);
fvnode->version = htole64(++ip->chvc->highest_version);
ebhdr->u.nand_hdr.serial = htole64(++(*ebh->max_serial));
#if !HAVE_DECL_HTOLE64 && !defined(htole64)
#if !HAVE_DECL_HTOLE64 && !defined(htole64)
#define le64toh(x) htole64(x)
hdr->text_offset = htole64(image_entrypoint);
hdr->image_size = htole64(dsize);
htole64(howmany(params->s1stat.st_size,
bb.bb_secstart = htole64(startblock);
ebhdr.u.nand_hdr.serial = htole64(++(max_serial));
fvnode.vno = htole64(node->inode->ino);
fvnode.version = htole64(version++);
fdirent.vno = htole64(node->inode->ino);
fdirent.pvno = htole64(node->parent->inode->ino);
fdirent.pvno = htole64(node->inode->ino);
fdirent.version = htole64(version++);
fdata.vno = htole64(node->inode->ino);