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

1234567

/freebsd-11.0-release/sys/dev/iwm/
H A Dif_iwm_util.c266 cmd->hdr_wide.length = htole16(paylen);
288 desc->tbs[0].hi_n_len = htole16(iwm_get_dma_hi_addr(paddr)
H A Dif_iwm.c1702 .offset = htole16(offset),
1703 .length = htole16(length),
1704 .type = htole16(section),
2980 if (phy_info->phy_flags & htole16(IWM_PHY_INFO_FLAG_SHPREAMBLE))
2982 tap->wr_chan_freq = htole16(rxs.c_freq);
2984 tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags);
3153 w_val = htole16(sta_id << 12 | len);
3328 tap->wt_chan_freq = htole16(ni->ni_chan->ic_freq);
3329 tap->wt_chan_flags = htole16(ni->ni_chan->ic_flags);
3361 tx->pm_frame_timeout = htole16(IWM_PM_FRAME_ASSO
[all...]
/freebsd-11.0-release/sys/dev/mps/
H A Dmps_sas.c528 req->DevHandle = htole16(targ->handle);
601 req->DevHandle = htole16(handle);
1363 req->DevHandle = htole16(target->handle);
1512 req->DevHandle = htole16(targ->handle);
1519 req->TaskMID = htole16(cm->cm_desc.Default.SMID);
1720 req->DevHandle = htole16(targ->handle);
1734 req->IoFlags = htole16(csio->cdb_len);
1789 req->IoFlags = htole16(csio->cdb_len);
1806 req->EEDPBlockSize = htole16(lun->eedp_block_size);
1810 req->EEDPFlags = htole16(eedp_flag
[all...]
/freebsd-11.0-release/sys/dev/fxp/
H A Dif_fxp.c1645 htole16(sc->tx_cmd | FXP_CB_COMMAND_SF |
1649 htole16(sc->tx_cmd | FXP_CB_COMMAND_SF |
1657 sc->fxp_desc.tx_last->tx_cb->cb_command &= htole16(~FXP_CB_COMMAND_S);
2357 cbp->cb_command = htole16(FXP_CB_COMMAND_CONFIG |
2494 cb_ias->cb_command = htole16(FXP_CB_COMMAND_IAS | FXP_CB_COMMAND_EL);
2522 tcbp[i].cb_status = htole16(FXP_CB_STATUS_C | FXP_CB_STATUS_OK);
2523 tcbp[i].cb_command = htole16(FXP_CB_COMMAND_NOP);
2538 tcbp->cb_command = htole16(FXP_CB_COMMAND_NOP | FXP_CB_COMMAND_S);
2661 rfa->size = htole16(MCLBYTES - sc->rfa_size - RFA_ALIGNMENT_FUDGE);
2664 rfa->rfa_control = htole16(FXP_RFA_CONTROL_E
[all...]
/freebsd-11.0-release/lib/libbluetooth/
H A Dbluetooth.h64 #define htobs(d) htole16(d)
H A Dhci.c111 h.opcode = htole16(opcode);
249 opcode = htole16(r->opcode);
/freebsd-11.0-release/sys/dev/ixl/
H A Di40e_osdep.h100 #define CPU_TO_LE16(o) htole16(o)
/freebsd-11.0-release/sys/netsmb/
H A Dsmb_subr.c193 *dst++ = htole16(*src++);
/freebsd-11.0-release/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_llpi.c567 l2cap_hdr->length = htole16(m0->m_pkthdr.len - sizeof(*l2cap_hdr));
568 l2cap_hdr->dcid = htole16(dcid);
605 acl_hdr->length = htole16(len);
606 acl_hdr->con_handle = htole16(NG_HCI_MK_CON_HANDLE(
H A Dng_l2cap_cmds.c205 htole16(cmd->ch->psm);
/freebsd-11.0-release/sys/mips/malta/
H A Dgt_pci_bus_space.c220 #define wr16(a, v) writew(a, htole16(v))
/freebsd-11.0-release/sys/boot/mips/beri/common/
H A Dsdcard.c132 *p = htole16(v);
/freebsd-11.0-release/sys/dev/iwi/
H A Dif_iwi.c1009 #define IWI_EXP2(v) htole16((1 << (v)) - 1)
1010 #define IWI_USEC(v) htole16(IEEE80211_TXOP_TO_US(v))
1893 desc->len = htole16(m0->m_pkthdr.len);
1907 desc->seg_len[i] = htole16(segs[i].ds_len);
2372 MEM_WRITE_2(sc, 0x200010, htole16(*w));
2695 scan.dwell_time[IWI_SCAN_TYPE_PASSIVE] = htole16(maxdwell);
2703 scan.dwell_time[IWI_SCAN_TYPE_BROADCAST] = htole16(30);
2704 scan.dwell_time[IWI_SCAN_TYPE_BDIRECTED] = htole16(30);
2706 scan.dwell_time[IWI_SCAN_TYPE_BROADCAST] = htole16(maxdwell);
2707 scan.dwell_time[IWI_SCAN_TYPE_BDIRECTED] = htole16(maxdwel
[all...]
/freebsd-11.0-release/usr.sbin/bluetooth/bthidd/
H A Dclient.c249 l2addr.l2cap_psm = htole16(psm);
/freebsd-11.0-release/usr.sbin/bluetooth/btpand/
H A Dclient.c87 sa.l2cap_psm = htole16(l2cap_psm);
H A Dserver.c106 sa.l2cap_psm = htole16(l2cap_psm);
/freebsd-11.0-release/sys/dev/usb/wlan/
H A Dif_rsu.c903 val = htole16(val);
1085 cmd->len = htole16(cmdsz);
1428 fixed->bintval = htole16(ni->ni_intval);
1429 fixed->capabilities = htole16(ni->ni_capinfo);
1825 tap->wr_chan_freq = htole16(ic->ic_curchan->ic_freq);
1826 tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags);
2224 tap->wt_chan_freq = htole16(ic->ic_curchan->ic_freq);
2225 tap->wt_chan_flags = htole16(ic->ic_curchan->ic_flags);
2657 if (hdr->signature != htole16(0x8712) &&
2658 hdr->signature != htole16(
[all...]
/freebsd-11.0-release/sys/dev/mpr/
H A Dmpr_sas.c522 req->DevHandle = htole16(targ->handle);
593 req->DevHandle = htole16(handle);
1411 req->DevHandle = htole16(target->handle);
1569 req->DevHandle = htole16(targ->handle);
1576 req->TaskMID = htole16(cm->cm_desc.Default.SMID);
1781 req->DevHandle = htole16(targ->handle);
1795 req->IoFlags = htole16(csio->cdb_len);
1851 req->IoFlags = htole16(csio->cdb_len);
1868 req->EEDPBlockSize = htole16(lun->eedp_block_size);
1872 req->EEDPFlags = htole16(eedp_flag
[all...]
/freebsd-11.0-release/sys/dev/mlx5/mlx5_en/
H A Dtcp_tlro.c533 pinfoa->tcp->th_sum = ~htole16(cs);
563 pinfoa->ip.v4->ip_sum = ~htole16(cs);
/freebsd-11.0-release/sys/dev/drm2/
H A Ddrm_os_freebsd.h46 #define cpu_to_le16(x) htole16(x)
150 (vm_offset_t)(offset)) = htole16(val)
/freebsd-11.0-release/sys/dev/rt/
H A Dif_rt.c1105 desc->sdl0 = htole16(dma_seg[i].ds_len |
1110 desc->sdl1 = htole16(dma_seg[i+1].ds_len |
1851 if (!(desc->sdl0 & htole16(RT_RXDESC_SDL0_DDONE))) {
1943 desc->sdl0 &= ~htole16(RT_RXDESC_SDL0_DDONE);
1997 if (desc->sdl0 & htole16(RT_TXDESC_SDL0_LASTSEG) ||
1998 desc->sdl1 & htole16(RT_TXDESC_SDL1_LASTSEG)) {
2020 desc->sdl0 &= ~htole16(RT_TXDESC_SDL0_DDONE);
2288 desc->sdl0 &= ~htole16(RT_RXDESC_SDL0_DDONE);
/freebsd-11.0-release/tools/tools/net80211/w00t/assoc/
H A Dassoc.c215 *(uint16_t *)data = htole16(capinfo);
219 *(uint16_t *)data = htole16(100);
/freebsd-11.0-release/usr.sbin/btxld/
H A Dbtxld.c269 btxle.btx_pgctl = htole16(btxle.btx_pgctl);
270 btxle.btx_textsz = htole16(btxle.btx_textsz);
/freebsd-11.0-release/sys/dev/altera/sdcard/
H A Daltera_sdcard_io.c207 bus_write_2(sc->as_res, ALTERA_SDCARD_OFF_CMD, htole16(cmd));
/freebsd-11.0-release/tools/tools/net80211/w00t/ap/
H A Dap.c253 *ptr++ = htole16(0);
254 *ptr++ = htole16(2);
255 *ptr++ = htole16(0);

Completed in 310 milliseconds

1234567