| /src/sys/dev/usb/ |
| if_urndis.c | 195 le32toh(hdr->rm_type), 196 le32toh(hdr->rm_len))); 198 if (le32toh(hdr->rm_len) > URNDIS_RESPONSE_LEN) { 201 le32toh(hdr->rm_len), 223 switch (le32toh(hdr->rm_type)) { 238 rval = le32toh(hdr->rm_status); 247 DEVNAME(un), le32toh(hdr->rm_type)); 268 le32toh(msg->rm_len), 269 le32toh(msg->rm_rid), 270 le32toh(msg->rm_status) [all...] |
| if_gscan.c | 225 dlc = le32toh(gsframe->gsframe_can_dlc); 230 echo_id = le32toh(gsframe->gsframe_echo_id); 235 can_id = le32toh(gsframe->gsframe_can_id); 666 le32toh(gscan_config.sw_version), le32toh(gscan_config.hw_version)); 676 le32toh(gscan_bt_const.btc_features), 677 le32toh(gscan_bt_const.btc_fclk), 678 le32toh(gscan_bt_const.btc_tseg1_min), 679 le32toh(gscan_bt_const.btc_tseg1_max), 680 le32toh(gscan_bt_const.btc_tseg2_min) [all...] |
| /src/sys/arch/arm/acpi/ |
| acpi_iort.c | 50 offset = le32toh(node->MappingOffset); 51 for (n = 0; n < le32toh(node->MappingCount); n++) { 53 if (le32toh(map->Flags) & ACPI_IORT_ID_SINGLE_MAPPING) { 54 *id = le32toh(map->OutputBase); 57 if (*id >= le32toh(map->InputBase) && *id <= le32toh(map->InputBase) + le32toh(map->IdCount)) { 58 *id = *id - le32toh(map->InputBase) + le32toh(map->OutputBase); 76 return ACPI_ADD_PTR(ACPI_IORT_NODE, iort, le32toh(map->OutputReference)) [all...] |
| acpi_table.c | 64 length = le32toh(header->Length); 74 acpi_md_OsUnmapMemory(hdrp, le32toh(hdrp->Length)); 101 const u_int entries = (le32toh(xsdt->Header.Length) - sizeof(ACPI_TABLE_HEADER)) / ACPI_XSDT_ENTRY_SIZE;
|
| /src/usr.sbin/iopctl/ |
| iopctl.c | 262 show("iop flags", "0x%x", le32toh(lct->iopflags)); 263 show("lct change indicator", "%d", le32toh(lct->changeindicator)); 267 classid = le32toh(ent->classid); 268 usertid = le32toh(ent->usertid); 273 show("change indicator", "%d", le32toh(ent->changeindicator)); 274 show("flags", "%x", le32toh(ent->deviceflags)); 279 show("subclass info", "%x", le32toh(ent->subclassinfo)); 286 show("event caps", "%x", le32toh(ent->eventcaps)); 302 segnumber = le32toh(status.segnumber); 304 show("iop id", "%d", le32toh(status.iopid) & 4095) [all...] |
| /src/common/lib/libc/stdlib/ |
| mi_vector_hash.c | 159 a += le32toh(key32[0]); 160 b += le32toh(key32[1]); 161 c += le32toh(key32[2]); 169 c += (le32toh(key32[2]) & mask[len - 9]) << 8; 170 b += le32toh(key32[1]); 171 a += le32toh(key32[0]); 173 b += le32toh(key32[1]) & mask[len - 5]; 174 a += le32toh(key32[0]); 176 a += le32toh(key32[0]) & mask[len - 1];
|
| /src/usr.sbin/installboot/arch/ |
| pmax.c | 153 if (le32toh(bb.magic) != PMAX_BOOT_MAGIC) { 257 le32toh(bb.map[0].start_block)); 259 le32toh(bb.map[0].num_blocks)); 261 le32toh(bb.load_addr)); 263 le32toh(bb.exec_addr)); 334 (off_t) le32toh(ehdr.e_phoff) + i * sizeof(phdr)) 339 if (le32toh(phdr.p_type) != PT_LOAD) 342 seglist[nsegs].addr = le32toh(phdr.p_paddr); 343 seglist[nsegs].f_offset = le32toh(phdr.p_offset); 344 seglist[nsegs].f_size = le32toh(phdr.p_filesz) [all...] |
| /src/sys/dev/ic/ |
| nvmeio.h | 147 psd->enlat = le32toh(psd->enlat); 148 psd->exlat = le32toh(psd->exlat); 164 identify->ver = le32toh(identify->ver); 165 identify->rtd3r = le32toh(identify->rtd3r); 166 identify->rtd3e = le32toh(identify->rtd3e); 167 identify->oaes = le32toh(identify->oaes); 168 identify->ctrattr = le32toh(identify->ctrattr); 173 identify->hmpre = le32toh(identify->hmpre); 174 identify->hmmin = le32toh(identify->hmmin); 177 identify->rpmbs = le32toh(identify->rpmbs) [all...] |
| mpt_debug.c | 335 printf("\tMsgContext 0x%08x\n", le32toh(msg->MsgContext)); 364 le32toh(msg->CurrentHostMfaHighAddr)); 366 le32toh(msg->CurrentSenseBufferHighAddr)); 371 printf("\tFWImageSize 0x%04x\n", le32toh(msg->FWImageSize)); 390 printf("\tTransferCnt 0x%04x\n", le32toh(msg->TransferCount)); 391 printf("\tSenseCnt 0x%04x\n", le32toh(msg->SenseCount)); 392 printf("\tResponseInfo 0x%08x\n", le32toh(msg->ResponseInfo)); 401 printf("\tEvent: %s\n", mpt_ioc_event(le32toh(msg->Event))); 402 printf("\tEventContext 0x%04x\n", le32toh(msg->EventContext)); 408 printf("\tEvtLogData: 0x%04x\n", le32toh(msg->Data[0])) [all...] |
| aac.c | 391 aac_describe_code(aac_cpu_variant, le32toh(info->CpuVariant)), 392 le32toh(info->ClockSpeed), 393 le32toh(info->TotalMem) / (1024 * 1024), 394 le32toh(info->BufferMem) / (1024 * 1024), 396 le32toh(info->batteryPlatform))); 515 sc->sc_max_fib_size = le32toh(opt1) & 0xffff; 516 sc->sc_max_sectors = (le32toh(opt1) >> 16) << 1; 517 tmpval = (le32toh(opt2) >> 16); 521 tmpval = (le32toh(opt3) & 0xffff); 858 if (le32toh(mir.Status) != ST_OK | [all...] |
| /src/sys/arch/evbppc/stand/wii/ |
| sdmmc.c | 71 printf(" - %u %u\n", le32toh(p->p_offset), le32toh(p->p_size)); 89 if (le32toh(d.d_magic) != DISKMAGIC || 90 le32toh(d.d_magic2) != DISKMAGIC) { 92 printf("SDMMC: bad diskmagic 0x%x 0x%x\n", le32toh(d.d_magic), 93 le32toh(d.d_magic2)); 127 printf("SDMMC: bad MBR magic: 0x%x\n", le32toh(mbr.mbr_magic)); 135 size = le32toh(mbr_part->mbrp_size); 136 if (le32toh(mbr_part->mbrp_size) == 0) { 139 start = le32toh(mbr_part->mbrp_start) [all...] |
| /src/sys/external/bsd/common/include/asm/ |
| byteorder.h | 53 #define le32_to_cpu le32toh
|
| /src/sbin/gpt/ |
| header.c | 93 revision = le32toh(hdr->hdr_revision); 100 printf("- Number of GPT Entries: %u\n", le32toh(hdr->hdr_entries));
|
| migrate.c | 190 if (le32toh(dl->d_magic) != DISKMAGIC || 191 le32toh(dl->d_magic2) != DISKMAGIC) { 197 rawofs = le32toh(dl->d_partitions[RAW_PART].p_offset) * 198 le32toh(dl->d_secsize); 202 ofs = le32toh(dl->d_partitions[i].p_offset) * 203 le32toh(dl->d_secsize); 224 ofs = (le32toh(dl->d_partitions[i].p_offset) * 225 le32toh(dl->d_secsize)) / gpt->secsz; 229 (off_t)le32toh((uint64_t)dl->d_partitions[i].p_size)
|
| add.c | 101 if (entry > le32toh(hdr->hdr_entries)) { 103 entry, le32toh(hdr->hdr_entries)); 116 for (i = 0; i < le32toh(hdr->hdr_entries); i++) { 121 if (i == le32toh(hdr->hdr_entries)) {
|
| /src/sys/arch/arm/arm/ |
| disksubr_mbr.c | 156 if (le32toh(mbrp->mbrp_start) + 157 le32toh(mbrp->mbrp_size) > lp->d_secperunit) { 165 pp->p_offset = le32toh(mbrp->mbrp_start); 166 pp->p_size = le32toh(mbrp->mbrp_size); 175 mbrpartoff = le32toh(mbrp->mbrp_start); 180 lp->d_partitions[2].p_size = le32toh(mbrp->mbrp_size); 182 le32toh(mbrp->mbrp_start); 274 mbrpartoff = le32toh(ourmbrp->mbrp_start);
|
| /src/usr.sbin/wsfontload/ |
| wsfontload.c | 254 f.firstchar = le32toh(foo); 256 f.numchars = le32toh(foo); 258 f.encoding = le32toh(foo); 260 f.fontwidth = le32toh(foo); 262 f.fontheight = le32toh(foo); 264 f.stride = le32toh(foo); 266 f.bitorder = le32toh(foo); 268 f.byteorder = le32toh(foo);
|
| /src/sys/arch/evbarm/rpi/ |
| vcprop_subr.c | 90 le32toh(vb_setblank.vbt_blank.state), error, res, 91 le32toh(vb_setblank.vbt_blank.tag.vpt_rcode)); 140 le32toh(vb_allocmem.vbt_am.size), error, res, 141 le32toh(vb_allocmem.vbt_am.tag.vpt_rcode)); 152 return le32toh(vb_allocmem.vbt_am.size); 189 le32toh(vb_lockmem.vbt_lm.handle), error, res, 190 le32toh(vb_lockmem.vbt_lm.tag.vpt_rcode)); 200 return le32toh(vb_lockmem.vbt_lm.handle); 237 le32toh(vb_unlockmem.vbt_lm.handle), error, res, 238 le32toh(vb_unlockmem.vbt_lm.tag.vpt_rcode)) [all...] |
| /src/sys/dev/dkwedge/ |
| dkwedge_gpt.c | 106 rv = le32toh(crc) == crc32(0, (void *)hdr, le32toh(hdr->hdr_size)); 157 if (le32toh(hdr->hdr_size) > secsize) { 178 entries = le32toh(hdr->hdr_entries); 179 entsz = roundup(le32toh(hdr->hdr_entsz), 8); 182 pdk->dk_name, le32toh(hdr->hdr_entsz)); 186 gpe_crc = le32toh(hdr->hdr_crc_table);
|
| /src/sys/arch/arm/broadcom/ |
| bcm283x_platform.c | 617 return le32toh(vb_uart.vbt_uartclockrate.rate); 627 return le32toh(vb.vbt_vpuclockrate.rate); 638 return le32toh(vb.vbt_emmcclockrate.rate); 649 return le32toh(vb.vbt_emmc2clockrate.rate); 674 uart_clk = le32toh(vb_uart.vbt_uartclockrate.rate); 676 core_clk = le32toh(vb_uart.vbt_vpuclockrate.rate); 770 le32toh(vptp_mem->mem[i].base); 772 atop(le32toh(vptp_mem->mem[i].size)); 775 bcm283x_memorysize += le32toh(vptp_mem->mem[i].size); 781 le32toh(vb.vbt_armclockrate.rate) [all...] |
| /src/sys/ufs/chfs/ |
| chfs_scan.c | 89 hdr_crc = le32toh(nhdr->hdr_crc); 117 if (crc != le32toh(vnode->node_crc)) { 119 cheb, le32toh(vnode->length)); 166 chfs_change_size_free(chmp, cheb, -le32toh(vnode->length)); 167 chfs_change_size_used(chmp, cheb, le32toh(vnode->length)); 289 if (crc != le32toh(dirent->node_crc)) { 290 err = chfs_update_eb_dirty(chmp, cheb, le32toh(dirent->length)); 314 if (crc != le32toh(dirent->name_crc)) { 316 "calculated: 0x%x\n", le32toh(dirent->name_crc), crc); 318 err = chfs_update_eb_dirty(chmp, cheb, le32toh(dirent->length)) [all...] |
| /src/sys/lib/libkern/ |
| entpool.h | 49 #define ENTPOOL_WTOH le32toh
|
| /src/sys/arch/prep/stand/installboot/ |
| installboot.c | 150 imgsz = le32toh(*(u_int32_t *)(buf + sizeof(u_int32_t))) 152 lseek(fd, le32toh(*(u_int32_t *)buf), SEEK_SET); 208 le32toh(mbrp[i].mbrp_start), le32toh(mbrp[i].mbrp_size)); 213 ppp->mbrp_start = le32toh(ppp->mbrp_start); 214 ppp->mbrp_size = le32toh(ppp->mbrp_size);
|
| /src/usr.sbin/fstyp/ |
| exfat.c | 251 fat_offset_sect = le32toh(ev->ev_fat_offset); 257 nextclust = le32toh(fatsect[clsectoff]); 271 cluster_offset_sect = le32toh(ev->ev_cluster_offset); 272 rootdir_cluster = le32toh(ev->ev_rootdir_cluster); 355 if (chksum != le32toh(cksect[0])) { 357 le32toh(cksect[0]), chksum);
|
| /src/usr.sbin/mlxctl/ |
| cmds.c | 219 printf(" Hardware ID\t\t\t0x%08x\n", le32toh(hid)); 220 printf(" Firmware ID\t\t\t0x%08x\n", le32toh(sid)); 229 le32toh(enq.me_mem_size), le32toh(enq.me_cache_size), 230 le32toh(enq.me_flash_size), le32toh(enq.me_nvram_size));
|