Home
last modified time | relevance | path

Searched refs:be32toh (Results 1 – 25 of 146) sorted by relevance

123456

/freebsd/tools/tools/ath/athalq/
H A Dtdma.c43 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_tdma_beacon_state()
44 (unsigned int) be32toh(a->hdr.tstamp_usec), in ath_tdma_beacon_state()
69 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_tdma_slot_calc()
70 (unsigned int) be32toh(a->hdr.tstamp_usec), in ath_tdma_slot_calc()
74 (int) be32toh(t.tsfdelta), in ath_tdma_slot_calc()
75 (int) be32toh(t.avg_plus), in ath_tdma_slot_calc()
76 (int) be32toh(t.avg_minus)); in ath_tdma_slot_calc()
87 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_tdma_tsf_adjust()
88 (unsigned int) be32toh(a->hdr.tstamp_usec), in ath_tdma_tsf_adjust()
91 (int) be32toh(t.tsfdelta), in ath_tdma_tsf_adjust()
[all …]
H A Dmain.c55 be32toh(hdr->sc_mac_version), in ath_alq_print_hdr()
56 be32toh(hdr->sc_mac_revision), in ath_alq_print_hdr()
57 be32toh(hdr->sc_phy_rev), in ath_alq_print_hdr()
58 be32toh(hdr->sc_hal_magic)); in ath_alq_print_hdr()
70 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_alq_print_intr_status()
71 (unsigned int) be32toh(a->hdr.tstamp_usec), in ath_alq_print_intr_status()
73 be32toh(is.intr_status)); in ath_alq_print_intr_status()
81 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_alq_print_beacon_miss()
82 (unsigned int) be32toh(a->hdr.tstamp_usec), in ath_alq_print_beacon_miss()
91 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_alq_print_beacon_stuck()
[all …]
H A Dar5416_ds_tdma.c51 (unsigned int) be32toh(a->hdr.tstamp), in ar5416_decode_txstatus()
132 (unsigned int) be32toh(a->hdr.tstamp), in ar5416_decode_txdesc()
269 (unsigned int) be32toh(a->hdr.tstamp), in ar5416_decode_rxstatus()
367 (unsigned int) be32toh(a->hdr.tstamp), in ath_tdma_beacon_state()
391 (unsigned int) be32toh(a->hdr.tstamp), in ath_tdma_slot_calc()
395 (int) be32toh(t.tsfdelta), in ath_tdma_slot_calc()
396 (int) be32toh(t.avg_plus), in ath_tdma_slot_calc()
397 (int) be32toh(t.avg_minus)); in ath_tdma_slot_calc()
407 (unsigned int) be32toh(a->hdr.tstamp), in ath_tdma_tsf_adjust()
410 (int) be32toh(t.tsfdelta), in ath_tdma_tsf_adjust()
[all …]
H A Dar5210_ds.c47 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5210_decode_txstatus()
48 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5210_decode_txstatus()
81 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5210_decode_txdesc()
82 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5210_decode_txdesc()
120 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5210_decode_rxstatus()
121 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5210_decode_rxstatus()
172 be32toh(a->hdr.tstamp_sec), in ar5210_alq_payload()
173 be32toh(a->hdr.tstamp_usec), in ar5210_alq_payload()
H A Dar5211_ds.c47 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5211_decode_txstatus()
48 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5211_decode_txstatus()
82 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5211_decode_txdesc()
83 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5211_decode_txdesc()
121 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5211_decode_rxstatus()
122 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5211_decode_rxstatus()
173 be32toh(a->hdr.tstamp_sec), in ar5211_alq_payload()
174 be32toh(a->hdr.tstamp_usec), in ar5211_alq_payload()
H A Dar9300_ds.c48 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_alq_print_edma_tx_fifo_push()
49 (unsigned int) be32toh(a->hdr.tstamp_usec), in ath_alq_print_edma_tx_fifo_push()
51 be32toh(p.txq), in ath_alq_print_edma_tx_fifo_push()
52 be32toh(p.nframes), in ath_alq_print_edma_tx_fifo_push()
53 be32toh(p.fifo_depth), in ath_alq_print_edma_tx_fifo_push()
54 be32toh(p.frame_cnt)); in ath_alq_print_edma_tx_fifo_push()
66 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar9300_decode_txstatus()
67 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar9300_decode_txstatus()
156 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar9300_decode_txdesc()
157 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar9300_decode_txdesc()
[all …]
H A Dar5212_ds.c47 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5212_decode_txstatus()
48 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5212_decode_txstatus()
88 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5212_decode_txdesc()
89 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5212_decode_txdesc()
153 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5212_decode_rxstatus()
154 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5212_decode_rxstatus()
219 be32toh(a->hdr.tstamp_sec), in ar5212_alq_payload()
220 be32toh(a->hdr.tstamp_usec), in ar5212_alq_payload()
H A Dar5416_ds.c47 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5416_decode_txstatus()
48 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5416_decode_txstatus()
129 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5416_decode_txdesc()
130 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5416_decode_txdesc()
260 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5416_decode_rxstatus()
261 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5416_decode_rxstatus()
362 be32toh(a->hdr.tstamp_sec), in ar5416_alq_payload()
363 be32toh(a->hdr.tstamp_usec), in ar5416_alq_payload()
/freebsd/lib/libc/iconv/
H A Dcitrus_db.c72 if (_memstream_seek(&ms, be32toh(dhx->dhx_entry_offset), SEEK_SET)) in _citrus_db_open()
75 if (be32toh(dhx->dhx_num_entries)*_CITRUS_DB_ENTRY_SIZE > in _citrus_db_open()
111 num_entries = be32toh(dhx->dhx_num_entries); in _citrus_db_lookup()
122 offset = be32toh(dhx->dhx_entry_offset) + in _citrus_db_lookup()
137 offset = be32toh(dex->dex_next_offset); in _citrus_db_lookup()
147 if (be32toh(dex->dex_hash_value) != hashval) in _citrus_db_lookup()
151 if (be32toh(dex->dex_key_size) == _region_size(key)) { in _citrus_db_lookup()
153 if (_memstream_seek(&ms, be32toh(dex->dex_key_offset), in _citrus_db_lookup()
165 &ms, be32toh(dex->dex_data_offset), in _citrus_db_lookup()
170 be32toh(dex->dex_data_size)) == NULL) in _citrus_db_lookup()
[all …]
/freebsd/lib/libiconv_modules/mapper_std/
H A Dcitrus_mapper_std.c116 conv = be32toh(_region_peek32(&rc->rc_table, idx*4)); in rowcol_convert()
160 rc->rc_dst_invalid = be32toh(rcx->rcx_dst_invalid); in rowcol_parse_variable_compat()
161 rc->rc_dst_unit_bits = be32toh(rcx->rcx_dst_unit_bits); in rowcol_parse_variable_compat()
162 m = be32toh(rcx->rcx_src_col_bits); in rowcol_parse_variable_compat()
174 m = be32toh(rcx->rcx_src_row_begin); in rowcol_parse_variable_compat()
175 n = be32toh(rcx->rcx_src_row_end); in rowcol_parse_variable_compat()
185 m = be32toh(rcx->rcx_src_col_begin); in rowcol_parse_variable_compat()
186 n = be32toh(rcx->rcx_src_col_end); in rowcol_parse_variable_compat()
203 rc->rc_dst_invalid = be32toh(rcx->rcx_dst_invalid); in rowcol_parse_variable()
204 rc->rc_dst_unit_bits = be32toh(rcx->rcx_dst_unit_bits); in rowcol_parse_variable()
[all …]
/freebsd/contrib/mandoc/
H A Ddbm_map.c82 if (be32toh(*magic) != MANDOCDB_MAGIC) { in dbm_map()
86 fname, be32toh(*magic), MANDOCDB_MAGIC); in dbm_map()
95 if (be32toh(*magic) != MANDOCDB_VERSION) { in dbm_map()
97 fname, be32toh(*magic), MANDOCDB_VERSION); in dbm_map()
101 max_offset = be32toh(*dbm_getint(3)) + sizeof(int32_t); in dbm_map()
112 if (be32toh(*magic) != MANDOCDB_MAGIC) { in dbm_map()
114 fname, be32toh(*magic), MANDOCDB_MAGIC); in dbm_map()
145 offset = be32toh(offset); in dbm_get()
/freebsd/lib/libkvm/
H A Dkvm_powerpc.c122 be32toh(vm->eh->e_phoff); in powerpc_maphdrs()
133 vm->ph = (void *)((uintptr_t)vm->eh + be32toh(vm->eh->e_phoff)); in powerpc_maphdrs()
155 while (nph && (va < be32toh(ph->p_vaddr) || in powerpc_va2off()
156 va >= be32toh(ph->p_vaddr) + be32toh(ph->p_memsz))) { in powerpc_va2off()
164 *ofs = vm->dmphdrsz + be32toh(ph->p_offset) + in powerpc_va2off()
165 (va - be32toh(ph->p_vaddr)); in powerpc_va2off()
166 return (be32toh(ph->p_memsz) - (va - be32toh(ph->p_vaddr))); in powerpc_va2off()
208 if (be32toh(vm->ph->p_paddr) == 0xffffffff) in _powerpc_kvatop()
H A Dkvm_minidump_powerpc64.c91 hdr->version = be32toh(hdr->version); in _powerpc64_minidump_initvtop()
98 hdr->msgbufsize = be32toh(hdr->msgbufsize); in _powerpc64_minidump_initvtop()
99 hdr->bitmapsize = be32toh(hdr->bitmapsize); in _powerpc64_minidump_initvtop()
100 hdr->pmapsize = be32toh(hdr->pmapsize); in _powerpc64_minidump_initvtop()
105 hdr->hw_direct_map = be32toh(hdr->hw_direct_map); in _powerpc64_minidump_initvtop()
109 be32toh(hdr->dumpavailsize) : 0; in _powerpc64_minidump_initvtop()
/freebsd/tools/tools/vt/mkkfont/
H A Dmkkfont.c46 glyph_count = be32toh(fh->fh_glyph_count); in print_glyphs()
80 nmappings = be32toh(fh->fh_map_count[map_index]); in print_mappings()
96 be32toh(fm.vfm_src), be16toh(fm.vfm_dst), in print_mappings()
127 be32toh(fh->fh_map_count[0]), in print_info()
128 be32toh(fh->fh_map_count[1]), in print_info()
129 be32toh(fh->fh_map_count[2]), in print_info()
130 be32toh(fh->fh_map_count[3])); in print_info()
/freebsd/usr.bin/fortune/unstr/
H A Dunstr.c88 tbl.str_version = be32toh(tbl.str_version); in main()
89 tbl.str_numstr = be32toh(tbl.str_numstr); in main()
90 tbl.str_longlen = be32toh(tbl.str_longlen); in main()
91 tbl.str_shortlen = be32toh(tbl.str_shortlen); in main()
92 tbl.str_flags = be32toh(tbl.str_flags); in main()
/freebsd/contrib/ofed/libmlx5/
H A Dcq.c108 switch (be32toh(cqe->sop_drop_qpn) >> 24) { in handle_good_req()
124 wc->byte_len = be32toh(cqe->byte_cnt); in handle_good_req()
157 be32toh(cqe->byte_cnt)); in handle_responder_lazy()
160 be32toh(cqe->byte_cnt)); in handle_responder_lazy()
175 be32toh(cqe->byte_cnt)); in handle_responder_lazy()
178 be32toh(cqe->byte_cnt)); in handle_responder_lazy()
193 wc->byte_len = be32toh(cqe->byte_cnt); in handle_responder()
247 wc->imm_data = be32toh(cqe->imm_inval_pkey); in handle_responder()
251 wc->sl = (be32toh(cqe->flags_rqpn) >> 24) & 0xf; in handle_responder()
252 wc->src_qp = be32toh(cqe->flags_rqpn) & 0xffffff; in handle_responder()
[all …]
/freebsd/contrib/ofed/libmlx4/
H A Dcq.c177 wc->byte_len = be32toh(cqe->byte_cnt); in handle_good_req()
253 qpn = be32toh(cqe->vlan_my_qpn) & MLX4_CQE_QPN_MASK; in mlx4_parse_cqe()
271 be32toh(cqe->g_mlpath_rqpn) & MLX4_CQE_QPN_MASK); in mlx4_parse_cqe()
322 wc->byte_len = be32toh(cqe->byte_cnt); in mlx4_parse_cqe()
333 wc->imm_data = be32toh(cqe->immed_rss_invalid); in mlx4_parse_cqe()
347 g_mlpath_rqpn = be32toh(cqe->g_mlpath_rqpn); in mlx4_parse_cqe()
351 wc->pkey_index = be32toh(cqe->immed_rss_invalid) & 0x7f; in mlx4_parse_cqe()
543 return be32toh(cq->cqe->vlan_my_qpn) & MLX4_CQE_QPN_MASK; in mlx4_cq_read_wc_qp_num()
575 wc_flags |= (be32toh(cq->cqe->g_mlpath_rqpn) & 0x80000000) ? IBV_WC_GRH : 0; in mlx4_cq_read_wc_flags()
585 return be32toh(cq->cqe->byte_cnt); in mlx4_cq_read_wc_byte_len()
[all …]
/freebsd/sys/dev/usb/wlan/
H A Dif_uath.c807 be32toh(cap)); in uath_get_capability()
810 *val = be32toh(*val); in uath_get_capability()
903 "could not read EEPROM offset 0x%02x\n", be32toh(which)); in uath_get_status()
1116 uath_codename(WDCMSG_TARGET_START), be32toh(val)); in uath_init()
1438 be32toh(reset.flags), be32toh(reset.freq)); in uath_set_chan()
1607 desc->msgid, framelen, msglen, be32toh(desc->connid), in uath_tx_start()
1608 be32toh(desc->txqid)); in uath_tx_start()
2221 uint32_t len = be32toh(hdr->len); in uath_cmdeof()
2223 __func__, uath_codename(be32toh(hdr->code)), in uath_cmdeof()
2224 hdr->msgid, len, be32toh(hdr->magic)); in uath_cmdeof()
[all …]
/freebsd/contrib/ofed/libcxgb4/
H A Dt4.h246 #define SW_CQE(x) (G_CQE_SWCQE(be32toh((x)->header)))
247 #define CQE_QPID(x) (G_CQE_QPID(be32toh((x)->header)))
248 #define CQE_TYPE(x) (G_CQE_TYPE(be32toh((x)->header)))
251 #define CQE_STATUS(x) (G_CQE_STATUS(be32toh((x)->header)))
252 #define CQE_OPCODE(x) (G_CQE_OPCODE(be32toh((x)->header)))
255 (G_CQE_OPCODE(be32toh((x)->header)) == FW_RI_SEND) || \
256 (G_CQE_OPCODE(be32toh((x)->header)) == FW_RI_SEND_WITH_SE) || \
257 (G_CQE_OPCODE(be32toh((x)->header)) == FW_RI_SEND_WITH_INV) || \
258 (G_CQE_OPCODE(be32toh((x)->header)) == FW_RI_SEND_WITH_SE_INV))
260 #define CQE_LEN(x) (be32toh((x)->len))
[all …]
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_connect.c97 send_reset(sc, toep, be32toh(cpl->snd_isn)); in do_act_establish()
101 make_established(toep, be32toh(cpl->snd_isn) - 1, in do_act_establish()
102 be32toh(cpl->rcv_isn) - 1, cpl->tcp_opt); in do_act_establish()
151 u_int atid = G_TID_TID(G_AOPEN_ATID(be32toh(cpl->atid_status))); in do_act_open_rpl()
152 u_int status = G_AOPEN_STATUS(be32toh(cpl->atid_status)); in do_act_open_rpl()
354 be32toh(cpl->opt2)); in t4_connect()
387 be32toh(cpl->opt2)); in t4_connect()
H A Dt4_listen.c869 synqe->iss = be32toh(th->th_seq); in t4_syncache_respond()
870 synqe->irs = be32toh(th->th_ack) - 1; in t4_syncache_respond()
889 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl))); in do_pass_open_rpl()
965 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl))); in do_close_server_rpl()
1033 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl))); in do_abort_req_synqe()
1082 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl))); in do_abort_rpl_synqe()
1160 u_int hlen = be32toh(cpl->hdr_len); in encapsulated_syn()
1174 unsigned int hlen = be32toh(cpl->hdr_len); in pass_accept_req_to_protohdrs()
1334 unsigned int stid = G_PASS_OPEN_TID(be32toh(cpl->tos_stid)); in do_pass_accept_req()
1351 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl))); in do_pass_accept_req()
[all …]
/freebsd/stand/kboot/kboot/arch/powerpc64/
H A Dppc64_elf_freebsd.c140 entry, be32toh(trampoline_data->kernel_entry)); in ppc64_elf_exec()
142 be32toh(trampoline_data->dtb), be32toh(trampoline_data->mdp)); in ppc64_elf_exec()
/freebsd/sbin/ggate/shared/
H A Dggate.h147 cinit->gc_token = be32toh(cinit->gc_token); in g_gate_swap2h_cinit()
165 sinit->gs_sectorsize = be32toh(sinit->gs_sectorsize); in g_gate_swap2h_sinit()
185 hdr->gh_length = be32toh(hdr->gh_length); in g_gate_swap2h_hdr()
/freebsd/sys/dev/liquidio/base/
H A Dlio_console.c872 if (be32toh(h->magic) != LIO_NIC_MAGIC) { in lio_download_firmware()
879 if (crc32_result != be32toh(h->crc32)) { in lio_download_firmware()
881 crc32_result, be32toh(h->crc32)); in lio_download_firmware()
892 if (be32toh(h->num_images) > LIO_MAX_IMAGES) { in lio_download_firmware()
894 be32toh(h->num_images)); in lio_download_firmware()
904 lio_dev_info(oct, "Loading %d image(s)\n", be32toh(h->num_images)); in lio_download_firmware()
907 for (i = 0; i < be32toh(h->num_images); i++) { in lio_download_firmware()
909 image_len = be32toh(h->desc[i].len); in lio_download_firmware()
/freebsd/contrib/libfido2/openbsd-compat/
H A Dopenbsd-compat.h23 #define be32toh(x) OSSwapBigToHostInt32((x)) macro
37 #define be32toh(x) ntohl((x)) macro

123456