Searched refs:htole16 (Results 1 - 25 of 155) sorted by relevance

1234567

/freebsd-11.0-release/usr.sbin/kgzip/
H A Delfhdr.c46 htole16(ET_EXEC), /* e_type */
47 htole16(EM_386), /* e_machine */
53 htole16(sizeof(Elf32_Ehdr)), /* e_ehsize */
56 htole16(sizeof(Elf32_Shdr)), /* e_shentsize */
57 htole16(KGZ_SHNUM), /* e_shnum */
58 htole16(KGZ_SH_SHSTRTAB) /* e_shstrndx */
131 htole16(SHN_UNDEF) /* st_shndx */
139 htole16(KGZ_SH_DATA) /* st_shndx */
147 htole16(KGZ_SH_DATA) /* st_shndx */
/freebsd-11.0-release/usr.sbin/btxld/
H A Delfh.c47 htole16(ET_EXEC), /* e_type */
48 htole16(EM_386), /* e_machine */
54 htole16(sizeof(elfhdr.e)), /* e_ehsize */
55 htole16(sizeof(elfhdr.p[0])), /* e_phentsize */
56 htole16(sizeof(elfhdr.p) / sizeof(elfhdr.p[0])), /* e_phnum */
57 htole16(sizeof(elfhdr.sh[0])), /* e_shentsize */
58 htole16(sizeof(elfhdr.sh) / sizeof(elfhdr.sh[0])), /* e_shnum */
59 htole16(1) /* e_shstrndx */
/freebsd-11.0-release/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_cmds.h68 c->param.reason = htole16((_reason)); \
71 c->data.mtu.mtu = htole16((_mtu)); \
74 c->data.cid.scid = htole16((_scid)); \
75 c->data.cid.dcid = htole16((_dcid)); \
82 c->hdr.length = htole16(c->hdr.length); \
102 c->hdr.length = htole16(sizeof(c->param)); \
104 c->param.psm = htole16((_psm)); \
105 c->param.scid = htole16((_scid)); \
125 c->hdr.length = htole16(sizeof(c->param)); \
127 c->param.dcid = htole16((_dci
[all...]
/freebsd-11.0-release/sys/dev/mwl/
H A Dmwlhal.c100 pCmd->CmdHdr.Cmd = htole16(cmd); \
101 pCmd->CmdHdr.Length = htole16(sizeof(type)); \
271 hvap->bss_type = htole16(WL_MAC_TYPE_PRIMARY_AP);
276 hvap->bss_type = htole16(WL_MAC_TYPE_SECONDARY_AP);
281 hvap->bss_type = htole16(WL_MAC_TYPE_PRIMARY_CLIENT);
286 hvap->bss_type = htole16(WL_MAC_TYPE_SECONDARY_CLIENT);
729 pCmd->Action = htole16(HostCmd_ACT_GEN_SET);
733 pCmd->Control = htole16(preamble);
734 pCmd->RadioOn = htole16(onoff);
760 pCmd->Action = htole16(dirSe
[all...]
/freebsd-11.0-release/usr.sbin/bluetooth/hccontrol/
H A Dlink_policy.c55 cp.con_handle = htole16(cp.con_handle);
171 cp.con_handle = htole16(cp.con_handle);
214 cp.con_handle = htole16(cp.con_handle);
221 cp.settings = htole16(cp.settings);
H A Dstatus.c54 cp.con_handle = htole16(cp.con_handle);
96 cp.con_handle = htole16(cp.con_handle);
135 cp.con_handle = htole16(cp.con_handle);
177 cp.con_handle = htole16(cp.con_handle);
H A Dlink_control.c179 cp.pkt_type = htole16( NG_HCI_PKT_DM1 | NG_HCI_PKT_DH1 |
202 cp.clock_offset = htole16(cp.clock_offset);
230 cp.pkt_type = htole16(cp.pkt_type);
317 cp.con_handle = htole16(cp.con_handle);
374 cp.pkt_type = htole16(NG_HCI_PKT_HV1 | NG_HCI_PKT_HV2 | NG_HCI_PKT_HV3);
388 cp.pkt_type = htole16(cp.pkt_type);
396 cp.con_handle = htole16(cp.con_handle);
460 cp.con_handle = htole16(cp.con_handle);
467 cp.pkt_type = htole16(cp.pkt_type);
535 cp.clock_offset = htole16(c
[all...]
H A Dhost_controller_baseband.c196 cmd.hdr.opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_HC_BASEBAND,
494 cp.timeout = htole16(cp.timeout);
559 cp.timeout = htole16(cp.timeout);
701 cp.page_scan_interval = htole16(cp.page_scan_interval);
702 cp.page_scan_window = htole16(cp.page_scan_window);
783 htole16(cp.inquiry_scan_interval);
784 cp.inquiry_scan_window = htole16(cp.inquiry_scan_window);
1055 cp.settings = htole16(cp.settings);
1290 cp.con_handle = htole16(cp.con_handle);
1335 cp.con_handle = htole16(c
[all...]
/freebsd-11.0-release/sys/dev/iwm/
H A Dif_iwm_power.c231 if (!(cmd->flags & htole16(IWM_POWER_FLAGS_POWER_MANAGEMENT_ENA_MSK))) {
262 cmd->keep_alive_seconds = htole16(keep_alive);
282 htole16(IWM_POWER_FLAGS_POWER_MANAGEMENT_ENA_MSK));
290 .flags = htole16(IWM_DEVICE_POWER_FLAGS_POWER_SAVE_ENA_MSK),
296 cmd.flags |= htole16(IWM_DEVICE_POWER_FLAGS_CAM_MSK);
H A Dif_iwm_scan.c180 return htole16(rx_chain);
291 chan->channel_num = htole16(ieee80211_mhz2ieee(c->ic_freq, 0));
292 chan->iter_count = htole16(1);
336 chan->iter_interval = htole16(0);
385 preq->mac_header.len = htole16(frm - (uint8_t *)wh);
396 preq->band_data[0].offset = htole16(frm - (uint8_t *)wh);
401 preq->band_data[0].len = htole16(frm - pos);
423 preq->band_data[1].offset = htole16(frm - (uint8_t *)wh);
428 preq->band_data[1].len = htole16(frm - pos);
433 preq->common_data.offset = htole16(fr
[all...]
/freebsd-11.0-release/sys/dev/malo/
H A Dif_malohal.c64 pCmd->cmdhdr.cmd = htole16(_cmd); \
65 pCmd->cmdhdr.length = htole16(sizeof(_type)); \
346 mh->mh_cmdbuf[0] = htole16(MALO_HOSTCMD_CODE_DNLD);
347 mh->mh_cmdbuf[1] = htole16(bsize);
407 mh->mh_cmdbuf[0] = htole16(MALO_HOSTCMD_CODE_DNLD);
408 mh->mh_cmdbuf[1] = htole16(dsize);
409 mh->mh_cmdbuf[2] = htole16(seqnum);
608 cmd->action = htole16(dirset);
613 cmd->mode = htole16(ant);
638 cmd->action = htole16(MALO_HOSTCMD_ACT_GEN_SE
[all...]
/freebsd-11.0-release/contrib/openbsm/compat/
H A Dendian.h128 #define htole16(x) ((uint16_t)(x)) macro
142 #define htole16(x) bswap16((x)) macro
/freebsd-11.0-release/sys/compat/linuxkpi/common/include/asm/
H A Dbyteorder.h48 #define cpu_to_le16(x) htole16(x)
62 #define cpu_to_le16p(x) htole16(*((const uint16_t *)(x)))
/freebsd-11.0-release/contrib/ofed/include/infiniband/
H A Dbyteorder.h44 #define cpu_to_le16 htole16
58 #define cpu_to_le16p(x) htole16(*((uint16_t *)x))
/freebsd-11.0-release/sys/netgraph/bluetooth/hci/
H A Dng_hci_ulpi.c250 req->hdr.opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL,
267 req->cp.pkt_type = htole16(req->cp.pkt_type);
287 req->cp.clock_offset = htole16(n->clock_offset);
443 req->hdr.opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL,
446 req->cp.con_handle = htole16(acl_con->con_handle);
460 req->cp.pkt_type = htole16(req->cp.pkt_type);
617 req->hdr.opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LE,
623 req->cp.scan_interval = htole16(4);
624 req->cp.scan_window = htole16(4);
626 req->cp.conn_interval_min = htole16(
[all...]
/freebsd-11.0-release/sys/net80211/
H A Dieee80211_radiotap.c72 th->it_len = htole16(roundup2(tlen, sizeof(uint32_t)));
88 rh->it_len = htole16(roundup2(rlen, sizeof(uint32_t)));
139 rc->freq = htole16(c->ic_freq);
140 rc->flags = htole16(c->ic_flags);
154 rc->freq = htole16(c->ic_freq);
/freebsd-11.0-release/sys/dev/usb/wlan/
H A Dif_upgt.c416 stats->header1.len = htole16(
420 stats->header2.type = htole16(UPGT_H2_TYPE_STATS);
497 led->header1.len = htole16(
502 led->header2.type = htole16(UPGT_H2_TYPE_LED);
507 led->mode = htole16(UPGT_LED_MODE_SET);
509 led->action_tmp = htole16(UPGT_LED_ACTION_OFF);
513 led->mode = htole16(UPGT_LED_MODE_SET);
515 led->action_tmp = htole16(UPGT_LED_ACTION_ON);
528 led->mode = htole16(UPGT_LED_MODE_SET);
529 led->action_fix = htole16(UPGT_LED_ACTION_OF
[all...]
/freebsd-11.0-release/sys/sys/
H A Dendian.h71 #define htole16(x) ((uint16_t)(x)) macro
85 #define htole16(x) bswap16((x)) macro
/freebsd-11.0-release/sys/mips/nlm/
H A Dboard_cpld.c64 data = htole16(data);
/freebsd-11.0-release/usr.sbin/bluetooth/hcsecd/
H A Dhcsecd.c279 cmd->opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL,
294 cmd->opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL,
338 cmd->opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL,
352 cmd->opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL,
/freebsd-11.0-release/sys/dev/le/
H A Dlancevar.h132 #define LE_HTOLE16(v) (((sc)->sc_flags & LE_BSWAP) ? htole16(v) : (v))
/freebsd-11.0-release/tools/tools/net80211/wlaninject/
H A Dwlaninject.c611 *(uint16_t*)wh->i_dur = htole16(atoi(optarg));
631 *(uint16_t*)wh->i_seq |= htole16((atoi(optarg) & 0xfff)
697 *x = htole16(atoi(optarg));
705 *x = htole16(atoi(optarg));
717 *x = htole16(atoi(optarg));
/freebsd-11.0-release/sys/dev/iwn/
H A Dif_iwn.c2179 if (val & htole16(IWN_EEPROM_SKU_CAP_11N))
3076 if (stat->flags & htole16(IWN_STAT_FLAG_SHPREAMBLE))
4179 *w = htole16(len + 8);
4197 *w = htole16(id << 12 | (len + 8));
4215 *w = (*w & htole16(0xf000)) | htole16(1);
4393 htole16(seqno << IEEE80211_SEQ_SEQ_SHIFT);
4516 tx->timeout = htole16(3);
4518 tx->timeout = htole16(2);
4520 tx->timeout = htole16(
[all...]
/freebsd-11.0-release/sys/dev/ubsec/
H A Dubsec.c611 if ((dmap->d_dma->d_mcr.mcr_flags & htole16(UBS_MCR_DONE)) == 0)
657 if ((mcr->mcr_flags & htole16(UBS_MCR_DONE)) == 0) {
791 q->q_dma->d_dma->d_mcr.mcr_pkts = htole16(npkts);
1086 dmap->d_dma->d_mcr.mcr_pkts = htole16(1);
1144 ctx.pc_flags |= htole16(UBS_PKTCTX_ENC_3DES);
1161 ctx.pc_flags |= htole16(UBS_PKTCTX_INBOUND);
1190 ctx.pc_flags |= htole16(UBS_PKTCTX_AUTH_MD5);
1192 ctx.pc_flags |= htole16(UBS_PKTCTX_AUTH_SHA1);
1244 ctx.pc_offset = htole16(coffset >> 2);
1272 dmap->d_dma->d_mcr.mcr_pktlen = htole16(stheen
[all...]
/freebsd-11.0-release/sys/dev/nfe/
H A Dif_nfe.c1960 desc64->length = htole16(m->m_len);
1961 desc64->flags = htole16(NFE_RX_READY);
1964 desc32->length = htole16(m->m_len);
1965 desc32->flags = htole16(NFE_RX_READY);
1986 desc64->length = htole16(m->m_len);
1987 desc64->flags = htole16(NFE_RX_READY);
1990 desc32->length = htole16(m->m_len);
1991 desc32->flags = htole16(NFE_RX_READY);
2039 desc64->length = htole16(segs[0].ds_len);
2040 desc64->flags = htole16(NFE_RX_READ
[all...]

Completed in 293 milliseconds

1234567