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

1 2 3 4

  /src/external/bsd/mdocml/dist/
test-be32toh.c 10 return htobe32(be32toh(0x3a7d0cdb)) != 0x3a7d0cdb;
dba_write.c 124 i = htobe32(i);
  /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) ||
  /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/external/mpl/dhcp/bind/dist/lib/isc/include/isc/
endian.h 51 #define htobe32(x) _byteswap_ulong(x) macro
74 #define htobe32(x) OSSwapHostToBigInt32(x) macro
158 #ifndef htobe32
161 #define htobe32(x) (x) macro
168 #define htobe32(x) bswap_32(x) macro
174 #endif /* !htobe32 */
  /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 144 appleufs->ul_magic = htobe32(APPLEUFS_LABEL_MAGIC);
145 appleufs->ul_version = htobe32(APPLEUFS_LABEL_VERSION);
146 appleufs->ul_time = htobe32((u_int32_t)t);
  /src/crypto/external/cpl/trousers/dist/src/include/
portable_endian.h 26 # define htobe32(x) OSSwapHostToBigInt32(x) macro
70 # define htobe32(x) htonl(x) macro
88 # define htobe32(x) (x) macro
  /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/external/bsd/libfido2/dist/openbsd-compat/
openbsd-compat.h 24 #define htobe32(x) OSSwapHostToBigInt32((x)) macro
38 #define htobe32(x) htonl((x)) macro
  /src/external/bsd/nsd/dist/simdzone/src/generic/
endian.h 25 #define htobe32(x) _byteswap_ulong(x) macro
39 #define htobe32(x) (x) macro
67 #define htobe32(x) OSSwapHostToBigInt32(x) macro
190 # if !defined htobe32
191 # define htobe32(x) htobe(32,(x)) macro
ttl.h 111 ttl = htobe32(ttl);
  /src/external/mpl/bind/dist/lib/isc/include/isc/
endian.h 50 #define htobe32(x) OSSwapHostToBigInt32(x) macro
134 #ifndef htobe32
137 #define htobe32(x) (x) macro
144 #define htobe32(x) bswap_32(x) macro
150 #endif /* !htobe32 */
  /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...]
  /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)

Completed in 54 milliseconds

1 2 3 4