| /freebsd-12-stable/tools/tools/ath/athalq/ |
| D | tdma.c | 45 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_tdma_beacon_state() 46 (unsigned int) be32toh(a->hdr.tstamp_usec), in ath_tdma_beacon_state() 71 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_tdma_slot_calc() 72 (unsigned int) be32toh(a->hdr.tstamp_usec), in ath_tdma_slot_calc() 76 (int) be32toh(t.tsfdelta), in ath_tdma_slot_calc() 77 (int) be32toh(t.avg_plus), in ath_tdma_slot_calc() 78 (int) be32toh(t.avg_minus)); in ath_tdma_slot_calc() 89 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_tdma_tsf_adjust() 90 (unsigned int) be32toh(a->hdr.tstamp_usec), in ath_tdma_tsf_adjust() 93 (int) be32toh(t.tsfdelta), in ath_tdma_tsf_adjust() [all …]
|
| D | main.c | 57 be32toh(hdr->sc_mac_version), in ath_alq_print_hdr() 58 be32toh(hdr->sc_mac_revision), in ath_alq_print_hdr() 59 be32toh(hdr->sc_phy_rev), in ath_alq_print_hdr() 60 be32toh(hdr->sc_hal_magic)); in ath_alq_print_hdr() 72 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_alq_print_intr_status() 73 (unsigned int) be32toh(a->hdr.tstamp_usec), in ath_alq_print_intr_status() 75 be32toh(is.intr_status)); in ath_alq_print_intr_status() 83 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_alq_print_beacon_miss() 84 (unsigned int) be32toh(a->hdr.tstamp_usec), in ath_alq_print_beacon_miss() 93 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_alq_print_beacon_stuck() [all …]
|
| D | ar5416_ds_tdma.c | 53 (unsigned int) be32toh(a->hdr.tstamp), in ar5416_decode_txstatus() 134 (unsigned int) be32toh(a->hdr.tstamp), in ar5416_decode_txdesc() 271 (unsigned int) be32toh(a->hdr.tstamp), in ar5416_decode_rxstatus() 369 (unsigned int) be32toh(a->hdr.tstamp), in ath_tdma_beacon_state() 393 (unsigned int) be32toh(a->hdr.tstamp), in ath_tdma_slot_calc() 397 (int) be32toh(t.tsfdelta), in ath_tdma_slot_calc() 398 (int) be32toh(t.avg_plus), in ath_tdma_slot_calc() 399 (int) be32toh(t.avg_minus)); in ath_tdma_slot_calc() 409 (unsigned int) be32toh(a->hdr.tstamp), in ath_tdma_tsf_adjust() 412 (int) be32toh(t.tsfdelta), in ath_tdma_tsf_adjust() [all …]
|
| D | ar5210_ds.c | 49 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5210_decode_txstatus() 50 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5210_decode_txstatus() 83 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5210_decode_txdesc() 84 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5210_decode_txdesc() 122 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5210_decode_rxstatus() 123 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5210_decode_rxstatus() 174 be32toh(a->hdr.tstamp_sec), in ar5210_alq_payload() 175 be32toh(a->hdr.tstamp_usec), in ar5210_alq_payload()
|
| D | ar5211_ds.c | 49 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5211_decode_txstatus() 50 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5211_decode_txstatus() 84 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5211_decode_txdesc() 85 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5211_decode_txdesc() 123 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5211_decode_rxstatus() 124 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5211_decode_rxstatus() 175 be32toh(a->hdr.tstamp_sec), in ar5211_alq_payload() 176 be32toh(a->hdr.tstamp_usec), in ar5211_alq_payload()
|
| D | ar9300_ds.c | 50 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_alq_print_edma_tx_fifo_push() 51 (unsigned int) be32toh(a->hdr.tstamp_usec), in ath_alq_print_edma_tx_fifo_push() 53 be32toh(p.txq), in ath_alq_print_edma_tx_fifo_push() 54 be32toh(p.nframes), in ath_alq_print_edma_tx_fifo_push() 55 be32toh(p.fifo_depth), in ath_alq_print_edma_tx_fifo_push() 56 be32toh(p.frame_cnt)); in ath_alq_print_edma_tx_fifo_push() 68 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar9300_decode_txstatus() 69 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar9300_decode_txstatus() 158 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar9300_decode_txdesc() 159 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar9300_decode_txdesc() [all …]
|
| D | ar5212_ds.c | 49 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5212_decode_txstatus() 50 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5212_decode_txstatus() 90 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5212_decode_txdesc() 91 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5212_decode_txdesc() 155 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5212_decode_rxstatus() 156 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5212_decode_rxstatus() 221 be32toh(a->hdr.tstamp_sec), in ar5212_alq_payload() 222 be32toh(a->hdr.tstamp_usec), in ar5212_alq_payload()
|
| D | ar5416_ds.c | 49 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5416_decode_txstatus() 50 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5416_decode_txstatus() 131 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5416_decode_txdesc() 132 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5416_decode_txdesc() 262 (unsigned int) be32toh(a->hdr.tstamp_sec), in ar5416_decode_rxstatus() 263 (unsigned int) be32toh(a->hdr.tstamp_usec), in ar5416_decode_rxstatus() 364 be32toh(a->hdr.tstamp_sec), in ar5416_alq_payload() 365 be32toh(a->hdr.tstamp_usec), in ar5416_alq_payload()
|
| /freebsd-12-stable/lib/libc/iconv/ |
| D | citrus_db.c | 74 if (_memstream_seek(&ms, be32toh(dhx->dhx_entry_offset), SEEK_SET)) in _citrus_db_open() 77 if (be32toh(dhx->dhx_num_entries)*_CITRUS_DB_ENTRY_SIZE > in _citrus_db_open() 113 num_entries = be32toh(dhx->dhx_num_entries); in _citrus_db_lookup() 124 offset = be32toh(dhx->dhx_entry_offset) + in _citrus_db_lookup() 139 offset = be32toh(dex->dex_next_offset); in _citrus_db_lookup() 149 if (be32toh(dex->dex_hash_value) != hashval) in _citrus_db_lookup() 153 if (be32toh(dex->dex_key_size) == _region_size(key)) { in _citrus_db_lookup() 155 if (_memstream_seek(&ms, be32toh(dex->dex_key_offset), in _citrus_db_lookup() 167 &ms, be32toh(dex->dex_data_offset), in _citrus_db_lookup() 172 be32toh(dex->dex_data_size)) == NULL) in _citrus_db_lookup() [all …]
|
| /freebsd-12-stable/lib/libiconv_modules/mapper_std/ |
| D | citrus_mapper_std.c | 117 conv = be32toh(_region_peek32(&rc->rc_table, idx*4)); in rowcol_convert() 161 rc->rc_dst_invalid = be32toh(rcx->rcx_dst_invalid); in rowcol_parse_variable_compat() 162 rc->rc_dst_unit_bits = be32toh(rcx->rcx_dst_unit_bits); in rowcol_parse_variable_compat() 163 m = be32toh(rcx->rcx_src_col_bits); in rowcol_parse_variable_compat() 175 m = be32toh(rcx->rcx_src_row_begin); in rowcol_parse_variable_compat() 176 n = be32toh(rcx->rcx_src_row_end); in rowcol_parse_variable_compat() 186 m = be32toh(rcx->rcx_src_col_begin); in rowcol_parse_variable_compat() 187 n = be32toh(rcx->rcx_src_col_end); in rowcol_parse_variable_compat() 204 rc->rc_dst_invalid = be32toh(rcx->rcx_dst_invalid); in rowcol_parse_variable() 205 rc->rc_dst_unit_bits = be32toh(rcx->rcx_dst_unit_bits); in rowcol_parse_variable() [all …]
|
| /freebsd-12-stable/contrib/mandoc/ |
| 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()
|
| D | dbm.c | 94 if ((npages = be32toh(*dbm_getint(4))) < 0) { in dbm_open() 105 if (be32toh(*mp) != MACRO_MAX) { in dbm_open() 107 fname, be32toh(*mp)); in dbm_open() 116 nvals[im] = be32toh(*ep); in dbm_open()
|
| /freebsd-12-stable/lib/libkvm/ |
| D | kvm_powerpc.c | 125 be32toh(vm->eh->e_phoff); in powerpc_maphdrs() 136 vm->ph = (void *)((uintptr_t)vm->eh + be32toh(vm->eh->e_phoff)); in powerpc_maphdrs() 158 while (nph && (va < be32toh(ph->p_vaddr) || in powerpc_va2off() 159 va >= be32toh(ph->p_vaddr) + be32toh(ph->p_memsz))) { in powerpc_va2off() 167 *ofs = vm->dmphdrsz + be32toh(ph->p_offset) + in powerpc_va2off() 168 (va - be32toh(ph->p_vaddr)); in powerpc_va2off() 169 return (be32toh(ph->p_memsz) - (va - be32toh(ph->p_vaddr))); in powerpc_va2off() 211 if (be32toh(vm->ph->p_paddr) == 0xffffffff) in _powerpc_kvatop()
|
| /freebsd-12-stable/tools/tools/vt/mkkfont/ |
| D | mkkfont.c | 63 glyph_count = be32toh(fh->glyph_count); in print_glyphs() 97 nmappings = be32toh(fh->map_count[map_index]); in print_mappings() 113 be32toh(fm.source), be16toh(fm.destination), in print_mappings() 144 be32toh(fh->map_count[0]), in print_info() 145 be32toh(fh->map_count[1]), in print_info() 146 be32toh(fh->map_count[2]), in print_info() 147 be32toh(fh->map_count[3])); in print_info()
|
| /freebsd-12-stable/usr.bin/fortune/unstr/ |
| D | unstr.c | 102 tbl.str_version = be32toh(tbl.str_version); in main() 103 tbl.str_numstr = be32toh(tbl.str_numstr); in main() 104 tbl.str_longlen = be32toh(tbl.str_longlen); in main() 105 tbl.str_shortlen = be32toh(tbl.str_shortlen); in main() 106 tbl.str_flags = be32toh(tbl.str_flags); in main()
|
| /freebsd-12-stable/contrib/ofed/libmlx5/ |
| 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-12-stable/contrib/ofed/libmlx4/ |
| 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-12-stable/sys/dev/usb/wlan/ |
| D | if_uath.c | 808 be32toh(cap)); in uath_get_capability() 811 *val = be32toh(*val); in uath_get_capability() 904 "could not read EEPROM offset 0x%02x\n", be32toh(which)); in uath_get_status() 1117 uath_codename(WDCMSG_TARGET_START), be32toh(val)); in uath_init() 1439 be32toh(reset.flags), be32toh(reset.freq)); in uath_set_chan() 1608 desc->msgid, framelen, msglen, be32toh(desc->connid), in uath_tx_start() 1609 be32toh(desc->txqid)); in uath_tx_start() 2217 uint32_t len = be32toh(hdr->len); in uath_cmdeof() 2219 __func__, uath_codename(be32toh(hdr->code)), in uath_cmdeof() 2220 hdr->msgid, len, be32toh(hdr->magic)); in uath_cmdeof() [all …]
|
| /freebsd-12-stable/sys/dev/beri/virtio/ |
| D | virtio.c | 117 be32toh(vd->len)); in _vq_record() 118 iov[i].iov_len = be32toh(vd->len); in _vq_record() 146 n_indir = be32toh(vdir->len) / 16; in vq_getchain() 148 be32toh(vdir->len)); in vq_getchain() 159 paddr_unmap(__DEVOLATILE(void *, vindir), be32toh(vdir->len)); in vq_getchain()
|
| /freebsd-12-stable/contrib/ofed/libcxgb4/ |
| 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-12-stable/sys/dev/cxgbe/tom/ |
| D | t4_connect.c | 98 send_reset(sc, toep, be32toh(cpl->snd_isn)); in do_act_establish() 102 make_established(toep, be32toh(cpl->snd_isn) - 1, in do_act_establish() 103 be32toh(cpl->rcv_isn) - 1, cpl->tcp_opt); in do_act_establish() 145 u_int atid = G_TID_TID(G_AOPEN_ATID(be32toh(cpl->atid_status))); in do_act_open_rpl() 146 u_int status = G_AOPEN_STATUS(be32toh(cpl->atid_status)); in do_act_open_rpl() 335 be32toh(cpl->opt2)); in t4_connect() 368 be32toh(cpl->opt2)); in t4_connect()
|
| D | t4_listen.c | 727 synqe->iss = be32toh(th->th_seq); in t4_syncache_respond() 728 synqe->irs = be32toh(th->th_ack) - 1; in t4_syncache_respond() 747 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl))); in do_pass_open_rpl() 822 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl))); in do_close_server_rpl() 886 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl))); in do_abort_req_synqe() 935 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl))); in do_abort_rpl_synqe() 1008 unsigned int hlen = be32toh(cpl->hdr_len); in pass_accept_req_to_protohdrs() 1161 unsigned int stid = G_PASS_OPEN_TID(be32toh(cpl->tos_stid)); in do_pass_accept_req() 1178 unsigned int opcode = G_CPL_OPCODE(be32toh(OPCODE_TID(cpl))); in do_pass_accept_req() 1339 __func__, stid, tid, synqe, be64toh(opt0), be32toh(opt2)); in do_pass_accept_req() [all …]
|
| /freebsd-12-stable/stand/powerpc/kboot/ |
| D | ppc64_elf_freebsd.c | 142 entry, be32toh(trampoline_data->kernel_entry)); in ppc64_elf_exec() 144 be32toh(trampoline_data->dtb), be32toh(trampoline_data->mdp)); in ppc64_elf_exec()
|
| /freebsd-12-stable/sbin/ggate/shared/ |
| D | ggate.h | 145 cinit->gc_token = be32toh(cinit->gc_token); in g_gate_swap2h_cinit() 163 sinit->gs_sectorsize = be32toh(sinit->gs_sectorsize); in g_gate_swap2h_sinit() 183 hdr->gh_length = be32toh(hdr->gh_length); in g_gate_swap2h_hdr()
|
| /freebsd-12-stable/sys/dev/liquidio/base/ |
| D | lio_console.c | 874 if (be32toh(h->magic) != LIO_NIC_MAGIC) { in lio_download_firmware() 881 if (crc32_result != be32toh(h->crc32)) { in lio_download_firmware() 883 crc32_result, be32toh(h->crc32)); in lio_download_firmware() 894 if (be32toh(h->num_images) > LIO_MAX_IMAGES) { in lio_download_firmware() 896 be32toh(h->num_images)); in lio_download_firmware() 906 lio_dev_info(oct, "Loading %d image(s)\n", be32toh(h->num_images)); in lio_download_firmware() 909 for (i = 0; i < be32toh(h->num_images); i++) { in lio_download_firmware() 911 image_len = be32toh(h->desc[i].len); in lio_download_firmware()
|