Home
last modified time | relevance | path

Searched refs:le32toh (Results 1 – 25 of 270) sorted by relevance

1234567891011

/freebsd/tools/tools/iwn/iwnstats/
H A Dmain.c79 le32toh(rxphy->ina), in iwn_stats_phy_print()
80 le32toh(rxphy->fina), in iwn_stats_phy_print()
81 le32toh(rxphy->bad_plcp), in iwn_stats_phy_print()
82 le32toh(rxphy->bad_crc32), in iwn_stats_phy_print()
83 le32toh(rxphy->overrun), in iwn_stats_phy_print()
84 le32toh(rxphy->eoverrun)); in iwn_stats_phy_print()
89 le32toh(rxphy->fa), in iwn_stats_phy_print()
90 le32toh(rxphy->bad_fina_sync), in iwn_stats_phy_print()
91 le32toh(rxphy->sfd_timeout), in iwn_stats_phy_print()
92 le32toh(rxphy->fina_timeout), in iwn_stats_phy_print()
[all …]
/freebsd/sys/dev/usb/net/
H A Dif_urndis.c474 DPRINTF("type 0x%x len %u\n", le32toh(hdr->rm_type), in urndis_ctrl_recv()
475 le32toh(hdr->rm_len)); in urndis_ctrl_recv()
477 if (le32toh(hdr->rm_len) > RNDIS_RESPONSE_LEN) { in urndis_ctrl_recv()
479 le32toh(hdr->rm_len), RNDIS_RESPONSE_LEN); in urndis_ctrl_recv()
497 switch (le32toh(hdr->rm_type)) { in urndis_ctrl_handle()
512 rval = le32toh(hdr->rm_status); in urndis_ctrl_handle()
518 le32toh(hdr->rm_type)); in urndis_ctrl_handle()
536 le32toh(msg->rm_len), in urndis_ctrl_handle_init()
537 le32toh(msg->rm_rid), in urndis_ctrl_handle_init()
538 le32toh(msg->rm_status), in urndis_ctrl_handle_init()
[all …]
H A Dif_umb.c1235 if (len < sizeof (*hdr) || le32toh(hdr->len) != len) { in umb_decode_response()
1251 type = le32toh(hdr->type); in umb_decode_response()
1256 if (le32toh(fraghdr->frag.nfrag) != 1) { in umb_decode_response()
1266 le32toh(hdr->tid)); in umb_decode_response()
1276 err = le32toh(e->err); in umb_decode_response()
1280 umb_error2str(err), le32toh(hdr->tid)); in umb_decode_response()
1314 umb_request2str(le32toh(m->hdr.type))); in umb_handle_indicate_status_msg()
1319 umb_request2str(le32toh(m->hdr.type)), in umb_handle_indicate_status_msg()
1323 infolen = le32toh(m->infolen); in umb_handle_indicate_status_msg()
1326 umb_request2str(le32toh(m->hdr.type)), in umb_handle_indicate_status_msg()
[all …]
/freebsd/sys/dev/rtwn/rtl8192c/pci/
H A Dr92ce_tx.c104 le32toh(txd->txdw1), le32toh(txd->txdw2), le16toh(txd->txdw3), in r92ce_dump_tx_desc()
105 le16toh(txd->txdseq), le32toh(txd->txdw4), le32toh(txd->txdw5), in r92ce_dump_tx_desc()
106 le32toh(txd->txdw6), le16toh(txd->txbufsize), le16toh(txd->pad), in r92ce_dump_tx_desc()
107 le32toh(txd->txbufaddr), le32toh(txd->txbufaddr64), in r92ce_dump_tx_desc()
108 le32toh(txd->nextdescaddr), le32toh(txd->nextdescaddr64), in r92ce_dump_tx_desc()
109 le32toh(txd->reserved[0]), le32toh(txd->reserved[1]), in r92ce_dump_tx_desc()
110 le32toh(txd->reserved[2]), le32toh(txd->reserved[3])); in r92ce_dump_tx_desc()
/freebsd/sys/dev/rtwn/rtl8812a/usb/
H A Dr12au_tx.c67 le32toh(txd->txdw1), le32toh(txd->txdw2), le32toh(txd->txdw3), in r12au_dump_tx_desc()
68 le32toh(txd->txdw4), le32toh(txd->txdw5), le32toh(txd->txdw6), in r12au_dump_tx_desc()
69 le16toh(txd->txdsum), le16toh(txd->flags7), le32toh(txd->txdw8), in r12au_dump_tx_desc()
70 le32toh(txd->txdw9)); in r12au_dump_tx_desc()
/freebsd/sys/dev/iwm/
H A Dif_iwm_time_event.c184 le32toh(notif->unique_id), in iwm_te_handle_notif()
185 le32toh(notif->action)); in iwm_te_handle_notif()
187 if (!le32toh(notif->status)) { in iwm_te_handle_notif()
200 if (le32toh(notif->action) & IWM_TE_V2_NOTIF_HOST_EVENT_END) { in iwm_te_handle_notif()
206 } else if (le32toh(notif->action) & IWM_TE_V2_NOTIF_HOST_EVENT_START) { in iwm_te_handle_notif()
224 le32toh(notif->unique_id), in iwm_rx_time_event_notif()
225 le32toh(notif->action)); in iwm_rx_time_event_notif()
247 if (le32toh(resp->unique_id) != sc->sc_time_event_uid) in iwm_te_notif()
278 if (le32toh(resp->id) != IWM_TE_BSS_STA_AGGRESSIVE_ASSOC) { in iwm_time_event_response()
281 le32toh(resp->id)); in iwm_time_event_response()
[all …]
H A Dif_iwm_power.c165 le32toh(cmd->ba_enable_beacon_abort)); in iwm_beacon_filter_send_cmd()
168 le32toh(cmd->ba_escape_timer)); in iwm_beacon_filter_send_cmd()
171 le32toh(cmd->bf_debug_flag)); in iwm_beacon_filter_send_cmd()
174 le32toh(cmd->bf_enable_beacon_filter)); in iwm_beacon_filter_send_cmd()
177 le32toh(cmd->bf_energy_delta)); in iwm_beacon_filter_send_cmd()
180 le32toh(cmd->bf_escape_timer)); in iwm_beacon_filter_send_cmd()
183 le32toh(cmd->bf_roaming_energy_delta)); in iwm_beacon_filter_send_cmd()
186 le32toh(cmd->bf_roaming_state)); in iwm_beacon_filter_send_cmd()
189 le32toh(cmd->bf_temp_threshold)); in iwm_beacon_filter_send_cmd()
192 le32toh(cmd->bf_temp_fast_filter)); in iwm_beacon_filter_send_cmd()
[all …]
/freebsd/sys/fs/ext2fs/
H A Dext2_inode_cnv.c80 le32toh(ehp->eh_gen)); in ext2_print_inode()
83 le32toh(ep->e_blk), in ext2_print_inode()
84 le16toh(ep->e_len), le32toh(ep->e_start_lo), in ext2_print_inode()
136 *sec += (uint64_t)(le32toh(extra) & EXT3_EPOCH_MASK) << 32; in ext2_decode_extra_time()
138 *nsec = (le32toh(extra) & EXT3_NSEC_MASK) >> EXT3_EPOCH_BITS; in ext2_decode_extra_time()
154 (ip->i_number > le32toh(fs->e2fs->e2fs_icount))) { in ext2_ei2i()
184 ip->i_size = le32toh(ei->e2di_size); in ext2_ei2i()
186 ip->i_size |= (uint64_t)le32toh(ei->e2di_size_high) << 32; in ext2_ei2i()
187 ip->i_atime = (signed)le32toh(ei->e2di_atime); in ext2_ei2i()
188 ip->i_mtime = (signed)le32toh(ei->e2di_mtime); in ext2_ei2i()
[all …]
H A Dext2_extattr.c219 if (le32toh(header->h_magic) != EXTATTR_MAGIC) { in ext2_extattr_inode_list()
286 if (le32toh(header->h_magic) != EXTATTR_MAGIC || in ext2_extattr_block_list()
287 le32toh(header->h_blocks) != 1) { in ext2_extattr_block_list()
360 if (le32toh(header->h_magic) != EXTATTR_MAGIC) { in ext2_extattr_inode_get()
389 *size += le32toh(entry->e_value_size); in ext2_extattr_inode_get()
394 le32toh(entry->e_value_size), uio); in ext2_extattr_inode_get()
428 if (le32toh(header->h_magic) != EXTATTR_MAGIC || in ext2_extattr_block_get()
429 le32toh(header->h_blocks) != 1) { in ext2_extattr_block_get()
457 *size += le32toh(entry->e_value_size); in ext2_extattr_block_get()
462 le32toh(entry->e_value_size), uio); in ext2_extattr_block_get()
[all …]
H A Dext2_bmap.c126 if (lbn < le32toh(ep->e_blk)) { in ext4_bmapext()
128 *runp = min(maxrun, le32toh(ep->e_blk) - lbn - 1); in ext4_bmapext()
130 } else if (le32toh(ep->e_blk) <= lbn && in ext4_bmapext()
131 lbn < le32toh(ep->e_blk) + le16toh(ep->e_len)) { in ext4_bmapext()
132 *bnp = fsbtodb(fs, lbn - le32toh(ep->e_blk) + in ext4_bmapext()
133 (le32toh(ep->e_start_lo) | in ext4_bmapext()
138 (lbn - le32toh(ep->e_blk)) - 1); in ext4_bmapext()
141 *runb = min(maxrun, lbn - le32toh(ep->e_blk)); in ext4_bmapext()
144 *runb = min(maxrun, le32toh(ep->e_blk) + lbn - in ext4_bmapext()
287 daddr = le32toh(((e2fs_daddr_t *)bp->b_data)[ap->in_off]); in ext2_bmaparray()
[all …]
H A Dext2_extents.c95 le32toh(ex->ei_blk), in ext4_ext_walk_index()
97 le32toh(ex->ei_leaf_lo)); in ext4_ext_walk_index()
134 ep, le32toh(ep->e_blk), le16toh(ep->e_len), in ext4_ext_walk_extent()
153 le32toh(eh->eh_gen)); in ext4_ext_walk_header()
234 blk = le32toh(index->ei_leaf_lo); in ext4_ext_index_pblock()
253 blk = le32toh(extent->e_start_lo); in ext4_ext_extent_pblock()
373 if ((start_blk <= le32toh(fs->e2fs->e2fs_first_dblock)) || in ext4_inode_block_validate()
385 uint32_t lblk = le32toh(ext->e_blk); in ext4_validate_extent()
423 lblk = le32toh(ext->e_blk); in ext4_validate_extent_entries()
510 if (blk < le32toh( in ext4_ext_binsearch_index()
[all...]
/freebsd/sys/sys/
H A Dimgact_aout.h36 ( le32toh((ex).a_midmag) & 0xffff )
77 (le32toh((ex).a_entry) < le32toh((ex).a_text) ? 0 : \
78 le32toh((ex).a_entry) & ~__LDPGSZ) : __LDPGSZ)
82 N_ALIGN(ex, N_TXTADDR(ex) + le32toh((ex).a_text))
91 N_ALIGN(ex, N_TXTOFF(ex) + le32toh((ex).a_text))
95 N_ALIGN(ex, N_DATOFF(ex) + le32toh((ex).a_data))
99 (N_RELOFF(ex) + le32toh((ex).a_trsize) + le32toh((ex).a_drsize))
102 #define N_STROFF(ex) (N_SYMOFF(ex) + le32toh((ex).a_syms))
/freebsd/sys/dev/rtwn/usb/
H A Drtwn_usb_rx.c83 rxdw0 = le32toh(stat->rxdw0); in rtwn_rx_check_pre_alloc()
120 __func__, le32toh(stat->rxdw0), le32toh(stat->rxdw1), in rtwn_rx_copy_to_mbuf()
121 le32toh(stat->rxdw2), le32toh(stat->rxdw3), le32toh(stat->rxdw4), in rtwn_rx_copy_to_mbuf()
122 le32toh(stat->tsf_low)); in rtwn_rx_copy_to_mbuf()
179 "tsfl %08X\n", __func__, le32toh(stat->rxdw0), in rtwn_rxeof_fragmented()
180 le32toh(stat->rxdw1), le32toh(stat->rxdw2), in rtwn_rxeof_fragmented()
181 le32toh(stat->rxdw3), le32toh(stat->rxdw4), in rtwn_rxeof_fragmented()
182 le32toh(stat->tsf_low)); in rtwn_rxeof_fragmented()
185 rxdw0 = le32toh(stat->rxdw0); in rtwn_rxeof_fragmented()
255 rxdw0 = le32toh(stat->rxdw0); in rtwn_rxeof()
/freebsd/sys/dev/rtwn/rtl8192c/usb/
H A Dr92cu_tx.c57 le32toh(txd->txdw1), le32toh(txd->txdw2), le16toh(txd->txdw3), in r92cu_dump_tx_desc()
58 le16toh(txd->txdseq), le32toh(txd->txdw4), le32toh(txd->txdw5), in r92cu_dump_tx_desc()
59 le32toh(txd->txdw6), le16toh(txd->txdsum), le16toh(txd->pad)); in r92cu_dump_tx_desc()
/freebsd/usr.sbin/btxld/
H A Dbtxld.c313 btx->btx_entry = le32toh(btx->btx_entry); in getbtx()
353 hdr->text = le32toh(ex->a_text); in gethdr()
354 hdr->data = le32toh(ex->a_data); in gethdr()
355 hdr->bss = le32toh(ex->a_bss); in gethdr()
356 hdr->entry = le32toh(ex->a_entry); in gethdr()
357 if (le32toh(ex->a_entry) >= BTX_PGSIZE) in gethdr()
366 ep = (void *)((uint8_t *)p + le32toh(ee->e_phoff) + in gethdr()
368 if (le32toh(ep->p_type) == PT_LOAD) in gethdr()
371 hdr->text = le32toh(ep->p_filesz); in gethdr()
372 hdr->org = le32toh(ep->p_paddr); in gethdr()
[all …]
/freebsd/sys/dev/nvme/
H A Dnvme.h2068 s->cdw0 = le32toh(s->cdw0); in nvme_completion_swapbytes()
2083 s->enlat = le32toh(s->enlat); in nvme_power_state_swapbytes()
2084 s->exlat = le32toh(s->exlat); in nvme_power_state_swapbytes()
2099 s->ver = le32toh(s->ver); in nvme_controller_data_swapbytes()
2100 s->rtd3r = le32toh(s->rtd3r); in nvme_controller_data_swapbytes()
2101 s->rtd3e = le32toh(s->rtd3e); in nvme_controller_data_swapbytes()
2102 s->oaes = le32toh(s->oaes); in nvme_controller_data_swapbytes()
2103 s->ctratt = le32toh(s->ctratt); in nvme_controller_data_swapbytes()
2112 s->hmpre = le32toh(s->hmpre); in nvme_controller_data_swapbytes()
2113 s->hmmin = le32toh(s->hmmin); in nvme_controller_data_swapbytes()
[all …]
/freebsd/sys/dev/rtwn/pci/
H A Drtwn_pci_rx.c99 __func__, le32toh(rx_desc->rxdw0), le32toh(rx_desc->rxdw1), in rtwn_pci_rx_frame()
100 le32toh(rx_desc->rxdw2), le32toh(rx_desc->rxdw3), in rtwn_pci_rx_frame()
101 le32toh(rx_desc->rxdw4), le32toh(rx_desc->tsf_low), in rtwn_pci_rx_frame()
102 le32toh(rx_desc->rxbufaddr), le32toh(rx_desc->rxbufaddr64)); in rtwn_pci_rx_frame()
104 rxdw0 = le32toh(rx_desc->rxdw0); in rtwn_pci_rx_frame()
198 rxdw0 = le32toh(rx_desc->rxdw0); in rtwn_pci_rx_buf_copy()
359 if (le32toh(rx_desc->rxdw0) & RTWN_RXDW0_OWN) in rtwn_pci_rx_done()
394 if (le32toh(rx_desc->rxdw0) & RTWN_RXDW0_OWN) in rtwn_pci_rx_done()
/freebsd/sys/dev/mpr/
H A Dmpr_table.c346 mpr_print_field(sc, "DeviceInfo: %b,%s\n", le32toh(buf->DeviceInfo), in mpr_print_sasdev0()
379 le32toh(data->DiscoveryStatus), "\20" in mpr_print_evt_sas()
487 (le32toh(buf->PhyInfo) >> 16) & 0xf), le32toh(buf->PhyInfo)); in mpr_print_expander1()
489 le32toh(buf->AttachedDeviceInfo), "\20" "\4SATAhost" "\5SMPinit" "\6STPinit" in mpr_print_expander1()
493 le32toh(buf->AttachedDeviceInfo) & 0x03)); in mpr_print_expander1()
505 le32toh(buf->AttachedPhyInfo) & 0xf), le32toh(buf->AttachedPhyInfo)); in mpr_print_expander1()
519 le32toh(buf->AttachedPhyInfo) & 0xf), le32toh(buf->AttachedPhyInfo)); in mpr_print_sasphy0()
530 (le32toh(buf->PhyInfo) >> 16) & 0xf), le32toh(buf->PhyInfo)); in mpr_print_sasphy0()
554 length = le32toh(ieee_sge->Length); in mpr_print_sgl()
565 le32toh(ieee_sgc->Length), in mpr_print_sgl()
[all …]
/freebsd/usr.sbin/bhyve/
H A Dqemu_loader.c202 switch (le32toh(entry->cmd_le)) { in qemu_loader_dump_entry()
207 le32toh(entry->alloc.alignment_le)); in qemu_loader_dump_entry()
216 le32toh(entry->add_pointer.off_le)); in qemu_loader_dump_entry()
223 le32toh(entry->add_checksum.off_le)); in qemu_loader_dump_entry()
225 le32toh(entry->add_checksum.start_le)); in qemu_loader_dump_entry()
227 le32toh(entry->add_checksum.len_le)); in qemu_loader_dump_entry()
234 le32toh(entry->write_pointer.dest_off_le)); in qemu_loader_dump_entry()
236 le32toh(entry->write_pointer.src_off_le)); in qemu_loader_dump_entry()
/freebsd/sys/fs/udf/
H A Dudf_vfsops.c392 mvds_start = le32toh(avdp.main_vds_ex.loc); in udf_mountfs()
393 mvds_end = mvds_start + (le32toh(avdp.main_vds_ex.len) - 1) / bsize; in udf_mountfs()
402 udfmp->bsize = le32toh(lvd->lb_size); in udf_mountfs()
411 fsd_offset = le32toh(lvd->_lvd_use.fsd_loc.loc.lb_num); in udf_mountfs()
420 udfmp->part_len = le32toh(pd->part_len); in udf_mountfs()
421 udfmp->part_start = le32toh(pd->start_loc); in udf_mountfs()
470 sector = le32toh(udfmp->root_icb.loc.lb_num) + udfmp->part_start; in udf_mountfs()
471 size = le32toh(udfmp->root_icb.len); in udf_mountfs()
653 lea = le32toh(fe->l_ea); in udf_vget()
654 lad = le32toh(f in udf_vget()
[all...]
/freebsd/lib/libnvmf/
H A Dnvmf_tcp.c238 plen = le32toh(ch->plen); in nvmf_tcp_validate_pdu()
320 plen = le32toh(ch.plen); in nvmf_tcp_read_pdu()
504 if (le32toh(h2c->datal) > qp->maxh2cdata) { in nvmf_tcp_handle_h2c_data()
507 pdu->hdr, le32toh(pdu->hdr->plen), pdu->hdr->hlen); in nvmf_tcp_handle_h2c_data()
517 le32toh(pdu->hdr->plen), pdu->hdr->hlen); in nvmf_tcp_handle_h2c_data()
522 data_len = le32toh(h2c->datal); in nvmf_tcp_handle_h2c_data()
527 le32toh(pdu->hdr->plen), pdu->hdr->hlen); in nvmf_tcp_handle_h2c_data()
532 data_offset = le32toh(h2c->datao); in nvmf_tcp_handle_h2c_data()
537 pdu->hdr, le32toh(pdu->hdr->plen), pdu->hdr->hlen); in nvmf_tcp_handle_h2c_data()
545 le32toh(pdu->hdr->plen), pdu->hdr->hlen); in nvmf_tcp_handle_h2c_data()
[all …]
/freebsd/usr.sbin/usbdump/
H A Dusbdump.c483 up->up_totlen = le32toh(up->up_totlen); in print_apacket()
484 up->up_busunit = le32toh(up->up_busunit); in print_apacket()
485 up->up_flags = le32toh(up->up_flags); in print_apacket()
486 up->up_status = le32toh(up->up_status); in print_apacket()
487 up->up_error = le32toh(up->up_error); in print_apacket()
488 up->up_interval = le32toh(up->up_interval); in print_apacket()
489 up->up_frames = le32toh(up->up_frames); in print_apacket()
490 up->up_packet_size = le32toh(up->up_packet_size); in print_apacket()
491 up->up_packet_count = le32toh(up->up_packet_count); in print_apacket()
492 up->up_endpoint = le32toh(up->up_endpoint); in print_apacket()
[all …]
/freebsd/lib/libkvm/
H A Dkvm_minidump_i386.c68 return le32toh(*pte); in _i386_pte_get()
109 vmst->hdr.version = le32toh(vmst->hdr.version); in _i386_minidump_initvtop()
115 vmst->hdr.msgbufsize = le32toh(vmst->hdr.msgbufsize); in _i386_minidump_initvtop()
116 vmst->hdr.bitmapsize = le32toh(vmst->hdr.bitmapsize); in _i386_minidump_initvtop()
117 vmst->hdr.ptesize = le32toh(vmst->hdr.ptesize); in _i386_minidump_initvtop()
118 vmst->hdr.kernbase = le32toh(vmst->hdr.kernbase); in _i386_minidump_initvtop()
119 vmst->hdr.paemode = le32toh(vmst->hdr.paemode); in _i386_minidump_initvtop()
121 le32toh(vmst->hdr.dumpavailsize) : 0; in _i386_minidump_initvtop()
/freebsd/sys/dev/mrsas/
H A Dmrsas_fp.c292 fw_map_dyn->raidMapSize, le32toh(fw_map_dyn->descTableOffset), in MR_PopulateDrvRaidMapVentura()
296 le32toh(fw_map_dyn->descTableOffset)); in MR_PopulateDrvRaidMapVentura()
310 le32toh(fw_map_dyn->descTableOffset) + in MR_PopulateDrvRaidMapVentura()
311 le32toh(fw_map_dyn->descTableSize); in MR_PopulateDrvRaidMapVentura()
313 for (i = 0; i < le32toh(fw_map_dyn->descTableNumElements); ++i) { in MR_PopulateDrvRaidMapVentura()
326 le32toh(desc_table->raidMapDescType), desc_table->raidMapDescOffset, in MR_PopulateDrvRaidMapVentura()
327 le32toh(desc_table->raidMapDescElements), desc_table->raidMapDescBufferSize); in MR_PopulateDrvRaidMapVentura()
329 switch (le32toh(desc_table->raidMapDescType)) { in MR_PopulateDrvRaidMapVentura()
332 ((char *)raid_map_data + le32toh(desc_table->raidMapDescOffset)); in MR_PopulateDrvRaidMapVentura()
338 sizeof(MR_DEV_HANDLE_INFO) * le32toh(desc_table->raidMapDescElements)); in MR_PopulateDrvRaidMapVentura()
[all …]
/freebsd/stand/common/
H A Dpart.c116 uuid->time_low = le32toh(uuid->time_low); in uuid_letoh()
156 sz = le32toh(hdr->hdr_size); in gpt_checkhdr()
161 crc = le32toh(hdr->hdr_crc_self); in gpt_checkhdr()
168 hdr->hdr_revision = le32toh(hdr->hdr_revision); in gpt_checkhdr()
183 hdr->hdr_entries = le32toh(hdr->hdr_entries); in gpt_checkhdr()
184 hdr->hdr_entsz = le32toh(hdr->hdr_entsz); in gpt_checkhdr()
194 hdr->hdr_crc_table = le32toh(hdr->hdr_crc_table); in gpt_checkhdr()
411 start = le32toh(dp[0].dp_start); in ptable_ebrread()
417 end = le32toh(dp[0].dp_size); in ptable_ebrread()
431 offset = e1->part.start + le32toh(dp[1].dp_start); in ptable_ebrread()
[all …]

1234567891011