Symbol: htobe32
crypto/openssl/include/openssl/byteorder.h
45
#define OSSL_HTOBE32(x) htobe32(x)
crypto/openssl/include/openssl/byteorder.h
65
#define OSSL_HTOBE32(x) htobe32(x)
lib/libc/gen/utxdb.c
48
(fu)->fu_pid = htobe32((ut)->ut_pid); \
lib/libutil/quotafile.c
187
dqh.dqh_version = htobe32(Q_DQHDR64_VERSION);
lib/libutil/quotafile.c
188
dqh.dqh_hdrlen = htobe32(sizeof(struct dqhdr64));
lib/libutil/quotafile.c
189
dqh.dqh_reclen = htobe32(sizeof(struct dqblk64));
lib/libutil/quotafile.c
557
dqh.dqh_version = htobe32(Q_DQHDR64_VERSION);
lib/libutil/quotafile.c
558
dqh.dqh_hdrlen = htobe32(sizeof(struct dqhdr64));
lib/libutil/quotafile.c
559
dqh.dqh_reclen = htobe32(sizeof(struct dqblk64));
sbin/ggate/shared/ggate.h
156
cinit->gc_token = htobe32(cinit->gc_token);
sbin/ggate/shared/ggate.h
175
sinit->gs_sectorsize = htobe32(sinit->gs_sectorsize);
sbin/ggate/shared/ggate.h
196
hdr->gh_length = htobe32(hdr->gh_length);
sbin/ldconfig/elfhints.c
223
is_be = hdr->magic == htobe32(ELFHINTS_MAGIC);
stand/kboot/kboot/arch/powerpc64/ppc64_elf_freebsd.c
125
trampoline_data->kernel_entry = htobe32(entry + elf64_relocation_offset);
stand/kboot/kboot/arch/powerpc64/ppc64_elf_freebsd.c
126
trampoline_data->phys_mem_offset = htobe32(0);
stand/kboot/kboot/arch/powerpc64/ppc64_elf_freebsd.c
127
trampoline_data->of_entry = htobe32(0);
stand/kboot/kboot/arch/powerpc64/ppc64_elf_freebsd.c
132
trampoline_data->dtb = htobe32(dtb);
stand/kboot/kboot/arch/powerpc64/ppc64_elf_freebsd.c
133
trampoline_data->mdp = htobe32(mdp);
stand/kboot/kboot/arch/powerpc64/ppc64_elf_freebsd.c
134
trampoline_data->mdp_size = htobe32(0xfb5d104d);
stand/libofw/openfirm.c
72
#define IN(x) htobe32((cell_t)x)
stand/libsa/zfs/nvlist.c
78
*ip = htobe32(i);
stand/libsa/zfs/nvlist.c
94
*up = htobe32(i);
stand/powerpc/boot1.chrp/boot1.c
193
buf[i] = htobe32(buf[i]);
stand/powerpc/ofw/cas.c
140
{ htobe32(PVR_CPU_MASK), htobe32(PVR_CPU_P6) },
stand/powerpc/ofw/cas.c
141
{ htobe32(PVR_CPU_MASK), htobe32(PVR_CPU_P7) },
stand/powerpc/ofw/cas.c
142
{ htobe32(PVR_CPU_MASK), htobe32(PVR_CPU_P7PLUS) },
stand/powerpc/ofw/cas.c
143
{ htobe32(PVR_CPU_MASK), htobe32(PVR_CPU_P8) },
stand/powerpc/ofw/cas.c
144
{ htobe32(PVR_CPU_MASK), htobe32(PVR_CPU_P8E) },
stand/powerpc/ofw/cas.c
145
{ htobe32(PVR_CPU_MASK), htobe32(PVR_CPU_P8NVL) },
stand/powerpc/ofw/cas.c
146
{ htobe32(PVR_CPU_MASK), htobe32(PVR_CPU_P9) },
stand/powerpc/ofw/cas.c
147
{ htobe32(PVR_CPU_MASK), htobe32(PVR_CPU_P10) },
stand/powerpc/ofw/cas.c
148
{ htobe32(PVR_CPU_MASK), htobe32(PVR_CPU_P11) },
stand/powerpc/ofw/cas.c
149
{ htobe32(PVR_ISA_MASK), htobe32(PVR_ISA_207) },
stand/powerpc/ofw/cas.c
150
{ htobe32(PVR_ISA_MASK), htobe32(PVR_ISA_300) },
stand/powerpc/ofw/cas.c
151
{ htobe32(PVR_ISA_MASK), htobe32(PVR_ISA_31) },
sys/arm64/broadcom/genet/if_genet.c
467
maclo = htobe32(RD4(sc, GENET_UMAC_MAC0));
sys/arm64/qoriq/clk/qoriq_clkgen.c
137
bus_write_4(sc->res, addr, htobe32(reg));
sys/arm64/qoriq/clk/qoriq_clkgen.c
99
bus_write_4(sc->res, addr, htobe32(val));
sys/arm64/qoriq/qoriq_therm.c
199
val = sc->little_endian ? htole32(val): htobe32(val);
sys/compat/linuxkpi/common/include/asm/byteorder.h
58
#define __cpu_to_be32(x) htobe32(x)
sys/compat/linuxkpi/common/include/asm/byteorder.h
83
#define __cpu_to_be32p(x) htobe32(*((const uint32_t *)(x)))
sys/compat/linuxkpi/common/include/linux/io.h
393
__raw_writel(htobe32(v), addr);
sys/crypto/armv8/armv8_crypto_wrap.c
367
s->lenblock.d[1] = htobe32(authdatalen * 8);
sys/crypto/armv8/armv8_crypto_wrap.c
368
s->lenblock.d[3] = htobe32(len * 8);
sys/crypto/ccp/ccp_hardware.c
1360
*(uint32_t *)&iv[12] = htobe32(1);
sys/dev/aic7xxx/aic_osm_lib.h
71
#define aic_htobe32(x) htobe32(x)
sys/dev/ath/if_ath_alq.c
179
ap->tstamp_sec = htobe32((uint32_t) tv.tv_sec);
sys/dev/ath/if_ath_alq.c
180
ap->tstamp_usec = htobe32((uint32_t) tv.tv_usec);
sys/dev/ath/if_ath_alq.c
87
alq->sc_alq_cfg.sc_mac_version = htobe32(macVer);
sys/dev/ath/if_ath_alq.c
88
alq->sc_alq_cfg.sc_mac_revision = htobe32(macRev);
sys/dev/ath/if_ath_alq.c
89
alq->sc_alq_cfg.sc_phy_rev = htobe32(phyRev);
sys/dev/ath/if_ath_alq.c
90
alq->sc_alq_cfg.sc_hal_magic = htobe32(halMagic);
sys/dev/ath/if_ath_alq.h
188
intr.intr_status = htobe32(status);
sys/dev/ath/if_ath_alq.h
190
intr.intr_state[i] = htobe32(state[i]);
sys/dev/ath/if_ath_alq.h
191
intr.intr_syncstate = htobe32(sync_state);
sys/dev/ath/if_ath_tdma.c
165
t.bt_intval = htobe32(bt.bt_intval);
sys/dev/ath/if_ath_tdma.c
166
t.bt_nexttbtt = htobe32(bt.bt_nexttbtt);
sys/dev/ath/if_ath_tdma.c
167
t.bt_nextdba = htobe32(bt.bt_nextdba);
sys/dev/ath/if_ath_tdma.c
168
t.bt_nextswba = htobe32(bt.bt_nextswba);
sys/dev/ath/if_ath_tdma.c
169
t.bt_nextatim = htobe32(bt.bt_nextatim);
sys/dev/ath/if_ath_tdma.c
170
t.bt_flags = htobe32(bt.bt_flags);
sys/dev/ath/if_ath_tdma.c
171
t.sc_tdmadbaprep = htobe32(sc->sc_tdmadbaprep);
sys/dev/ath/if_ath_tdma.c
172
t.sc_tdmaswbaprep = htobe32(sc->sc_tdmaswbaprep);
sys/dev/ath/if_ath_tdma.c
320
t.tdma_slot = htobe32(tdma->tdma_slot);
sys/dev/ath/if_ath_tdma.c
321
t.tdma_slotlen = htobe32(tdma->tdma_slotlen);
sys/dev/ath/if_ath_tdma.c
322
t.tdma_slotcnt = htobe32(tdma->tdma_slotcnt);
sys/dev/ath/if_ath_tdma.c
323
t.tdma_bintval = htobe32(tdma->tdma_bintval);
sys/dev/ath/if_ath_tdma.c
324
t.tdma_guard = htobe32(sc->sc_tdmaguard);
sys/dev/ath/if_ath_tdma.c
325
t.tdma_scbintval = htobe32(sc->sc_tdmabintval);
sys/dev/ath/if_ath_tdma.c
326
t.tdma_dbaprep = htobe32(sc->sc_tdmadbaprep);
sys/dev/ath/if_ath_tdma.c
521
t.nextslot_tu = htobe32(nextslottu);
sys/dev/ath/if_ath_tdma.c
522
t.txtime = htobe32(txtime);
sys/dev/ath/if_ath_tdma.c
532
t.tsfdelta = htobe32(tsfdelta);
sys/dev/ath/if_ath_tdma.c
533
t.avg_plus = htobe32(TDMA_AVG(sc->sc_avgtsfdeltap));
sys/dev/ath/if_ath_tdma.c
534
t.avg_minus = htobe32(TDMA_AVG(sc->sc_avgtsfdeltam));
sys/dev/ath/if_ath_tdma.c
595
t.tsfdelta = htobe32(tsfdelta);
sys/dev/ath/if_ath_tx_edma.c
148
aq.txq = htobe32(txq);
sys/dev/ath/if_ath_tx_edma.c
149
aq.nframes = htobe32(nframes);
sys/dev/ath/if_ath_tx_edma.c
150
aq.fifo_depth = htobe32(fifo_depth);
sys/dev/ath/if_ath_tx_edma.c
151
aq.frame_cnt = htobe32(frame_cnt);
sys/dev/bce/if_bce.c
2423
val32 = htobe32(val32);
sys/dev/bce/if_bcereg.h
565
#define bce_htobe32(x) htobe32(x)
sys/dev/bxe/bxe.c
1252
*ret_val = htobe32(val);
sys/dev/cesa/cesa.c
455
hin[i] = htobe32(hin[i]);
sys/dev/cesa/cesa.c
456
hout[i] = htobe32(hout[i]);
sys/dev/cesa/cesa.c
478
*dkey++ = htobe32(ek[4 * 10 + i]);
sys/dev/cesa/cesa.c
483
*dkey++ = htobe32(ek[4 * 12 + i]);
sys/dev/cesa/cesa.c
485
*dkey++ = htobe32(ek[4 * 11 + 2 + i]);
sys/dev/cesa/cesa.c
490
*dkey++ = htobe32(ek[4 * 14 + i]);
sys/dev/cesa/cesa.c
492
*dkey++ = htobe32(ek[4 * 13 + i]);
sys/dev/cxgb/cxgb_osdep.h
135
#define cpu_to_be32(x) htobe32(x)
sys/dev/cxgb/cxgb_sge.c
1206
sgp->len[idx] = htobe32(segs[i].ds_len);
sys/dev/cxgb/cxgb_sge.c
2236
sgp->len[idx] = htobe32(segs[i].ss_len);
sys/dev/cxgb/cxgb_sge.c
754
d->addr_lo = htobe32(cb_arg.seg.ds_addr & 0xffffffff);
sys/dev/cxgb/cxgb_sge.c
755
d->addr_hi = htobe32(((uint64_t)cb_arg.seg.ds_addr >>32) & 0xffffffff);
sys/dev/cxgb/cxgb_sge.c
756
d->len_gen = htobe32(V_FLD_GEN1(q->gen));
sys/dev/cxgb/cxgb_sge.c
757
d->gen2 = htobe32(V_FLD_GEN2(q->gen));
sys/dev/cxgb/cxgb_sge.c
850
to->len_gen = htobe32(V_FLD_GEN1(q->gen));
sys/dev/cxgb/cxgb_sge.c
851
to->gen2 = htobe32(V_FLD_GEN2(q->gen));
sys/dev/cxgbe/common/common.h
1094
ulpmc->cmd_dest = htobe32(V_ULPTX_CMD(ULP_TX_PKT) |
sys/dev/cxgbe/common/common.h
1096
ulpmc->len = htobe32(howmany(LEN__SET_TCB_FIELD_ULP, 16));
sys/dev/cxgbe/common/common.h
1099
ulpsc->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM));
sys/dev/cxgbe/common/common.h
1100
ulpsc->len = htobe32(sizeof(*req));
sys/dev/cxgbe/common/common.h
1103
OPCODE_TID(req) = htobe32(MK_OPCODE_TID(CPL_SET_TCB_FIELD, tid));
sys/dev/cxgbe/common/common.h
1129
ulpsc->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_NOOP));
sys/dev/cxgbe/common/common.h
1130
ulpsc->len = htobe32(0);
sys/dev/cxgbe/crypto/t4_crypto.c
1009
crwr->sec_cpl.op_ivinsrtofst = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
1016
crwr->sec_cpl.pldlen = htobe32(iv_len + input_len);
sys/dev/cxgbe/crypto/t4_crypto.c
1018
crwr->sec_cpl.aadstart_cipherstop_hi = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
1023
crwr->sec_cpl.cipherstop_lo_authinsert = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
1031
crwr->sec_cpl.seqno_numivs = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
1041
crwr->sec_cpl.ivgen_hdrlen = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
1291
*(uint32_t *)&iv[12] = htobe32(1);
sys/dev/cxgbe/crypto/t4_crypto.c
1296
crwr->sec_cpl.op_ivinsrtofst = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
1303
crwr->sec_cpl.pldlen = htobe32(iv_len + input_len);
sys/dev/cxgbe/crypto/t4_crypto.c
1314
crwr->sec_cpl.aadstart_cipherstop_hi = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
1319
crwr->sec_cpl.cipherstop_lo_authinsert = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
1327
crwr->sec_cpl.seqno_numivs = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
1337
crwr->sec_cpl.ivgen_hdrlen = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
1648
crwr->sec_cpl.op_ivinsrtofst = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
1655
crwr->sec_cpl.pldlen = htobe32(iv_len + input_len);
sys/dev/cxgbe/crypto/t4_crypto.c
1661
crwr->sec_cpl.aadstart_cipherstop_hi = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
1666
crwr->sec_cpl.cipherstop_lo_authinsert = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
1674
crwr->sec_cpl.seqno_numivs = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
1684
crwr->sec_cpl.ivgen_hdrlen = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
1729
idata->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_NOOP));
sys/dev/cxgbe/crypto/t4_crypto.c
1730
idata->len = htobe32(0);
sys/dev/cxgbe/crypto/t4_crypto.c
2157
s->cipher.key_ctx_hdr = htobe32(V_KEY_CONTEXT_CTX_LEN(kctx_flits) |
sys/dev/cxgbe/crypto/t4_crypto.c
346
cpl->op_to_tid = htobe32(V_CPL_RX_PHYS_DSGL_OPCODE(CPL_RX_PHYS_DSGL) |
sys/dev/cxgbe/crypto/t4_crypto.c
348
cpl->pcirlxorder_to_noofsgentr = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
405
usgl->cmd_nsge = htobe32(V_ULPTX_CMD(ULP_TX_SC_DSGL) |
sys/dev/cxgbe/crypto/t4_crypto.c
407
usgl->len0 = htobe32(ss->ss_len);
sys/dev/cxgbe/crypto/t4_crypto.c
411
usgl->sge[i / 2].len[i & 1] = htobe32(ss->ss_len);
sys/dev/cxgbe/crypto/t4_crypto.c
437
crwr->wreq.op_to_cctx_size = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
443
crwr->wreq.len16_pkd = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
446
crwr->wreq.rx_chid_to_rx_q_id = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
455
crwr->wreq.pld_size_hash_size = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
460
crwr->ulptx.cmd_dest = htobe32(V_ULPTX_CMD(ULP_TX_PKT) |
sys/dev/cxgbe/crypto/t4_crypto.c
466
crwr->ulptx.len = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
469
crwr->sc_imm.cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM) |
sys/dev/cxgbe/crypto/t4_crypto.c
474
crwr->sc_imm.len = htobe32(idata_len);
sys/dev/cxgbe/crypto/t4_crypto.c
548
crwr->sec_cpl.op_ivinsrtofst = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
555
crwr->sec_cpl.pldlen = htobe32(crp->crp_payload_length == 0 ?
sys/dev/cxgbe/crypto/t4_crypto.c
558
crwr->sec_cpl.cipherstop_lo_authinsert = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
562
crwr->sec_cpl.seqno_numivs = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
568
crwr->sec_cpl.ivgen_hdrlen = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
577
crwr->key_ctx.ctx_hdr = htobe32(V_KEY_CONTEXT_CTX_LEN(kctx_flits) |
sys/dev/cxgbe/crypto/t4_crypto.c
708
crwr->sec_cpl.op_ivinsrtofst = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
715
crwr->sec_cpl.pldlen = htobe32(iv_len + crp->crp_payload_length);
sys/dev/cxgbe/crypto/t4_crypto.c
717
crwr->sec_cpl.aadstart_cipherstop_hi = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
720
crwr->sec_cpl.cipherstop_lo_authinsert = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
724
crwr->sec_cpl.seqno_numivs = htobe32(
sys/dev/cxgbe/crypto/t4_crypto.c
733
crwr->sec_cpl.ivgen_hdrlen = htobe32(
sys/dev/cxgbe/crypto/t4_keyctx.c
323
u32[i] = htobe32(auth_ctx->sha1ctx.h.b32[i]);
sys/dev/cxgbe/crypto/t4_keyctx.c
328
u32[i] = htobe32(auth_ctx->sha224ctx.state[i]);
sys/dev/cxgbe/crypto/t4_keyctx.c
333
u32[i] = htobe32(auth_ctx->sha256ctx.state[i]);
sys/dev/cxgbe/crypto/t4_keyctx.c
385
*--dkey = htobe32(ek[4 * 10 + i]);
sys/dev/cxgbe/crypto/t4_keyctx.c
389
*--dkey = htobe32(ek[4 * 11 + 2 + i]);
sys/dev/cxgbe/crypto/t4_keyctx.c
391
*--dkey = htobe32(ek[4 * 12 + i]);
sys/dev/cxgbe/crypto/t4_keyctx.c
395
*--dkey = htobe32(ek[4 * 13 + i]);
sys/dev/cxgbe/crypto/t4_keyctx.c
397
*--dkey = htobe32(ek[4 * 14 + i]);
sys/dev/cxgbe/crypto/t4_keyctx.c
678
kwr->wr_hi = htobe32(V_FW_WR_OP(FW_ULPTX_WR) | F_FW_WR_ATOMIC | flags);
sys/dev/cxgbe/crypto/t4_keyctx.c
679
kwr->wr_mid = htobe32(V_FW_WR_LEN16(DIV_ROUND_UP(TLS_KEY_WR_SZ, 16)) |
sys/dev/cxgbe/crypto/t4_keyctx.c
691
kwr->cmd = htobe32(V_ULPTX_CMD(ULP_TX_MEM_WRITE) |
sys/dev/cxgbe/crypto/t4_keyctx.c
693
kwr->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(TLS_KEY_CONTEXT_SZ >> 5));
sys/dev/cxgbe/crypto/t4_keyctx.c
694
kwr->len16 = htobe32((tid << 8) |
sys/dev/cxgbe/crypto/t4_keyctx.c
696
kwr->kaddr = htobe32(V_ULP_MEMIO_ADDR(keyid >> 5));
sys/dev/cxgbe/crypto/t4_keyctx.c
699
kwr->sc_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM));
sys/dev/cxgbe/crypto/t4_keyctx.c
700
kwr->sc_len = htobe32(TLS_KEY_CONTEXT_SZ);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1062
usgl->cmd_nsge = htobe32(V_ULPTX_CMD(ULP_TX_SC_DSGL) |
sys/dev/cxgbe/crypto/t6_kern_tls.c
1064
usgl->len0 = htobe32(seg->ss_len);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1069
usgl->sge[i / 2].len[i & 1] = htobe32(seg->ss_len);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1073
usgl->sge[i / 2].len[1] = htobe32(0);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1135
wr->op_immdlen = htobe32(V_FW_WR_OP(FW_ETH_TX_PKT_WR) |
sys/dev/cxgbe/crypto/t6_kern_tls.c
1139
wr->equiq_to_len16 = htobe32(ctrl);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1236
wr->op_immdlen = htobe32(V_FW_WR_OP(FW_ETH_TX_PKT_WR) |
sys/dev/cxgbe/crypto/t6_kern_tls.c
1240
wr->equiq_to_len16 = htobe32(ctrl);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1577
wr->op_to_compl = htobe32(V_FW_WR_OP(FW_ULPTX_WR));
sys/dev/cxgbe/crypto/t6_kern_tls.c
1578
wr->flowid_len16 = htobe32(F_FW_ULPTX_WR_DATA |
sys/dev/cxgbe/crypto/t6_kern_tls.c
1625
wr->op_to_compl = htobe32(V_FW_WR_OP(FW_ULPTX_WR));
sys/dev/cxgbe/crypto/t6_kern_tls.c
1626
wr->flowid_len16 = htobe32(F_FW_ULPTX_WR_DATA |
sys/dev/cxgbe/crypto/t6_kern_tls.c
163
OPCODE_TID(cpl) = htobe32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ,
sys/dev/cxgbe/crypto/t6_kern_tls.c
1631
txpkt->cmd_dest = htobe32(V_ULPTX_CMD(ULP_TX_PKT) |
sys/dev/cxgbe/crypto/t6_kern_tls.c
1635
txpkt->len = htobe32(howmany(twr_len - sizeof(*wr), 16));
sys/dev/cxgbe/crypto/t6_kern_tls.c
1639
idata->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM) |
sys/dev/cxgbe/crypto/t6_kern_tls.c
1652
idata->len = htobe32(idata->len);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1671
sec_pdu->pldlen = htobe32(16 + plen -
sys/dev/cxgbe/crypto/t6_kern_tls.c
1676
sec_pdu->ivgen_hdrlen = htobe32(
sys/dev/cxgbe/crypto/t6_kern_tls.c
1704
sec_pdu->pldlen = htobe32(plen);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1715
sec_pdu->op_ivinsrtofst = htobe32(
sys/dev/cxgbe/crypto/t6_kern_tls.c
1719
sec_pdu->aadstart_cipherstop_hi = htobe32(
sys/dev/cxgbe/crypto/t6_kern_tls.c
1724
sec_pdu->cipherstop_lo_authinsert = htobe32(
sys/dev/cxgbe/crypto/t6_kern_tls.c
1740
memrd->cmd_to_len = htobe32(V_ULPTX_CMD(ULP_TX_SC_MEMRD) |
sys/dev/cxgbe/crypto/t6_kern_tls.c
1743
memrd->addr = htobe32(tlsp->tx_key_addr >> 5);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1747
idata->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM) |
sys/dev/cxgbe/crypto/t6_kern_tls.c
1749
idata->len = htobe32(sizeof(struct cpl_tx_data) + imm_len);
sys/dev/cxgbe/crypto/t6_kern_tls.c
176
cpl->opt2 = htobe32(options);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1766
tx_data->len = htobe32(V_TX_DATA_MSS(mss) | V_TX_LENGTH(tlen));
sys/dev/cxgbe/crypto/t6_kern_tls.c
1767
tx_data->rsvd = htobe32(tcp_seqno);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1769
tx_data->len = htobe32(V_TX_DATA_MSS(mss) |
sys/dev/cxgbe/crypto/t6_kern_tls.c
1771
tx_data->rsvd = htobe32(tcp_seqno + m_tls->m_epg_hdrlen + offset);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1773
tx_data->flags = htobe32(F_TX_BYPASS);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1775
tx_data->flags |= htobe32(F_TX_PUSH | F_TX_SHOVE);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1790
*(uint32_t *)(iv + 12) = htobe32(2 +
sys/dev/cxgbe/crypto/t6_kern_tls.c
1810
idata->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_NOOP));
sys/dev/cxgbe/crypto/t6_kern_tls.c
1811
idata->len = htobe32(0);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1881
wr->op_immdlen = htobe32(V_FW_WR_OP(FW_ETH_TX_PKT_WR) |
sys/dev/cxgbe/crypto/t6_kern_tls.c
1885
wr->equiq_to_len16 = htobe32(ctrl);
sys/dev/cxgbe/crypto/t6_kern_tls.c
194
OPCODE_TID(cpl) = htobe32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ6,
sys/dev/cxgbe/crypto/t6_kern_tls.c
211
cpl->opt2 = htobe32(options);
sys/dev/cxgbe/crypto/t6_kern_tls.c
285
txpkt->cmd_dest = htobe32(V_ULPTX_CMD(ULP_TX_PKT) |
sys/dev/cxgbe/crypto/t6_kern_tls.c
289
txpkt->len = htobe32(howmany(LEN__SET_TCB_FIELD_ULP, 16));
sys/dev/cxgbe/crypto/t6_kern_tls.c
293
idata->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM));
sys/dev/cxgbe/crypto/t6_kern_tls.c
294
idata->len = htobe32(sizeof(*cpl));
sys/dev/cxgbe/crypto/t6_kern_tls.c
298
OPCODE_TID(cpl) = htobe32(MK_OPCODE_TID(CPL_SET_TCB_FIELD, tlsp->tid));
sys/dev/cxgbe/crypto/t6_kern_tls.c
306
idata->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_NOOP));
sys/dev/cxgbe/crypto/t6_kern_tls.c
307
idata->len = htobe32(0);
sys/dev/cxgbe/crypto/t6_kern_tls.c
333
wr->op_to_compl = htobe32(V_FW_WR_OP(FW_ULPTX_WR));
sys/dev/cxgbe/crypto/t6_kern_tls.c
334
wr->flowid_len16 = htobe32(F_FW_ULPTX_WR_DATA |
sys/dev/cxgbe/crypto/t6_kern_tls.c
529
tlsp->scmd0.seqno_numivs = htobe32(V_SCMD_SEQ_NO_CTRL(3) |
sys/dev/cxgbe/crypto/t6_kern_tls.c
542
tlsp->scmd0.ivgen_hdrlen = htobe32(tlsp->scmd0.ivgen_hdrlen);
sys/dev/cxgbe/crypto/t6_kern_tls.c
562
htobe32(tlsp->scmd0_short.seqno_numivs);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1004
cpl->PldLen = htobe32(V_CPL_TX_TLS_ACK_PLDLEN(32 + 16 + hash_len));
sys/dev/cxgbe/crypto/t7_kern_tls.c
1046
htobe32(F_CPL_T7_RX_PHYS_DSGL_SPLITMODE |
sys/dev/cxgbe/crypto/t7_kern_tls.c
1100
usgl->cmd_nsge = htobe32(V_ULPTX_CMD(ULP_TX_SC_DSGL) |
sys/dev/cxgbe/crypto/t7_kern_tls.c
1102
usgl->len0 = htobe32(seg->ss_len);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1107
usgl->sge[i / 2].len[i & 1] = htobe32(seg->ss_len);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1111
usgl->sge[i / 2].len[1] = htobe32(0);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1175
wr->op_immdlen = htobe32(V_FW_WR_OP(FW_ETH_TX_PKT_WR) |
sys/dev/cxgbe/crypto/t7_kern_tls.c
1179
wr->equiq_to_len16 = htobe32(ctrl);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1548
wr->op_to_compl = htobe32(V_FW_WR_OP(FW_ULPTX_WR));
sys/dev/cxgbe/crypto/t7_kern_tls.c
1549
wr->flowid_len16 = htobe32(F_FW_ULPTX_WR_DATA |
sys/dev/cxgbe/crypto/t7_kern_tls.c
1555
txpkt->cmd_dest = htobe32(V_ULPTX_CMD(ULP_TX_PKT) |
sys/dev/cxgbe/crypto/t7_kern_tls.c
1561
txpkt->len = htobe32(howmany(txpkt_lens[0], 16));
sys/dev/cxgbe/crypto/t7_kern_tls.c
1565
idata->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM) |
sys/dev/cxgbe/crypto/t7_kern_tls.c
1590
idata->len = htobe32(idata->len);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1638
sec_pdu->pldlen = htobe32(aad_stop + AES_BLOCK_LEN + plen +
sys/dev/cxgbe/crypto/t7_kern_tls.c
1654
sec_pdu->ivgen_hdrlen = htobe32(sec_pdu->ivgen_hdrlen |
sys/dev/cxgbe/crypto/t7_kern_tls.c
1674
sec_pdu->pldlen = htobe32(AES_BLOCK_LEN + plen);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1684
sec_pdu->ivgen_hdrlen = htobe32(
sys/dev/cxgbe/crypto/t7_kern_tls.c
1722
sec_pdu->pldlen = htobe32((tlsp->tls13 ? sizeof(uint64_t) : 0) +
sys/dev/cxgbe/crypto/t7_kern_tls.c
1727
sec_pdu->ivgen_hdrlen = htobe32(tlsp->scmd0.ivgen_hdrlen |
sys/dev/cxgbe/crypto/t7_kern_tls.c
1735
sec_pdu->op_ivinsrtofst = htobe32(
sys/dev/cxgbe/crypto/t7_kern_tls.c
1740
sec_pdu->aadstart_cipherstop_hi = htobe32(
sys/dev/cxgbe/crypto/t7_kern_tls.c
1745
sec_pdu->cipherstop_lo_authinsert = htobe32(
sys/dev/cxgbe/crypto/t7_kern_tls.c
1785
memrd->cmd_to_len = htobe32(V_ULPTX_CMD(ULP_TX_SC_MEMRD) |
sys/dev/cxgbe/crypto/t7_kern_tls.c
1788
memrd->addr = htobe32(tlsp->tx_key_addr >> 5);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1792
idata->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM) |
sys/dev/cxgbe/crypto/t7_kern_tls.c
1794
idata->len = htobe32(post_key_context_len);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1920
idata->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_NOOP) |
sys/dev/cxgbe/crypto/t7_kern_tls.c
1922
idata->len = htobe32(0);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1948
txpkt->cmd_dest = htobe32(V_ULPTX_CMD(ULP_TX_PKT) |
sys/dev/cxgbe/crypto/t7_kern_tls.c
1953
txpkt->len = htobe32(howmany(txpkt_lens[1], 16));
sys/dev/cxgbe/crypto/t7_kern_tls.c
1957
idata->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM) |
sys/dev/cxgbe/crypto/t7_kern_tls.c
1963
idata->len = htobe32(idata->len);
sys/dev/cxgbe/crypto/t7_kern_tls.c
286
tlsp->scmd0.seqno_numivs = htobe32(tlsp->scmd0.seqno_numivs);
sys/dev/cxgbe/crypto/t7_kern_tls.c
311
htobe32(tlsp->scmd0_short.seqno_numivs);
sys/dev/cxgbe/crypto/t7_kern_tls.c
331
htobe32(tlsp->scmd0_partial.seqno_numivs);
sys/dev/cxgbe/crypto/t7_kern_tls.c
982
lso->lso_ctrl = htobe32(ctrl);
sys/dev/cxgbe/crypto/t7_kern_tls.c
985
lso->seqno_offset = htobe32(0);
sys/dev/cxgbe/crypto/t7_kern_tls.c
986
lso->len = htobe32(total_len);
sys/dev/cxgbe/crypto/t7_kern_tls.c
999
cpl->op_to_Rsvd2 = htobe32(V_CPL_TX_TLS_ACK_OPCODE(CPL_TX_TLS_ACK) |
sys/dev/cxgbe/cxgbei/cxgbei.c
751
htobe32(cmp->next_buffer_offset);
sys/dev/cxgbe/cxgbei/cxgbei.c
753
orig_datasn = htobe32(bhsdo->bhsdo_datasn);
sys/dev/cxgbe/cxgbei/cxgbei.c
755
bhsdo->bhsdo_datasn = htobe32(cmp->last_datasn + 1);
sys/dev/cxgbe/cxgbei/cxgbei.c
759
MPASS(htobe32(bhsdo->bhsdo_datasn) ==
sys/dev/cxgbe/cxgbei/cxgbei.c
762
cmp->last_datasn = htobe32(bhsdo->bhsdo_datasn);
sys/dev/cxgbe/cxgbei/icl_cxgbei.c
1358
*ittp = htobe32(itt);
sys/dev/cxgbe/cxgbei/icl_cxgbei.c
1437
*ittp = htobe32(prsv->prsv_tag);
sys/dev/cxgbe/cxgbei/icl_cxgbei.c
1540
*tttp = htobe32(ttt);
sys/dev/cxgbe/cxgbei/icl_cxgbei.c
1616
*tttp = htobe32(prsv->prsv_tag);
sys/dev/cxgbe/cxgbei/icl_cxgbei.c
1639
*tttp = htobe32(prsv->prsv_tag);
sys/dev/cxgbe/nvmf/nvmf_che.c
717
cb->tpte.valid_to_pdid = htobe32(F_FW_RI_TPTE_VALID |
sys/dev/cxgbe/nvmf/nvmf_che.c
722
cb->tpte.locread_to_qpid = htobe32(
sys/dev/cxgbe/nvmf/nvmf_che.c
729
htobe32(V_FW_RI_TPTE_PBLADDR(PBL_OFF(qp, cb->pbl_addr) >> 3));
sys/dev/cxgbe/nvmf/nvmf_che.c
730
cb->tpte.len_lo = htobe32(cb->data_len);
sys/dev/cxgbe/nvmf/nvmf_che.c
732
cb->tpte.va_lo_fbo = htobe32(che_fbo(cb));
sys/dev/cxgbe/nvmf/nvmf_che.c
734
cb->tpte.len_hi = htobe32(cb->data_offset);
sys/dev/cxgbe/osdep.h
108
#define cpu_to_be32(x) htobe32(x)
sys/dev/cxgbe/t4_filter.c
1734
OPCODE_TID(cpl) = htobe32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ6,
sys/dev/cxgbe/t4_filter.c
1751
cpl6->opt2 = htobe32(F_RSS_QUEUE_VALID | V_RSS_QUEUE(f->fs.iq) |
sys/dev/cxgbe/t4_filter.c
1778
OPCODE_TID(cpl) = htobe32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ,
sys/dev/cxgbe/t4_filter.c
1795
cpl6->opt2 = htobe32(F_RSS_QUEUE_VALID | V_RSS_QUEUE(f->fs.iq) |
sys/dev/cxgbe/t4_filter.c
1926
ulpmc->len = htobe32(howmany(LEN__ABORT_REQ_ULP, 16));
sys/dev/cxgbe/t4_filter.c
1929
ulpsc->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM));
sys/dev/cxgbe/t4_filter.c
1930
ulpsc->len = htobe32(sizeof(*req));
sys/dev/cxgbe/t4_filter.c
1933
OPCODE_TID(req) = htobe32(MK_OPCODE_TID(CPL_ABORT_REQ, tid));
sys/dev/cxgbe/t4_filter.c
1940
ulpsc->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_NOOP));
sys/dev/cxgbe/t4_filter.c
1941
ulpsc->len = htobe32(0);
sys/dev/cxgbe/t4_filter.c
1958
ulpmc->len = htobe32(howmany(LEN__ABORT_RPL_ULP, 16));
sys/dev/cxgbe/t4_filter.c
1961
ulpsc->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM));
sys/dev/cxgbe/t4_filter.c
1962
ulpsc->len = htobe32(sizeof(*rpl));
sys/dev/cxgbe/t4_filter.c
1965
OPCODE_TID(rpl) = htobe32(MK_OPCODE_TID(CPL_ABORT_RPL, tid));
sys/dev/cxgbe/t4_filter.c
1972
ulpsc->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_NOOP));
sys/dev/cxgbe/t4_filter.c
1973
ulpsc->len = htobe32(0);
sys/dev/cxgbe/t4_filter.c
845
fwr->op_pkd = htobe32(V_FW_WR_OP(FW_FILTER2_WR));
sys/dev/cxgbe/t4_filter.c
847
fwr->op_pkd = htobe32(V_FW_WR_OP(FW_FILTER_WR));
sys/dev/cxgbe/t4_filter.c
848
fwr->len16_pkd = htobe32(FW_LEN16(*fwr));
sys/dev/cxgbe/t4_filter.c
850
htobe32(V_FW_FILTER_WR_TID(f->tid) |
sys/dev/cxgbe/t4_filter.c
855
htobe32(V_FW_FILTER_WR_RPTTID(f->fs.rpttid) |
sys/dev/cxgbe/t4_filter.c
884
htobe32(V_FW_FILTER_WR_MACI(f->fs.val.macidx) |
sys/dev/cxgbe/t4_filter.c
922
fwr->natseqcheck = htobe32(f->fs.nat_seq_chk);
sys/dev/cxgbe/t4_main.c
10896
htobe32(V_FW_CMD_OP(FW_LDST_CMD) |
sys/dev/cxgbe/t4_main.c
10899
ldst_cmd.cycles_to_len16 = htobe32(FW_LEN16(ldst_cmd));
sys/dev/cxgbe/t4_main.c
11070
htobe32(V_FW_CMD_OP(FW_LDST_CMD) |
sys/dev/cxgbe/t4_main.c
11073
ldst_cmd.cycles_to_len16 = htobe32(FW_LEN16(ldst_cmd));
sys/dev/cxgbe/t4_main.c
11270
htobe32(V_FW_CMD_OP(FW_LDST_CMD) |
sys/dev/cxgbe/t4_main.c
11273
ldst_cmd.cycles_to_len16 = htobe32(FW_LEN16(ldst_cmd));
sys/dev/cxgbe/t4_main.c
4857
.fw_ver = htobe32(FW_VERSION(T4)),
sys/dev/cxgbe/t4_main.c
4873
.fw_ver = htobe32(FW_VERSION(T5)),
sys/dev/cxgbe/t4_main.c
4889
.fw_ver = htobe32(FW_VERSION(T6)),
sys/dev/cxgbe/t4_main.c
4905
.fw_ver = htobe32(FW_VERSION(T7)),
sys/dev/cxgbe/t4_main.c
5354
caps.op_to_write = htobe32(V_FW_CMD_OP(FW_CAPS_CONFIG_CMD) |
sys/dev/cxgbe/t4_main.c
5359
caps.cfvalid_to_len16 = htobe32(FW_LEN16(caps));
sys/dev/cxgbe/t4_main.c
5363
caps.cfvalid_to_len16 = htobe32(F_FW_CAPS_CONFIG_CMD_CFVALID |
sys/dev/cxgbe/t4_main.c
5381
caps.cfvalid_to_len16 = htobe32(F_FW_CAPS_CONFIG_CMD_CFVALID |
sys/dev/cxgbe/t4_main.c
5443
caps.op_to_write = htobe32(V_FW_CMD_OP(FW_CAPS_CONFIG_CMD) |
sys/dev/cxgbe/t4_main.c
5445
caps.cfvalid_to_len16 = htobe32(FW_LEN16(caps));
sys/dev/cxgbe/t4_main.c
5812
caps.op_to_write = htobe32(V_FW_CMD_OP(FW_CAPS_CONFIG_CMD) |
sys/dev/cxgbe/t4_main.c
5814
caps.cfvalid_to_len16 = htobe32(FW_LEN16(caps));
sys/dev/cxgbe/t4_main.c
7060
rss_key[i] = htobe32(raw_rss_key[nitems(rss_key) - 1 - i]);
sys/dev/cxgbe/t4_main.c
8780
ctrl0 = htobe32(V_TXPKT_OPCODE(CPL_TX_PKT_XT) |
sys/dev/cxgbe/t4_main.c
8787
ctrl0 = htobe32(V_TXPKT_OPCODE(CPL_TX_PKT_XT) |
sys/dev/cxgbe/t4_netmap.c
1008
usgl->cmd_nsge = htobe32(V_ULPTX_CMD(ULP_TX_SC_DSGL) |
sys/dev/cxgbe/t4_netmap.c
1010
usgl->len0 = htobe32(slot->len);
sys/dev/cxgbe/t4_netmap.c
1037
wr->equiq_to_len16 |= htobe32(F_FW_WR_EQUEQ |
sys/dev/cxgbe/t4_netmap.c
1042
wr->equiq_to_len16 |= htobe32(F_FW_WR_EQUEQ);
sys/dev/cxgbe/t4_netmap.c
1050
wr->equiq_to_len16 |= htobe32(F_FW_WR_EQUEQ);
sys/dev/cxgbe/t4_netmap.c
1087
MPASS(wr->op_pkd == htobe32(V_FW_WR_OP(FW_ETH_TX_PKTS_WR)) ||
sys/dev/cxgbe/t4_netmap.c
1088
wr->op_pkd == htobe32(V_FW_WR_OP(FW_ETH_TX_PKTS2_WR)));
sys/dev/cxgbe/t4_netmap.c
234
nm_txq->cpl_ctrl0 = htobe32(V_TXPKT_OPCODE(CPL_TX_PKT) |
sys/dev/cxgbe/t4_netmap.c
238
nm_txq->op_pkd = htobe32(V_FW_WR_OP(FW_ETH_TX_PKTS2_WR));
sys/dev/cxgbe/t4_netmap.c
240
nm_txq->op_pkd = htobe32(V_FW_WR_OP(FW_ETH_TX_PKTS_WR));
sys/dev/cxgbe/t4_netmap.c
296
c.op_to_vfn = htobe32(V_FW_CMD_OP(FW_IQ_CMD) | F_FW_CMD_REQUEST |
sys/dev/cxgbe/t4_netmap.c
299
c.alloc_to_len16 = htobe32(F_FW_IQ_CMD_IQSTART | FW_LEN16(c));
sys/dev/cxgbe/t4_netmap.c
301
c.alloc_to_len16 |= htobe32(F_FW_IQ_CMD_ALLOC);
sys/dev/cxgbe/t4_netmap.c
312
c.type_to_iqandstindex = htobe32(v |
sys/dev/cxgbe/t4_netmap.c
327
c.iqns_to_fl0congen = htobe32(F_FW_IQ_CMD_IQFLINTCONGEN |
sys/dev/cxgbe/t4_netmap.c
332
htobe32(V_FW_IQ_CMD_FL0HOSTFCMODE(X_HOSTFCMODE_NONE) |
sys/dev/cxgbe/t4_netmap.c
423
c.op_to_vfn = htobe32(V_FW_CMD_OP(FW_EQ_ETH_CMD) | F_FW_CMD_REQUEST |
sys/dev/cxgbe/t4_netmap.c
426
c.alloc_to_len16 = htobe32(F_FW_EQ_ETH_CMD_EQSTART | FW_LEN16(c));
sys/dev/cxgbe/t4_netmap.c
431
c.alloc_to_len16 |= htobe32(F_FW_EQ_ETH_CMD_ALLOC |
sys/dev/cxgbe/t4_netmap.c
434
c.eqid_pkd = htobe32(V_FW_EQ_ETH_CMD_EQID(nm_txq->cntxt_id));
sys/dev/cxgbe/t4_netmap.c
435
c.autoequiqe_to_viid = htobe32(F_FW_EQ_ETH_CMD_AUTOEQUIQE |
sys/dev/cxgbe/t4_netmap.c
438
htobe32(V_FW_EQ_ETH_CMD_HOSTFCMODE(X_HOSTFCMODE_NONE) |
sys/dev/cxgbe/t4_netmap.c
442
htobe32(V_FW_EQ_ETH_CMD_FBMIN(chip_id(sc) <= CHELSIO_T5 ?
sys/dev/cxgbe/t4_netmap.c
990
wr->equiq_to_len16 = htobe32(V_FW_WR_LEN16(npkt_to_len16(n)));
sys/dev/cxgbe/t4_sched.c
841
cst->ctrl0 = htobe32(V_TXPKT_OPCODE(CPL_TX_PKT_XT) |
sys/dev/cxgbe/t4_sge.c
2019
int ipv6 = !!(cpl->l2info & htobe32(F_RXF_IP6));
sys/dev/cxgbe/t4_sge.c
2023
MPASS((cpl->l2info & htobe32(F_RXF_IP)) ^
sys/dev/cxgbe/t4_sge.c
2024
(cpl->l2info & htobe32(F_RXF_IP6)));
sys/dev/cxgbe/t4_sge.c
2246
dst->equiq_to_len16 |= htobe32(F_FW_WR_EQUIQ |
sys/dev/cxgbe/t4_sge.c
3070
dst->equiq_to_len16 |= htobe32(F_FW_WR_EQUIQ |
sys/dev/cxgbe/t4_sge.c
3151
wr->equiq_to_len16 |= htobe32(F_FW_WR_EQUEQ | F_FW_WR_EQUIQ);
sys/dev/cxgbe/t4_sge.c
3154
wr->equiq_to_len16 |= htobe32(F_FW_WR_EQUEQ);
sys/dev/cxgbe/t4_sge.c
3601
c.op_to_vfn = htobe32(V_FW_CMD_OP(FW_IQ_CMD) | F_FW_CMD_REQUEST |
sys/dev/cxgbe/t4_sge.c
3605
c.alloc_to_len16 = htobe32(F_FW_IQ_CMD_ALLOC | F_FW_IQ_CMD_IQSTART |
sys/dev/cxgbe/t4_sge.c
3623
c.type_to_iqandstindex = htobe32(v |
sys/dev/cxgbe/t4_sge.c
3633
c.iqns_to_fl0congen = htobe32(V_FW_IQ_CMD_IQTYPE(iq->qtype));
sys/dev/cxgbe/t4_sge.c
3642
c.iqns_to_fl0congen |= htobe32(F_FW_IQ_CMD_IQFLINTCONGEN);
sys/dev/cxgbe/t4_sge.c
3648
htobe32(V_FW_IQ_CMD_FL0HOSTFCMODE(X_HOSTFCMODE_NONE) |
sys/dev/cxgbe/t4_sge.c
3655
htobe32(V_FW_IQ_CMD_FL0CNGCHMAP(cong_map) |
sys/dev/cxgbe/t4_sge.c
4381
c.op_to_vfn = htobe32(V_FW_CMD_OP(FW_EQ_CTRL_CMD) | F_FW_CMD_REQUEST |
sys/dev/cxgbe/t4_sge.c
4384
c.alloc_to_len16 = htobe32(F_FW_EQ_CTRL_CMD_ALLOC |
sys/dev/cxgbe/t4_sge.c
4388
c.physeqid_pkd = htobe32(0);
sys/dev/cxgbe/t4_sge.c
4390
htobe32(V_FW_EQ_CTRL_CMD_HOSTFCMODE(X_HOSTFCMODE_STATUS_PAGE) |
sys/dev/cxgbe/t4_sge.c
4394
htobe32(V_FW_EQ_CTRL_CMD_FBMIN(chip_id(sc) <= CHELSIO_T5 ?
sys/dev/cxgbe/t4_sge.c
4428
c.op_to_vfn = htobe32(V_FW_CMD_OP(FW_EQ_ETH_CMD) | F_FW_CMD_REQUEST |
sys/dev/cxgbe/t4_sge.c
4431
c.alloc_to_len16 = htobe32(F_FW_EQ_ETH_CMD_ALLOC |
sys/dev/cxgbe/t4_sge.c
4434
c.autoequiqe_to_viid = htobe32(F_FW_EQ_ETH_CMD_AUTOEQUIQE |
sys/dev/cxgbe/t4_sge.c
4437
htobe32(V_FW_EQ_ETH_CMD_HOSTFCMODE(X_HOSTFCMODE_NONE) |
sys/dev/cxgbe/t4_sge.c
4441
htobe32(V_FW_EQ_ETH_CMD_FBMIN(chip_id(sc) <= CHELSIO_T5 ?
sys/dev/cxgbe/t4_sge.c
4506
htobe32(V_FW_EQ_OFLD_CMD_FBMIN(chip_id(sc) <= CHELSIO_T5 ?
sys/dev/cxgbe/t4_sge.c
4820
txq->cpl_ctrl0 = htobe32(V_TXPKT_OPCODE(CPL_TX_PKT_XT) |
sys/dev/cxgbe/t4_sge.c
4823
txq->cpl_ctrl0 = htobe32(V_TXPKT_OPCODE(CPL_TX_PKT_XT) |
sys/dev/cxgbe/t4_sge.c
5557
lso->lso_ctrl = htobe32(ctrl);
sys/dev/cxgbe/t4_sge.c
5560
lso->seqno_offset = htobe32(0);
sys/dev/cxgbe/t4_sge.c
5561
lso->len = htobe32(m0->m_pkthdr.len);
sys/dev/cxgbe/t4_sge.c
5595
tnl_lso->op_to_IpIdSplitOut = htobe32(ctrl);
sys/dev/cxgbe/t4_sge.c
5614
tnl_lso->Flow_to_TcpHdrLen = htobe32(ctrl);
sys/dev/cxgbe/t4_sge.c
5620
htobe32(V_CPL_TX_TNL_LSO_SIZE(m0->m_pkthdr.len));
sys/dev/cxgbe/t4_sge.c
5659
wr->op_immdlen = htobe32(V_FW_WR_OP(FW_ETH_TX_PKT_VM_WR) |
sys/dev/cxgbe/t4_sge.c
5663
wr->equiq_to_len16 = htobe32(ctrl);
sys/dev/cxgbe/t4_sge.c
5805
wr->op_immdlen = htobe32(V_FW_WR_OP(FW_ETH_TX_PKT_WR) |
sys/dev/cxgbe/t4_sge.c
5809
wr->equiq_to_len16 = htobe32(ctrl);
sys/dev/cxgbe/t4_sge.c
6049
wr->op_pkd = htobe32(V_FW_WR_OP(FW_ETH_TX_PKTS_WR));
sys/dev/cxgbe/t4_sge.c
6050
wr->equiq_to_len16 = htobe32(V_FW_WR_LEN16(txp->len16));
sys/dev/cxgbe/t4_sge.c
6073
ulpmc->cmd_dest = htobe32(V_ULPTX_CMD(ULP_TX_PKT) |
sys/dev/cxgbe/t4_sge.c
6075
ulpmc->len = htobe32(txpkts0_len16(mbuf_nsegs(m)));
sys/dev/cxgbe/t4_sge.c
6079
ulpsc->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM) |
sys/dev/cxgbe/t4_sge.c
6081
ulpsc->len = htobe32(sizeof(struct cpl_tx_pkt_core));
sys/dev/cxgbe/t4_sge.c
6162
wr->op_pkd = htobe32(V_FW_WR_OP(FW_ETH_TX_PKTS_VM_WR));
sys/dev/cxgbe/t4_sge.c
6163
wr->equiq_to_len16 = htobe32(V_FW_WR_LEN16(txp->len16));
sys/dev/cxgbe/t4_sge.c
6258
usgl->cmd_nsge = htobe32(V_ULPTX_CMD(ULP_TX_SC_DSGL) |
sys/dev/cxgbe/t4_sge.c
6260
usgl->len0 = htobe32(seg->ss_len);
sys/dev/cxgbe/t4_sge.c
6269
usgl->sge[i / 2].len[i & 1] = htobe32(seg->ss_len);
sys/dev/cxgbe/t4_sge.c
6273
usgl->sge[i / 2].len[1] = htobe32(0);
sys/dev/cxgbe/t4_sge.c
6764
flowc->op_to_nparams = htobe32(V_FW_WR_OP(FW_FLOWC_WR) |
sys/dev/cxgbe/t4_sge.c
6769
flowc->mnemval[0].val = htobe32(pfvf);
sys/dev/cxgbe/t4_sge.c
6772
flowc->mnemval[1].val = htobe32(pi->hw_port);
sys/dev/cxgbe/t4_sge.c
6774
flowc->mnemval[2].val = htobe32(pi->hw_port);
sys/dev/cxgbe/t4_sge.c
6776
flowc->mnemval[3].val = htobe32(cst->iqid);
sys/dev/cxgbe/t4_sge.c
6778
flowc->mnemval[4].val = htobe32(FW_FLOWC_MNEM_EOSTATE_ESTABLISHED);
sys/dev/cxgbe/t4_sge.c
6780
flowc->mnemval[5].val = htobe32(cst->schedcl);
sys/dev/cxgbe/t4_sge.c
6808
flowc->op_to_nparams = htobe32(V_FW_WR_OP(FW_FLOWC_WR) |
sys/dev/cxgbe/t4_sge.c
6810
flowc->flowid_len16 = htobe32(V_FW_WR_LEN16(ETID_FLUSH_LEN16) |
sys/dev/cxgbe/t4_sge.c
6849
wr->op_immdlen = htobe32(V_FW_WR_OP(FW_ETH_TX_EO_WR) |
sys/dev/cxgbe/t4_sge.c
6851
wr->equiq_to_len16 = htobe32(V_FW_WR_LEN16(len16) |
sys/dev/cxgbe/t4_sge.c
6863
wr->u.udpseg.plen = htobe32(pktlen - immhdrs);
sys/dev/cxgbe/t4_sge.c
6874
wr->u.tcpseg.plen = htobe32(pktlen - immhdrs);
sys/dev/cxgbe/t4_sge.c
6889
lso->lso_ctrl = htobe32(ctrl);
sys/dev/cxgbe/t4_sge.c
6892
lso->seqno_offset = htobe32(0);
sys/dev/cxgbe/t4_sge.c
6893
lso->len = htobe32(pktlen);
sys/dev/cxgbe/t4_sge.c
6932
usgl->cmd_nsge = htobe32(V_ULPTX_CMD(ULP_TX_SC_DSGL) |
sys/dev/cxgbe/t4_sge.c
6959
usgl->len0 = htobe32(segs[0].ss_len);
sys/dev/cxgbe/t4_sge.c
6962
usgl->sge[i / 2].len[i & 1] = htobe32(segs[i + 1].ss_len);
sys/dev/cxgbe/t4_sge.c
6966
usgl->sge[i / 2].len[1] = htobe32(0);
sys/dev/cxgbe/t4_tpt.c
133
ulpmc->wr.wr_hi |= htobe32(F_FW_WR_COMPL);
sys/dev/cxgbe/t4_tpt.c
136
ulpmc->cmd = htobe32(V_ULPTX_CMD(ULP_TX_MEM_WRITE) |
sys/dev/cxgbe/t4_tpt.c
140
ulpmc->dlen = htobe32(V_T7_ULP_MEMIO_DATA_LEN(len >> 5));
sys/dev/cxgbe/t4_tpt.c
142
ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(len >> 5));
sys/dev/cxgbe/t4_tpt.c
143
ulpmc->len16 = htobe32((tid << 8) |
sys/dev/cxgbe/t4_tpt.c
145
ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(addr));
sys/dev/cxgbe/t4_tpt.c
148
sgl->cmd_nsge = htobe32(V_ULPTX_CMD(ULP_TX_SC_DSGL) | V_ULPTX_NSGE(1));
sys/dev/cxgbe/t4_tpt.c
149
sgl->len0 = htobe32(len);
sys/dev/cxgbe/t4_tpt.c
170
ulpmc->wr.wr_hi |= htobe32(F_FW_WR_COMPL);
sys/dev/cxgbe/t4_tpt.c
174
ulpmc->cmd = htobe32(V_ULPTX_CMD(ULP_TX_MEM_WRITE) |
sys/dev/cxgbe/t4_tpt.c
178
ulpmc->dlen = htobe32(V_T7_ULP_MEMIO_DATA_LEN(
sys/dev/cxgbe/t4_tpt.c
181
ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(
sys/dev/cxgbe/t4_tpt.c
183
ulpmc->len16 = htobe32((tid << 8) |
sys/dev/cxgbe/t4_tpt.c
185
ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(addr));
sys/dev/cxgbe/t4_tpt.c
188
ulpsc->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM));
sys/dev/cxgbe/t4_tpt.c
189
ulpsc->len = htobe32(roundup(len, T4_ULPTX_MIN_IO));
sys/dev/cxgbe/tom/t4_connect.c
339
cpl->params = htobe32((uint32_t)ntuple);
sys/dev/cxgbe/tom/t4_connect.c
343
cpl5->iss = htobe32(tp->iss);
sys/dev/cxgbe/tom/t4_connect.c
348
cpl6->iss = htobe32(tp->iss);
sys/dev/cxgbe/tom/t4_connect.c
354
cpl7->iss = htobe32(tp->iss);
sys/dev/cxgbe/tom/t4_connect.c
358
OPCODE_TID(cpl) = htobe32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ6,
sys/dev/cxgbe/tom/t4_connect.c
382
cpl->params = htobe32((uint32_t)ntuple);
sys/dev/cxgbe/tom/t4_connect.c
386
cpl5->iss = htobe32(tp->iss);
sys/dev/cxgbe/tom/t4_connect.c
391
cpl6->iss = htobe32(tp->iss);
sys/dev/cxgbe/tom/t4_connect.c
397
cpl7->iss = htobe32(tp->iss);
sys/dev/cxgbe/tom/t4_connect.c
400
OPCODE_TID(cpl) = htobe32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ,
sys/dev/cxgbe/tom/t4_cpl_io.c
116
flowc->op_to_nparams = htobe32(V_FW_WR_OP(FW_FLOWC_WR) |
sys/dev/cxgbe/tom/t4_cpl_io.c
124
flowc->mnemval[paramidx].val = htobe32(__v); \
sys/dev/cxgbe/tom/t4_cpl_io.c
1510
wrhdr->hi |= htobe32(F_FW_WR_COMPL);
sys/dev/cxgbe/tom/t4_cpl_io.c
211
flowc->op_to_nparams = htobe32(V_FW_WR_OP(FW_FLOWC_WR) |
sys/dev/cxgbe/tom/t4_cpl_io.c
218
flowc->mnemval[0].val = htobe32(0xff);
sys/dev/cxgbe/tom/t4_cpl_io.c
220
flowc->mnemval[0].val = htobe32(tc_idx);
sys/dev/cxgbe/tom/t4_cpl_io.c
277
req->rsvd0 = htobe32(snd_nxt);
sys/dev/cxgbe/tom/t4_cpl_io.c
279
req->rsvd0 = htobe32(tp->snd_nxt);
sys/dev/cxgbe/tom/t4_cpl_io.c
411
req->credit_dack = htobe32(dack | V_RX_CREDITS(credits));
sys/dev/cxgbe/tom/t4_cpl_io.c
553
txwr->op_to_immdlen = htobe32(V_WR_OP(fw_wr_opcode) |
sys/dev/cxgbe/tom/t4_cpl_io.c
555
txwr->flowid_len16 = htobe32(V_FW_WR_FLOWID(toep->tid) |
sys/dev/cxgbe/tom/t4_cpl_io.c
557
txwr->lsodisable_to_flags = htobe32(V_TX_ULP_MODE(ulp_mode(toep)) |
sys/dev/cxgbe/tom/t4_cpl_io.c
559
txwr->plen = htobe32(plen);
sys/dev/cxgbe/tom/t4_cpl_io.c
564
htobe32(F_FW_OFLD_TX_DATA_WR_LSODISABLE);
sys/dev/cxgbe/tom/t4_cpl_io.c
567
htobe32(F_FW_OFLD_TX_DATA_WR_ALIGNPLD |
sys/dev/cxgbe/tom/t4_cpl_io.c
589
usgl->cmd_nsge = htobe32(V_ULPTX_CMD(ULP_TX_SC_DSGL) |
sys/dev/cxgbe/tom/t4_cpl_io.c
604
usgl->len0 = htobe32(segs[j].ss_len);
sys/dev/cxgbe/tom/t4_cpl_io.c
608
htobe32(segs[j].ss_len);
sys/dev/cxgbe/tom/t4_cpl_io.c
619
usgl->sge[i / 2].len[1] = htobe32(0);
sys/dev/cxgbe/tom/t4_cpl_io.c
922
txwr->op_to_immdlen |= htobe32(F_FW_WR_COMPL);
sys/dev/cxgbe/tom/t4_ddp.c
1638
cmd = htobe32(V_ULPTX_CMD(ULP_TX_MEM_WRITE));
sys/dev/cxgbe/tom/t4_ddp.c
1640
cmd |= htobe32(F_ULP_MEMIO_ORDER);
sys/dev/cxgbe/tom/t4_ddp.c
1642
cmd |= htobe32(F_T5_ULP_MEMIO_IMM);
sys/dev/cxgbe/tom/t4_ddp.c
1659
ulpmc->dlen = htobe32(V_T7_ULP_MEMIO_DATA_LEN(chunk >> 5));
sys/dev/cxgbe/tom/t4_ddp.c
1661
ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk >> 5));
sys/dev/cxgbe/tom/t4_ddp.c
1662
ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16));
sys/dev/cxgbe/tom/t4_ddp.c
1663
ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(ppod_addr >> 5));
sys/dev/cxgbe/tom/t4_ddp.c
1666
ulpsc->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM));
sys/dev/cxgbe/tom/t4_ddp.c
1667
ulpsc->len = htobe32(chunk);
sys/dev/cxgbe/tom/t4_ddp.c
1719
cmd = htobe32(V_ULPTX_CMD(ULP_TX_MEM_WRITE));
sys/dev/cxgbe/tom/t4_ddp.c
1721
cmd |= htobe32(F_ULP_MEMIO_ORDER);
sys/dev/cxgbe/tom/t4_ddp.c
1723
cmd |= htobe32(F_T5_ULP_MEMIO_IMM);
sys/dev/cxgbe/tom/t4_ddp.c
1743
ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk / 32));
sys/dev/cxgbe/tom/t4_ddp.c
1744
ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16));
sys/dev/cxgbe/tom/t4_ddp.c
1745
ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(ppod_addr >> 5));
sys/dev/cxgbe/tom/t4_ddp.c
1748
ulpsc->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM));
sys/dev/cxgbe/tom/t4_ddp.c
1749
ulpsc->len = htobe32(chunk);
sys/dev/cxgbe/tom/t4_ddp.c
1826
cmd = htobe32(V_ULPTX_CMD(ULP_TX_MEM_WRITE));
sys/dev/cxgbe/tom/t4_ddp.c
1828
cmd |= htobe32(F_ULP_MEMIO_ORDER);
sys/dev/cxgbe/tom/t4_ddp.c
1830
cmd |= htobe32(F_T5_ULP_MEMIO_IMM);
sys/dev/cxgbe/tom/t4_ddp.c
1849
ulpmc->dlen = htobe32(V_T7_ULP_MEMIO_DATA_LEN(chunk >> 5));
sys/dev/cxgbe/tom/t4_ddp.c
1851
ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk >> 5));
sys/dev/cxgbe/tom/t4_ddp.c
1852
ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16));
sys/dev/cxgbe/tom/t4_ddp.c
1853
ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(ppod_addr >> 5));
sys/dev/cxgbe/tom/t4_ddp.c
1856
ulpsc->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM));
sys/dev/cxgbe/tom/t4_ddp.c
1857
ulpsc->len = htobe32(chunk);
sys/dev/cxgbe/tom/t4_ddp.c
1906
cmd = htobe32(V_ULPTX_CMD(ULP_TX_MEM_WRITE));
sys/dev/cxgbe/tom/t4_ddp.c
1908
cmd |= htobe32(F_ULP_MEMIO_ORDER);
sys/dev/cxgbe/tom/t4_ddp.c
1910
cmd |= htobe32(F_T5_ULP_MEMIO_IMM);
sys/dev/cxgbe/tom/t4_ddp.c
1932
ulpmc->dlen = htobe32(V_T7_ULP_MEMIO_DATA_LEN(chunk >> 5));
sys/dev/cxgbe/tom/t4_ddp.c
1934
ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk >> 5));
sys/dev/cxgbe/tom/t4_ddp.c
1935
ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16));
sys/dev/cxgbe/tom/t4_ddp.c
1936
ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(ppod_addr >> 5));
sys/dev/cxgbe/tom/t4_ddp.c
1939
ulpsc->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM));
sys/dev/cxgbe/tom/t4_ddp.c
1940
ulpsc->len = htobe32(chunk);
sys/dev/cxgbe/tom/t4_ddp.c
2001
cmd = htobe32(V_ULPTX_CMD(ULP_TX_MEM_WRITE));
sys/dev/cxgbe/tom/t4_ddp.c
2003
cmd |= htobe32(F_ULP_MEMIO_ORDER);
sys/dev/cxgbe/tom/t4_ddp.c
2005
cmd |= htobe32(F_T5_ULP_MEMIO_IMM);
sys/dev/cxgbe/tom/t4_ddp.c
2026
ulpmc->dlen = htobe32(V_T7_ULP_MEMIO_DATA_LEN(chunk >> 5));
sys/dev/cxgbe/tom/t4_ddp.c
2028
ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk >> 5));
sys/dev/cxgbe/tom/t4_ddp.c
2029
ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16));
sys/dev/cxgbe/tom/t4_ddp.c
2030
ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(ppod_addr >> 5));
sys/dev/cxgbe/tom/t4_ddp.c
2033
ulpsc->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM));
sys/dev/cxgbe/tom/t4_ddp.c
2034
ulpsc->len = htobe32(chunk);
sys/dev/cxgbe/tom/t4_ddp.c
555
ulpmc->len = htobe32(howmany(LEN__RX_DATA_ACK_ULP, 16));
sys/dev/cxgbe/tom/t4_ddp.c
558
ulpsc->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM));
sys/dev/cxgbe/tom/t4_ddp.c
559
ulpsc->len = htobe32(sizeof(*req));
sys/dev/cxgbe/tom/t4_ddp.c
562
OPCODE_TID(req) = htobe32(MK_OPCODE_TID(CPL_RX_DATA_ACK, toep->tid));
sys/dev/cxgbe/tom/t4_ddp.c
563
req->credit_dack = htobe32(F_RX_MODULATE_RX);
sys/dev/cxgbe/tom/t4_ddp.c
567
ulpsc->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_NOOP));
sys/dev/cxgbe/tom/t4_ddp.c
568
ulpsc->len = htobe32(0);
sys/dev/cxgbe/tom/t4_listen.c
1298
rpl5->iss = htobe32(synqe->iss);
sys/dev/cxgbe/tom/t4_listen.c
505
flowc->op_to_nparams = htobe32(V_FW_WR_OP(FW_FLOWC_WR) |
sys/dev/cxgbe/tom/t4_listen.c
510
flowc->mnemval[0].val = htobe32(pfvf);
sys/dev/cxgbe/tom/t4_listen.c
513
flowc->mnemval[1].val = htobe32(pi->hw_port);
sys/dev/cxgbe/tom/t4_listen.c
515
flowc->mnemval[2].val = htobe32(pi->hw_port);
sys/dev/cxgbe/tom/t4_listen.c
517
flowc->mnemval[3].val = htobe32(ofld_rxq->iq.abs_id);
sys/dev/cxgbe/tom/t4_listen.c
519
flowc->mnemval[4].val = htobe32(512);
sys/dev/cxgbe/tom/t4_listen.c
521
flowc->mnemval[5].val = htobe32(512);
sys/dev/cxgbe/tom/t4_listen.c
578
OPCODE_TID(req) = htobe32(MK_OPCODE_TID(CPL_PASS_OPEN_REQ, lctx->stid));
sys/dev/cxgbe/tom/t4_listen.c
606
OPCODE_TID(req) = htobe32(MK_OPCODE_TID(CPL_PASS_OPEN_REQ6, lctx->stid));
sys/dev/cxgbe/tom/t4_tls.c
373
txwr->op_to_immdlen = htobe32(V_WR_OP(FW_TLSTX_DATA_WR) |
sys/dev/cxgbe/tom/t4_tls.c
376
txwr->flowid_len16 = htobe32(V_FW_TLSTX_DATA_WR_FLOWID(toep->tid) |
sys/dev/cxgbe/tom/t4_tls.c
378
txwr->plen = htobe32(len);
sys/dev/cxgbe/tom/t4_tls.c
379
txwr->lsodisable_to_flags = htobe32(V_TX_ULP_MODE(ULP_MODE_TLS) |
sys/dev/cxgbe/tom/t4_tls.c
381
txwr->ctxloc_to_exp = htobe32(V_FW_TLSTX_DATA_WR_NUMIVS(num_ivs) |
sys/dev/cxgbe/tom/t4_tls.c
405
cpl->op_to_seg_len = htobe32(V_CPL_TX_TLS_SFO_OPCODE(CPL_TX_TLS_SFO) |
sys/dev/cxgbe/tom/t4_tls.c
408
cpl->pld_len = htobe32(plen);
sys/dev/cxgbe/tom/t4_tls.c
410
cpl->type_protover = htobe32(V_CPL_TX_TLS_SFO_TYPE(rec_type));
sys/dev/cxgbe/tom/t4_tls.c
411
cpl->seqno_numivs = htobe32(tls_ofld->scmd0.seqno_numivs |
sys/dev/cxgbe/tom/t4_tls.c
413
cpl->ivgen_hdrlen = htobe32(tls_ofld->scmd0.ivgen_hdrlen);
sys/dev/cxgbe/tom/t4_tls.c
444
usgl->cmd_nsge = htobe32(V_ULPTX_CMD(ULP_TX_SC_DSGL) |
sys/dev/cxgbe/tom/t4_tls.c
458
usgl->len0 = htobe32(len);
sys/dev/cxgbe/tom/t4_tls.c
467
usgl->sge[j / 2].len[j & 1] = htobe32(len);
sys/dev/cxgbe/tom/t4_tls.c
482
usgl->sge[j / 2].len[j & 1] = htobe32(len);
sys/dev/cxgbe/tom/t4_tls.c
485
usgl->sge[j / 2].len[1] = htobe32(0);
sys/dev/cxgbe/tom/t4_tls.c
697
idata->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_NOOP));
sys/dev/cxgbe/tom/t4_tls.c
698
idata->len = htobe32(0);
sys/dev/cxgbe/tom/t4_tls.c
700
memrd->cmd_to_len = htobe32(V_ULPTX_CMD(ULP_TX_SC_MEMRD) |
sys/dev/cxgbe/tom/t4_tls.c
703
memrd->addr = htobe32(toep->tls.tx_key_addr >> 5);
sys/dev/cxgbe/tom/t4_tom.c
1213
return (htobe32(opt2));
sys/dev/cxgbe/tom/t4_tom.c
2341
flowc->op_to_nparams = htobe32(V_FW_WR_OP(FW_FLOWC_WR) |
sys/dev/cxgbe/tom/t4_tom.c
2347
flowc->mnemval[0].val = htobe32(maxlen);
sys/dev/cxgbe/tom/t4_tom.c
496
OPCODE_TID(cpl) = htobe32(MK_OPCODE_TID(CPL_GET_TCB, tid));
sys/dev/cxgbe/tom/t4_tom.c
884
flowc->op_to_nparams = htobe32(V_FW_WR_OP(FW_FLOWC_WR) |
sys/dev/cxgbe/tom/t4_tom.c
889
flowc->mnemval[0].val = htobe32(toep->params.emss);
sys/dev/dpaa2/memac_mdio_common.c
167
v = htobe32(val);
sys/dev/drm2/drm_os_freebsd.h
51
#define cpu_to_be32(x) htobe32(x)
sys/dev/eqos/if_eqos.c
954
maclo = htobe32(RD4(sc, GMAC_MAC_ADDRESS0_LOW));
sys/dev/eqos/if_eqos_fdt.c
268
htobe32((mac & 0xffffff00) | 0x22));
sys/dev/firewire/sbp_targ.c
747
sbp_cmd_status->info = htobe32(info_trunc);
sys/dev/firewire/sbp_targ.c
778
sbp_cmd_status->cdb = htobe32(cmdspec_trunc);
sys/dev/gve/gve_adminq.c
225
cmd.opcode = htobe32(GVE_ADMINQ_DESTROY_TX_QUEUE);
sys/dev/gve/gve_adminq.c
226
cmd.destroy_tx_queue.queue_id = htobe32(id);
sys/dev/gve/gve_adminq.c
236
cmd.opcode = htobe32(GVE_ADMINQ_DESTROY_RX_QUEUE);
sys/dev/gve/gve_adminq.c
237
cmd.destroy_rx_queue.queue_id = htobe32(id);
sys/dev/gve/gve_adminq.c
293
cmd.opcode = htobe32(GVE_ADMINQ_CREATE_RX_QUEUE);
sys/dev/gve/gve_adminq.c
295
.queue_id = htobe32(queue_index),
sys/dev/gve/gve_adminq.c
296
.ntfy_id = htobe32(rx->com.ntfy_id),
sys/dev/gve/gve_adminq.c
307
htobe32(queue_index);
sys/dev/gve/gve_adminq.c
309
htobe32((rx->com.qpl)->id);
sys/dev/gve/gve_adminq.c
314
htobe32(GVE_RAW_ADDRESSING_QPL_ID);
sys/dev/gve/gve_adminq.c
364
cmd.opcode = htobe32(GVE_ADMINQ_CREATE_TX_QUEUE);
sys/dev/gve/gve_adminq.c
366
.queue_id = htobe32(queue_index),
sys/dev/gve/gve_adminq.c
369
.ntfy_id = htobe32(tx->com.ntfy_id),
sys/dev/gve/gve_adminq.c
375
htobe32((tx->com.qpl)->id);
sys/dev/gve/gve_adminq.c
378
htobe32(GVE_RAW_ADDRESSING_QPL_ID);
sys/dev/gve/gve_adminq.c
415
cmd.opcode = htobe32(GVE_ADMINQ_SET_DRIVER_PARAMETER);
sys/dev/gve/gve_adminq.c
417
.parameter_type = htobe32(GVE_SET_PARAM_MTU),
sys/dev/gve/gve_adminq.c
471
aq_cmd.opcode = htobe32(GVE_ADMINQ_DESCRIBE_DEVICE);
sys/dev/gve/gve_adminq.c
474
aq_cmd.describe_device.device_descriptor_version = htobe32(
sys/dev/gve/gve_adminq.c
476
aq_cmd.describe_device.available_length = htobe32(ADMINQ_SIZE);
sys/dev/gve/gve_adminq.c
581
cmd.opcode = htobe32(GVE_ADMINQ_REGISTER_PAGE_LIST);
sys/dev/gve/gve_adminq.c
583
.page_list_id = htobe32(qpl->id),
sys/dev/gve/gve_adminq.c
584
.num_pages = htobe32(num_entries),
sys/dev/gve/gve_adminq.c
599
cmd.opcode = htobe32(GVE_ADMINQ_UNREGISTER_PAGE_LIST);
sys/dev/gve/gve_adminq.c
601
.page_list_id = htobe32(page_list_id),
sys/dev/gve/gve_adminq.c
618
aq_cmd.opcode = htobe32(GVE_ADMINQ_CONFIGURE_DEVICE_RESOURCES);
sys/dev/gve/gve_adminq.c
623
.num_counters = htobe32(priv->num_event_counters),
sys/dev/gve/gve_adminq.c
624
.num_irq_dbs = htobe32(priv->num_queues),
sys/dev/gve/gve_adminq.c
625
.irq_db_stride = htobe32(sizeof(struct gve_irq_db)),
sys/dev/gve/gve_adminq.c
626
.ntfy_blk_msix_base_idx = htobe32(GVE_NTFY_BLK_BASE_MSIX_IDX),
sys/dev/gve/gve_adminq.c
638
aq_cmd.opcode = htobe32(GVE_ADMINQ_DECONFIGURE_DEVICE_RESOURCES);
sys/dev/gve/gve_adminq.c
649
aq_cmd.opcode = htobe32(GVE_ADMINQ_VERIFY_DRIVER_COMPATIBILITY);
sys/dev/gve/gve_adminq.c
673
aq_cmd.opcode = htobe32(GVE_ADMINQ_GET_PTYPE_MAP);
sys/dev/gve/gve_main.c
76
.os_version_major = htobe32(FBSD_VERSION_MAJOR),
sys/dev/gve/gve_main.c
77
.os_version_minor = htobe32(FBSD_VERSION_MINOR),
sys/dev/gve/gve_main.c
78
.os_version_sub = htobe32(FBSD_VERSION_PATCH),
sys/dev/gve/gve_tx.c
488
mtd_desc->path_hash = htobe32(mbuf->m_pkthdr.flowid);
sys/dev/gve/gve_utils.c
43
bus_write_4(priv->reg_bar, offset, htobe32(val));
sys/dev/gve/gve_utils.c
49
bus_write_4(priv->db_bar, offset, htobe32(val));
sys/dev/ice/ice_osdep.h
320
#define CPU_TO_BE32 htobe32
sys/dev/ixgbe/ixgbe_osdep.h
141
#define IXGBE_CPU_TO_BE32 htobe32
sys/dev/liquidio/base/lio_mem_ops.c
272
__be32 t = htobe32(val);
sys/dev/liquidio/lio_core.c
282
hashval = htobe32(*(uint32_t *)
sys/dev/liquidio/lio_core.c
287
htobe32(*(((uint32_t *)
sys/dev/liquidio/lio_core.c
292
hashval = htobe32(*(uint32_t *)
sys/dev/liquidio/lio_core.c
297
htobe32(*(((uint32_t *)
sys/dev/mpt/mpt_cam.c
2882
elsbuf[0] = htobe32(0x02100014);
sys/dev/mpt/mpt_cam.c
2883
elsbuf[1] |= htobe32(0x00000100);
sys/dev/mpt/mpt_cam.c
2884
elsbuf[4] = htobe32(0x00000002);
sys/dev/mpt/mpt_cam.c
2886
elsbuf[4] |= htobe32(0x00000010);
sys/dev/mpt/mpt_cam.c
2888
elsbuf[4] |= htobe32(0x00000020);
sys/dev/mpt/mpt_cam.c
2898
elsbuf[0] = htobe32(0x02100014);
sys/dev/mpt/mpt_cam.c
2899
elsbuf[1] = htobe32(0x08000100);
sys/dev/mpt/mpt_cam.c
2965
elsbuf[0] = htobe32(0);
sys/dev/mpt/mpt_cam.c
2966
elsbuf[1] = htobe32((ox_id << 16) | rx_id);
sys/dev/mpt/mpt_cam.c
2967
elsbuf[2] = htobe32(0x000ffff);
sys/dev/mpt/mpt_cam.c
4693
rsp[2] = htobe32(status);
sys/dev/mpt/mpt_cam.c
4699
rsp[2] |= htobe32(0x400); /* XXXX NEED MNEMONIC!!!! */
sys/dev/mpt/mpt_cam.c
4700
rsp[3] = htobe32(-tgt->resid);
sys/dev/mpt/mpt_cam.c
4703
rsp[2] |= htobe32(0x800); /* XXXX NEED MNEMONIC!!!! */
sys/dev/mpt/mpt_cam.c
4704
rsp[3] = htobe32(tgt->resid);
sys/dev/mpt/mpt_cam.c
4708
rsp[2] |= htobe32(0x200); /* XXXX NEED MNEMONIC!!!! */
sys/dev/mpt/mpt_cam.c
4709
rsp[4] = htobe32(sense_len);
sys/dev/mrsas/mrsas_fp.c
1398
io_request->CDB.EEDP32.PrimaryReferenceTag = htobe32(ref_tag);
sys/dev/mxge/if_mxge.c
1263
*sc->intr_coal_delay_ptr = htobe32(sc->intr_coal_delay);
sys/dev/mxge/if_mxge.c
1359
*sc->intr_coal_delay_ptr = htobe32(intr_coal_delay);
sys/dev/mxge/if_mxge.c
1889
high_swapped = htobe32(MXGE_HIGHPART_TO_U32(seg->ds_addr));
sys/dev/mxge/if_mxge.c
1919
req->addr_low = htobe32(low);
sys/dev/mxge/if_mxge.c
2109
htobe32(MXGE_LOWPART_TO_U32(seg->ds_addr));
sys/dev/mxge/if_mxge.c
2111
htobe32(MXGE_HIGHPART_TO_U32(seg->ds_addr));
sys/dev/mxge/if_mxge.c
2132
htobe32(MXGE_LOWPART_TO_U32(sc->zeropad_dma.bus_addr));
sys/dev/mxge/if_mxge.c
2134
htobe32(MXGE_HIGHPART_TO_U32(sc->zeropad_dma.bus_addr));
sys/dev/mxge/if_mxge.c
2345
htobe32(MXGE_LOWPART_TO_U32(seg.ds_addr));
sys/dev/mxge/if_mxge.c
2347
htobe32(MXGE_HIGHPART_TO_U32(seg.ds_addr));
sys/dev/mxge/if_mxge.c
2378
htobe32(MXGE_LOWPART_TO_U32(seg->ds_addr));
sys/dev/mxge/if_mxge.c
2380
htobe32(MXGE_HIGHPART_TO_U32(seg->ds_addr));
sys/dev/mxge/if_mxge.c
719
hdr_offset = htobe32(*(const uint32_t *)
sys/dev/mxge/if_mxge.c
781
buf[0] = htobe32(dma_high); /* confirm addr MSW */
sys/dev/mxge/if_mxge.c
782
buf[1] = htobe32(dma_low); /* confirm addr LSW */
sys/dev/mxge/if_mxge.c
783
buf[2] = htobe32(0xffffffff); /* confirm data */
sys/dev/mxge/if_mxge.c
786
buf[3] = htobe32(dma_high); /* dummy addr MSW */
sys/dev/mxge/if_mxge.c
787
buf[4] = htobe32(dma_low); /* dummy addr LSW */
sys/dev/mxge/if_mxge.c
788
buf[5] = htobe32(enable); /* enable? */
sys/dev/mxge/if_mxge.c
822
buf->data0 = htobe32(data->data0);
sys/dev/mxge/if_mxge.c
823
buf->data1 = htobe32(data->data1);
sys/dev/mxge/if_mxge.c
824
buf->data2 = htobe32(data->data2);
sys/dev/mxge/if_mxge.c
825
buf->cmd = htobe32(cmd);
sys/dev/mxge/if_mxge.c
829
buf->response_addr.low = htobe32(dma_low);
sys/dev/mxge/if_mxge.c
830
buf->response_addr.high = htobe32(dma_high);
sys/dev/mxge/if_mxge.c
890
hdr_offset = htobe32(*(volatile uint32_t *)
sys/dev/mxge/if_mxge.c
980
buf[0] = htobe32(dma_high); /* confirm addr MSW */
sys/dev/mxge/if_mxge.c
981
buf[1] = htobe32(dma_low); /* confirm addr LSW */
sys/dev/mxge/if_mxge.c
982
buf[2] = htobe32(0xffffffff); /* confirm data */
sys/dev/mxge/if_mxge.c
989
buf[3] = htobe32(MXGE_FW_OFFSET + 8);
sys/dev/mxge/if_mxge.c
990
buf[4] = htobe32(size - 8); /* length of code */
sys/dev/mxge/if_mxge.c
991
buf[5] = htobe32(8); /* where to copy to */
sys/dev/mxge/if_mxge.c
992
buf[6] = htobe32(0); /* where to jump to */
sys/dev/netmap/netmap_offloadings.c
103
tcph->seq = htobe32(be32toh(tcph->seq) + segmented_bytes);
sys/dev/ocs_fc/ocs_os.h
256
#define ocs_htobe32(val) htobe32(val)
sys/dev/qat/qat_api/qat_utils/include/qat_utils.h
150
#define QAT_UTILS_OS_HOST_TO_NW_32(uData) htobe32(uData)
sys/dev/qat_c2xxx/qat.c
1170
*(dst0 + i) = htobe32(*(src0 + i));
sys/dev/qat_c2xxx/qat_hw15.c
625
htobe32(hash_def->qshd_qat->qshqi_auth_counter);
sys/dev/qat_c2xxx/qat_hw15.c
897
aad_sz = htobe32(crp->crp_aad_length);
sys/dev/qlnx/qlnxe/bcm_osal.h
120
#define OSAL_CPU_TO_BE32(val) htobe32(val)
sys/dev/qlxgb/qla_os.h
124
#define qla_host_to_be32(x) htobe32(x)
sys/dev/qlxgbe/ql_os.h
134
#define qla_host_to_be32(x) htobe32(x)
sys/dev/qlxge/qls_os.h
126
#define qla_host_to_be32(x) htobe32(x)
sys/dev/safexcel/safexcel.c
1295
hashkey[i] = htobe32(hashkey[i]);
sys/dev/safexcel/safexcel.c
1314
hashkey[i + off] = htobe32(le32dec(key));
sys/dev/safexcel/safexcel.c
1327
((uint32_t *)buf)[i] = htobe32(ctx->sha1ctx.h.b32[i]);
sys/dev/safexcel/safexcel.c
1332
((uint32_t *)buf)[i] = htobe32(ctx->sha224ctx.state[i]);
sys/dev/safexcel/safexcel.c
1337
((uint32_t *)buf)[i] = htobe32(ctx->sha256ctx.state[i]);
sys/dev/safexcel/safexcel.c
1806
cdesc->control_data.token[3] = htobe32(1);
sys/dev/safexcel/safexcel.c
1852
cdesc->control_data.token[3] = htobe32(1);
sys/dev/sdhci/sdhci_fsl_fdt.c
268
bus_write_4(sc->mem_res, off, htobe32(val));
sys/dev/smartpqi/smartpqi_defines.h
1074
#define BE_32(x) htobe32(x)
sys/dev/thunderbolt/router.c
559
nhicmd->data[i] = htobe32(nhicmd->data[i]);
sys/dev/thunderbolt/router.c
562
msg[msglen] = htobe32(tb_calc_crc(nhicmd->data, len-4));
sys/dev/ufshci/ufshci_sim.c
179
upiu->expected_data_transfer_length = htobe32(payload_len);
sys/dev/usb/controller/ehci.h
395
return sc->sc_flags & EHCI_SCFLG_BIGEDESC ? htobe32(v) : htole32(v);
sys/dev/usb/misc/cp2112.c
1260
i2c_cfg.speed = htobe32(busfreq);
sys/dev/usb/net/if_cdceem.c
687
crc = htobe32(0xdeadbeef);
sys/dev/usb/net/if_usie.c
1441
cns->id = htobe32(id);
sys/dev/usb/video/udl.c
880
lvalue = htobe32(value) << 8;
sys/dev/usb/video/udl.c
882
lvalue = htobe32(value) >> 8;
sys/dev/usb/video/udl.c
895
lvalue = htobe32(value);
sys/dev/usb/wlan/if_uath.c
1093
val = htobe32(0);
sys/dev/usb/wlan/if_uath.c
1134
val = htobe32(TARGET_DEVICE_AWAKE);
sys/dev/usb/wlan/if_uath.c
1185
write.reg = htobe32(reg);
sys/dev/usb/wlan/if_uath.c
1186
write.len = htobe32(0); /* 0 = single write */
sys/dev/usb/wlan/if_uath.c
1187
*(uint32_t *)write.data = htobe32(val);
sys/dev/usb/wlan/if_uath.c
1205
write.reg = htobe32(reg);
sys/dev/usb/wlan/if_uath.c
1206
write.len = htobe32(len);
sys/dev/usb/wlan/if_uath.c
1268
rxfilter.bits = htobe32(bits);
sys/dev/usb/wlan/if_uath.c
1269
rxfilter.op = htobe32(op);
sys/dev/usb/wlan/if_uath.c
1353
desc->msglen = htobe32(sizeof(struct uath_tx_desc));
sys/dev/usb/wlan/if_uath.c
1355
desc->type = htobe32(WDCMSG_FLUSH);
sys/dev/usb/wlan/if_uath.c
1356
desc->txqid = htobe32(0);
sys/dev/usb/wlan/if_uath.c
1357
desc->connid = htobe32(0);
sys/dev/usb/wlan/if_uath.c
1358
desc->flags = htobe32(0);
sys/dev/usb/wlan/if_uath.c
1413
connected = htobe32(connected);
sys/dev/usb/wlan/if_uath.c
1428
reset.flags |= htobe32(UATH_CHAN_2GHZ);
sys/dev/usb/wlan/if_uath.c
1430
reset.flags |= htobe32(UATH_CHAN_5GHZ);
sys/dev/usb/wlan/if_uath.c
1433
reset.flags |= htobe32(UATH_CHAN_OFDM);
sys/dev/usb/wlan/if_uath.c
1435
reset.flags |= htobe32(UATH_CHAN_CCK);
sys/dev/usb/wlan/if_uath.c
1438
reset.flags |= htobe32(UATH_CHAN_TURBO);
sys/dev/usb/wlan/if_uath.c
1439
reset.freq = htobe32(c->ic_freq);
sys/dev/usb/wlan/if_uath.c
1440
reset.maxrdpower = htobe32(50); /* XXX */
sys/dev/usb/wlan/if_uath.c
1441
reset.channelchange = htobe32(1);
sys/dev/usb/wlan/if_uath.c
1442
reset.keeprccontent = htobe32(0);
sys/dev/usb/wlan/if_uath.c
1457
const uint32_t qid = htobe32(ac);
sys/dev/usb/wlan/if_uath.c
1482
qinfo.qid = htobe32(ac);
sys/dev/usb/wlan/if_uath.c
1483
qinfo.len = htobe32(sizeof(qinfo.attr));
sys/dev/usb/wlan/if_uath.c
1484
qinfo.attr.priority = htobe32(ac); /* XXX */
sys/dev/usb/wlan/if_uath.c
1485
qinfo.attr.aifs = htobe32(uath_wme_11g[ac].aifsn);
sys/dev/usb/wlan/if_uath.c
1486
qinfo.attr.logcwmin = htobe32(uath_wme_11g[ac].logcwmin);
sys/dev/usb/wlan/if_uath.c
1487
qinfo.attr.logcwmax = htobe32(uath_wme_11g[ac].logcwmax);
sys/dev/usb/wlan/if_uath.c
1488
qinfo.attr.bursttime = htobe32(IEEE80211_TXOP_TO_US(
sys/dev/usb/wlan/if_uath.c
1490
qinfo.attr.mode = htobe32(uath_wme_11g[ac].acm);/*XXX? */
sys/dev/usb/wlan/if_uath.c
1491
qinfo.attr.qflags = htobe32(1); /* XXX? */
sys/dev/usb/wlan/if_uath.c
1581
desc->msglen = htobe32(msglen);
sys/dev/usb/wlan/if_uath.c
1584
desc->type = htobe32(WDCMSG_SEND);
sys/dev/usb/wlan/if_uath.c
1591
desc->txqid = htobe32(WME_AC_VO | UATH_TXQID_MINRATE);
sys/dev/usb/wlan/if_uath.c
1593
desc->txqid = htobe32(WME_AC_BE | UATH_TXQID_MINRATE);
sys/dev/usb/wlan/if_uath.c
1597
desc->txqid = htobe32(M_WME_GETAC(m0));
sys/dev/usb/wlan/if_uath.c
1608
desc->connid = htobe32(UATH_ID_BSS);
sys/dev/usb/wlan/if_uath.c
1610
desc->connid = htobe32(UATH_ID_INVALID);
sys/dev/usb/wlan/if_uath.c
1611
desc->flags = htobe32(0 /* no UATH_TX_NOTIFY */);
sys/dev/usb/wlan/if_uath.c
1612
desc->buflen = htobe32(m0->m_pkthdr.len);
sys/dev/usb/wlan/if_uath.c
1906
create.connid = htobe32(connid);
sys/dev/usb/wlan/if_uath.c
1907
create.bssid = htobe32(0);
sys/dev/usb/wlan/if_uath.c
1909
create.size = htobe32(sizeof(struct uath_cmd_rateset));
sys/dev/usb/wlan/if_uath.c
1918
create.connattr.wlanmode = htobe32(WLAN_MODE_11a);
sys/dev/usb/wlan/if_uath.c
1920
create.connattr.wlanmode = htobe32(WLAN_MODE_11g);
sys/dev/usb/wlan/if_uath.c
1922
create.connattr.wlanmode = htobe32(WLAN_MODE_11b);
sys/dev/usb/wlan/if_uath.c
1935
rates.connid = htobe32(UATH_ID_BSS); /* XXX */
sys/dev/usb/wlan/if_uath.c
1936
rates.size = htobe32(sizeof(struct uath_cmd_rateset));
sys/dev/usb/wlan/if_uath.c
1957
associd.defaultrateix = htobe32(1); /* XXX */
sys/dev/usb/wlan/if_uath.c
1958
associd.associd = htobe32(ni->ni_associd);
sys/dev/usb/wlan/if_uath.c
1959
associd.timoffset = htobe32(0x3b); /* XXX */
sys/dev/usb/wlan/if_uath.c
1971
led.lednum = htobe32(lednum);
sys/dev/usb/wlan/if_uath.c
1972
led.ledmode = htobe32(ledmode);
sys/dev/usb/wlan/if_uath.c
1986
led.lednum = htobe32(lednum);
sys/dev/usb/wlan/if_uath.c
1987
led.ledmode = htobe32(ledmode);
sys/dev/usb/wlan/if_uath.c
1988
led.blinkrate = htobe32(blinkrate);
sys/dev/usb/wlan/if_uath.c
1989
led.slowmode = htobe32(slowmode);
sys/dev/usb/wlan/if_uath.c
2106
crypto.keyidx = htobe32(index);
sys/dev/usb/wlan/if_uath.c
2107
crypto.magic1 = htobe32(1);
sys/dev/usb/wlan/if_uath.c
2108
crypto.size = htobe32(368);
sys/dev/usb/wlan/if_uath.c
2109
crypto.mask = htobe32(0xffff);
sys/dev/usb/wlan/if_uath.c
2110
crypto.flags = htobe32(0x80000068);
sys/dev/usb/wlan/if_uath.c
2112
crypto.flags |= htobe32(index << 16);
sys/dev/usb/wlan/if_uath.c
573
setup.sw_ver_major = htobe32(ATH_SW_VER_MAJOR);
sys/dev/usb/wlan/if_uath.c
574
setup.sw_ver_minor = htobe32(ATH_SW_VER_MINOR);
sys/dev/usb/wlan/if_uath.c
575
setup.sw_ver_patch = htobe32(ATH_SW_VER_PATCH);
sys/dev/usb/wlan/if_uath.c
576
setup.sw_ver_build = htobe32(ATH_SW_VER_BUILD);
sys/dev/usb/wlan/if_uath.c
700
hdr->len = htobe32(cmd->buflen);
sys/dev/usb/wlan/if_uath.c
701
hdr->code = htobe32(code);
sys/dev/usb/wlan/if_uath.c
703
hdr->magic = htobe32((cmd->flags & UATH_CMD_FLAG_MAGIC) ? 1 << 24 : 0);
sys/dev/usb/wlan/if_uath.c
810
cap = htobe32(cap);
sys/dev/usb/wlan/if_uath.c
906
which = htobe32(which);
sys/dev/wg/wg_noise.c
1388
nsec = htobe32(time.tv_nsec);
sys/kern/subr_mchain.c
168
x = htobe32(x);
sys/net/debugnet.c
314
dn_msg_hdr->mh_aux2 = htobe32(auxdata->dp_aux2);
sys/net80211/ieee80211_alq.c
163
r->r_flags = htobe32(flags);
sys/net80211/ieee80211_alq.c
164
r->r_op = htobe32(op);
sys/net80211/ieee80211_alq.c
165
r->r_len = htobe32(len + sizeof(struct ieee80211_alq_rec));
sys/net80211/ieee80211_alq.c
166
r->r_threadid = htobe32((uint32_t) curthread->td_tid);
sys/opencrypto/cryptosoft.c
378
*blkp = htobe32(crp->crp_payload_length * 8);
sys/opencrypto/cryptosoft.c
539
*blkp = htobe32(crp->crp_aad_length * 8);
sys/opencrypto/cryptosoft.c
541
*blkp = htobe32(crp->crp_payload_length * 8);
sys/powerpc/ofw/ofw_real.c
170
#define IN(x) htobe32(x)
sys/powerpc/ofw/rtas.c
217
args.token = htobe32(token);
sys/powerpc/ofw/rtas.c
223
args.nargs = htobe32(nargs);
sys/powerpc/ofw/rtas.c
224
args.nreturns = htobe32(nreturns);
sys/powerpc/ofw/rtas.c
227
args.args_n_results[n] = htobe32(va_arg(ap, cell_t));
sys/powerpc/powernv/opal_i2c.c
206
req.size = htobe32(msgs[i].len);
sys/powerpc/pseries/phyp_vscsi.c
651
chunk_size = htobe32(16*nsegs);
sys/powerpc/pseries/phyp_vscsi.c
657
chunk_size = htobe32(chunk_size);
sys/powerpc/pseries/phyp_vscsi.c
662
chunk_size = htobe32(segs[i].ds_len);
sys/powerpc/pseries/phyp_vscsi.c
692
chunk_size = htobe32(segs[0].ds_len);
sys/powerpc/pseries/phyp_vscsi.c
785
mad_adapter_info.type = htobe32(MAD_ADAPTER_INFO_REQUEST);
sys/powerpc/pseries/phyp_vscsi.c
792
mad_adapter_info.payload.mad_version = htobe32(1);
sys/powerpc/pseries/phyp_vscsi.c
793
mad_adapter_info.payload.os_type = htobe32(2); /* Claim we are Linux */
tests/include/endian_test.c
105
#define H32(x) htobe32(x)
tests/include/endian_test.c
115
#define O32(x) htobe32(x)
tests/include/sys_endian_test.c
102
#define H32(x) htobe32(x)
tests/include/sys_endian_test.c
112
#define O32(x) htobe32(x)
tools/tools/netrate/tcpp/tcpp_util.c
36
thp->th_magic = htobe32(thp->th_magic);
usr.bin/ar/write.c
649
htobe32(bsdar->s_so[i] + pm_sz);
usr.bin/ar/write.c
683
nr32 = htobe32((uint32_t)bsdar->s_cnt);
usr.bin/fortune/strfile/strfile.c
226
Tbl.str_version = htobe32(Tbl.str_version);
usr.bin/fortune/strfile/strfile.c
227
Tbl.str_numstr = htobe32(Tbl.str_numstr);
usr.bin/fortune/strfile/strfile.c
228
Tbl.str_longlen = htobe32(Tbl.str_longlen);
usr.bin/fortune/strfile/strfile.c
229
Tbl.str_shortlen = htobe32(Tbl.str_shortlen);
usr.bin/fortune/strfile/strfile.c
230
Tbl.str_flags = htobe32(Tbl.str_flags);
usr.bin/localedef/localedef.c
232
return (htobe32(arg));
usr.bin/vtfontcvt/vtfontcvt.c
728
fm.vfm_src = htobe32(mp->m_char);
usr.bin/vtfontcvt/vtfontcvt.c
776
fh.fh_glyph_count = htobe32(glyph_unique);
usr.bin/vtfontcvt/vtfontcvt.c
777
fh.fh_map_count[0] = htobe32(map_folded_count[0]);
usr.bin/vtfontcvt/vtfontcvt.c
778
fh.fh_map_count[1] = htobe32(map_folded_count[1]);
usr.bin/vtfontcvt/vtfontcvt.c
779
fh.fh_map_count[2] = htobe32(map_folded_count[2]);
usr.bin/vtfontcvt/vtfontcvt.c
780
fh.fh_map_count[3] = htobe32(map_folded_count[3]);
usr.sbin/bhyve/qemu_fwcfg.c
394
fwcfg_sc.directory->be_count = htobe32(count);
usr.sbin/bhyve/qemu_fwcfg.c
395
fwcfg_sc.directory->files[file_index].be_size = htobe32(size);
usr.sbin/crunch/crunchide/exec_elf32.c
64
#define htoxew(x) ((data == ELFDATA2MSB) ? htobe32(x) : htole32(x))
usr.sbin/crunch/crunchide/exec_elf32.c
66
#define htowew(x) ((data == ELFDATA2MSB) ? htobe32(x) : htole32(x))
usr.sbin/crunch/crunchide/exec_elf32.c
73
#define htowew(x) ((data == ELFDATA2MSB) ? htobe32(x) : htole32(x))
usr.sbin/crunch/crunchide/exec_elf32.c
88
#define htoxe32(x) ((data == ELFDATA2MSB) ? htobe32(x) : htole32(x))
usr.sbin/makefs/cd9660/cd9660_eltorito.c
604
apm32 = htobe32(total_partitions);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
607
apm32 = htobe32(sector_start);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
609
apm32 = htobe32(nsectors);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
621
apm32 = htobe32(nsectors);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
624
apm32 = htobe32(part_status);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
715
apm32 = htobe32(diskStructure->totalSectors *
usr.sbin/makefs/zfs/zap.c
483
*v = htobe32(*v);
usr.sbin/uathload/uathload.c
192
txmsg.flags = htobe32(UATH_WRITE_BLOCK);
usr.sbin/uathload/uathload.c
193
txmsg.total = htobe32(len);
usr.sbin/uathload/uathload.c
202
txmsg.remain = htobe32(len - mlen);
usr.sbin/uathload/uathload.c
203
txmsg.len = htobe32(mlen);
usr.sbin/usbdump/usbdump.c
230
BPF_JMP | BPF_JEQ | BPF_K, htobe32(puf->endpoint), 0, 1);
usr.sbin/usbdump/usbdump.c
246
BPF_JMP | BPF_JEQ | BPF_K, htobe32(puf->endpoint), 0, 1);
usr.sbin/virtual_oss/virtual_oss/httpd.c
219
pkt.ip.destip = htobe32((239 << 24) + (255 << 16) + (1 << 0));
usr.sbin/virtual_oss/virtual_oss/httpd.c
230
pkt.rtp.header32[1] = htobe32(ts);
usr.sbin/virtual_oss/virtual_oss/httpd.c
231
pkt.rtp.header32[2] = htobe32(0);