letoh16 230 dev/acpi/dsdt.h #define aml_letohost16(x) letoh16(x) letoh16 498 dev/ata/atascsi.c if (as->as_capability & ASAA_CAP_NCQ && (letoh16(id.satacap) & letoh16 509 dev/ata/atascsi.c ap->ap_ncqdepth = (letoh16(id.qdepth) & 0x1f) + 1; letoh16 626 dev/ata/atascsi.c if (letoh16(id.cmdset83) & 0x0400) { letoh16 630 dev/ata/atascsi.c capacity += letoh16(id.addrsecxt[i]); letoh16 633 dev/ata/atascsi.c capacity = letoh16(id.addrsec[1]); letoh16 635 dev/ata/atascsi.c capacity += letoh16(id.addrsec[0]); letoh16 244 dev/eisa/cac_eisa.c size = letoh16(ccb->ccb_hdr.size) << 2; letoh16 335 dev/i2o/iop.c letoh16(sc->sc_status.orgid), letoh16 639 dev/i2o/iop.c if ((letoh16(le->classid) & I2O_CLASS_MASK) != letoh16 642 dev/i2o/iop.c tid = letoh16(le->localtid) & I2O_CLASS_MASK; letoh16 756 dev/i2o/iop.c letoh16(le->localtid) & I2O_LCT_ENTRY_TID_MASK; letoh16 763 dev/i2o/iop.c ia.ia_class = letoh16(le->classid) & I2O_CLASS_MASK; letoh16 892 dev/i2o/iop.c if (letoh16(sc->sc_status.orgid) != I2O_ORG_AMI) { letoh16 1082 dev/i2o/iop.c letoh16(hrthdr.numentries))); letoh16 1085 dev/i2o/iop.c (letoh16(hrthdr.numentries) - 1) * sizeof(struct i2o_hrt_entry); letoh16 1161 dev/i2o/iop.c size = letoh16(lct->tablesize) << 2; letoh16 1178 dev/i2o/iop.c sc->sc_nlctent = ((letoh16(sc->sc_lct->tablesize) << 2) - letoh16 2125 dev/i2o/iop.c detail = letoh16(rb->detail); letoh16 2185 dev/i2o/iop.c nit = (letoh16(sc->sc_status.orgid) != I2O_ORG_DPT); letoh16 2384 dev/i2o/iop.c i = letoh16(sc->sc_lct->tablesize) << 2; letoh16 2425 dev/i2o/iop.c pt->pt_msglen > (letoh16(sc->sc_status.inboundmframesize) << 2) || letoh16 581 dev/i2o/ioprbs.c detail = letoh16(rb->detail); letoh16 646 dev/i2o/ioprbs.c if (letoh16(I2O_ORG_AMI) == iop->sc_status.orgid && mpi > 64) letoh16 278 dev/i2o/iopsp.c if ((letoh16(le->classid) & 4095) == letoh16 281 dev/i2o/iopsp.c bptid = letoh16(le->localtid) & 4095; letoh16 287 dev/i2o/iopsp.c if ((letoh16(le->classid) & I2O_CLASS_MASK) != letoh16 291 dev/i2o/iopsp.c tid = letoh16(le->localtid) & I2O_LCT_ENTRY_TID_MASK; letoh16 470 dev/ic/aacvar.h return letoh16(*(u_int16_t *)addr); letoh16 1323 dev/ic/acx.c desc_ctrl = letoh16(buf->rb_desc->h_ctrl); letoh16 1342 dev/ic/acx.c len = letoh16(head->rbh_len) & ACX_RXBUF_LEN_MASK; letoh16 98 dev/ic/aic7xxx_cam.h #define aic_le16toh(x) letoh16(x) letoh16 431 dev/ic/ami.c sc->sc_memory = letoh16(pi->api_ramsize); letoh16 667 dev/ic/ciss.c switch ((rv = letoh16(err->cmd_stat))) { letoh16 1071 dev/ic/ciss.c blks = (u_int)letoh16(ldid->nblocks[1]) << 16 | letoh16 1072 dev/ic/ciss.c letoh16(ldid->nblocks[0]); letoh16 1073 dev/ic/ciss.c bv->bv_size = blks * (u_quad_t)letoh16(ldid->blksize); letoh16 1137 dev/ic/ciss.c letoh16(pdid->blksz); letoh16 468 dev/ic/dc.c *ptr = letoh16(word); letoh16 684 dev/ic/fxp.c data[i] = letoh16(data[i]); letoh16 445 dev/ic/gdtvar.h return letoh16(*(u_int16_t *)addr); letoh16 280 dev/ic/if_wi.c sc->wi_channel = letoh16(gen.wi_val); letoh16 349 dev/ic/if_wi.c nrates = letoh16(*(u_int16_t *)rates.wi_rates); letoh16 590 dev/ic/if_wi.c switch ((letoh16(rx_frame->wi_status) & WI_STAT_MAC_PORT) letoh16 593 dev/ic/if_wi.c switch (letoh16(rx_frame->wi_frame_ctl) & letoh16 597 dev/ic/if_wi.c datlen = letoh16(rx_frame->wi_dat_len); letoh16 601 dev/ic/if_wi.c datlen = letoh16(rx_frame->wi_dat_len); letoh16 617 dev/ic/if_wi.c datlen = letoh16(rx_frame->wi_dat_len); letoh16 622 dev/ic/if_wi.c letoh16(rx_frame->wi_status)); letoh16 659 dev/ic/if_wi.c ftype = letoh16(rx_frame.wi_frame_ctl) & WI_FCTL_FTYPE; letoh16 685 dev/ic/if_wi.c u_int16_t rxlen = letoh16(rx_frame.wi_dat_len); letoh16 691 dev/ic/if_wi.c rxlen, letoh16(rx_frame.wi_status)); letoh16 720 dev/ic/if_wi.c switch (letoh16(rx_frame.wi_status) & WI_RXSTAT_MSG_TYPE) { letoh16 724 dev/ic/if_wi.c if ((letoh16(rx_frame.wi_dat_len) + WI_SNAPHDR_LEN) > letoh16 729 dev/ic/if_wi.c letoh16(rx_frame.wi_dat_len), letoh16 730 dev/ic/if_wi.c letoh16(rx_frame.wi_status)); letoh16 736 dev/ic/if_wi.c letoh16(rx_frame.wi_dat_len) + WI_SNAPHDR_LEN; letoh16 754 dev/ic/if_wi.c if ((letoh16(rx_frame.wi_dat_len) + letoh16 759 dev/ic/if_wi.c letoh16(rx_frame.wi_dat_len), letoh16 760 dev/ic/if_wi.c letoh16(rx_frame.wi_status)); letoh16 766 dev/ic/if_wi.c letoh16(rx_frame.wi_dat_len) + letoh16 909 dev/ic/if_wi.c sc->wi_scanbuf_len = letoh16(gen.wi_len); letoh16 917 dev/ic/if_wi.c len = (letoh16(gen.wi_len) - 1 < sizeof(sc->wi_stats) / 4) ? letoh16 918 dev/ic/if_wi.c letoh16(gen.wi_len) - 1 : sizeof(sc->wi_stats) / 4; letoh16 925 dev/ic/if_wi.c t = letoh16(t); letoh16 1121 dev/ic/if_wi.c switch (letoh16(ltv->wi_val)) { letoh16 1129 dev/ic/if_wi.c default: v = 0x100 + letoh16(ltv->wi_val); break; letoh16 1163 dev/ic/if_wi.c letoh16(ltv->wi_val) == WI_PORTTYPE_IBSS) { letoh16 1176 dev/ic/if_wi.c switch (letoh16(ltv->wi_val)) { letoh16 1239 dev/ic/if_wi.c keylen = letoh16(keylen); letoh16 1459 dev/ic/if_wi.c error = wi_sync_media(sc, letoh16(wreq->wi_val[0]), letoh16 1464 dev/ic/if_wi.c letoh16(wreq->wi_val[0])); letoh16 1467 dev/ic/if_wi.c sc->wi_max_data_len = letoh16(wreq->wi_val[0]); letoh16 1470 dev/ic/if_wi.c sc->wi_rts_thresh = letoh16(wreq->wi_val[0]); letoh16 1473 dev/ic/if_wi.c sc->wi_ap_density = letoh16(wreq->wi_val[0]); letoh16 1476 dev/ic/if_wi.c sc->wi_create_ibss = letoh16(wreq->wi_val[0]); letoh16 1480 dev/ic/if_wi.c sc->wi_channel = letoh16(wreq->wi_val[0]); letoh16 1484 dev/ic/if_wi.c (u_int8_t *)&wreq->wi_val[1], letoh16(wreq->wi_val[0])); letoh16 1488 dev/ic/if_wi.c (u_int8_t *)&wreq->wi_val[1], letoh16(wreq->wi_val[0])); letoh16 1492 dev/ic/if_wi.c (u_int8_t *)&wreq->wi_val[1], letoh16(wreq->wi_val[0])); letoh16 1495 dev/ic/if_wi.c sc->wi_pm_enabled = letoh16(wreq->wi_val[0]); letoh16 1498 dev/ic/if_wi.c sc->wi_mor_enabled = letoh16(wreq->wi_val[0]); letoh16 1501 dev/ic/if_wi.c sc->wi_max_sleep = letoh16(wreq->wi_val[0]); letoh16 1504 dev/ic/if_wi.c sc->wi_authtype = letoh16(wreq->wi_val[0]); letoh16 1507 dev/ic/if_wi.c sc->wi_roaming = letoh16(wreq->wi_val[0]); letoh16 1510 dev/ic/if_wi.c sc->wi_diversity = letoh16(wreq->wi_val[0]); letoh16 1513 dev/ic/if_wi.c sc->wi_enh_security = letoh16(wreq->wi_val[0]); letoh16 1516 dev/ic/if_wi.c sc->wi_use_wep = letoh16(wreq->wi_val[0]); letoh16 1519 dev/ic/if_wi.c sc->wi_tx_key = letoh16(wreq->wi_val[0]); letoh16 1526 dev/ic/if_wi.c switch (letoh16(wreq->wi_val[0])) { letoh16 1535 dev/ic/if_wi.c WI_PRT_ARG(sc), letoh16(wreq->wi_val[0])); letoh16 1721 dev/ic/if_wi.c sc->wi_procframe = letoh16(wreq->wi_val[0]); letoh16 1808 dev/ic/if_wi.c letoh16(wreq->wi_val[0]) > IEEE80211_NWID_LEN) letoh16 1814 dev/ic/if_wi.c letoh16(wreq->wi_val[0])); letoh16 1890 dev/ic/if_wi.c letoh16(wreq->wi_val[0]); letoh16 1989 dev/ic/if_wi.c nr->nr_channel = letoh16(res->wi_chan); letoh16 1991 dev/ic/if_wi.c nr->nr_rssi = letoh16(res->wi_signal); letoh16 1993 dev/ic/if_wi.c nr->nr_nwid_len = letoh16(res->wi_ssid_len); letoh16 1995 dev/ic/if_wi.c nr->nr_intval = letoh16(res->wi_interval); letoh16 1996 dev/ic/if_wi.c nr->nr_capinfo = letoh16(res->wi_capinfo); letoh16 2037 dev/ic/if_wi.c sc->wi_enh_security = letoh16(wreq->wi_val[0]); letoh16 2366 dev/ic/if_wi.c klen = letoh16(sc->wi_keys.wi_keys[sc->wi_tx_key].wi_keylen); letoh16 2421 dev/ic/if_wi.c klen = letoh16(sc->wi_keys.wi_keys[kid].wi_keylen); letoh16 2744 dev/ic/if_wi.c card_id = letoh16(ver.wi_ver[0]); letoh16 2765 dev/ic/if_wi.c pri_fw_ver[0] = letoh16(ver.wi_ver[2]); letoh16 2766 dev/ic/if_wi.c pri_fw_ver[1] = letoh16(ver.wi_ver[3]); letoh16 2767 dev/ic/if_wi.c pri_fw_ver[2] = letoh16(ver.wi_ver[1]); letoh16 2775 dev/ic/if_wi.c ver.wi_ver[1] = letoh16(ver.wi_ver[1]); letoh16 2776 dev/ic/if_wi.c ver.wi_ver[2] = letoh16(ver.wi_ver[2]); letoh16 2777 dev/ic/if_wi.c ver.wi_ver[3] = letoh16(ver.wi_ver[3]); letoh16 2958 dev/ic/if_wi.c switch (letoh16(wreq.wi_val[0])) { letoh16 2994 dev/ic/if_wi.c letoh16(wreq.wi_val[0]) != 0) letoh16 3079 dev/ic/if_wi.c len = letoh16(wk->wi_keys[i].wi_keylen); letoh16 3295 dev/ic/if_wi.c param0 = letoh16(wreq->wi_val[0]); letoh16 3307 dev/ic/if_wi.c param0 = letoh16(wreq->wi_val[0]); letoh16 3308 dev/ic/if_wi.c param1 = letoh16(wreq->wi_val[1]); letoh16 3314 dev/ic/if_wi.c param0 = letoh16(wreq->wi_val[0]); letoh16 3335 dev/ic/if_wi.c param0 = letoh16(wreq->wi_val[0]); letoh16 3340 dev/ic/if_wi.c param0 = letoh16(wreq->wi_val[0]); letoh16 3341 dev/ic/if_wi.c param1 = letoh16(wreq->wi_val[1]); letoh16 109 dev/ic/if_wi_hostap.c u_int16_t s = letoh16(* (u_int16_t *) *ppkt); letoh16 665 dev/ic/if_wi_hostap.c !(letoh16(rxfrm->wi_frame_ctl) & WI_FCTL_WEP)) { letoh16 934 dev/ic/if_wi_hostap.c printf("wihap_mgmt_input: len=%d ", letoh16(rxfrm->wi_dat_len)); letoh16 941 dev/ic/if_wi_hostap.c switch (letoh16(rxfrm->wi_frame_ctl) & WI_FCTL_STYPE) { letoh16 977 dev/ic/if_wi_hostap.c letoh16(rxfrm->wi_frame_ctl) & WI_FCTL_STYPE); letoh16 983 dev/ic/if_wi_hostap.c letoh16(rxfrm->wi_frame_ctl) & WI_FCTL_FTYPE, letoh16 984 dev/ic/if_wi_hostap.c letoh16(rxfrm->wi_frame_ctl)); letoh16 1011 dev/ic/if_wi_hostap.c switch (letoh16(rxfrm->wi_frame_ctl) & WI_FCTL_STYPE) { letoh16 1122 dev/ic/if_wi_hostap.c fctl = letoh16(rxfrm->wi_frame_ctl); letoh16 1158 dev/ic/if_wi_hostap.c sta->sig_info = letoh16(rxfrm->wi_q_info); letoh16 110 dev/ic/if_wireg.h letoh16(bus_space_read_2(sc->wi_btag, sc->wi_bhandle, \ letoh16 121 dev/ic/lemacvar.h letoh16(bus_space_read_2((sc)->sc_memt, (sc)->sc_memh, (o))) letoh16 332 dev/ic/malo.c if (letoh16(hdr->result) != MALO_CMD_RESULT_OK) { letoh16 344 dev/ic/malo.c malo_hexdump(hdr, letoh16(hdr->size)); letoh16 1685 dev/ic/malo.c desc->channel, letoh16(desc->len), desc->reserved1, letoh16 1734 dev/ic/malo.c m->m_pkthdr.len = m->m_len = letoh16(desc->len); letoh16 2051 dev/ic/malo.c if ((letoh16(cmd) & 0x7fff) == cmds[i].cmd_code) letoh16 2075 dev/ic/malo.c if (letoh16(result) == results[i].result_code) letoh16 1136 dev/ic/mpi.c sie->scsi_state, letoh16(sie->ioc_status)); letoh16 1146 dev/ic/mpi.c letoh16(sie->tag)); letoh16 1149 dev/ic/mpi.c switch (letoh16(sie->ioc_status)) { letoh16 1544 dev/ic/mpi.c words[i] = letoh16(mpi_read_db(sc) & MPI_DOORBELL_DATA_MASK); letoh16 1634 dev/ic/mpi.c DEVNAME(sc), letoh16(ifp.ioc_status), letoh16 1635 dev/ic/mpi.c letoh16(ifp.ioc_exceptions)); letoh16 1642 dev/ic/mpi.c DEVNAME(sc), letoh16(ifp.request_frame_size), letoh16 1643 dev/ic/mpi.c letoh16(ifp.reply_queue_depth)); letoh16 1645 dev/ic/mpi.c letoh16(ifp.product_id)); letoh16 1651 dev/ic/mpi.c letoh16(ifp.global_credits)); letoh16 1656 dev/ic/mpi.c letoh16(ifp.current_reply_frame_size)); letoh16 1666 dev/ic/mpi.c DEVNAME(sc), letoh16(ifp.hi_priority_queue_depth)); letoh16 1673 dev/ic/mpi.c sc->sc_maxcmds = letoh16(ifp.global_credits); letoh16 1688 dev/ic/mpi.c sc->sc_first_sgl_len = ((letoh16(ifp.request_frame_size) * 4) - letoh16 1693 dev/ic/mpi.c sc->sc_chain_len = (letoh16(ifp.request_frame_size) * 4) / letoh16 1767 dev/ic/mpi.c letoh16(iip.ioc_status)); letoh16 1821 dev/ic/mpi.c letoh16(pfp->ioc_status)); letoh16 1825 dev/ic/mpi.c DEVNAME(sc), letoh16(pfp->max_devices), pfp->port_type); letoh16 1827 dev/ic/mpi.c DEVNAME(sc), letoh16(pfp->protocol_flags), letoh16 1828 dev/ic/mpi.c letoh16(pfp->port_scsi_id)); letoh16 1831 dev/ic/mpi.c letoh16(pfp->max_persistent_ids), letoh16 1832 dev/ic/mpi.c letoh16(pfp->max_posted_cmd_buffers)); letoh16 1834 dev/ic/mpi.c letoh16(pfp->max_lan_buckets)); letoh16 1837 dev/ic/mpi.c sc->sc_target = letoh16(pfp->port_scsi_id); letoh16 1886 dev/ic/mpi.c letoh16(enp->data_length)); letoh16 1892 dev/ic/mpi.c letoh16(enp->ioc_status)); letoh16 2121 dev/ic/mpi.c if (letoh16(upp->ioc_status) != MPI_IOCSTATUS_SUCCESS) letoh16 2261 dev/ic/mpi.c letoh16(cp->ext_page_length), cp->ext_page_type, letoh16 2266 dev/ic/mpi.c letoh16(cp->ioc_status)); letoh16 2276 dev/ic/mpi.c if (letoh16(cp->ioc_status) != MPI_IOCSTATUS_SUCCESS) letoh16 2357 dev/ic/mpi.c letoh16(cp->ext_page_length), cp->ext_page_type, letoh16 2362 dev/ic/mpi.c letoh16(cp->ioc_status)); letoh16 2372 dev/ic/mpi.c if (letoh16(cp->ioc_status) != MPI_IOCSTATUS_SUCCESS) letoh16 965 dev/ic/pgt.c letoh16(pha->pra_unknown0), letoh16 966 dev/ic/pgt.c letoh16(pha->pra_length), letoh16 1307 dev/ic/pgt.c sc->sc_dev.dv_xname, pq, letoh16(pd->pd_fragp->pf_flags))); letoh16 1374 dev/ic/pgt.c if (letoh16(pd->pd_fragp->pf_size) < sizeof(*pmf)) { letoh16 1378 dev/ic/pgt.c letoh16(pd->pd_fragp->pf_size))); letoh16 1494 dev/ic/pgt.c datalen = letoh16(pd->pd_fragp->pf_size); letoh16 1912 dev/ic/pgt.c for (i = 0, j = letoh16(freqs->pof_count); i < j; i++) { letoh16 1913 dev/ic/pgt.c chan = ieee80211_mhz2ieee(letoh16(freqs->pof_freqlist_mhz[i]), letoh16 1923 dev/ic/pgt.c if (letoh16(freqs->pof_freqlist_mhz[i]) < 5000) { letoh16 1941 dev/ic/pgt.c letoh16(freqs->pof_freqlist_mhz[i]); letoh16 1948 dev/ic/pgt.c letoh16(freqs->pof_freqlist_mhz[i]))); letoh16 2335 dev/ic/pgt.c nr->nr_channel = letoh16(res->wi_chan); letoh16 2337 dev/ic/pgt.c nr->nr_rssi = letoh16(res->wi_signal); letoh16 2339 dev/ic/pgt.c nr->nr_nwid_len = letoh16(res->wi_ssid_len); letoh16 2341 dev/ic/pgt.c nr->nr_intval = letoh16(res->wi_interval); letoh16 2342 dev/ic/pgt.c nr->nr_capinfo = letoh16(res->wi_capinfo); letoh16 2432 dev/ic/pgt.c ap.wi_chan = ieee80211_mhz2ieee(letoh16(pob->pob_channel), 0); letoh16 2434 dev/ic/pgt.c ap.wi_signal = letoh16(pob->pob_rssi); letoh16 2436 dev/ic/pgt.c ap.wi_interval = letoh16(pob->pob_beacon_period); letoh16 2437 dev/ic/pgt.c ap.wi_capinfo = letoh16(pob->pob_capinfo); letoh16 2442 dev/ic/pgt.c if (letoh16(pob->pob_rates) & (1 << i)) { letoh16 2851 dev/ic/pgt.c ni->ni_associd = letoh16(mlme->pom_id); letoh16 2852 dev/ic/pgt.c pin->pin_mlme_state = letoh16(mlme->pom_state); letoh16 2856 dev/ic/pgt.c pin->pin_mlme_state = letoh16(mlme->pom_state); letoh16 2909 dev/ic/pgt.c letoh16(mlme->pom_id), letoh16 2910 dev/ic/pgt.c letoh16(mlme->pom_state), letoh16 2911 dev/ic/pgt.c letoh16(mlme->pom_code))); letoh16 839 dev/ic/re.c as[i] = letoh16(as[i]); letoh16 258 dev/ic/rtl81x9.c *ptr = letoh16(word); letoh16 712 dev/ic/twe.c switch (letoh16(cmd->cmd_op)) { letoh16 2695 dev/pci/hifn7751.c olen = dstsize - (letoh16(baseres.dst_cnt) | letoh16 2696 dev/pci/hifn7751.c (((letoh16(baseres.session) & HIFN_BASE_RES_DSTLEN_M) >> letoh16 278 dev/pci/if_bnxreg.h #define bnx_le16toh(x) letoh16(x) letoh16 2529 dev/pci/if_em.c desc_len = letoh16(current_desc->length); letoh16 936 dev/pci/if_ipw.c switch (letoh16(status->code) & 0xf) { letoh16 956 dev/pci/if_ipw.c sc->sc_dev.dv_xname, letoh16(status->code)); letoh16 876 dev/pci/if_iwi.c letoh16(frame->len), frame->chan, frame->rssi_dbm)); letoh16 878 dev/pci/if_iwi.c if (letoh16(frame->len) < sizeof (struct ieee80211_frame_min) || letoh16 879 dev/pci/if_iwi.c letoh16(frame->len) > MCLBYTES) { letoh16 930 dev/pci/if_iwi.c sizeof (struct iwi_frame) + letoh16(frame->len); letoh16 1387 dev/pci/if_iwi.c letoh16(desc->len), data->map->dm_nsegs)); letoh16 1806 dev/pci/if_msk.c letoh16(cur_st->sk_len), letoh16 2171 dev/pci/if_msk.c DESC_PRINT(letoh16(le->sk_len)); letoh16 652 dev/pci/if_nfe.c flags = letoh16(desc64->flags); letoh16 653 dev/pci/if_nfe.c len = letoh16(desc64->length) & 0x3fff; letoh16 658 dev/pci/if_nfe.c flags = letoh16(desc32->flags); letoh16 659 dev/pci/if_nfe.c len = letoh16(desc32->length) & 0x3fff; letoh16 814 dev/pci/if_nfe.c flags = letoh16(desc64->flags); letoh16 819 dev/pci/if_nfe.c flags = letoh16(desc32->flags); letoh16 1513 dev/pci/if_nxe.c sc->sc_fw_build = letoh16(nu->nu_imageinfo.nim_img_ver_build); letoh16 424 dev/pci/if_sk.c SK_XM_WRITE_2(sc_if, base, letoh16(*(u_int16_t *)(&addr[0]))); letoh16 425 dev/pci/if_sk.c SK_XM_WRITE_2(sc_if, base + 2, letoh16(*(u_int16_t *)(&addr[2]))); letoh16 426 dev/pci/if_sk.c SK_XM_WRITE_2(sc_if, base + 4, letoh16(*(u_int16_t *)(&addr[4]))); letoh16 1767 dev/pci/if_sk.c csum1 = letoh16(sc_if->sk_rdata->sk_rx_ring[i].sk_csum1); letoh16 1768 dev/pci/if_sk.c csum2 = letoh16(sc_if->sk_rdata->sk_rx_ring[i].sk_csum2); letoh16 2268 dev/pci/if_sk.c letoh16(*(u_int16_t *)(&sc_if->arpcom.ac_enaddr[0]))); letoh16 2270 dev/pci/if_sk.c letoh16(*(u_int16_t *)(&sc_if->arpcom.ac_enaddr[2]))); letoh16 2272 dev/pci/if_sk.c letoh16(*(u_int16_t *)(&sc_if->arpcom.ac_enaddr[4]))); letoh16 2825 dev/pci/if_sk.c DESC_PRINT(letoh16(desc->sk_rsvd0)); letoh16 2826 dev/pci/if_sk.c DESC_PRINT(letoh16(desc->sk_csum_startval)); letoh16 2827 dev/pci/if_sk.c DESC_PRINT(letoh16(desc->sk_csum_startpos)); letoh16 2828 dev/pci/if_sk.c DESC_PRINT(letoh16(desc->sk_csum_writepos)); letoh16 2829 dev/pci/if_sk.c DESC_PRINT(letoh16(desc->sk_rsvd1)); letoh16 365 dev/pci/if_stge.c myaddr[i] = letoh16(myaddr[i]); letoh16 1378 dev/pci/if_tht.c m->m_pkthdr.len = m->m_len = letoh16(rxd.len); letoh16 543 dev/pci/if_txp.c WRITE_REG(sc, TXP_H2A_2, letoh16(sect->cksum)); letoh16 658 dev/pci/if_txp.c m->m_pkthdr.len = m->m_len = letoh16(rxd->rx_len); letoh16 1579 dev/pci/if_txp.c *out1 = letoh16(rsp->rsp_par1); letoh16 1682 dev/pci/if_txp.c if (id == letoh16(rsp->rsp_id) && letoh16(rsp->rsp_seq) == seq) { letoh16 1694 dev/pci/if_txp.c TXP_DEVNAME(sc), letoh16(rsp->rsp_id)); letoh16 1700 dev/pci/if_txp.c switch (letoh16(rsp->rsp_id)) { letoh16 1709 dev/pci/if_txp.c letoh16(rsp->rsp_id)); letoh16 1905 dev/pci/if_txp.c cmd->cmd_flags, cmd->cmd_numdesc, letoh16(cmd->cmd_id), letoh16 1906 dev/pci/if_txp.c letoh16(cmd->cmd_seq), letoh16(cmd->cmd_par1), letoh16 1912 dev/pci/if_txp.c rsp->rsp_flags, rsp->rsp_numdesc, letoh16(rsp->rsp_id), letoh16 1913 dev/pci/if_txp.c letoh16(rsp->rsp_seq), letoh16(rsp->rsp_par1), letoh16 1931 dev/pci/if_txp.c cmd->cmd_flags, cmd->cmd_numdesc, letoh16(cmd->cmd_id), letoh16 1932 dev/pci/if_txp.c letoh16(cmd->cmd_seq), letoh16(cmd->cmd_par1), letoh16 1219 dev/pci/if_wpi.c tail = (struct wpi_rx_tail *)((caddr_t)(head + 1) + letoh16(head->len)); letoh16 1223 dev/pci/if_wpi.c letoh16(head->len), (int8_t)stat->rssi, head->rate, head->chan, letoh16 1259 dev/pci/if_wpi.c m->m_pkthdr.len = m->m_len = letoh16(head->len); letoh16 1272 dev/pci/if_wpi.c tap->wr_dbm_antnoise = (int8_t)letoh16(stat->noise); letoh16 1274 dev/pci/if_wpi.c tap->wr_antenna = (letoh16(head->flags) >> 4) & 0xf; letoh16 1293 dev/pci/if_wpi.c if (letoh16(head->flags) & 0x4) letoh16 1920 dev/pci/if_wpi.c DPRINTF(("cap=%x rev=%x type=%x\n", sc->cap, letoh16(sc->rev), letoh16 2007 dev/pci/if_wpi.c group->temp = (int16_t)letoh16(rgroup.temp); letoh16 2773 dev/pci/if_wpi.c if ((letoh16(sc->rev) & 0xf0) == 0xd0) letoh16 1447 dev/pci/ubsec.c letoh16(ctx->ctx_op)); letoh16 2389 dev/pci/ubsec.c switch (letoh16(c->ctx_op)) { letoh16 2399 dev/pci/ubsec.c letoh16(cx->me_E_len), letoh16(cx->me_N_len)); letoh16 2420 dev/pci/ubsec.c letoh16(mcr->mcr_pkts), letoh16(mcr->mcr_flags)); letoh16 2422 dev/pci/ubsec.c for (i = 0; i < letoh16(mcr->mcr_pkts); i++) { letoh16 2424 dev/pci/ubsec.c letoh32(ma->mcr_cmdctxp), letoh16(ma->mcr_pktlen), letoh16 2425 dev/pci/ubsec.c letoh16(ma->mcr_reserved)); letoh16 880 dev/pcmcia/if_malo.c rxdesc->status = letoh16(rxdesc->status); letoh16 881 dev/pcmcia/if_malo.c rxdesc->pkglen = letoh16(rxdesc->pkglen); letoh16 987 dev/pcmcia/if_malo.c sc->sc_dev.dv_xname, txdesc->status, letoh16(txdesc->pkglen), letoh16 1253 dev/pcmcia/if_malo.c psize += (sizeof(*body_rates) - 1) + letoh16(body_rates->size); letoh16 1287 dev/pcmcia/if_malo.c body->bufsize = letoh16(body->bufsize); letoh16 1296 dev/pcmcia/if_malo.c set->size = letoh16(set->size); letoh16 1297 dev/pcmcia/if_malo.c set->beaconintvl = letoh16(set->beaconintvl); letoh16 1298 dev/pcmcia/if_malo.c set->capinfo = letoh16(set->capinfo); letoh16 1689 dev/pcmcia/if_malo.c letoh16(body_ssid->size)); letoh16 1690 dev/pcmcia/if_malo.c psize += (sizeof(*body_ssid) - 1) + letoh16(body_ssid->size); letoh16 1707 dev/pcmcia/if_malo.c letoh16(body_rates->size)); letoh16 1708 dev/pcmcia/if_malo.c psize += (sizeof(*body_rates) - 1) + letoh16(body_rates->size); letoh16 1714 dev/pcmcia/if_malo.c bcopy(body_rates->data, body_passeid->data, letoh16(body_rates->size)); letoh16 1715 dev/pcmcia/if_malo.c psize += (sizeof(*body_passeid) - 1) + letoh16(body_passeid->size); letoh16 1951 dev/pcmcia/if_malo.c hdr->cmd = letoh16(hdr->cmd); letoh16 1952 dev/pcmcia/if_malo.c hdr->size = letoh16(hdr->size); letoh16 1953 dev/pcmcia/if_malo.c hdr->seqnum = letoh16(hdr->seqnum); letoh16 1954 dev/pcmcia/if_malo.c hdr->result = letoh16(hdr->result); letoh16 473 dev/usb/if_axe.c eeprom = letoh16(eeprom); letoh16 967 dev/usb/if_axe.c pktlen = letoh16(hdr.len); letoh16 1427 dev/usb/if_ral.c return letoh16(val); letoh16 1817 dev/usb/if_ral.c sc->macbbp_rev = letoh16(val); letoh16 1820 dev/usb/if_ral.c val = letoh16(val); letoh16 2177 dev/usb/if_ral.c ifp->if_oerrors += letoh16(sc->sta[9]); letoh16 2180 dev/usb/if_ral.c letoh16(sc->sta[7]) + /* TX one-retry ok count */ letoh16 2181 dev/usb/if_ral.c letoh16(sc->sta[8]) + /* TX more-retry ok count */ letoh16 2182 dev/usb/if_ral.c letoh16(sc->sta[9]); /* TX retry-fail count */ letoh16 2186 dev/usb/if_ral.c letoh16(sc->sta[6]); /* TX no-retry ok count */ letoh16 1850 dev/usb/if_rum.c sc->macbbp_rev = letoh16(val); letoh16 1856 dev/usb/if_rum.c val = letoh16(val); letoh16 1866 dev/usb/if_rum.c val = letoh16(val); letoh16 1874 dev/usb/if_rum.c val = letoh16(val); letoh16 1879 dev/usb/if_rum.c val = letoh16(val); letoh16 1887 dev/usb/if_rum.c val = letoh16(val); letoh16 520 dev/usb/if_wi_usb.c letoh16(wibuf->wi_dat_len); letoh16 751 dev/usb/if_wi_usb.c switch (letoh16(ltv->wi_val)) { letoh16 759 dev/usb/if_wi_usb.c default: v = 0x100 + letoh16(ltv->wi_val); break; letoh16 814 dev/usb/if_wi_usb.c letoh16(ltv->wi_val) == WI_PORTTYPE_IBSS) { letoh16 827 dev/usb/if_wi_usb.c switch (letoh16(ltv->wi_val)) { letoh16 891 dev/usb/if_wi_usb.c keylen = letoh16(keylen); letoh16 1437 dev/usb/if_wi_usb.c rtype = letoh16(uin->type); letoh16 1538 dev/usb/if_wi_usb.c u_int16_t status = letoh16(presp->status); letoh16 1544 dev/usb/if_wi_usb.c cmdresperr = letoh16(presp->resp0); letoh16 1548 dev/usb/if_wi_usb.c cmdresperr, letoh16(presp->resp1), letoh16 1549 dev/usb/if_wi_usb.c letoh16(presp->resp2))); letoh16 1569 dev/usb/if_wi_usb.c u_int16_t frmlen = letoh16(presp->frmlen); letoh16 1574 dev/usb/if_wi_usb.c rid = letoh16(presp->rid); letoh16 1588 dev/usb/if_wi_usb.c rid = letoh16(presp->rid); letoh16 1625 dev/usb/if_wi_usb.c status = letoh16(presp->status); letoh16 1657 dev/usb/if_wi_usb.c status = letoh16(uin->type); /* XXX -- type == status */ letoh16 822 dev/usb/if_zyd.c *val = letoh16(tmp.val); letoh16 838 dev/usb/if_zyd.c *val = letoh16(tmp[0].val) << 16 | letoh16(tmp[1].val); letoh16 1802 dev/usb/if_zyd.c if (letoh16(cmd->code) == ZYD_NOTIF_RETRYSTATUS) { letoh16 1810 dev/usb/if_zyd.c letoh16(retry->rate), ether_sprintf(retry->macaddr), letoh16 1811 dev/usb/if_zyd.c letoh16(retry->count) & 0xff, letoh16(retry->count))); letoh16 1827 dev/usb/if_zyd.c if (letoh16(retry->count) & 0x100) letoh16 1830 dev/usb/if_zyd.c } else if (letoh16(cmd->code) == ZYD_NOTIF_IORD) { letoh16 1831 dev/usb/if_zyd.c if (letoh16(*(uint16_t *)cmd->data) == ZYD_CR_INTERRUPT) letoh16 1845 dev/usb/if_zyd.c letoh16(cmd->code)); letoh16 1449 dev/usb/ohci.c len = letoh16(sitd-> letoh16 1976 dev/usb/ohci.c (u_int)letoh16(sitd->itd.itd_offset[i])); letoh16 201 isofs/udf/udf_vfsops.c if (letoh16(tag->id) != id) letoh16 300 isofs/udf/udf_vfsops.c fsd_part = letoh16(lvd->_lvd_use.fsd_loc.loc.part_num); letoh16 309 isofs/udf/udf_vfsops.c part_num = letoh16(pd->part_num); letoh16 703 isofs/udf/udf_vfsops.c ump->um_psecs = letoh16(pms->packet_len) / ump->um_bsize; letoh16 727 isofs/udf/udf_vfsops.c for (i = 0; i < letoh16(ump->um_stbl->rt_l); i++) { letoh16 187 isofs/udf/udf_vnops.c flags = letoh16(up->u_fentry->icbtag.flags); letoh16 263 isofs/udf/udf_vnops.c year = letoh16(time->year); letoh16 296 isofs/udf/udf_vnops.c tz.u_tz_offset = letoh16(time->type_tz); letoh16 326 isofs/udf/udf_vnops.c vap->va_nlink = letoh16(fentry->link_cnt); letoh16 606 isofs/udf/udf_vnops.c ds->off + letoh16(fid->l_iu) + fid->l_fi + UDF_FID_SIZE > ds->size){ letoh16 653 isofs/udf/udf_vnops.c total_fid_size = UDF_FID_SIZE + letoh16(fid->l_iu) + fid->l_fi; letoh16 664 isofs/udf/udf_vnops.c total_fid_size = letoh16(fid->l_iu) + fid->l_fi + UDF_FID_SIZE; letoh16 1232 isofs/udf/udf_vnops.c switch (letoh16(tag->strat_type)) { letoh16 1245 isofs/udf/udf_vnops.c switch (letoh16(tag->flags) & 0x7) { letoh16 197 net80211/ieee80211_input.c letoh16(*(u_int16_t *)qwh->i_seq) >> letoh16 202 net80211/ieee80211_input.c letoh16(*(u_int16_t *)wh->i_seq) >> letoh16 250 netbt/hci_event.c HCI_OGF(letoh16(ep.opcode)), HCI_OCF(letoh16(ep.opcode)), letoh16 259 netbt/hci_event.c switch(letoh16(ep.opcode)) { letoh16 298 netbt/hci_event.c HCI_OGF(letoh16(ep.opcode)), HCI_OCF(letoh16(ep.opcode)), letoh16 306 netbt/hci_event.c switch(letoh16(ep.opcode)) { letoh16 357 netbt/hci_event.c handle = letoh16(handle); letoh16 361 netbt/hci_event.c num = letoh16(num); letoh16 454 netbt/hci_event.c letoh16(memo->response.clock_offset); letoh16 530 netbt/hci_event.c link->hl_handle = HCI_CON_HANDLE(letoh16(ep.con_handle)); letoh16 567 netbt/hci_event.c ep.con_handle = letoh16(ep.con_handle); letoh16 641 netbt/hci_event.c ep.con_handle = HCI_CON_HANDLE(letoh16(ep.con_handle)); letoh16 683 netbt/hci_event.c ep.con_handle = HCI_CON_HANDLE(letoh16(ep.con_handle)); letoh16 727 netbt/hci_event.c ep.con_handle = HCI_CON_HANDLE(letoh16(ep.con_handle)); letoh16 798 netbt/hci_event.c unit->hci_max_acl_size = letoh16(rp.max_acl_size); letoh16 799 netbt/hci_event.c unit->hci_num_acl_pkts = letoh16(rp.num_acl_pkts); letoh16 801 netbt/hci_event.c unit->hci_num_sco_pkts = letoh16(rp.num_sco_pkts); letoh16 431 netbt/hci_link.c if (m->m_pkthdr.len != letoh16(hdr.length)) { letoh16 433 netbt/hci_link.c unit->hci_devname, m->m_pkthdr.len, letoh16(hdr.length)); letoh16 438 netbt/hci_link.c hdr.length = letoh16(hdr.length); letoh16 439 netbt/hci_link.c hdr.con_handle = letoh16(hdr.con_handle); letoh16 501 netbt/hci_link.c want = letoh16(want) + sizeof(l2cap_hdr_t) - got; letoh16 843 netbt/hci_link.c hdr.con_handle = letoh16(hdr.con_handle); letoh16 274 netbt/hci_socket.c && hci_security_check_opcode(letoh16(hdr.opcode)) != hdr.length) { letoh16 296 netbt/hci_socket.c HCI_OGF(letoh16(hdr.opcode)), HCI_OCF(letoh16(hdr.opcode))); letoh16 669 netbt/hci_socket.c opcode = letoh16(mtod(m, hci_cmd_hdr_t *)->opcode); letoh16 118 netbt/l2cap_lower.c hdr.length = letoh16(hdr.length); letoh16 119 netbt/l2cap_lower.c hdr.dcid = letoh16(hdr.dcid); letoh16 80 netbt/l2cap_signal.c cmd.length = letoh16(cmd.length); letoh16 185 netbt/l2cap_signal.c cmd.length = letoh16(cmd.length); letoh16 194 netbt/l2cap_signal.c switch (letoh16(cp.reason)) { letoh16 208 netbt/l2cap_signal.c link->hl_mtu = letoh16(cp.data[0]); letoh16 225 netbt/l2cap_signal.c UNKNOWN(letoh16(cp.reason)); letoh16 251 netbt/l2cap_signal.c cp.scid = letoh16(cp.scid); letoh16 252 netbt/l2cap_signal.c cp.psm = letoh16(cp.psm); letoh16 358 netbt/l2cap_signal.c cp.scid = letoh16(cp.scid); letoh16 359 netbt/l2cap_signal.c cp.dcid = letoh16(cp.dcid); letoh16 360 netbt/l2cap_signal.c cp.result = letoh16(cp.result); letoh16 424 netbt/l2cap_signal.c left = letoh16(cmd.length); letoh16 433 netbt/l2cap_signal.c cp.dcid = letoh16(cp.dcid); letoh16 434 netbt/l2cap_signal.c cp.flags = letoh16(cp.flags); letoh16 486 netbt/l2cap_signal.c val.mtu = letoh16(val.mtu); letoh16 555 netbt/l2cap_signal.c && rp.result == letoh16(L2CAP_SUCCESS)) { letoh16 589 netbt/l2cap_signal.c left = letoh16(cmd.length); letoh16 598 netbt/l2cap_signal.c cp.scid = letoh16(cp.scid); letoh16 599 netbt/l2cap_signal.c cp.flags = letoh16(cp.flags); letoh16 600 netbt/l2cap_signal.c cp.result = letoh16(cp.result); letoh16 676 netbt/l2cap_signal.c chan->lc_imtu = letoh16(val.mtu); letoh16 800 netbt/l2cap_signal.c cp.scid = letoh16(cp.scid); letoh16 801 netbt/l2cap_signal.c cp.dcid = letoh16(cp.dcid); letoh16 837 netbt/l2cap_signal.c cp.scid = letoh16(cp.scid); letoh16 838 netbt/l2cap_signal.c cp.dcid = letoh16(cp.dcid); letoh16 875 netbt/l2cap_signal.c switch(letoh16(cp.type)) { letoh16 1226 netbt/rfcomm_session.c rpn.param_mask = letoh16(rpn.param_mask); letoh16 1313 netbt/rfcomm_session.c pn.mtu = letoh16(pn.mtu); letoh16 918 scsi/cd.c th.len = letoh16(th.len); letoh16 966 scsi/cd.c th->len = letoh16(th->len); letoh16 1008 scsi/cd.c toc->header.len = letoh16(toc->header.len); letoh16 174 sys/endian.h __uint16_t letoh16(__uint16_t); letoh16 245 ufs/ext2fs/ext2fs.h #define fs2h16(x) letoh16(x)