/netbsd-6-1-5-RELEASE/sys/arch/amiga/stand/bootblock/elf2bb/ |
H A D | elf2bb.c | 149 dprintf(("%04x sections, offset %08x\n", htobe16(eh->e_shnum), htobe32(eh->e_shoff))); 159 sh = (Elf32_Shdr *)(image + htobe32(eh->e_shoff)); 160 shstrtab = (char *)(image + htobe32(sh[htobe16(eh->e_shstrndx)].sh_offset)); 168 htobe32(sh[i].sh_name), shstrtab + htobe32(sh[i].sh_name), 169 htobe32(sh[i].sh_type), 170 htobe32(sh[i].sh_flags), htobe32(sh[i].sh_addr), 171 htobe32(sh[i].sh_offset), htobe32(s [all...] |
H A D | chksum.c | 52 sum += htobe32(block[i]);
|
/netbsd-6-1-5-RELEASE/distrib/cdrom/macppc_mkboothfs/ |
H A D | mkboothfs.c | 80 dm.sbBlkCount = htobe32(0); /* XXX */ 95 pme.pmMapBlkCnt = htobe32(1); 96 pme.pmPyPartStart = htobe32(1); 97 pme.pmPartBlkCnt = htobe32(1); 98 pme.pmDataCnt = htobe32(1); 101 pme.pmPartStatus = htobe32(0x3b); 102 pme.pmBootSize = htobe32(MACPPC_BOOT_BLOCK_MAX_SIZE); 103 pme.pmBootLoad = htobe32(0x4000); 104 pme.pmBootEntry = htobe32(0x4000); 114 pme.pmPyPartStart = htobe32( [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/installboot/arch/ |
H A D | macppc.c | 117 dm.sbBlkCount = htobe32(0); 150 pme.pmMapBlkCnt = htobe32(2); 151 pme.pmPyPartStart = htobe32(1); 152 pme.pmPartBlkCnt = htobe32(2); 153 pme.pmDataCnt = htobe32(2); 156 pme.pmPartStatus = htobe32(0x37); 167 pme.pmMapBlkCnt = htobe32(2); 168 pme.pmPyPartStart = htobe32(4); 169 pme.pmPartBlkCnt = htobe32(0x7fffffff); 170 pme.pmDataCnt = htobe32( [all...] |
H A D | sparc.c | 124 *((uint32_t *)bb) = htobe32(SUN_MAGIC); 125 *((uint32_t *)bb + 1) = htobe32(SUN4_BASTART);
|
H A D | hp300.c | 119 if (label->d_magic != htobe32(DISKMAGIC) || 120 label->d_magic2 != htobe32(DISKMAGIC) || 173 lifdir->dir_addr = htobe32(addr + boot_offset
|
H A D | next68k.c | 195 if (next68klabel->cd_boot_blkno[0] != (int32_t)htobe32(b0)) { 196 next68klabel->cd_boot_blkno[0] = htobe32(b0); 199 if (next68klabel->cd_boot_blkno[1] != (int32_t)htobe32(b1)) { 200 next68klabel->cd_boot_blkno[1] = htobe32(b1);
|
H A D | hp700.c | 167 if (label.l.d_magic != htobe32(DISKMAGIC) || 168 label.l.d_magic2 != htobe32(DISKMAGIC) ||
|
H A D | amiga.c | 167 sum += htobe32(block[i]);
|
/netbsd-6-1-5-RELEASE/sys/arch/hp300/stand/mkboot/ |
H A D | mkboot.c | 158 lifd[1].dir_addr = htobe32(0); 159 lifd[1].dir_length = htobe32(0); 161 lifd[1].dir_exec = htobe32(0); 166 lifv.vol_addr = htobe32(btolifs(LIF_DIRSTART)); 168 lifv.vol_dirsize = htobe32(btolifs(LIF_DIRSIZE)); 176 lifd[0].dir_addr = htobe32(btolifs(LIF_FILESTART)); 177 lifd[0].dir_length = htobe32(n); 180 lifd[0].dir_exec = htobe32(loadpoint); 181 lifv.vol_length = htobe32(be32toh(lifd[0].dir_addr) + 190 lifd[1].dir_addr = htobe32(lif [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/mips/atheros/ |
H A D | 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)))
|
/netbsd-6-1-5-RELEASE/sys/arch/hp700/stand/mkboot/ |
H A D | mkboot.c | 169 lifv->vol_addr = htobe32(hp700_btolifs(HP700_LIF_DIRSTART)); 171 lifv->vol_dirsize = htobe32(hp700_btolifs(HP700_LIF_DIRSIZE)); 173 lifv->vol_number = htobe32(1); 174 lifv->vol_lastvol = htobe32(1); 177 lifv->ipl_addr = htobe32(HP700_LIF_FILESTART); 187 lifd[optind].dir_addr = htobe32(hp700_btolifs(pos)); 190 lifv->ipl_entry = htobe32(loadpoint + entry); 191 lifv->ipl_size = htobe32(hp700_lifstob(n)); 196 lifd[optind].dir_implement = htobe32(loadpoint + entry); 201 lifd[optind].dir_length = htobe32( [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/mips/rmi/ |
H A D | rmixl_com.c | 177 com0addr[com_lctl] = htobe32(LCR_DLAB); 178 com0addr[com_dlbl] = htobe32(rate & 0xff); 179 com0addr[com_dlbh] = htobe32(rate >> 8); 180 com0addr[com_lctl] = htobe32(LCR_8BITS); /* XXX */ 181 com0addr[com_mcr] = htobe32(MCR_DTR|MCR_RTS); 182 com0addr[com_fifo] = htobe32( 197 com0addr[com_data] = htobe32((uint32_t)c);
|
/netbsd-6-1-5-RELEASE/sys/arch/sgimips/stand/sgivol/ |
H A D | sgivol.c | 355 volhdr->magic = htobe32(SGI_BOOT_BLOCK_MAGIC); 384 volhdr->dp.dp_nretries = htobe32(22); 387 htobe32(st.st_size / SGI_BOOT_BLOCK_BLOCKSIZE); 389 volhdr->partitions[10].blocks = htobe32(lbl.d_secperunit); 392 volhdr->partitions[10].type = htobe32(SGI_PTYPE_VOLUME); 393 volhdr->partitions[8].blocks = htobe32(volhdr_size); 395 volhdr->partitions[8].type = htobe32(SGI_PTYPE_VOLHDR); 398 htobe32((st.st_size / SGI_BOOT_BLOCK_BLOCKSIZE) - volhdr_size); 400 volhdr->partitions[0].blocks = htobe32(lbl.d_secperunit - volhdr_size); 402 volhdr->partitions[0].first = htobe32(volhdr_siz [all...] |
/netbsd-6-1-5-RELEASE/sys/crypto/nist_ctr_drbg/ |
H A D | nist_ctr_drbg.h | 100 return htobe32(x);
|
/netbsd-6-1-5-RELEASE/distrib/cdrom/macppc_installboot/ |
H A D | installboot.c | 175 bbinfop->bbi_block_count = htobe32(nblk); 176 bbinfop->bbi_block_size = htobe32(blocks[0].blocksize); 178 bbinfop->bbi_block_table[blk_i] = htobe32(blocks[blk_i].block);
|
/netbsd-6-1-5-RELEASE/sys/ufs/ffs/ |
H A D | ffs_appleufs.c | 147 appleufs->ul_magic = htobe32(APPLEUFS_LABEL_MAGIC); 148 appleufs->ul_version = htobe32(APPLEUFS_LABEL_VERSION); 149 appleufs->ul_time = htobe32((u_int32_t)t);
|
/netbsd-6-1-5-RELEASE/sys/dev/ic/ |
H A D | dpt.c | 862 cp->cp_dataaddr = htobe32(xfer->dm_segs[0].ds_addr); 863 cp->cp_datalen = htobe32(xfer->dm_segs[0].ds_len); 872 sg->sg_addr = htobe32(ds->ds_addr); 873 sg->sg_len = htobe32(ds->ds_len); 875 cp->cp_dataaddr = htobe32(CCB_OFF(sc, ccb) + 878 cp->cp_datalen = htobe32(i * sizeof(struct eata_sg)); 962 cp->cp_stataddr = htobe32(sc->sc_stppa); 984 htobe32(sc->sc_dmamap->dm_segs[0].ds_addr + 1067 cp->cp_stataddr = htobe32(sc->sc_stppa); 1068 cp->cp_dataaddr = htobe32(s [all...] |
H A D | siopvar_common.h | 211 (((sc)->features & SF_CHIP_BE) ? htobe32((x)) : htole32((x)))
|
/netbsd-6-1-5-RELEASE/lib/libbluetooth/ |
H A D | sdp_record.c | 131 handle = htobe32(handle); 190 handle = htobe32(handle);
|
/netbsd-6-1-5-RELEASE/sys/arch/hpc/stand/include/machine/ |
H A D | endian.h | 163 #define htobe32(x) (x) macro 179 #define htobe32(x) bswap32((uint32_t)(x)) 195 #define be32toh(x) htobe32(x)
|
/netbsd-6-1-5-RELEASE/sys/sys/ |
H A D | endian.h | 143 #define htobe32(x) (x) macro 159 #define htobe32(x) bswap32(__CAST(uint32_t, (x))) 175 #define be32toh(x) htobe32(x)
|
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/cd9660/ |
H A D | cd9660_eltorito.c | 557 apm32 = htobe32(total_partitions); 560 apm32 = htobe32(sector_start); 562 apm32 = htobe32(nsectors); 657 apm32 = htobe32(diskStructure.totalSectors *
|
/netbsd-6-1-5-RELEASE/tools/m68k-elf2aout/sys/ |
H A D | exec_aout.h | 103 ((ex).a_midmag = htobe32((uint32_t) \
|
/netbsd-6-1-5-RELEASE/sys/fs/efs/ |
H A D | efs_subr.c | 97 ocksum = htobe32(efs_sb_checksum(esb, 0)); 98 ncksum = htobe32(efs_sb_checksum(esb, 1)); 395 dex->ex_words[0] = htobe32(ex->ex_bn); 397 dex->ex_words[1] = htobe32(ex->ex_offset);
|