Home
last modified time | relevance | path

Searched refs:le16toh (Results 1 – 25 of 36) sorted by relevance

12

/f-stack/freebsd/netgraph/bluetooth/l2cap/
H A Dng_l2cap_evnt.c473 psm = le16toh(cp->psm); in ng_l2cap_process_con_req()
474 dcid = le16toh(cp->scid); in ng_l2cap_process_con_req()
536 dcid = le16toh(cp->dcid); in ng_l2cap_process_con_rsp()
537 scid = le16toh(cp->scid); in ng_l2cap_process_con_rsp()
538 result = le16toh(cp->result); in ng_l2cap_process_con_rsp()
662 dcid = le16toh(cp->dcid); in ng_l2cap_process_cfg_req()
795 scid = le16toh(cp->scid); in ng_l2cap_process_cfg_rsp()
945 dcid = le16toh(cp->dcid); in ng_l2cap_process_discon_req()
946 scid = le16toh(cp->scid); in ng_l2cap_process_discon_req()
1036 dcid = le16toh(cp->dcid); in ng_l2cap_process_discon_rsp()
[all …]
H A Dng_l2cap_llpi.c686 acl_hdr->con_handle = le16toh(acl_hdr->con_handle); in ng_l2cap_lp_receive()
689 length = le16toh(acl_hdr->length); in ng_l2cap_lp_receive()
746 le16toh(l2cap_hdr->length)); in ng_l2cap_lp_receive()
750 con->rx_pkt_len = le16toh(l2cap_hdr->length)+sizeof(*l2cap_hdr); in ng_l2cap_lp_receive()
/f-stack/freebsd/net80211/
H A Dieee80211_radiotap.c122 sizeof(struct ieee80211_frame) + le16toh(th->it_len), in ieee80211_radiotap_vattach()
216 len = le16toh(th->it_len); in ieee80211_radiotap_tx()
238 len = le16toh(rh->it_len); in ieee80211_radiotap_rx()
260 int len = le16toh(rh->it_len); in ieee80211_radiotap_rx_all()
364 if (off + items[i].width > le16toh(rh->it_len)) { in radiotap_offset()
368 off, items[i].width, le16toh(rh->it_len)); in radiotap_offset()
H A Dieee80211_sta.c1698 algo = le16toh(*(uint16_t *)frm); in sta_recv_mgmt()
1699 seq = le16toh(*(uint16_t *)(frm + 2)); in sta_recv_mgmt()
1700 status = le16toh(*(uint16_t *)(frm + 4)); in sta_recv_mgmt()
1753 capinfo = le16toh(*(uint16_t *)frm); in sta_recv_mgmt()
1755 status = le16toh(*(uint16_t *)frm); in sta_recv_mgmt()
1764 associd = le16toh(*(uint16_t *)frm); in sta_recv_mgmt()
1959 reason = le16toh(*(uint16_t *)frm); in sta_recv_mgmt()
1993 reason = le16toh(*(uint16_t *)frm); in sta_recv_mgmt()
H A Dieee80211_input.c185 rxseq = le16toh(*(uint16_t *)wh->i_seq); in ieee80211_defrag()
221 last_rxseq = le16toh(*(uint16_t *)lwh->i_seq); in ieee80211_defrag()
525 scan->bintval = le16toh(*(uint16_t *)frm); frm += 2; in ieee80211_parse_beacon()
526 scan->capinfo = le16toh(*(uint16_t *)frm); frm += 2; in ieee80211_parse_beacon()
H A Dieee80211_hostap.c1948 algo = le16toh(*(uint16_t *)frm); in hostap_recv_mgmt()
1949 seq = le16toh(*(uint16_t *)(frm + 2)); in hostap_recv_mgmt()
1950 status = le16toh(*(uint16_t *)(frm + 4)); in hostap_recv_mgmt()
2047 capinfo = le16toh(*(uint16_t *)frm); frm += 2; in hostap_recv_mgmt()
2048 lintval = le16toh(*(uint16_t *)frm); frm += 2; in hostap_recv_mgmt()
2309 reason = le16toh(*(uint16_t *)frm); in hostap_recv_mgmt()
2403 aid = le16toh(*(uint16_t *)wh->i_dur); in ieee80211_recv_pspoll()
H A Dieee80211_input.h208 rxseq = le16toh(*(uint16_t *)wh->i_seq); in ieee80211_check_rxseq()
H A Dieee80211_tdma.c433 slotlen = le16toh(tdma->tdma_slotlen) * 100; in tdma_update()
/f-stack/freebsd/netgraph/bluetooth/hci/
H A Dng_hci_cmds.c197 ep->opcode = le16toh(ep->opcode); in ng_hci_process_command_complete()
296 ep->opcode = le16toh(ep->opcode); in ng_hci_process_command_status()
417 opcode = le16toh(mtod(m, ng_hci_cmd_pkt_t *)->opcode); in ng_hci_process_command_timeout()
508 h = NG_HCI_CON_HANDLE(le16toh(rp->con_handle)); in process_link_policy_params()
704 le16toh(rp->num_acl_pkt), /* number */ in process_info_params()
705 le16toh(rp->max_acl_size), /* size */ in process_info_params()
706 le16toh(rp->num_acl_pkt) /* free */ in process_info_params()
711 le16toh(rp->num_sco_pkt), /* number */ in process_info_params()
713 le16toh(rp->num_sco_pkt) /* free */ in process_info_params()
H A Dng_hci_evnt.c541 con->con_handle = NG_HCI_CON_HANDLE(le16toh(ep->handle)); in le_connection_complete()
662 n->clock_offset = le16toh(n->clock_offset); in inquiry_result()
904 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in discon_compl()
941 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in encryption_change()
992 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in read_remote_features_compl()
1043 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in qos_setup_compl()
1138 h = NG_HCI_CON_HANDLE(le16toh(h)); in num_compl_pkts()
1143 p = le16toh(p); in num_compl_pkts()
1192 u_int16_t h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle)); in mode_change()
1273 n->clock_offset = le16toh(ep->clock_offset); in read_clock_offset_compl()
[all …]
H A Dng_hci_main.c828 con_handle = NG_HCI_CON_HANDLE(le16toh( in ng_hci_acl_rcvdata()
830 size = le16toh(mtod(m, ng_hci_acldata_pkt_t *)->length); in ng_hci_acl_rcvdata()
947 con_handle = NG_HCI_CON_HANDLE(le16toh( in ng_hci_sco_rcvdata()
/f-stack/freebsd/sys/
H A Dendian.h80 #define le16toh(x) ((uint16_t)(x)) macro
94 #define le16toh(x) bswap16((x)) macro
/f-stack/freebsd/mips/nlm/
H A Dboard_cpld.c60 return le16toh(val); in nlm_cpld_read()
/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x_stats.c87 le16toh(sc->fw_stats_req->hdr.drv_stats_counter)); in bnx2x_storm_stats_post()
861 if (le16toh(counters->xstats_counter) != cur_stats_counter) { in bnx2x_storm_stats_validate_counters()
865 le16toh(counters->xstats_counter), sc->stats_counter); in bnx2x_storm_stats_validate_counters()
869 if (le16toh(counters->ustats_counter) != cur_stats_counter) { in bnx2x_storm_stats_validate_counters()
873 le16toh(counters->ustats_counter), sc->stats_counter); in bnx2x_storm_stats_validate_counters()
877 if (le16toh(counters->cstats_counter) != cur_stats_counter) { in bnx2x_storm_stats_validate_counters()
881 le16toh(counters->cstats_counter), sc->stats_counter); in bnx2x_storm_stats_validate_counters()
885 if (le16toh(counters->tstats_counter) != cur_stats_counter) { in bnx2x_storm_stats_validate_counters()
889 le16toh(counters->tstats_counter), sc->stats_counter); in bnx2x_storm_stats_validate_counters()
H A Dbnx2x_stats.h419 ADD_64(s_hi, le16toh(a_hi_le), \
420 s_lo, le16toh(a_lo_le))
H A Dbnx2x_rxtx.c352 hw_cq_cons = le16toh(*fp->rx_cq_cons_sb); in bnx2x_recv_pkts()
/f-stack/freebsd/contrib/alpine-hal/
H A Dal_hal_plat_services.h402 #define swap16_from_le(x) le16toh(x)
/f-stack/freebsd/mips/malta/
H A Dgt_pci_bus_space.c220 #define rd16(a) le16toh(readw(a))
/f-stack/dpdk/drivers/net/szedata2/
H A Drte_eth_szedata2.c213 sg_size = le16toh(*((uint16_t *)header_ptr)); in eth_szedata2_rx()
214 hw_size = le16toh(*(((uint16_t *)header_ptr) + 1)); in eth_szedata2_rx()
457 sg_size = le16toh(*((uint16_t *)header_ptr)); in eth_szedata2_rx_scattered()
458 hw_size = le16toh(*(((uint16_t *)header_ptr) + 1)); in eth_szedata2_rx_scattered()
/f-stack/freebsd/mips/cavium/
H A Doctopci_bus_space.c200 #define rd16(a) le16toh(cvmx_read64_uint16(a))
/f-stack/freebsd/kern/
H A Dsubr_mchain.c394 *x = le16toh(v); in md_get_uint16le()
/f-stack/freebsd/netgraph/bluetooth/drivers/ubt/
H A Dng_ubt.c569 le16toh(cmd->opcode)); in ubt_do_hci_request()
1073 len = le16toh(hdr->length); in ubt_bulk_read_callback()
/f-stack/freebsd/arm/broadcom/bcm2835/
H A Dbcm2838_pci.c341 data = le16toh(bus_space_read_2(t, h, offset)); in bcm_pcib_read_config()
/f-stack/freebsd/netgraph/bluetooth/socket/
H A Dng_btsocket_rfcomm.c1853 length = le16toh(length) >> 1; in ng_btsocket_rfcomm_receive_frame()
2685 rpn->param_mask = le16toh(rpn->param_mask); /* XXX */ in ng_btsocket_rfcomm_receive_rpn()
2810 pn->ack_timer, le16toh(pn->mtu), pn->max_retrans, pn->credits, in ng_btsocket_rfcomm_receive_pn()
2933 pcb->mtu = le16toh(mtu); in ng_btsocket_rfcomm_set_pn()
/f-stack/freebsd/netgraph/bluetooth/drivers/h4/
H A Dng_h4.c454 c = le16toh(((ng_hci_acldata_pkt_t *) in ng_h4_input()

12