HomeSort by: relevance | last modified time | path
    Searched refs:htole16 (Results 1 - 25 of 161) sorted by relevancy

1 2 3 4 5 6 7

  /src/usr.sbin/btattach/
init_csr.c 92 cmd.message.type = htole16(CSR_BCCMD_MESSAGE_TYPE_SETREQ);
93 cmd.message.length = htole16(sizeof(cmd.message) >> 1);
94 cmd.message.seqno = htole16(0);
95 cmd.message.varid = htole16(CSR_BCCMD_MESSAGE_VARID_CONFIG_UART);
96 cmd.message.status = htole16(CSR_BCCMD_MESSAGE_STATUS_OK);
99 cmd.message.payload[0] = htole16((speed * 64 + 7812) / 15625);
init_bcm2035.c 72 rate = htole16(rate);
  /src/sys/dev/pcmcia/
if_malo_pcmcia.c 834 MALO_WRITE_2(sc, MALO_REG_CMD_WRITE, htole16(uc[i]));
908 MALO_WRITE_2(sc, MALO_REG_CMD_WRITE, htole16(uc[i]));
1067 txdesc->pkglen = htole16(m->m_pkthdr.len);
1276 hdr->cmd = htole16(MALO_CMD_HWSPEC);
1277 hdr->size = htole16(sizeof(*body));
1278 hdr->seqnum = htole16(1);
1317 hdr->cmd = htole16(MALO_CMD_RESET);
1319 hdr->seqnum = htole16(1);
1348 hdr->cmd = htole16(MALO_CMD_SCAN);
1349 hdr->seqnum = htole16(1)
    [all...]
  /src/sys/external/bsd/common/include/asm/
byteorder.h 45 #define cpu_to_le16 htole16
  /src/sys/dev/ic/
ld_aac.c 150 fib->Header.Command = htole16(RawIo);
153 raw->ContainerId = htole16(sc->sc_hwunit);
173 fib->Header.Size = htole16(size);
180 fib->Header.Command = htole16(ContainerCommand);
218 fib->Header.Size = htole16(size);
225 fib->Header.Command = htole16(ContainerCommand64);
230 bw->ContainerId = htole16(sc->sc_hwunit);
231 bw->SectorCount = htole16(datasize / AAC_BLOCK_SIZE);
241 br->ContainerId = htole16(sc->sc_hwunit);
242 br->SectorCount = htole16(datasize / AAC_BLOCK_SIZE)
    [all...]
malo.c 446 sc->sc_rxtap.wr_ihdr.it_len = htole16(sc->sc_rxtap_len);
450 sc->sc_txtap.wt_ihdr.it_len = htole16(sc->sc_txtap_len);
552 if (hdr->cmd & htole16(0x8000))
1431 tap->wt_chan_freq = htole16(ni->ni_chan->ic_freq);
1432 tap->wt_chan_flags = htole16(ni->ni_chan->ic_flags);
1459 *mtod(mnew, uint16_t *) = htole16(m0->m_pkthdr.len - 24); /* FW len */
1506 desc->len = htole16(segs[0].ds_len);
1610 htole16(ic->ic_bss->ni_chan->ic_freq);
1612 htole16(ic->ic_bss->ni_chan->ic_flags);
1768 hdr->cmd = htole16(0x0001)
    [all...]
an.c 335 sc->sc_rxtap.ar_ihdr.it_len = htole16(sizeof(sc->sc_rxtapu));
339 sc->sc_txtap.at_ihdr.it_len = htole16(sizeof(sc->sc_txtapu));
567 sc->sc_config.an_scanmode = htole16(AN_SCANMODE_ACTIVE);
568 sc->sc_config.an_authtype = htole16(AN_AUTHTYPE_OPEN); /*XXX*/
571 htole16(AN_AUTHTYPE_PRIVACY_IN_USE);
574 htole16(AN_AUTHTYPE_LEAP);
576 sc->sc_config.an_listen_interval = htole16(ic->ic_lintval);
577 sc->sc_config.an_beacon_period = htole16(ic->ic_lintval);
579 sc->sc_config.an_psave_mode = htole16(AN_PSAVE_PSP);
581 sc->sc_config.an_psave_mode = htole16(AN_PSAVE_CAM)
    [all...]
ld_icp.c 214 ic->ic_cmd.cmd_opcode = htole16((dowrite ? ICP_WRITE : ICP_READ));
215 cc->cc_deviceno = htole16(sc->sc_hwunit);
277 ic->ic_cmd.cmd_opcode = htole16(ICP_FLUSH);
280 cc->cc_deviceno = htole16(sc->sc_hwunit);
  /src/sys/netbt/
