Home
last modified time | relevance | path

Searched refs:htole16 (Results 1 – 25 of 27) sorted by relevance

12

/f-stack/freebsd/netgraph/bluetooth/l2cap/
H A Dng_l2cap_cmds.h73 c->data.mtu.mtu = htole16((_mtu)); \
106 c->param.psm = htole16((_psm)); \
107 c->param.scid = htole16((_scid)); \
129 c->param.dcid = htole16((_dcid)); \
130 c->param.scid = htole16((_scid)); \
156 c->param.dcid = htole16((_dcid)); \
190 c->param.scid = htole16((_scid)); \
220 c->result = htole16((_result)); \
316 c->param.dcid = htole16((_dcid)); \
317 c->param.scid = htole16((_scid)); \
[all …]
H A Dng_l2cap_llpi.c569 l2cap_hdr->length = htole16(m0->m_pkthdr.len - sizeof(*l2cap_hdr)); in ng_l2cap_lp_send()
570 l2cap_hdr->dcid = htole16(dcid); in ng_l2cap_lp_send()
607 acl_hdr->length = htole16(len); in ng_l2cap_lp_send()
608 acl_hdr->con_handle = htole16(NG_HCI_MK_CON_HANDLE( in ng_l2cap_lp_send()
H A Dng_l2cap_cmds.c207 htole16(cmd->ch->psm); in ng_l2cap_con_wakeup()
H A Dng_l2cap_evnt.c1109 hdr->length = htole16(con->rx_pkt->m_pkthdr.len - sizeof(*hdr)); in ng_l2cap_process_echo_req()
/f-stack/freebsd/netgraph/bluetooth/hci/
H A Dng_hci_ulpi.c269 req->cp.pkt_type = htole16(req->cp.pkt_type); in ng_hci_lp_acl_con_req()
462 req->cp.pkt_type = htole16(req->cp.pkt_type); in ng_hci_lp_sco_con_req()
625 req->cp.scan_interval = htole16(4); in ng_hci_lp_le_con_req()
626 req->cp.scan_window = htole16(4); in ng_hci_lp_le_con_req()
628 req->cp.conn_interval_min = htole16(0xf); in ng_hci_lp_le_con_req()
629 req->cp.conn_interval_max = htole16(0xf); in ng_hci_lp_le_con_req()
630 req->cp.conn_latency = htole16(0); in ng_hci_lp_le_con_req()
632 req->cp.min_ce_length = htole16(1); in ng_hci_lp_le_con_req()
633 req->cp.max_ce_length = htole16(1); in ng_hci_lp_le_con_req()
1007 req->hdr.opcode = htole16(NG_HCI_OPCODE( in ng_hci_lp_con_rsp()
[all …]
H A Dng_hci_evnt.c763 lp->hdr.opcode = htole16(NG_HCI_OPCODE( in con_compl()
782 lp->cp.settings = htole16(lp->cp.settings); in con_compl()
/f-stack/freebsd/net80211/
H A Dieee80211_radiotap.c74 th->it_len = htole16(roundup2(tlen, sizeof(uint32_t))); in ieee80211_radiotap_attachv()
90 rh->it_len = htole16(roundup2(rlen, sizeof(uint32_t))); in ieee80211_radiotap_attachv()
141 rc->freq = htole16(c->ic_freq); in set_channel()
142 rc->flags = htole16(c->ic_flags); in set_channel()
156 rc->freq = htole16(c->ic_freq); in set_xchannel()
H A Dieee80211_output.c2007 *(uint16_t *)&whf->i_seq[0] |= htole16( in ieee80211_fragment()
2787 *(uint16_t *)frm = htole16(capinfo); in ieee80211_send_mgmt()
2902 *(uint16_t *)frm = htole16(capinfo); in ieee80211_send_mgmt()
3067 *(uint16_t *)frm = htole16(bss->ni_intval); in ieee80211_alloc_proberesp()
3070 *(uint16_t *)frm = htole16(capinfo); in ieee80211_alloc_proberesp()
3243 *(u_int16_t *)rts->i_dur = htole16(dur); in ieee80211_alloc_rts()
3269 *(u_int16_t *)cts->i_dur = htole16(dur); in ieee80211_alloc_cts()
3438 *(uint16_t *)frm = htole16(ni->ni_intval); in ieee80211_beacon_construct()
3442 *(uint16_t *)frm = htole16(capinfo); in ieee80211_beacon_construct()
3786 htole16(seqno << IEEE80211_SEQ_SEQ_SHIFT); in ieee80211_beacon_update()
[all …]
H A Dieee80211_ht.c2956 bar->i_ctl = htole16(barctl); in ieee80211_send_bar()
2957 bar->i_seq = htole16(barseqctl); in ieee80211_send_bar()
/f-stack/freebsd/sys/
H A Dendian.h73 #define htole16(x) ((uint16_t)(x)) macro
87 #define htole16(x) bswap16((x)) macro
/f-stack/freebsd/mips/nlm/
H A Dboard_cpld.c66 data = htole16(data); in nlm_cpld_write()
/f-stack/freebsd/netgraph/bluetooth/drivers/ubt/
H A Dng_ubt_intel.c92 .opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_VENDOR, 0x05)), in ubt_intel_check_firmware_state()
/f-stack/freebsd/contrib/alpine-hal/
H A Dal_hal_plat_services.h376 #define swap16_to_le(x) htole16(x)
/f-stack/freebsd/mips/malta/
H A Dgt_pci_bus_space.c222 #define wr16(a, v) writew(a, htole16(v))
/f-stack/dpdk/drivers/net/szedata2/
H A Drte_eth_szedata2.c739 *((uint16_t *)dst) = htole16( in eth_szedata2_tx()
742 *(((uint16_t *)dst) + 1) = htole16(0); in eth_szedata2_tx()
789 htole16(RTE_SZE2_PACKET_HEADER_SIZE_ALIGNED + in eth_szedata2_tx()
791 *(((uint16_t *)dst) + 1) = htole16(0); in eth_szedata2_tx()
/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x_stats.c83 htole16(sc->stats_counter++); in bnx2x_storm_stats_post()
1376 cur_query_entry->funcID = htole16(SC_FUNC(sc)); in bnx2x_prep_fw_stats_req()
1389 cur_query_entry->funcID = htole16(SC_FUNC(sc)); in bnx2x_prep_fw_stats_req()
1409 cur_query_entry->funcID = htole16(SC_FUNC(sc)); in bnx2x_prep_fw_stats_req()
H A Decore_sp.h119 #define ECORE_CPU_TO_LE16(x) htole16(x)
/f-stack/freebsd/mips/cavium/
H A Doctopci_bus_space.c203 #define wr16(a, v) cvmx_write64_uint16(a, htole16(v))
H A Doctopci.c411 cvmx_write64_uint16(addr, htole16(data)); in octopci_write_config()
/f-stack/freebsd/netgraph/bluetooth/socket/
H A Dng_btsocket_rfcomm.c1341 l2sa.l2cap_psm = (dst == NULL)? htole16(NG_L2CAP_PSM_RFCOMM) : 0; in ng_btsocket_rfcomm_session_create()
1364 l2sa.l2cap_psm = htole16(NG_L2CAP_PSM_RFCOMM); in ng_btsocket_rfcomm_session_create()
2736 rpn->param_mask = htole16(param_mask); /* XXX */ in ng_btsocket_rfcomm_receive_rpn()
3050 u_int16_t l = htole16(RFCOMM_MKLEN16(length)); in ng_btsocket_rfcomm_send_uih()
3158 pn->mtu = htole16(pcb->mtu); in ng_btsocket_rfcomm_send_pn()
H A Dng_btsocket_l2cap.c2542 sa.l2cap_psm = htole16(pcb->psm); in ng_btsocket_l2cap_peeraddr()
2706 sa.l2cap_psm = htole16(pcb->psm); in ng_btsocket_l2cap_sockaddr()
/f-stack/freebsd/kern/
H A Dsubr_mchain.c164 x = htole16(x); in mb_put_uint16le()
/f-stack/freebsd/arm/broadcom/bcm2835/
H A Dbcm2838_pci.c379 bus_space_write_2(t, h, offset, htole16(val)); in bcm_pcib_write_config()
/f-stack/freebsd/arm64/cavium/
H A Dthunder_pcie_pem.c617 bus_space_write_2(t, h, reg, htole16(val)); in thunder_pem_write_config()
/f-stack/freebsd/arm/mv/
H A Dmv_pci.c1064 cd + (reg & 2), htole16(data)); in mv_pcib_hw_cfgwrite()

12