/freebsd/tools/tools/ath/athalq/ |
H A D | tdma.c | 43 (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 D | main.c | 55 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 D | ar5416_ds_tdma.c | 51 (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 D | ar5210_ds.c | 47 (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 D | ar5211_ds.c | 47 (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 D | ar9300_ds.c | 48 (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 D | ar5212_ds.c | 47 (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 D | ar5416_ds.c | 47 (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 D | citrus_db.c | 72 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 D | citrus_mapper_std.c | 116 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 D | dbm_map.c | 82 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 D | kvm_powerpc.c | 122 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 D | kvm_minidump_powerpc64.c | 91 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 D | mkkfont.c | 46 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 D | unstr.c | 88 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 D | cq.c | 108 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 D | cq.c | 177 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 D | if_uath.c | 807 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 D | t4.h | 246 #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 D | t4_connect.c | 97 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 D | t4_listen.c | 869 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 D | ppc64_elf_freebsd.c | 140 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 D | ggate.h | 147 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 D | lio_console.c | 872 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 D | openbsd-compat.h | 23 #define be32toh(x) OSSwapBigToHostInt32((x)) macro 37 #define be32toh(x) ntohl((x)) macro
|