l2cap_signal.c 453 rp.scid = htole16(chan->lc_rcid);
507 val.mtu = htole16(L2CAP_MTU_MINIMUM);
607 rp.result = htole16(rp.result);
683 rp.dcid = htole16(cp.scid);
888 rp.dcid = htole16(chan->lc_lcid);
889 rp.scid = htole16(chan->lc_rcid);
1033 cmd->length = htole16(length);
1037 hdr->length = htole16(length);
1038 hdr->dcid = htole16(L2CAP_SIGNAL_CID);
1068 cp.reason = htole16(reason)
    [all...]
sco_upper.c 164 cp.con_handle = htole16(acl->hl_handle);
165 cp.pkt_type = htole16(0x00e0); /* HV1, HV2, HV3 */
211 cp.con_handle = htole16(sco->hl_handle);
303 hdr->con_handle = htole16(pcb->sp_link->hl_handle);
  /src/sbin/gpt/
restore.c 101 part->part_start_lo = htole16(part->part_start_lo);
104 part->part_start_hi = htole16(part->part_start_hi);
109 mbr->mbr_part[0].part_size_lo = htole16(0xffff);
110 mbr->mbr_part[0].part_size_hi = htole16(0xffff);
112 mbr->mbr_part[0].part_size_lo = htole16((uint16_t)last);
113 mbr->mbr_part[0].part_size_hi = htole16(
119 part->part_size_lo = htole16(part->part_size_lo);
122 part->part_size_hi = htole16(part->part_size_hi);
319 mbr->mbr_sig = htole16(MBR_SIG);
resizedisk.c 221 mbr->mbr_part[0].part_size_lo = htole16(0xffff);
222 mbr->mbr_part[0].part_size_hi = htole16(0xffff);
224 mbr->mbr_part[0].part_size_lo = htole16((uint16_t)last);
225 mbr->mbr_part[0].part_size_hi = htole16((uint16_t)((uint64_t)last >> 16));
create.c 102 mbr->mbr_sig = htole16(MBR_SIG);
  /src/usr.sbin/makefs/chfs/
chfs_mkfs.c 167 fvnode.magic = htole16(CHFS_FS_MAGIC_BITMASK);
168 fvnode.type = htole16(CHFS_NODETYPE_VNODE);
199 fdirent.magic = htole16(CHFS_FS_MAGIC_BITMASK);
200 fdirent.type = htole16(CHFS_NODETYPE_DIRENT);
290 fdata.magic = htole16(CHFS_FS_MAGIC_BITMASK);
291 fdata.type = htole16(CHFS_NODETYPE_DATA);
  /src/sys/dev/i2c/
ihidev.c 340 htole16(sc->sc_hid_desc_addr) & 0xff,
341 htole16(sc->sc_hid_desc_addr) >> 8,
345 device_xname(sc->sc_dev), htole16(sc->sc_hid_desc_addr)));
361 htole16(sc->hid_desc.wCommandRegister) & 0xff,
362 htole16(sc->hid_desc.wCommandRegister) >> 8,
381 htole16(sc->hid_desc.wCommandRegister) & 0xff,
382 htole16(sc->hid_desc.wCommandRegister) >> 8,
473 htole16(sc->hid_desc.wCommandRegister) & 0xff,
474 htole16(sc->hid_desc.wCommandRegister) >> 8,
509 cmd[dataoff++] = htole16(sc->hid_desc.wDataRegister
    [all...]
  /src/sys/dev/pci/
if_iavf.c 3041 vtag = htole16(vlan_get_tag(m));
3870 iaq->iaq_flags = htole16(IXL_AQ_BUF |
3874 iaq->iaq_datalen = htole16(aqb->aqb_size);
4158 slot->iaq_flags |= htole16(IXL_AQ_SI);
4215 if (iaq.iaq_retval != htole16(IXL_AQ_RC_OK)) {
4250 if (!ISSET(slot->iaq_flags, htole16(IXL_AQ_DD)))
4535 iaq.iaq_flags = htole16(IXL_AQ_BUF | IXL_AQ_RD);
4536 iaq.iaq_opcode = htole16(IAVF_AQ_OP_SEND_TO_PF);
4538 iaq.iaq_datalen = htole16(sizeof(struct iavf_vc_version_info));
4567 iaq.iaq_flags = htole16(IXL_AQ_BUF | IXL_AQ_RD)
    [all...]
if_ixl.c 2129 iaq->iaq_opcode = htole16(IXL_AQ_OP_SET_VSI_PROMISC);
2132 param->flags = htole16(0);
2136 param->flags |= htole16(IXL_AQ_VSI_PROMISC_FLAG_BCAST |
2141 param->flags |= htole16(IXL_AQ_VSI_PROMISC_FLAG_UCAST |
2144 param->flags |= htole16(IXL_AQ_VSI_PROMISC_FLAG_MCAST);
2146 param->valid_flags = htole16(IXL_AQ_VSI_PROMISC_FLAG_UCAST |
2155 if (iaq->iaq_retval != htole16(IXL_AQ_RC_OK))
2450 txq.head = htole16(txr->txr_cons);
2454 txq.qlen = htole16(sc->sc_tx_ring_ndescs);
2729 vtag = htole16(vlan_get_tag(m))
    [all...]
  /src/usr.bin/audiocfg/
dtmf.c 57 buf[c] = htole16(
  /src/sys/arch/sandpoint/stand/altboot/
fxp.c 237 cbp->cb_command = htole16(FXP_CB_COMMAND_CONFIG |
290 cb_ias->cb_command = htole16(FXP_CB_COMMAND_IAS | FXP_CB_COMMAND_EL);
312 rfa->rfa_control = htole16(FXP_RFA_CONTROL_S);
316 rfa->size = htole16(sizeof(sc->store) - sizeof(struct rxdesc));
339 htole16(FXP_CB_COMMAND_XMIT|FXP_CB_COMMAND_SF|FXP_CB_COMMAND_EL);
344 txd->byte_count = htole16(0x8000);
396 rfa->rfa_control = htole16(FXP_RFA_CONTROL_S);
  /src/sys/dev/usb/
if_upgt.c 475 sc->sc_rxtap.wr_ihdr.it_len = htole16(sc->sc_rxtap_len);
479 sc->sc_txtap.wt_ihdr.it_len = htole16(sc->sc_txtap_len);
1004 eeprom->header1.len = htole16((
1009 eeprom->header2.type = htole16(UPGT_H2_TYPE_EEPROM);
1012 eeprom->offset = htole16(offset);
1013 eeprom->len = htole16(block);
1639 txdesc->header1.len = htole16(m->m_pkthdr.len);
1642 txdesc->header2.type = htole16(UPGT_H2_TYPE_TX_ACK_YES);
1643 txdesc->header2.flags = htole16(UPGT_H2_FLAGS_TX_ACK_YES);
1661 tap->wt_chan_freq = htole16(ic->ic_curchan->ic_freq)
    [all...]
if_axen.c 162 uint16_t uval = htole16(val);
224 wval = htole16(val);
292 wval = htole16(rxmode);
321 buf = htole16(i);
325 buf = htole16(AXEN_EEPROM_READ);
331 buf = htole16(AXEN_EEPROM_READ);
384 wval = htole16(0);
387 wval = htole16(AXEN_PHYPWR_RSTCTL_IPRL);
415 wval = htole16(ctl);
470 wval = htole16(ctl)
    [all...]
  /src/sys/net80211/
ieee80211_output.c 154 htole16(ni->ni_txseqs[0] << IEEE80211_SEQ_SEQ_SHIFT);
669 htole16(ni->ni_txseqs[tid] << IEEE80211_SEQ_SEQ_SHIFT);
673 htole16(ni->ni_txseqs[0] << IEEE80211_SEQ_SEQ_SHIFT);
957 *(u_int16_t *)&whf->i_seq[0] |= htole16(
1475 *(u_int16_t *)frm = htole16(ic->ic_bss->ni_intval);
1490 *(u_int16_t *)frm = htole16(capinfo);
1575 is_shared_key ? htole16(IEEE80211_AUTH_ALG_SHARED)
1576 : htole16(IEEE80211_AUTH_ALG_OPEN);
1577 ((u_int16_t *)frm)[1] = htole16(arg); /* sequence number */
1578 ((u_int16_t *)frm)[2] = htole16(status);/* status *
    [all...]
  /src/share/examples/rump/btplay/
btplay.c 129 cmd->opcode = htole16(HCI_CMD_INQUIRY);
173 cmd->opcode = htole16(HCI_CMD_REMOTE_NAME_REQ);
  /src/sys/arch/hpc/stand/include/machine/
endian.h 165 #define htole16(x) bswap16((uint16_t)(x)) macro
172 #define HTOLE16(x) (x) = bswap16((uint16_t)(x))
181 #define htole16(x) (x)
188 #define HTOLE16(x) (void) (x)
197 #define le16toh(x) htole16(x)
204 #define LE16TOH(x) HTOLE16(x)
  /src/usr.sbin/iopctl/
iopctl.c 206 req.olh.count = htole16(1);
207 req.olh.reserved = htole16(0);
208 req.oat.operation = htole16(I2O_PARAMS_OP_FIELD_GET);
209 req.oat.fieldcount = htole16(0xffff);
210 req.oat.group = htole16(group);

Completed in 30 milliseconds

1 2 3 4 5 6 7