Searched refs:htole16 (Results 76 - 100 of 155) sorted by relevance

1234567

/freebsd-11.0-release/sys/geom/part/
H A Dg_part_gpt.c1342 s16[s16idx++] = htole16(0xfffd);
1377 htole16(0xd800 | ((utfchar >> 10) - 0x40));
1379 htole16(0xdc00 | (utfchar & 0x3ff));
1382 htole16(utfchar);
1390 s16[s16idx++] = htole16(0xfffd);
/freebsd-11.0-release/sys/dev/mpr/
H A Dmpr_mapping.c134 dpm_entry->DeviceIndex = htole16(mt_entry->id);
138 dpm_entry->MappingInformation = htole16(dpm_entry->MappingInformation);
191 dpm_entry->DeviceIndex = htole16(mt_entry->id);
192 dpm_entry->MappingInformation = htole16(mt_entry->missing_count);
195 dpm_entry->MappingInformation = htole16(dpm_entry->MappingInformation);
1359 dpm_entry->MappingInformation = htole16(dpm_entry->
1361 dpm_entry->DeviceIndex = htole16(dpm_entry->DeviceIndex);
H A Dmpr.c1031 init.MsgVersion = htole16(MPI2_VERSION);
1032 init.HeaderVersion = htole16(MPI2_HEADER_VERSION);
1033 init.SystemRequestFrameSize = htole16(sc->facts->IOCRequestFrameSize);
1034 init.ReplyDescriptorPostQueueDepth = htole16(sc->pqdepth);
1035 init.ReplyFreeQueueDepth = htole16(sc->fqdepth);
1203 htole16(sc->facts->IOCMaxChainSegmentSize);
H A Dmpr_user.c275 page_req->ioc_status = htole16(params.status);
309 page_req->ioc_status = htole16(params.status);
344 ext_page_req->ioc_status = htole16(params.status);
383 ext_page_req->ioc_status = htole16(params.status);
426 page_req->ioc_status = htole16(params.status);
/freebsd-11.0-release/sys/dev/mps/
H A Dmps_mapping.c135 dpm_entry->DeviceIndex = htole16(mt_entry->id);
139 dpm_entry->MappingInformation = htole16(dpm_entry->MappingInformation);
192 dpm_entry->DeviceIndex = htole16(mt_entry->id);
193 dpm_entry->MappingInformation = htole16(mt_entry->missing_count);
196 dpm_entry->MappingInformation = htole16(dpm_entry->MappingInformation);
1358 dpm_entry->MappingInformation = htole16(dpm_entry->
1360 dpm_entry->DeviceIndex = htole16(dpm_entry->DeviceIndex);
H A Dmps.c1030 init.MsgVersion = htole16(MPI2_VERSION);
1031 init.HeaderVersion = htole16(MPI2_HEADER_VERSION);
1032 init.SystemRequestFrameSize = htole16(sc->facts->IOCRequestFrameSize);
1033 init.ReplyDescriptorPostQueueDepth = htole16(sc->pqdepth);
1034 init.ReplyFreeQueueDepth = htole16(sc->fqdepth);
2201 sgc->Length = htole16(space);
H A Dmps_user.c261 page_req->ioc_status = htole16(params.status);
295 page_req->ioc_status = htole16(params.status);
330 ext_page_req->ioc_status = htole16(params.status);
369 ext_page_req->ioc_status = htole16(params.status);
412 page_req->ioc_status = htole16(params.status);
/freebsd-11.0-release/sys/dev/siis/
H A Dsiis.c1075 ctp->control |= htole16(SIIS_PRB_SOFT_RESET);
1077 ctp->control |= htole16(SIIS_PRB_PROTOCOL_OVERRIDE);
1080 htole16(SIIS_PRB_PROTO_NCQ);
1084 htole16(SIIS_PRB_PROTO_READ);
1088 htole16(SIIS_PRB_PROTO_WRITE);
1093 ctp->control |= htole16(SIIS_PRB_PACKET_READ);
1096 ctp->control |= htole16(SIIS_PRB_PACKET_WRITE);
/freebsd-11.0-release/sys/dev/otus/
H A Dif_otus.c1673 tap->wr_chan_freq = htole16(ic->ic_ibss_chan->ic_freq);
1674 tap->wr_chan_flags = htole16(ic->ic_ibss_chan->ic_flags);
1748 if (__predict_false(head->tag != htole16(AR_RX_HEAD_TAG))) {
2281 head->len = htole16(m->m_pkthdr.len + IEEE80211_CRC_LEN);
2282 head->macctl = htole16(macctl);
2894 key.uid = htole16(k->k_id);
2898 key.uid = htole16(OTUS_UID(cmd->associd));
2901 key.kix = htole16(0);
2919 key.cipher = htole16(cipher);
2926 key.kix = htole16(
[all...]
/freebsd-11.0-release/sys/dev/ae/
H A Dif_ae.c1477 hdr->vlan = htole16(AE_TXD_VLAN(m0->m_pkthdr.ether_vtag));
1478 hdr->len = htole16(len | AE_TXD_INSERT_VTAG);
1480 hdr->len = htole16(len);
1496 sc->txs_base[sc->txs_cur].flags &= ~htole16(AE_TXS_UPDATE);
1833 txs->flags = htole16(flags & ~AE_TXS_UPDATE);
1950 rxd->flags = htole16(flags & ~AE_RXD_UPDATE);
/freebsd-11.0-release/sys/dev/ral/
H A Drt2661.c1226 desc->xflags = htole16(xflags);
1227 desc->xflags |= htole16(nsegs << 13);
1229 desc->wme = htole16(
1270 desc->len [i] = htole16(segs[i].ds_len);
1334 *(uint16_t *)wh->i_dur = htole16(dur);
1558 *(uint16_t *)wh->i_dur = htole16(dur);
/freebsd-11.0-release/sys/dev/usb/net/
H A Dif_axe.c1192 hdr.len = htole16(m->m_pkthdr.len);
1203 hdr.len |= htole16(
1206 hdr.len |= htole16(
/freebsd-11.0-release/sys/dev/aic7xxx/
H A Daic_osm_lib.h78 #define aic_htole16(x) htole16(x)
/freebsd-11.0-release/sys/dev/bxe/
H A Dbxe_stats.c154 htole16(sc->stats_counter++);
1552 cur_query_entry->funcID = htole16(SC_FUNC(sc));
1565 cur_query_entry->funcID = htole16(SC_FUNC(sc));
1585 cur_query_entry->funcID = htole16(SC_FUNC(sc));
/freebsd-11.0-release/sys/dev/bhnd/nvram/
H A Dbhnd_sprom_subr.c81 htole16(_v))
/freebsd-11.0-release/sys/kern/
H A Dsubr_mchain.c162 x = htole16(x);
/freebsd-11.0-release/sys/mips/cavium/
H A Doctopci_bus_space.c201 #define wr16(a, v) cvmx_write64_uint16(a, htole16(v))
/freebsd-11.0-release/sys/dev/iwn/
H A Dif_iwnreg.h924 #define IWN_SCAN_CRC_TH_DEFAULT htole16(1)
925 #define IWN_SCAN_CRC_TH_NEVER htole16(0xffff)
975 #define IWN_GOOD_CRC_TH_DEFAULT htole16(1)
976 #define IWN_GOOD_CRC_TH_NEVER htole16(0xffff)
/freebsd-11.0-release/sys/dev/bwi/
H A Dif_bwi.c1736 htole16(c->ic_freq);
1738 htole16(c->ic_flags & 0xffff);
2653 if (htole16(hdr->rxh_flags1) & BWI_RXH_F1_OFDM)
2899 plcp->i_length = htole16(len);
3019 hdr->txh_fb_duration = htole16(dur);
3042 hdr->txh_phy_ctrl = htole16(phy_ctrl);
3200 hdr->txh_fb_duration = htole16(dur);
3219 hdr->txh_phy_ctrl = htole16(phy_ctrl);
3782 if (htole16(hdr->rxh_flags1) & BWI_RXH_F1_SHPREAMBLE)
/freebsd-11.0-release/sys/dev/ida/
H A Dida.c392 hwqcb->hdr.size = htole16((sizeof(struct ida_req) +
464 hwqcb->req.bcount = htole16(howmany(datasize, DEV_BSIZE));
/freebsd-11.0-release/sys/dev/wpi/
H A Dif_wpireg.h649 #define WPI_SCAN_CRC_TH_DEFAULT htole16(1)
650 #define WPI_SCAN_CRC_TH_NEVER htole16(0xffff)
/freebsd-11.0-release/sys/netgraph/bluetooth/hci/
H A Dng_hci_evnt.c745 lp->hdr.opcode = htole16(NG_HCI_OPCODE(
764 lp->cp.settings = htole16(lp->cp.settings);
/freebsd-11.0-release/sys/dev/rtwn/
H A Dif_rtwn.c814 val = htole16(val);
1546 tap->wr_chan_freq = htole16(ic->ic_curchan->ic_freq);
1547 tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags);
1685 txd->txdseq = htole16(M_SEQNO_GET(m) % IEEE80211_SEQ_RANGE);
1690 txd->txdseq |= htole16(0x8000);
1724 txd->txbufsize = htole16(m->m_pkthdr.len);
1740 tap->wt_chan_freq = htole16(ic->ic_curchan->ic_freq);
1741 tap->wt_chan_flags = htole16(ic->ic_curchan->ic_flags);
/freebsd-11.0-release/sys/dev/urtwn/
H A Dif_urtwn.c1482 val = htole16(val);
2137 txd->txdseq |= htole16(R88E_TXDSEQ_HWSEQ_EN);
3079 txd->txdseq = htole16(R88E_TXDSEQ_HWSEQ_EN);
3084 txd->txdseq = htole16(M_SEQNO_GET(m) % IEEE80211_SEQ_RANGE);
3207 txd->txdseq = htole16(R88E_TXDSEQ_HWSEQ_EN);
3212 txd->txdseq = htole16(M_SEQNO_GET(m) % IEEE80211_SEQ_RANGE);
4840 sc->sc_rxtap.wr_chan_freq = htole16(c->ic_freq);
4841 sc->sc_rxtap.wr_chan_flags = htole16(c->ic_flags);
4842 sc->sc_txtap.wt_chan_freq = htole16(c->ic_freq);
4843 sc->sc_txtap.wt_chan_flags = htole16(
[all...]
/freebsd-11.0-release/sys/dev/bwn/
H A Dif_bwn.c1832 htole16(ic->ic_curchan->ic_freq);
1834 htole16(ic->ic_curchan->ic_flags & 0xffff);
6255 (*(u_int16_t *)wh->i_dur & htole16(0x8000)) ||
6256 (*(u_int16_t *)wh->i_dur == htole16(0)))
6439 txhdr->phyctl_1rts = htole16(bwn_set_txhdr_phyctl1(mac, rts_rate));
6440 txhdr->phyctl_1rtsfb = htole16(bwn_set_txhdr_phyctl1(mac, rts_rate_fb));
6445 txhdr->phyctl_1 = htole16(bwn_set_txhdr_phyctl1(mac, rate));
6446 txhdr->phyctl_1fb = htole16(bwn_set_txhdr_phyctl1(mac, rate_fb));
6451 txhdr->body.r351.cookie = htole16(cookie);
6454 txhdr->body.r410.cookie = htole16(cooki
[all...]

Completed in 559 milliseconds

1234567