Searched refs:htole16 (Results 26 - 50 of 178) sorted by relevance

12345678

/freebsd-12-stable/sys/dev/rtwn/pci/
H A Drtwn_pci_reg.c68 val = htole16(val);
/freebsd-12-stable/sys/netgraph/bluetooth/drivers/ubt/
H A Dng_ubt_intel.c92 .opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_VENDOR, 0x05)),
/freebsd-12-stable/usr.sbin/bluetooth/hccontrol/
H A Dhost_controller_baseband.c198 cmd.hdr.opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_HC_BASEBAND,
496 cp.timeout = htole16(cp.timeout);
561 cp.timeout = htole16(cp.timeout);
703 cp.page_scan_interval = htole16(cp.page_scan_interval);
704 cp.page_scan_window = htole16(cp.page_scan_window);
785 htole16(cp.inquiry_scan_interval);
786 cp.inquiry_scan_window = htole16(cp.inquiry_scan_window);
1057 cp.settings = htole16(cp.settings);
1292 cp.con_handle = htole16(cp.con_handle);
1337 cp.con_handle = htole16(c
[all...]
H A Dsend_recv.c60 c->opcode = htole16(c->opcode);
/freebsd-12-stable/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-12-stable/sys/dev/ubsec/
H A Dubsec.c613 if ((dmap->d_dma->d_mcr.mcr_flags & htole16(UBS_MCR_DONE)) == 0)
659 if ((mcr->mcr_flags & htole16(UBS_MCR_DONE)) == 0) {
793 q->q_dma->d_dma->d_mcr.mcr_pkts = htole16(npkts);
1024 dmap->d_dma->d_mcr.mcr_pkts = htole16(1);
1082 ctx.pc_flags |= htole16(UBS_PKTCTX_ENC_3DES);
1099 ctx.pc_flags |= htole16(UBS_PKTCTX_INBOUND);
1128 ctx.pc_flags |= htole16(UBS_PKTCTX_AUTH_MD5);
1130 ctx.pc_flags |= htole16(UBS_PKTCTX_AUTH_SHA1);
1182 ctx.pc_offset = htole16(coffset >> 2);
1210 dmap->d_dma->d_mcr.mcr_pktlen = htole16(stheen
[all...]
/freebsd-12-stable/sys/dev/nfe/
H A Dif_nfe.c1963 desc64->length = htole16(m->m_len);
1964 desc64->flags = htole16(NFE_RX_READY);
1967 desc32->length = htole16(m->m_len);
1968 desc32->flags = htole16(NFE_RX_READY);
1989 desc64->length = htole16(m->m_len);
1990 desc64->flags = htole16(NFE_RX_READY);
1993 desc32->length = htole16(m->m_len);
1994 desc32->flags = htole16(NFE_RX_READY);
2042 desc64->length = htole16(segs[0].ds_len);
2043 desc64->flags = htole16(NFE_RX_READ
[all...]
/freebsd-12-stable/sys/dev/ral/
H A Drt2860.c755 rxd->sdl0 = htole16(MCLBYTES);
772 ring->rxd[i].sdl0 &= ~htole16(RT2860_RX_DDONE);
1203 if (__predict_false(!(rxd->sdl0 & htole16(RT2860_RX_DDONE)))) {
1337 skip: rxd->sdl0 &= ~htole16(RT2860_RX_DDONE);
1526 txwi->len = htole16(m->m_pkthdr.len);
1528 txwi->phy = htole16(RT2860_PHY_CCK);
1533 txwi->phy = htole16(RT2860_PHY_OFDM);
1534 txwi->phy |= htole16(mcs);
1544 txwi->len |= htole16(pid << RT2860_TX_PID_SHIFT);
1564 *(uint16_t *)wh->i_dur = htole16(du
[all...]
/freebsd-12-stable/sys/dev/hifn/
H A Dhifn7751.c1396 wc.masks = htole16(3 << 13);
1397 wc.session_num = htole16(addr >> 14);
1398 wc.total_source_count = htole16(8);
1399 wc.total_dest_count = htole16(addr & 0x3fff);
1457 rc.masks = htole16(2 << 13);
1458 rc.session_num = htole16(addr >> 14);
1459 rc.total_source_count = htole16(addr & 0x3fff);
1460 rc.total_dest_count = htole16(8);
1562 base_cmd->masks = htole16(cmd->base_masks);
1568 base_cmd->total_source_count = htole16(sle
[all...]
/freebsd-12-stable/sys/dev/iwn/
H A Dif_iwn.c2228 if (val & htole16(IWN_EEPROM_SKU_CAP_11N))
3145 if (stat->flags & htole16(IWN_STAT_FLAG_SHPREAMBLE))
4380 *w = htole16(len + 8);
4398 *w = htole16(id << 12 | (len + 8));
4416 *w = (*w & htole16(0xf000)) | htole16(1);
4700 htole16(seqno << IEEE80211_SEQ_SEQ_SHIFT);
4725 tx->timeout = htole16(3);
4727 tx->timeout = htole16(2);
4729 tx->timeout = htole16(
[all...]
/freebsd-12-stable/sys/dev/iwm/
H A Dif_iwm_mac_ctxt.c347 cmd->ac[txf].cw_min = htole16(ivp->queue_params[i].cw_min);
348 cmd->ac[txf].cw_max = htole16(ivp->queue_params[i].cw_max);
350 htole16(ivp->queue_params[i].edca_txop);
H A Dif_iwm_sta.c158 .tid_disable_tx = htole16(0xffff),
329 cmd.tid_disable_tx = htole16(0xffff);
/freebsd-12-stable/sys/dev/wpi/
H A Dif_wpi.c2021 if (head->flags & htole16(WPI_STAT_FLAG_SHPREAMBLE))
2896 tx->timeout = htole16(3);
2898 tx->timeout = htole16(2);
2929 tx->lnext = htole16(next->m_pkthdr.len);
2935 tx->len = htole16(totlen);
3022 tx->timeout = htole16(3);
3024 tx->timeout = htole16(2);
3040 tx->len = htole16(totlen);
3537 cmd.ac[aci].cwmin = htole16(WPI_EXP2(ac->wmep_logcwmin));
3538 cmd.ac[aci].cwmax = htole16(WPI_EXP
[all...]
/freebsd-12-stable/sys/net80211/
H A Dieee80211_output.c991 htole16(seqno << IEEE80211_SEQ_SEQ_SHIFT);
1851 htole16(seqno << IEEE80211_SEQ_SEQ_SHIFT);
1865 htole16(seqno << IEEE80211_SEQ_SEQ_SHIFT);
2008 *(uint16_t *)&whf->i_seq[0] |= htole16(
2334 quiet->duration = htole16(vap->iv_quiet_duration);
2335 quiet->offset = htole16(vap->iv_quiet_offset);
2676 (is_shared_key) ? htole16(IEEE80211_AUTH_ALG_SHARED)
2677 : htole16(IEEE80211_AUTH_ALG_OPEN);
2678 ((uint16_t *)frm)[1] = htole16(arg); /* sequence number */
2679 ((uint16_t *)frm)[2] = htole16(statu
[all...]
/freebsd-12-stable/sys/dev/cxgbe/
H A Dosdep.h103 #define cpu_to_le16(x) htole16(x)
/freebsd-12-stable/sys/dev/wi/
H A Dif_wi.c170 val = htole16(val);
401 val != htole16(0))
831 join.wi_chan = htole16(
978 frmhdr.wi_tx_ctl = htole16(WI_ENC_TX_802_11|WI_TXCNTL_TX_EX);
986 frmhdr.wi_tx_ctl |= htole16(WI_TXCNTL_NOCRYPT);
997 frmhdr.wi_dat_len = htole16(m0->m_pkthdr.len);
1065 frmhdr.wi_tx_ctl = htole16(WI_ENC_TX_802_11|WI_TXCNTL_TX_EX);
1067 frmhdr.wi_tx_ctl |= htole16(WI_TXCNTL_ALTRTRY);
1075 frmhdr.wi_tx_ctl |= htole16(WI_TXCNTL_NOCRYPT);
1084 frmhdr.wi_dat_len = htole16(m
[all...]
/freebsd-12-stable/sys/dev/qlxgb/
H A Dqla_os.h125 #define qla_host_to_le16(x) htole16(x)
/freebsd-12-stable/sys/dev/qlxgbe/
H A Dql_os.h134 #define qla_host_to_le16(x) htole16(x)
/freebsd-12-stable/sys/dev/qlxge/
H A Dqls_os.h127 #define qla_host_to_le16(x) htole16(x)
/freebsd-12-stable/sys/dev/terasic/mtl/
H A Dterasic_mtl_text.c156 v = htole16(v);
/freebsd-12-stable/sys/dev/rtwn/usb/
H A Drtwn_usb_reg.c112 val = htole16(val);
/freebsd-12-stable/sys/dev/ixl/
H A Dixl_pf_iov.c148 vsi_ctx.info.valid_sections = htole16(I40E_AQ_VSI_PROP_SWITCH_VALID);
151 htole16(I40E_AQ_VSI_SW_ID_FLAG_ALLOW_LB);
153 vsi_ctx.info.valid_sections |= htole16(I40E_AQ_VSI_PROP_SECURITY_VALID);
158 vsi_ctx.info.valid_sections |= htole16(I40E_AQ_VSI_PROP_VLAN_VALID);
163 htole16(I40E_AQ_VSI_PROP_QUEUE_MAP_VALID);
164 vsi_ctx.info.mapping_flags = htole16(I40E_AQ_VSI_QUE_MAP_NONCONTIG);
170 vsi_ctx.info.queue_mapping[i] = htole16(I40E_AQ_VSI_QUEUE_MASK);
172 vsi_ctx.info.tc_mapping[0] = htole16(
1122 vsi_ctx.info.valid_sections = htole16(I40E_AQ_VSI_PROP_VLAN_VALID);
1647 ctxt.info.valid_sections = htole16(I40E_AQ_VSI_PROP_SWITCH_VALI
[all...]
/freebsd-12-stable/sys/dev/mwl/
H A Dif_mwlvar.h196 bas->qos = htole16(tid | IEEE80211_QOS_ACKPOLICY_BA);
217 return (qos & htole16(IEEE80211_QOS_TID|IEEE80211_QOS_ACKPOLICY)) ==
/freebsd-12-stable/usr.sbin/bluetooth/bthidd/
H A Dserver.c97 l2addr.l2cap_psm = htole16(0x11);
127 l2addr.l2cap_psm = htole16(0x13);
/freebsd-12-stable/sys/dev/mpt/
H A Dmpt_user.c280 page_req->ioc_status = htole16(req->IOCStatus);
321 page_req->ioc_status = htole16(req->IOCStatus);
365 ext_page_req->ioc_status = htole16(req->IOCStatus);
411 ext_page_req->ioc_status = htole16(req->IOCStatus);
476 page_req->ioc_status = htole16(req->IOCStatus);
575 raid_act->ioc_status = htole16(req->IOCStatus);

Completed in 462 milliseconds

12345678