/src/sys/dev/ic/ |
nvmeio.h | 116 format->ms = le16toh(format->ms); 129 identify->nawun = le16toh(identify->nawun); 130 identify->nawupf = le16toh(identify->nawupf); 131 identify->nacwu = le16toh(identify->nacwu); 132 identify->nabsn = le16toh(identify->nabsn); 133 identify->nabo = le16toh(identify->nabo); 134 identify->nabspf = le16toh(identify->nabspf); 135 identify->noiob = le16toh(identify->noiob); 146 psd->mp = le16toh(psd->mp); 149 psd->idlp = le16toh(psd->idlp) [all...] |
mpt_debug.c | 331 printf("\tIOC Status %s\n", mpt_ioc_status(le16toh(msg->IOCStatus))); 356 printf("\tReplyQueueDepth %d\n", le16toh(msg->ReplyQueueDepth)); 357 printf("\tReqFrameSize 0x%04x\n", le16toh(msg->RequestFrameSize)); 359 printf("\tProduct ID 0x%04x\n", le16toh(msg->ProductID)); 360 printf("\tCredits 0x%04x\n", le16toh(msg->GlobalCredits)); 368 le16toh(msg->CurReplyFrameSize)); 404 printf("\tEventDataLength %d\n", le16toh(msg->EventDataLength)); 597 le16toh(ce->Length));
|
wi.c | 449 chan = le16toh(val); 463 sc->sc_dbm_offset = le16toh(val); 528 nrate = le16toh(ratebuf.nrates); 1542 val = le16toh(val); 1677 status = le16toh(frmhdr.wi_status); 1685 rstamp = (le16toh(frmhdr.wi_rx_tstamp0) << 16) | 1686 le16toh(frmhdr.wi_rx_tstamp1); 1688 len = le16toh(frmhdr.wi_dat_len); 1806 status = le16toh(frmhdr.wi_status); 1823 le16toh(frmhdr.wi_dat_len) [all...] |
an.c | 236 kid = le16toh(akey->an_key_index); 240 akey->an_mac_addr[0], le16toh(akey->an_key_len))); 248 sc->sc_perskeylen[kid] = le16toh(akey->an_key_len); 278 switch (le16toh(sc->sc_caps.an_regdomain)) { 821 le16toh(frmhdr.an_tx_ctl), 822 le16toh(frmhdr.an_tx_payload_len)); 1034 rate = le16toh(sc->sc_buf.sc_status.an_current_tx_rate); 1401 le32toh(frmhdr.an_rx_time), le16toh(frmhdr.an_rx_status), 1402 le16toh(frmhdr.an_rx_payload_len), frmhdr.an_rx_chan, 1405 le16toh(frmhdr.an_gaplen)) [all...] |
/src/usr.sbin/mlxctl/ |
cmds.c | 231 printf(" DRAM type\t\t\t%d\n", le16toh(enq.me_mem_type)); 233 le16toh(enq.me_clock_speed)); 235 le16toh(enq.me_hardware_speed)); 237 le16toh(enq.me_max_commands)); 238 printf(" Max SG Entries\t\t%d\n", le16toh(enq.me_max_sg)); 239 printf(" Max DP\t\t\t%d\n", le16toh(enq.me_max_dp)); 240 printf(" Max IOD\t\t\t%d\n", le16toh(enq.me_max_iod)); 241 printf(" Max Comb\t\t\t%d\n", le16toh(enq.me_max_comb)); 245 le16toh(enq.me_min_freelines)); 247 printf(" MAXBLK\t\t\t%d\n", le16toh(enq.me_maxblk)) [all...] |
/src/sys/external/bsd/common/include/asm/ |
byteorder.h | 52 #define le16_to_cpu le16toh
|
/src/sys/netbt/ |
l2cap_signal.c | 80 cmd.length = le16toh(cmd.length); 182 cmd.length = le16toh(cmd.length); 198 switch (le16toh(cp.reason)) { 215 link->hl_mtu = le16toh(cp.data[0]); 232 UNKNOWN(le16toh(cp.reason)); 258 cp.scid = le16toh(cp.scid); 259 cp.psm = le16toh(cp.psm); 364 cp.scid = le16toh(cp.scid); 365 cp.dcid = le16toh(cp.dcid); 366 cp.result = le16toh(cp.result) [all...] |
hci_event.c | 260 ep.opcode = le16toh(ep.opcode); 310 HCI_OGF(le16toh(ep.opcode)), HCI_OCF(le16toh(ep.opcode)), 325 HCI_OGF(le16toh(ep.opcode)), HCI_OCF(le16toh(ep.opcode)), 332 switch(le16toh(ep.opcode)) { 399 handle = le16toh(handle); 403 num = le16toh(num); 638 link->hl_handle = HCI_CON_HANDLE(le16toh(ep.con_handle)); 683 ep.con_handle = le16toh(ep.con_handle) [all...] |
l2cap_lower.c | 118 hdr.length = le16toh(hdr.length); 119 hdr.dcid = le16toh(hdr.dcid);
|
/src/sys/arch/bebox/stand/boot/ |
io.c | 77 return le16toh(*((volatile uint16_t *)(&ISA_io[port]))); 105 return le16toh(*((u_short *)&PCI_mem[addr]));
|
/src/sys/arch/arm/acpi/ |
acpi_iort.c | 106 offset += le16toh(node->Length); 147 offset += le16toh(node->Length); 180 offset += le16toh(node->Length);
|
/src/usr.sbin/wiconfig/ |
wiconfig.c | 351 int len = le16toh(wreq->wi_val[0]); 435 for (j = 0; j < le16toh(k->wi_keylen); j++) { 444 for (j = 0; j < le16toh(k->wi_keylen); j++) 472 switch (le16toh(wreq->wi_val[1])) { 486 printf("[ %s ID: %d version: %d.%d ]", vendor, le16toh(wreq->wi_val[0]), 487 le16toh(wreq->wi_val[2]), le16toh(wreq->wi_val[3])); 497 printf("%d ", le16toh(wreq->wi_val[i])); 504 if (le16toh(wreq->wi_val[0])) 531 int bits = le16toh(wreq->wi_val[0]) [all...] |
/src/sbin/gpt/ |
migrate.c | 196 for (i = 0; i < le16toh(dl->d_npartitions); i++) { 209 for (i = 0; i < le16toh(dl->d_npartitions); i++) { 261 start = le16toh(mbr->mbr_part[i].part_start_hi); 262 start = (start << 16) + le16toh(mbr->mbr_part[i].part_start_lo); 263 size = le16toh(mbr->mbr_part[i].part_size_hi); 264 size = (size << 16) + le16toh(mbr->mbr_part[i].part_size_lo);
|
backup.c | 101 le16toh(par->part_start_lo))); 103 le16toh(par->part_start_hi))); 105 le16toh(par->part_size_lo))); 107 le16toh(par->part_size_hi)));
|
/src/usr.sbin/iopctl/ |
iopctl.c | 256 nent = ((le16toh(lct->tablesize) << 2) - 260 show("flags", "0x%x", le16toh(lct->flags)); 270 show("entry size", "%d bytes", le16toh(ent->entrysize) << 2); 271 show("local tid", "%d", le16toh(ent->localtid) & 4095); 302 show("organization id", "%d", le16toh(status.orgid)); 309 show("inbound frame sz", "%d", le16toh(status.inboundmframesize)); 348 show("ddm tid", "%d", le16toh(p.di.ddmtid) & 4095); 437 nit = (le16toh(status.orgid) != I2O_ORG_DPT);
|
/src/sys/dev/pci/ |
mpii.c | 780 smid = le16toh(rdp->smid); 1196 words[i] = le16toh(mpii_read_db(sc) & MPII_DOORBELL_DATA_MASK); 1284 sc->sc_max_devices = ifp.max_volumes + le16toh(ifp.max_targets); 1293 sc->sc_max_cmds = MIN(le16toh(ifp.request_credit), 1316 qdepth = le16toh(ifp.max_reply_descriptor_post_queue_depth); 1360 irs = le16toh(ifp.ioc_request_frame_size) * 4; 1461 le16toh(iip.ioc_status)); 1465 if (le16toh(iip.ioc_status) != MPII_IOCSTATUS_SUCCESS || 1778 type = (le16toh(ce->element_flags) & 1790 le16toh(ce->vol_dev_handle))) [all...] |
/src/sys/dev/pcmcia/ |
if_malo_pcmcia.c | 1018 rxdesc->status = le16toh(rxdesc->status); 1019 rxdesc->pkglen = le16toh(rxdesc->pkglen); 1089 device_xname(sc->sc_dev), txdesc->status, le16toh(txdesc->pkglen), 1377 psize += le16toh(body_rates->size); 1379 memset((char *)(body_rates + 1) + le16toh(body_rates->size), 0, 1405 body->bufsize = le16toh(body->bufsize); 1414 set->size = le16toh(set->size); 1415 set->beaconintvl = le16toh(set->beaconintvl); 1416 set->capinfo = le16toh(set->capinfo); 1836 le16toh(body_ssid->size)) [all...] |
/src/sys/arch/prep/stand/boot/ |
io.c | 80 return le16toh(*((u_short *)&PCI_mem[addr]));
|
/src/sys/arch/sandpoint/stand/altboot/ |
fxp.c | 279 while (!(le16toh(cbp->cb_status) & FXP_CB_STATUS_C) && --i > 0) { 303 while (!(le16toh(cb_ias->cb_status) & FXP_CB_STATUS_C) && --i > 0) { 355 while (!(le16toh(txd->cb_status) & FXP_CB_STATUS_C) && --loop > 0) { 388 if ((le16toh(rfa->rfa_status) & FXP_RFA_STATUS_C) == 0) 390 len = le16toh(rfa->actual_size) & 0x7ff;
|
/src/sys/dev/isa/ |
if_iy.c | 400 v = le16toh(bus_space_read_stream_2(iot, ioh, MEM_PORT_REG)); 404 v = le16toh(bus_space_read_stream_2(iot, ioh, MEM_PORT_REG)); 410 p = le16toh(bus_space_read_stream_2(iot, ioh, MEM_PORT_REG)); 413 v = le16toh(bus_space_read_stream_2(iot, ioh, MEM_PORT_REG)); 820 le16toh(stat) | CHAIN); 1074 rxevnt = le16toh(bus_space_read_stream_2(iot, ioh, MEM_PORT_REG)); 1078 rxstatus = le16toh(bus_space_read_stream_2(iot, ioh, 1080 rxnext = le16toh(bus_space_read_stream_2(iot, ioh, 1082 rxlen = le16toh(bus_space_read_stream_2(iot, ioh, 1107 rxevnt = le16toh(bus_space_read_stream_2(iot, ioh [all...] |
/src/sys/dev/i2c/ |
ihidev.c | 188 le16toh(sc->hid_desc.wVendorID), le16toh(sc->hid_desc.wProductID), 203 sc->sc_isize = le16toh(sc->hid_desc.wMaxInputLength); 638 if (le16toh(sc->hid_desc.bcdVersion) != 0x0100) { 641 le16toh(sc->hid_desc.bcdVersion)); 646 if (le16toh(sc->hid_desc.wHIDDescLength != 650 le16toh(sc->hid_desc.wHIDDescLength), 655 if (le16toh(sc->hid_desc.wReportDescLength) <= 0) { 658 le16toh(sc->hid_desc.wReportDescLength)); 673 sc->sc_reportlen = le16toh(sc->hid_desc.wReportDescLength) [all...] |
/src/sys/dev/usb/ |
if_axe.c | 343 *val = le16toh(data); 449 rxmode = le16toh(rxmode); 580 eeprom = le16toh(eeprom); 801 sc->sc_pwrcfg = le16toh(eeprom) & 0xFF00; 816 eeprom = le16toh(eeprom); 1017 (le16toh(hdr.len) & AXE_RH1M_RXLEN_MASK), 1018 (le16toh(hdr.ilen) & AXE_RH1M_RXLEN_MASK), 0); 1023 if (((le16toh(hdr.len) & AXE_RH1M_RXLEN_MASK) ^ 1024 (le16toh(hdr.ilen) & AXE_RH1M_RXLEN_MASK)) != 1030 rxlen = le16toh(hdr.len) & AXE_RH1M_RXLEN_MASK [all...] |
if_axen.c | 152 *val = le16toh(data); 249 rxmode = le16toh(wval); 338 } while ((le16toh(buf) & 0xff) & AXEN_EEPROM_BUSY); 402 temp = le16toh(wval); 413 ctl = le16toh(wval); 489 DPRINTF(("axen: current medium mode: 0x%04x\n", le16toh(wval))); 926 rxmode = le16toh(wval); 944 rxmode = le16toh(wval);
|
/src/sys/fs/msdosfs/ |
msdosfs_conv.c | 783 uint16_t inch = le16toh(in[0]); 907 inch = le16toh(in[0]); 966 w = le16toh(w); 985 w = le16toh(w); 1026 u1 = le16toh(*w1); 1027 u2 = le16toh(*w2);
|
/src/usr.sbin/installboot/arch/ |
i386.c | 345 if (disk_buf.mbr.mbr_magic != le16toh(MBR_MAGIC)) { 444 u = le16toh(bpb->bpbBytesPerSec) 445 * le16toh(bpb->bpbResSectors);
|