HomeSort by: relevance | last modified time | path
    Searched refs:le32toh (Results 1 - 25 of 244) sorted by relevancy

1 2 3 4 5 6 7 8 910

  /src/sys/dev/usb/
if_urndis.c 166 le32toh(hdr->rm_type),
167 le32toh(hdr->rm_len)));
169 if (le32toh(hdr->rm_len) > URNDIS_RESPONSE_LEN) {
172 le32toh(hdr->rm_len),
194 switch (le32toh(hdr->rm_type)) {
209 rval = le32toh(hdr->rm_status);
218 DEVNAME(un), le32toh(hdr->rm_type));
239 le32toh(msg->rm_len),
240 le32toh(msg->rm_rid),
241 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 261 show("iop flags", "0x%x", le32toh(lct->iopflags));
262 show("lct change indicator", "%d", le32toh(lct->changeindicator));
266 classid = le32toh(ent->classid);
267 usertid = le32toh(ent->usertid);
272 show("change indicator", "%d", le32toh(ent->changeindicator));
273 show("flags", "%x", le32toh(ent->deviceflags));
278 show("subclass info", "%x", le32toh(ent->subclassinfo));
285 show("event caps", "%x", le32toh(ent->eventcaps));
301 segnumber = le32toh(status.segnumber);
303 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/external/bsd/common/include/asm/
byteorder.h 53 #define le32_to_cpu le32toh
  /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 253 f.firstchar = le32toh(foo);
255 f.numchars = le32toh(foo);
257 f.encoding = le32toh(foo);
259 f.fontwidth = le32toh(foo);
261 f.fontheight = le32toh(foo);
263 f.stride = le32toh(foo);
265 f.bitorder = le32toh(foo);
267 f.byteorder = le32toh(foo);
  /src/sbin/gpt/
header.c 90 revision = le32toh(hdr->hdr_revision);
97 printf("- Number of GPT Entries: %u\n", le32toh(hdr->hdr_entries));
migrate.c 187 if (le32toh(dl->d_magic) != DISKMAGIC ||
188 le32toh(dl->d_magic2) != DISKMAGIC) {
194 rawofs = le32toh(dl->d_partitions[RAW_PART].p_offset) *
195 le32toh(dl->d_secsize);
199 ofs = le32toh(dl->d_partitions[i].p_offset) *
200 le32toh(dl->d_secsize);
221 ofs = (le32toh(dl->d_partitions[i].p_offset) *
222 le32toh(dl->d_secsize)) / gpt->secsz;
226 (off_t)le32toh((uint64_t)dl->d_partitions[i].p_size)
add.c 99 if (entry > le32toh(hdr->hdr_entries)) {
101 entry, le32toh(hdr->hdr_entries));
114 for (i = 0; i < le32toh(hdr->hdr_entries); i++) {
119 if (i == le32toh(hdr->hdr_entries)) {
  /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 615 return le32toh(vb_uart.vbt_uartclockrate.rate);
625 return le32toh(vb.vbt_vpuclockrate.rate);
636 return le32toh(vb.vbt_emmcclockrate.rate);
647 return le32toh(vb.vbt_emmc2clockrate.rate);
672 uart_clk = le32toh(vb_uart.vbt_uartclockrate.rate);
674 core_clk = le32toh(vb_uart.vbt_vpuclockrate.rate);
768 le32toh(vptp_mem->mem[i].base);
770 atop(le32toh(vptp_mem->mem[i].size));
773 bcm283x_memorysize += le32toh(vptp_mem->mem[i].size);
779 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));
  /src/sbin/fdisk/
fdisk.c 684 offset += le32toh(ext.ptn[part - 1].mbr_parts[1].mbrp_start);
745 le32toh(mboot.mbr_dsn),
746 le32toh(mboot.mbr_dsn));
788 printf("PART%s%dSIZE=%u\n", e, part, le32toh(partp->mbrp_size));
790 offset + le32toh(partp->mbrp_start));
840 start = le32toh(partp->mbrp_start);
841 size = le32toh(partp->mbrp_size);
859 if (v_flag == 0 && le32toh(partp->mbrp_start) == ptn_0_offset)
1144 ext.base = le32toh(mp->mbrp_start);
1145 ext.limit = ext.base + le32toh(mp->mbrp_size)
    [all...]

Completed in 21 milliseconds

1 2 3 4 5 6 7 8 910