OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:htobe16
(Results
1 - 25
of
51
) sorted by relevancy
1
2
3
/src/sys/arch/macppc/stand/fixcoff/
fixcoff.c
171
*(uint16_t *)aoh.magic =
htobe16
(RS6K_AOUTHDR_ZMAGIC);
178
*(uint16_t *)(aoh.o_snentry) =
htobe16
(i+1);
179
*(uint16_t *)(aoh.o_sntext) =
htobe16
(i+1);
181
*(uint16_t *)(aoh.o_sndata) =
htobe16
(i+1);
183
*(uint16_t *)(aoh.o_snbss) =
htobe16
(i+1);
/src/sys/arch/hp300/stand/mkboot/
mkboot.c
157
lifd[1].dir_type =
htobe16
(0xFFFF);
160
lifd[1].dir_flag =
htobe16
(0x00FF);
165
lifv.vol_id =
htobe16
(HP300_VOL_ID);
168
lifv.vol_oct =
htobe16
(HP300_VOL_OCT);
170
lifv.vol_version =
htobe16
(1);
177
lifd[0].dir_type =
htobe16
(HP300_DIR_TYPE);
181
lifd[0].dir_flag =
htobe16
(HP300_DIR_FLAG);
192
lifd[1].dir_type =
htobe16
(HP300_DIR_TYPE);
196
lifd[1].dir_flag =
htobe16
(HP300_DIR_FLAG);
209
lifd[2].dir_type =
htobe16
(HP300_DIR_TYPE)
[
all
...]
/src/sys/external/bsd/common/include/asm/
byteorder.h
48
#define cpu_to_be16
htobe16
/src/sys/arch/macppc/stand/mkboothfs/
mkboothfs.c
91
dm.sbSig =
htobe16
(APPLE_DRVR_MAP_MAGIC);
92
dm.sbBlockSize =
htobe16
(2048);
94
dm.sbDevType =
htobe16
(1);
95
dm.sbDevID =
htobe16
(1);
107
pme.pmSig =
htobe16
(APPLE_PART_MAP_ENTRY_MAGIC);
/src/usr.sbin/installboot/arch/
macppc.c
119
dm.sbSig =
htobe16
(APPLE_DRVR_MAP_MAGIC);
120
dm.sbBlockSize =
htobe16
(512);
153
pme.pmSig =
htobe16
(APPLE_PART_MAP_ENTRY_MAGIC);
170
pme.pmSig =
htobe16
(APPLE_PART_MAP_ENTRY_MAGIC);
alpha.c
411
bb16[BB_ADJUST_OFFSET + 2] =
htobe16
(SUN_DKMAGIC) - bb16[254];
453
if (bb16[254] !=
htobe16
(SUN_DKMAGIC))
455
htobe16
(SUN_DKMAGIC));
next68k.c
223
*checksum =
htobe16
(nextstep_checksum (next68klabel,
/src/sys/net/agr/
if_agrether_hash.c
90
if (etype ==
htobe16
(ETHERTYPE_VLAN)) {
111
if (etype ==
htobe16
(ETHERTYPE_IP)) {
126
} else if (etype ==
htobe16
(ETHERTYPE_IPV6)) {
ieee8023ad_lacp.c
187
info->lip_systemid.lsi_prio =
htobe16
(LACP_SYSTEM_PRIO);
190
info->lip_portid.lpi_prio =
htobe16
(LACP_PORT_PRIO);
191
info->lip_portid.lpi_portno =
htobe16
(port->port_ifp->if_index);
223
du->ldu_eh.ether_type =
htobe16
(ETHERTYPE_SLOWPROTOCOLS);
700
return
htobe16
(key);
/src/sys/arch/sgimips/stand/sgivol/
sgivol.c
338
volhdr->root =
htobe16
(0);
339
volhdr->swap =
htobe16
(1);
350
htobe16
(st.st_size / (SGIVOL_NBTOOL_NSECS * SGIVOL_NBTOOL_NTRACKS));
352
volhdr->dp.dp_cyls =
htobe16
(lbl.d_ncylinders);
356
volhdr->dp.dp_trks0 =
htobe16
(SGIVOL_NBTOOL_NTRACKS);
357
volhdr->dp.dp_secs =
htobe16
(SGIVOL_NBTOOL_NSECS);
358
volhdr->dp.dp_secbytes =
htobe16
(SGI_BOOT_BLOCK_BLOCKSIZE);
359
volhdr->dp.dp_interleave =
htobe16
(1);
361
volhdr->dp.dp_trks0 =
htobe16
(lbl.d_ntracks);
362
volhdr->dp.dp_secs =
htobe16
(lbl.d_nsectors)
[
all
...]
/src/sys/ufs/ffs/
ffs_appleufs.c
69
res +=
htobe16
(*(u_char *)p<<8);
146
appleufs->ul_namelen =
htobe16
(namelen);
/src/sys/arch/hppa/stand/mkboot/
mkboot.c
172
lifv->vol_id =
htobe16
(HPPA_LIF_VOL_ID);
175
lifv->vol_oct =
htobe16
(HPPA_LIF_VOL_OCT);
177
lifv->vol_version =
htobe16
(1);
197
lifd[optind].dir_type =
htobe16
(HPPA_LIF_DIR_ISL);
200
lifd[optind].dir_type =
htobe16
(HPPA_LIF_DIR_TYPE);
208
lifd[optind].dir_flag =
htobe16
(HPPA_LIF_DIR_FLAG);
215
lifd[optind].dir_type =
htobe16
(0xffff);
/src/sys/dev/ic/
qemufwcfg.c
52
#define FWCFG_SEL_SWAP
htobe16
57
#define FWCFG_SEL_SWAP
htobe16
/src/sys/dev/gpib/
cs80bus.c
296
ssm.c_refm =
htobe16
(REF_MASK);
297
ssm.c_fefm =
htobe16
(FEF_MASK);
298
ssm.c_aefm =
htobe16
(AEF_MASK);
299
ssm.c_iefm =
htobe16
(IEF_MASK);
/src/sys/arch/hpc/stand/include/machine/
endian.h
162
#define
htobe16
(x) (x)
macro
169
#define
HTOBE16
(x) (void) (x)
178
#define
htobe16
(x) bswap16((uint16_t)(x))
185
#define
HTOBE16
(x) (x) = bswap16((uint16_t)(x))
194
#define be16toh(x)
htobe16
(x)
201
#define BE16TOH(x)
HTOBE16
(x)
/src/sys/dev/pci/
if_mcx.c
2846
htobe16
(MCX_CMD_QUERY_PAGES_BOOT)) != 0) {
2862
htobe16
(MCX_CMD_QUERY_PAGES_INIT)) != 0) {
2873
htobe16
(MCX_CMD_QUERY_PAGES_REGULAR)) != 0) {
3081
mcx_teardown_hca(sc,
htobe16
(MCX_CMD_TEARDOWN_HCA_GRACEFUL));
3354
in->cmd_opcode =
htobe16
(MCX_CMD_ENABLE_HCA);
3355
in->cmd_op_mod =
htobe16
(0);
3356
in->cmd_function_id =
htobe16
(0);
3392
in->cmd_opcode =
htobe16
(MCX_CMD_TEARDOWN_HCA);
3393
in->cmd_op_mod =
htobe16
(0);
3641
in->cmd_opcode =
htobe16
(MCX_CMD_ACCESS_REG)
[
all
...]
/src/sys/arch/evbarm/mpcsa/
mpcsa_leds.c
199
return (sc->sc_pinstate &
htobe16
(1U << pin)) ? 1 : 0;
214
sc->sc_pinstate |=
htobe16
(1U << pin);
216
sc->sc_pinstate &=
htobe16
(~(1U << pin));
282
HTOBE16
(pins);
/src/sys/sys/
endian.h
144
#define
htobe16
(x) __CAST(uint16_t, (x))
macro
151
#define
HTOBE16
(x) __CAST(void, (x))
160
#define
htobe16
(x) bswap16(__CAST(uint16_t, (x)))
167
#define
HTOBE16
(x) (x) = bswap16(__CAST(uint16_t, (x)))
176
#define be16toh(x)
htobe16
(x)
183
#define BE16TOH(x)
HTOBE16
(x)
/src/sys/dev/pci/ixgbe/
if_fdir.c
135
input.formatted.vlan_id =
htobe16
(mp->m_pkthdr.ether_vtag);
ixgbe_osdep.h
143
#define IXGBE_CPU_TO_BE16
htobe16
/src/lib/libbluetooth/
sdp_session.c
187
pdu.tid =
htobe16
(ss->tid);
188
pdu.len =
htobe16
(len);
/src/sys/arch/x86/pci/imcsmb/
imcsmb.c
330
lword =
htobe16
(*(uint16_t *)buf);
427
lword =
htobe16
(lword);
/src/sys/arch/amiga/stand/bootblock/elf2bb/
elf2bb.c
291
*(uint16_t *)(buffer + 14) /* reltab */ =
htobe16
(tsz + dsz);
367
tmp16 =
htobe16
(value);
397
tmp16 =
htobe16
(addrdiff);
/src/usr.sbin/makefs/cd9660/
cd9660_eltorito.c
599
apm16 =
htobe16
(0x504d);
710
apm16 =
htobe16
(0x4552);
713
apm16 =
htobe16
(512);
720
apm16 =
htobe16
(1);
/src/sys/dev/isa/
dpt_isa.c
311
*(int16_t *)ec->ec_queuedepth =
htobe16
(DPT_ISA_MAXCCBS);
Completed in 23 milliseconds
1
2
3
Indexes created Wed Oct 29 12:09:47 GMT 2025