HomeSort by: relevance | last modified time | path
    Searched refs:htobe32 (Results 1 - 25 of 66) sorted by relevancy

1 2 3

  /src/usr.sbin/installboot/arch/
macppc.c 121 dm.sbBlkCount = htobe32(0);
154 pme.pmMapBlkCnt = htobe32(2);
155 pme.pmPyPartStart = htobe32(1);
156 pme.pmPartBlkCnt = htobe32(2);
157 pme.pmDataCnt = htobe32(2);
160 pme.pmPartStatus = htobe32(0x37);
171 pme.pmMapBlkCnt = htobe32(2);
172 pme.pmPyPartStart = htobe32(4);
173 pme.pmPartBlkCnt = htobe32(0x7fffffff);
174 pme.pmDataCnt = htobe32(0x7fffffff)
    [all...]
sparc.c 128 *((uint32_t *)bb) = htobe32(SUN_MAGIC);
129 *((uint32_t *)bb + 1) = htobe32(SUN4_BASTART);
amiga.c 133 block[1] = htobe32(0);
134 block[1] = htobe32(0xffffffff - chksum(block, sumlen));
next68k.c 199 if (next68klabel->cd_boot_blkno[0] != (int32_t)htobe32(b0)) {
200 next68klabel->cd_boot_blkno[0] = htobe32(b0);
203 if (next68klabel->cd_boot_blkno[1] != (int32_t)htobe32(b1)) {
204 next68klabel->cd_boot_blkno[1] = htobe32(b1);
hppa.c 171 if (label.l.d_magic != htobe32(DISKMAGIC) ||
172 label.l.d_magic2 != htobe32(DISKMAGIC) ||
hp300.c 197 if (label->d_magic != htobe32(DISKMAGIC) ||
198 label->d_magic2 != htobe32(DISKMAGIC) ||
253 htobe32(boot_offset / HP300_SECTSIZE + addr);
  /src/sys/arch/hp300/stand/mkboot/
mkboot.c 158 lifd[1].dir_addr = htobe32(0);
159 lifd[1].dir_length = htobe32(0);
161 lifd[1].dir_exec = htobe32(0);
167 lifv.vol_addr = htobe32(hp300_btolifs(HP300_LIF_DIRSTART));
169 lifv.vol_dirsize = htobe32(hp300_btolifs(HP300_LIF_DIRSIZE));
178 lifd[0].dir_addr = htobe32(hp300_btolifs(HP300_LIF_FILESTART));
179 lifd[0].dir_length = htobe32(nsec);
182 lifd[0].dir_exec = htobe32(loadpoint);
183 lifv.vol_length = htobe32(be32toh(lifd[0].dir_addr) +
193 lifd[1].dir_addr = htobe32(lifv.vol_length)
    [all...]
  /src/sys/arch/macppc/stand/mkboothfs/
mkboothfs.c 93 dm.sbBlkCount = htobe32(0); /* XXX */
108 pme.pmMapBlkCnt = htobe32(1);
109 pme.pmPyPartStart = htobe32(1);
110 pme.pmPartBlkCnt = htobe32(SIZETOBLK2048(BOOTPARTSIZE));
111 pme.pmDataCnt = htobe32(SIZETOBLK2048(BOOTDATASIZE));
114 pme.pmPartStatus = htobe32(0x3b);
115 pme.pmBootSize = htobe32(MACPPC_BOOT_BLOCK_MAX_SIZE);
116 pme.pmBootLoad = htobe32(0x4000);
117 pme.pmBootEntry = htobe32(0x4000);
127 pme.pmPyPartStart = htobe32(4)
    [all...]
  /src/sys/arch/mips/atheros/
ar_console.c 86 while (!(uart[com_lsr] & htobe32(LSR_TXRDY)))
89 uart[com_data] = htobe32(c);
98 while (!(uart[com_lsr] & htobe32(LSR_RXRDY)))
110 while (!(uart[com_lsr] & htobe32(LSR_TSRE)))
  /src/sys/external/bsd/common/include/asm/
byteorder.h 49 #define cpu_to_be32 htobe32
  /src/sys/arch/hppa/stand/mkboot/
mkboot.c 87 u_long a_midmag; /* htobe32(flags<<26 | mid<<16 | magic) */
174 lifv->vol_addr = htobe32(hppa_btolifs(HPPA_LIF_DIRSTART));
176 lifv->vol_dirsize = htobe32(hppa_btolifs(HPPA_LIF_DIRSIZE));
178 lifv->vol_number = htobe32(1);
179 lifv->vol_lastvol = htobe32(1);
182 lifv->ipl_addr = htobe32(HPPA_LIF_FILESTART);
192 lifd[optind].dir_addr = htobe32(hppa_btolifs(pos));
195 lifv->ipl_entry = htobe32(loadpoint + entry);
196 lifv->ipl_size = htobe32(hppa_lifstob(n));
201 lifd[optind].dir_implement = htobe32(loadpoint + entry)
    [all...]
  /src/sys/arch/mips/rmi/
rmixl_com.c 163 com0addr[com_lctl] = htobe32(LCR_DLAB);
164 com0addr[com_dlbl] = htobe32(rate & 0xff);
165 com0addr[com_dlbh] = htobe32(rate >> 8);
166 com0addr[com_lctl] = htobe32(LCR_8BITS); /* XXX */
167 com0addr[com_mcr] = htobe32(MCR_DTR|MCR_RTS);
168 com0addr[com_fifo] = htobe32(
183 com0addr[com_data] = htobe32((uint32_t)c);
  /src/sys/ufs/ffs/
ffs_appleufs.c 143 appleufs->ul_magic = htobe32(APPLEUFS_LABEL_MAGIC);
144 appleufs->ul_version = htobe32(APPLEUFS_LABEL_VERSION);
145 appleufs->ul_time = htobe32((u_int32_t)t);
  /src/sys/arch/sgimips/stand/sgivol/
sgivol.c 337 volhdr->magic = htobe32(SGI_BOOT_BLOCK_MAGIC);
366 volhdr->dp.dp_nretries = htobe32(22);
369 htobe32(st.st_size / SGI_BOOT_BLOCK_BLOCKSIZE);
371 volhdr->partitions[10].blocks = htobe32(lbl.d_secperunit);
374 volhdr->partitions[10].type = htobe32(SGI_PTYPE_VOLUME);
375 volhdr->partitions[8].blocks = htobe32(volhdr_size);
377 volhdr->partitions[8].type = htobe32(SGI_PTYPE_VOLHDR);
380 htobe32((st.st_size / SGI_BOOT_BLOCK_BLOCKSIZE) - volhdr_size);
382 volhdr->partitions[0].blocks = htobe32(lbl.d_secperunit - volhdr_size);
384 volhdr->partitions[0].first = htobe32(volhdr_size)
    [all...]
  /src/usr.bin/mkubootimage/
mkubootimage.c 327 size_buf[0] = htobe32(st.st_size);
328 size_buf[1] = htobe32(0);
344 hdr->ih_magic = htobe32(image_magic);
345 hdr->ih_time = htobe32(repro_time ? repro_time : st.st_mtime);
346 hdr->ih_size = htobe32(dsize);
347 hdr->ih_load = htobe32(image_loadaddr);
348 hdr->ih_ep = htobe32(image_entrypoint);
349 hdr->ih_dcrc = htobe32(crc);
356 hdr->ih_hcrc = htobe32(crc);
428 size_buf[0] = htobe32(st.st_size)
    [all...]
  /src/sys/dev/ic/
dpt.c 871 cp->cp_dataaddr = htobe32(xfer->dm_segs[0].ds_addr);
872 cp->cp_datalen = htobe32(xfer->dm_segs[0].ds_len);
881 sg->sg_addr = htobe32(ds->ds_addr);
882 sg->sg_len = htobe32(ds->ds_len);
884 cp->cp_dataaddr = htobe32(CCB_OFF(sc, ccb) +
887 cp->cp_datalen = htobe32(i * sizeof(struct eata_sg));
971 cp->cp_stataddr = htobe32(sc->sc_stppa);
993 htobe32(sc->sc_dmamap->dm_segs[0].ds_addr +
1076 cp->cp_stataddr = htobe32(sc->sc_stppa);
1077 cp->cp_dataaddr = htobe32(sc->sc_scrpa)
    [all...]
siopvar_common.h 211 (((sc)->features & SF_CHIP_BE) ? htobe32((x)) : htole32((x)))
  /src/lib/libbluetooth/
sdp_record.c 131 handle = htobe32(handle);
190 handle = htobe32(handle);
  /src/sys/arch/hpc/stand/include/machine/
endian.h 163 #define htobe32(x) (x) macro
170 #define HTOBE32(x) (void) (x)
179 #define htobe32(x) bswap32((uint32_t)(x))
186 #define HTOBE32(x) (x) = bswap32((uint32_t)(x))
195 #define be32toh(x) htobe32(x)
202 #define BE32TOH(x) HTOBE32(x)
  /src/sys/arch/macppc/stand/installboot/
installboot.c 186 bbinfop->bbi_block_count = htobe32(nblk);
187 bbinfop->bbi_block_size = htobe32(blocks[0].blocksize);
191 bbinfop->bbi_block_table[blk_i] = htobe32(block);
  /src/usr.sbin/makefs/cd9660/
cd9660_eltorito.c 605 apm32 = htobe32(total_partitions);
608 apm32 = htobe32(sector_start);
610 apm32 = htobe32(nsectors);
622 apm32 = htobe32(nsectors);
625 apm32 = htobe32(part_status);
716 apm32 = htobe32(diskStructure->totalSectors *
  /src/sys/sys/
endian.h 145 #define htobe32(x) __CAST(uint32_t, (x)) macro
152 #define HTOBE32(x) __CAST(void, (x))
161 #define htobe32(x) bswap32(__CAST(uint32_t, (x)))
168 #define HTOBE32(x) (x) = bswap32(__CAST(uint32_t, (x)))
177 #define be32toh(x) htobe32(x)
184 #define BE32TOH(x) HTOBE32(x)
exec_aout.h 103 ((ex).a_midmag = htobe32((uint32_t) \
  /src/sys/dev/pci/
if_mcx.c 4276 in->cmd_field_select = htobe32(
4287 ctx->vp_mtu = htobe32(sc->sc_hardmtu);
4406 mbin->cmd_eq_ctx.eq_uar_size = htobe32(
4702 mbin->cmd_cq_ctx.cq_uar_size = htobe32(
4704 mbin->cmd_cq_ctx.cq_eqn = htobe32(eqn);
4705 mbin->cmd_cq_ctx.cq_period_max_count = htobe32(
4774 in->cmd_cqn = htobe32(cq->cq_n);
4854 mbin->rq_flags = htobe32(rq_flags);
4855 mbin->rq_cqn = htobe32(cqn);
4857 mbin->rq_wq.wq_pd = htobe32(sc->sc_pd)
    [all...]
  /src/sys/arch/amiga/stand/bootblock/elf2bb/
elf2bb.c 349 tmp32 = htobe32(value);
357 tmp32 = htobe32(value - be32toh(ra->r_offset));
457 ((uint32_t *)buffer)[1] = htobe32((0xffffffff -

Completed in 27 milliseconds

1 2 3