Searched refs:htole16 (Results 51 - 75 of 143) sorted by relevance

123456

/freebsd-10.2-release/lib/libbluetooth/
H A Dbluetooth.h62 #define htobs(d) htole16(d)
H A Dhci.c110 h.opcode = htole16(opcode);
248 opcode = htole16(r->opcode);
/freebsd-10.2-release/sys/netsmb/
H A Dsmb_subr.c193 *dst++ = htole16(*src++);
/freebsd-10.2-release/sys/mips/malta/
H A Dgt_pci_bus_space.c220 #define wr16(a, v) writew(a, htole16(v))
/freebsd-10.2-release/sys/dev/iwi/
H A Dif_iwi.c1025 #define IWI_EXP2(v) htole16((1 << (v)) - 1)
1026 #define IWI_USEC(v) htole16(IEEE80211_TXOP_TO_US(v))
1905 desc->len = htole16(m0->m_pkthdr.len);
1919 desc->seg_len[i] = htole16(segs[i].ds_len);
2372 MEM_WRITE_2(sc, 0x200010, htole16(*w));
2697 scan.dwell_time[IWI_SCAN_TYPE_PASSIVE] = htole16(maxdwell);
2705 scan.dwell_time[IWI_SCAN_TYPE_BROADCAST] = htole16(30);
2706 scan.dwell_time[IWI_SCAN_TYPE_BDIRECTED] = htole16(30);
2708 scan.dwell_time[IWI_SCAN_TYPE_BROADCAST] = htole16(maxdwell);
2709 scan.dwell_time[IWI_SCAN_TYPE_BDIRECTED] = htole16(maxdwel
[all...]
/freebsd-10.2-release/sys/dev/ixl/
H A Di40e_osdep.h101 #define CPU_TO_LE16(o) htole16(o)
/freebsd-10.2-release/usr.sbin/bluetooth/bthidd/
H A Dclient.c246 l2addr.l2cap_psm = htole16(psm);
/freebsd-10.2-release/usr.sbin/bluetooth/btpand/
H A Dclient.c83 sa.l2cap_psm = htole16(l2cap_psm);
H A Dserver.c105 sa.l2cap_psm = htole16(l2cap_psm);
/freebsd-10.2-release/sys/dev/usb/wlan/
H A Dif_rsu.c707 val = htole16(val);
883 cmd->len = htole16(cmdsz);
1103 fixed->bintval = htole16(ni->ni_intval);
1104 fixed->capabilities = htole16(ni->ni_capinfo);
1432 tap->wr_chan_freq = htole16(ic->ic_curchan->ic_freq);
1433 tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags);
1769 tap->wt_chan_freq = htole16(ic->ic_curchan->ic_freq);
1770 tap->wt_chan_flags = htole16(ic->ic_curchan->ic_flags);
2160 if (hdr->signature != htole16(0x8712) &&
2161 hdr->signature != htole16(
[all...]
/freebsd-10.2-release/sys/dev/mpr/
H A Dmpr_sas.c522 req->DevHandle = htole16(targ->handle);
596 req->DevHandle = htole16(handle);
1404 req->DevHandle = htole16(target->handle);
1562 req->DevHandle = htole16(targ->handle);
1569 req->TaskMID = htole16(cm->cm_desc.Default.SMID);
1775 req->DevHandle = htole16(targ->handle);
1789 req->IoFlags = htole16(csio->cdb_len);
1845 req->IoFlags = htole16(csio->cdb_len);
1862 req->EEDPBlockSize = htole16(lun->eedp_block_size);
1866 req->EEDPFlags = htole16(eedp_flag
[all...]
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);
/freebsd-10.2-release/sys/dev/malo/
H A Dif_malo.c1198 tr->fwlen = htole16(pktlen - hdrlen);
1220 ds->pktlen = htole16(bf->bf_segs[0].ds_len);
1442 ds->pktlen = htole16(MALO_RXSIZE);
1987 sc->malo_tx_th.wt_chan_freq = htole16(chan->ic_freq);
1988 sc->malo_rx_th.wr_chan_freq = htole16(chan->ic_freq);
1990 sc->malo_tx_th.wt_chan_flags = htole16(IEEE80211_CHAN_G);
1991 sc->malo_rx_th.wr_chan_flags = htole16(IEEE80211_CHAN_G);
1993 sc->malo_tx_th.wt_chan_flags = htole16(IEEE80211_CHAN_B);
1994 sc->malo_rx_th.wr_chan_flags = htole16(IEEE80211_CHAN_B);
/freebsd-10.2-release/sys/dev/mwl/
H A Dif_mwl.c1077 mvp->mv_eapolformat = htole16(mwl_calcformat(rates.MgtRate, ni));
1111 mvp->mv_eapolformat = htole16(mwl_calcformat(rate, ni));
2617 ds->PktLen = htole16(MWL_AGGR_SIZE);
3308 tr->fwlen = htole16(pktlen - hdrlen);
3341 ds->PktLen = htole16(bf->bf_segs[0].ds_len);
3344 ds->PktLen = htole16(m0->m_pkthdr.len);
3347 ds->PktLenArray[i] = htole16(bf->bf_segs[i].ds_len);
3378 ds->pad = htole16(
3382 ds->Format = htole16(
3384 ds->pad = htole16(EAGLE_TXD_FIXED_RAT
[all...]
/freebsd-10.2-release/sys/dev/rt/
H A Dif_rt.c946 desc->sdl0 = htole16(dma_seg[i].ds_len |
951 desc->sdl1 = htole16(dma_seg[i+1].ds_len |
1625 if (!(desc->sdl0 & htole16(RT_RXDESC_SDL0_DDONE))) {
1720 desc->sdl0 &= ~htole16(RT_RXDESC_SDL0_DDONE);
1774 if (desc->sdl0 & htole16(RT_TXDESC_SDL0_LASTSEG) ||
1775 desc->sdl1 & htole16(RT_TXDESC_SDL1_LASTSEG)) {
1797 desc->sdl0 &= ~htole16(RT_TXDESC_SDL0_DDONE);
2062 desc->sdl0 &= ~htole16(RT_RXDESC_SDL0_DDONE);
/freebsd-10.2-release/usr.sbin/btxld/
H A Dbtxld.c271 btxle.btx_pgctl = htole16(btxle.btx_pgctl);
272 btxle.btx_textsz = htole16(btxle.btx_textsz);
/freebsd-10.2-release/tools/tools/net80211/w00t/assoc/
H A Dassoc.c215 *(uint16_t *)data = htole16(capinfo);
219 *(uint16_t *)data = htole16(100);
/freebsd-10.2-release/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_cmds.c198 htole16(cmd->ch->psm);
/freebsd-10.2-release/sys/dev/altera/sdcard/
H A Daltera_sdcard_io.c207 bus_write_2(sc->as_res, ALTERA_SDCARD_OFF_CMD, htole16(cmd));
/freebsd-10.2-release/tools/tools/net80211/w00t/ap/
H A Dap.c253 *ptr++ = htole16(0);
254 *ptr++ = htole16(2);
255 *ptr++ = htole16(0);
/freebsd-10.2-release/sys/geom/part/
H A Dg_part_gpt.c1305 s16[s16idx++] = htole16(0xfffd);
1340 htole16(0xd800 | ((utfchar >> 10) - 0x40));
1342 htole16(0xdc00 | (utfchar & 0x3ff));
1345 htole16(utfchar);
1353 s16[s16idx++] = htole16(0xfffd);
/freebsd-10.2-release/sys/dev/siis/
H A Dsiis.c1074 ctp->control |= htole16(SIIS_PRB_SOFT_RESET);
1076 ctp->control |= htole16(SIIS_PRB_PROTOCOL_OVERRIDE);
1079 htole16(SIIS_PRB_PROTO_NCQ);
1083 htole16(SIIS_PRB_PROTO_READ);
1087 htole16(SIIS_PRB_PROTO_WRITE);
1092 ctp->control |= htole16(SIIS_PRB_PACKET_READ);
1095 ctp->control |= htole16(SIIS_PRB_PACKET_WRITE);
/freebsd-10.2-release/sys/dev/mps/
H A Dmps_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 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);
2183 sgc->Length = htole16(space);
/freebsd-10.2-release/sys/dev/ral/
H A Drt2661.c1251 desc->xflags = htole16(xflags);
1252 desc->xflags |= htole16(nsegs << 13);
1254 desc->wme = htole16(
1295 desc->len [i] = htole16(segs[i].ds_len);
1359 *(uint16_t *)wh->i_dur = htole16(dur);
1584 *(uint16_t *)wh->i_dur = htole16(dur);

Completed in 407 milliseconds

123456