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

12345678

/freebsd-12-stable/usr.sbin/kgzip/
H A Delfhdr.c48 htole16(ET_EXEC), /* e_type */
49 htole16(EM_386), /* e_machine */
55 htole16(sizeof(Elf32_Ehdr)), /* e_ehsize */
58 htole16(sizeof(Elf32_Shdr)), /* e_shentsize */
59 htole16(KGZ_SHNUM), /* e_shnum */
60 htole16(KGZ_SH_SHSTRTAB) /* e_shstrndx */
133 htole16(SHN_UNDEF) /* st_shndx */
141 htole16(KGZ_SH_DATA) /* st_shndx */
149 htole16(KGZ_SH_DATA) /* st_shndx */
/freebsd-12-stable/usr.sbin/btxld/
H A Delfh.c49 htole16(ET_EXEC), /* e_type */
50 htole16(EM_386), /* e_machine */
56 htole16(sizeof(elfhdr.e)), /* e_ehsize */
57 htole16(sizeof(elfhdr.p[0])), /* e_phentsize */
58 htole16(sizeof(elfhdr.p) / sizeof(elfhdr.p[0])), /* e_phnum */
59 htole16(sizeof(elfhdr.sh[0])), /* e_shentsize */
60 htole16(sizeof(elfhdr.sh) / sizeof(elfhdr.sh[0])), /* e_shnum */
61 htole16(1) /* e_shstrndx */
/freebsd-12-stable/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_cmds.h70 c->param.reason = htole16((_reason)); \
73 c->data.mtu.mtu = htole16((_mtu)); \
76 c->data.cid.scid = htole16((_scid)); \
77 c->data.cid.dcid = htole16((_dcid)); \
84 c->hdr.length = htole16(c->hdr.length); \
104 c->hdr.length = htole16(sizeof(c->param)); \
106 c->param.psm = htole16((_psm)); \
107 c->param.scid = htole16((_scid)); \
127 c->hdr.length = htole16(sizeof(c->param)); \
129 c->param.dcid = htole16((_dci
[all...]
/freebsd-12-stable/sys/dev/bnxt/
H A Dbnxt_hwrm.c109 req->req_type = htole16(req_type);
129 req->seq_id = htole16(softc->hwrm_cmd_seq++);
142 htole16(HWRM_SHORT_INPUT_SIGNATURE_SHORT_CMD);
143 short_input.size = htole16(msg_len);
371 req.os_type = htole16(HWRM_FUNC_DRV_RGTR_INPUT_OS_TYPE_FREEBSD);
426 req.fid = htole16(0xffff);
482 req.fid = htole16(0xffff);
524 req->force_link_speed = htole16(fw_link_speed);
580 req->eee_link_speed_mask = htole16(eee_speeds);
648 req.vnic_id = htole16(vni
[all...]
H A Dbnxt_txrx.c117 tbd->len = htole16(pi->ipi_segs[seg].ds_len);
131 tbdh->mss = htole16(pi->ipi_tso_segsz);
132 tbdh->hdr_size = htole16((pi->ipi_ehdrlen + pi->ipi_ip_hlen +
155 tbdh->lflags = htole16(lflags);
162 tbd->flags_type = htole16(flags_type);
165 tbd->len = htole16(pi->ipi_segs[seg].ds_len);
170 tbd->flags_type = htole16(flags_type);
287 rxbd[pidx].flags_type = htole16(type);
288 rxbd[pidx].len = htole16(len);
/freebsd-12-stable/sys/dev/mwl/
H A Dmwlhal.c102 pCmd->CmdHdr.Cmd = htole16(cmd); \
103 pCmd->CmdHdr.Length = htole16(sizeof(type)); \
273 hvap->bss_type = htole16(WL_MAC_TYPE_PRIMARY_AP);
278 hvap->bss_type = htole16(WL_MAC_TYPE_SECONDARY_AP);
283 hvap->bss_type = htole16(WL_MAC_TYPE_PRIMARY_CLIENT);
288 hvap->bss_type = htole16(WL_MAC_TYPE_SECONDARY_CLIENT);
731 pCmd->Action = htole16(HostCmd_ACT_GEN_SET);
735 pCmd->Control = htole16(preamble);
736 pCmd->RadioOn = htole16(onoff);
762 pCmd->Action = htole16(dirSe
[all...]
/freebsd-12-stable/usr.sbin/bluetooth/hccontrol/
H A Dlink_policy.c57 cp.con_handle = htole16(cp.con_handle);
173 cp.con_handle = htole16(cp.con_handle);
216 cp.con_handle = htole16(cp.con_handle);
223 cp.settings = htole16(cp.settings);
H A Dstatus.c56 cp.con_handle = htole16(cp.con_handle);
98 cp.con_handle = htole16(cp.con_handle);
137 cp.con_handle = htole16(cp.con_handle);
179 cp.con_handle = htole16(cp.con_handle);
H A Dlink_control.c181 cp.pkt_type = htole16( NG_HCI_PKT_DM1 | NG_HCI_PKT_DH1 |
204 cp.clock_offset = htole16(cp.clock_offset);
232 cp.pkt_type = htole16(cp.pkt_type);
319 cp.con_handle = htole16(cp.con_handle);
376 cp.pkt_type = htole16(NG_HCI_PKT_HV1 | NG_HCI_PKT_HV2 | NG_HCI_PKT_HV3);
390 cp.pkt_type = htole16(cp.pkt_type);
398 cp.con_handle = htole16(cp.con_handle);
462 cp.con_handle = htole16(cp.con_handle);
469 cp.pkt_type = htole16(cp.pkt_type);
537 cp.clock_offset = htole16(c
[all...]
/freebsd-12-stable/usr.sbin/bluetooth/iwmbtfw/
H A Diwmbt_hw.c59 cmd->opcode = htole16(0xfc09),
179 if (cmd->opcode == htole16(0xfc0e)) {
227 .opcode = htole16(0xfc05),
261 .opcode = htole16(0xfc0d),
294 .opcode = htole16(0xfc01),
343 cmd->opcode = htole16(0xfc8b);
375 .opcode = htole16(0xfc52),
/freebsd-12-stable/sys/dev/malo/
H A Dif_malohal.c66 pCmd->cmdhdr.cmd = htole16(_cmd); \
67 pCmd->cmdhdr.length = htole16(sizeof(_type)); \
348 mh->mh_cmdbuf[0] = htole16(MALO_HOSTCMD_CODE_DNLD);
349 mh->mh_cmdbuf[1] = htole16(bsize);
409 mh->mh_cmdbuf[0] = htole16(MALO_HOSTCMD_CODE_DNLD);
410 mh->mh_cmdbuf[1] = htole16(dsize);
411 mh->mh_cmdbuf[2] = htole16(seqnum);
610 cmd->action = htole16(dirset);
615 cmd->mode = htole16(ant);
640 cmd->action = htole16(MALO_HOSTCMD_ACT_GEN_SE
[all...]
/freebsd-12-stable/contrib/ofed/include/
H A Dbyteorder.h44 #define cpu_to_le16 htole16
58 #define cpu_to_le16p(x) htole16(*((uint16_t *)x))
/freebsd-12-stable/contrib/openbsm/compat/
H A Dendian.h128 #define htole16(x) ((uint16_t)(x)) macro
142 #define htole16(x) bswap16((x)) macro
/freebsd-12-stable/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-12-stable/sys/dev/iwm/
H A Dif_iwm_power.c219 if (!(cmd->flags & htole16(IWM_POWER_FLAGS_POWER_MANAGEMENT_ENA_MSK))) {
229 if (cmd->flags & htole16(IWM_POWER_FLAGS_SKIP_OVER_DTIM_MSK))
261 cmd->flags &= ~htole16(IWM_POWER_FLAGS_SKIP_OVER_DTIM_MSK);
277 cmd->flags |= htole16(IWM_POWER_FLAGS_SKIP_OVER_DTIM_MSK);
304 cmd->keep_alive_seconds = htole16(keep_alive);
309 cmd->flags |= htole16(IWM_POWER_FLAGS_POWER_SAVE_ENA_MSK);
318 cmd->flags |= htole16(IWM_POWER_FLAGS_POWER_MANAGEMENT_ENA_MSK);
482 cmd.flags |= htole16(IWM_DEVICE_POWER_FLAGS_POWER_SAVE_ENA_MSK);
H A Dif_iwm_scan.c179 return htole16(rx_chain);
326 chan->channel_num = htole16(ieee80211_mhz2ieee(c->ic_freq, 0));
327 chan->iter_count = htole16(1);
372 chan->iter_interval = htole16(0);
415 preq->mac_header.len = htole16(frm - (uint8_t *)wh);
426 preq->band_data[0].offset = htole16(frm - (uint8_t *)wh);
431 preq->band_data[0].len = htole16(frm - pos);
452 preq->band_data[1].offset = htole16(frm - (uint8_t *)wh);
457 preq->band_data[1].len = htole16(frm - pos);
462 preq->common_data.offset = htole16(fr
[all...]
/freebsd-12-stable/sys/netgraph/bluetooth/hci/
H A Dng_hci_ulpi.c252 req->hdr.opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL,
269 req->cp.pkt_type = htole16(req->cp.pkt_type);
289 req->cp.clock_offset = htole16(n->clock_offset);
445 req->hdr.opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL,
448 req->cp.con_handle = htole16(acl_con->con_handle);
462 req->cp.pkt_type = htole16(req->cp.pkt_type);
619 req->hdr.opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LE,
625 req->cp.scan_interval = htole16(4);
626 req->cp.scan_window = htole16(4);
628 req->cp.conn_interval_min = htole16(
[all...]
/freebsd-12-stable/sys/dev/rtwn/rtl8188e/
H A Dr88e_tx.c69 txd->txdseq |= htole16(R88E_TXDSEQ_HWSEQ_EN);
/freebsd-12-stable/sys/net80211/
H A Dieee80211_radiotap.c74 th->it_len = htole16(roundup2(tlen, sizeof(uint32_t)));
90 rh->it_len = htole16(roundup2(rlen, sizeof(uint32_t)));
141 rc->freq = htole16(c->ic_freq);
142 rc->flags = htole16(c->ic_flags);
156 rc->freq = htole16(c->ic_freq);
/freebsd-12-stable/sys/dev/usb/wlan/
H A Dif_upgt.c417 stats->header1.len = htole16(
421 stats->header2.type = htole16(UPGT_H2_TYPE_STATS);
498 led->header1.len = htole16(
503 led->header2.type = htole16(UPGT_H2_TYPE_LED);
508 led->mode = htole16(UPGT_LED_MODE_SET);
510 led->action_tmp = htole16(UPGT_LED_ACTION_OFF);
514 led->mode = htole16(UPGT_LED_MODE_SET);
516 led->action_tmp = htole16(UPGT_LED_ACTION_ON);
529 led->mode = htole16(UPGT_LED_MODE_SET);
530 led->action_fix = htole16(UPGT_LED_ACTION_OF
[all...]
/freebsd-12-stable/sys/sys/
H A Dendian.h73 #define htole16(x) ((uint16_t)(x)) macro
87 #define htole16(x) bswap16((x)) macro
/freebsd-12-stable/sys/mips/nlm/
H A Dboard_cpld.c66 data = htole16(data);
/freebsd-12-stable/usr.sbin/bluetooth/hcsecd/
H A Dhcsecd.c281 cmd->opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL,
296 cmd->opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL,
340 cmd->opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL,
354 cmd->opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL,
/freebsd-12-stable/sys/dev/rtwn/pci/
H A Drtwn_pci_tx.c134 txd->pktlen = htole16(m->m_pkthdr.len);
222 if (!own || txd->pktlen != htole16(m->m_pkthdr.len)) {
241 txd->pktlen = htole16(m->m_pkthdr.len);
/freebsd-12-stable/sys/dev/le/
H A Dlancevar.h134 #define LE_HTOLE16(v) (((sc)->sc_flags & LE_BSWAP) ? htole16(v) : (v))

Completed in 399 milliseconds

12345678