Home
last modified time | relevance | path

Searched refs:ntoh16 (Results 1 – 25 of 92) sorted by relevance

1234

/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_mschdbg.c102 int i, cnt = (int)ntoh16(chanspec_cnt); in dhd_mschdbg_chanspec_list()
103 uint16 *chanspec_list = (uint16 *)(data + ntoh16(ptr)); in dhd_mschdbg_chanspec_list()
110 c = (chanspec_t)ntoh16(chanspec_list[i]); in dhd_mschdbg_chanspec_list()
119 int i, cnt = (int)ntoh16(list_cnt); in dhd_mschdbg_elem_list()
120 uint32 *list = (uint32 *)(data + ntoh16(ptr)); in dhd_mschdbg_elem_list()
135 (msch_req_param_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_req_param_profiler_event_data()
152 flags = ntoh16(p->flags); in dhd_mschdbg_req_param_profiler_event_data()
192 (msch_timeslot_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_timeslot_profiler_event_data()
232 (msch_req_timing_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_req_timing_profiler_event_data()
247 type = ntoh16(p->flags); in dhd_mschdbg_req_timing_profiler_event_data()
[all …]
H A Ddhd_linux_pktdump.c423 ether_type = ntoh16(eh->ether_type); in dhd_dump_pkt()
646 eap_len = ntoh16(eap_hdr->len); in dhd_dump_wsc_message()
1249 seqnum = ntoh16(ICMP_ECHO_SEQ(icmph)); in dhd_icmp_dump()
1253 seqnum = ntoh16(ICMP_ECHO_SEQ(icmph)); in dhd_icmp_dump()
1351 opcode = ntoh16(arph->oper); in dhd_arp_dump()
1391 if (ntoh16(iph->tot_len) < (ntoh16(dnsh->udph.len) + in dhd_check_dns()
1614 opcode = ntoh16(arph->oper); in dhd_is_arp_pkt()
1717 ether_type = ntoh16(eh->ether_type); in dhd_match_pkt_type()
1723 ntoh16(eh->ether_type) == ETHER_TYPE_ARP) { in dhd_match_pkt_type()
1726 else if (ntoh16(eh->ether_type) == ETHER_TYPE_IP) { in dhd_match_pkt_type()
H A Ddhd_pktlog.h236 if (ntoh16((pkt)->protocol) != ETHER_TYPE_BRCM) { \
254 if (ntoh16((pkt)->protocol) != ETHER_TYPE_BRCM) { \
H A Dbcmevent.c279 evt->flags = ntoh16(evt->flags); in wl_event_to_host_order()
284 evt->version = ntoh16(evt->version); in wl_event_to_host_order()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_mschdbg.c96 int i, cnt = (int)ntoh16(chanspec_cnt); in dhd_mschdbg_chanspec_list()
97 uint16 *chanspec_list = (uint16 *)(data + ntoh16(ptr)); in dhd_mschdbg_chanspec_list()
104 c = (chanspec_t)ntoh16(chanspec_list[i]); in dhd_mschdbg_chanspec_list()
113 int i, cnt = (int)ntoh16(list_cnt); in dhd_mschdbg_elem_list()
114 uint32 *list = (uint32 *)(data + ntoh16(ptr)); in dhd_mschdbg_elem_list()
129 (msch_req_param_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_req_param_profiler_event_data()
146 flags = ntoh16(p->flags); in dhd_mschdbg_req_param_profiler_event_data()
186 (msch_timeslot_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_timeslot_profiler_event_data()
226 (msch_req_timing_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_req_timing_profiler_event_data()
241 type = ntoh16(p->flags); in dhd_mschdbg_req_timing_profiler_event_data()
[all …]
H A Ddhd_linux_pktdump.c367 ether_type = ntoh16(eh->ether_type); in dhd_dump_pkt()
372 if (ntoh16(eh->ether_type) == ETHER_TYPE_IP) { in dhd_dump_pkt()
377 if (ntoh16(eh->ether_type) == ETHER_TYPE_ARP) { in dhd_dump_pkt()
578 eap_len = ntoh16(eap_hdr->len); in dhd_dump_wsc_message()
1052 seqnum = ntoh16(ICMP_ECHO_SEQ(icmph)); in dhd_icmp_dump()
1056 seqnum = ntoh16(ICMP_ECHO_SEQ(icmph)); in dhd_icmp_dump()
1124 opcode = ntoh16(arph->oper); in dhd_arp_dump()
1236 if (ntoh16(iph->tot_len) < (ntoh16(dnsh->udph.len) + in dhd_dns_dump()
H A Dbcmevent.c242 evt->flags = ntoh16(evt->flags); in wl_event_to_host_order()
247 evt->version = ntoh16(evt->version); in wl_event_to_host_order()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_mschdbg.c96 int i, cnt = (int)ntoh16(chanspec_cnt); in dhd_mschdbg_chanspec_list()
97 uint16 *chanspec_list = (uint16 *)(data + ntoh16(ptr)); in dhd_mschdbg_chanspec_list()
104 c = (chanspec_t)ntoh16(chanspec_list[i]); in dhd_mschdbg_chanspec_list()
113 int i, cnt = (int)ntoh16(list_cnt); in dhd_mschdbg_elem_list()
114 uint32 *list = (uint32 *)(data + ntoh16(ptr)); in dhd_mschdbg_elem_list()
129 (msch_req_param_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_req_param_profiler_event_data()
146 flags = ntoh16(p->flags); in dhd_mschdbg_req_param_profiler_event_data()
186 (msch_timeslot_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_timeslot_profiler_event_data()
226 (msch_req_timing_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_req_timing_profiler_event_data()
241 type = ntoh16(p->flags); in dhd_mschdbg_req_timing_profiler_event_data()
[all …]
H A Ddhd_linux_pktdump.c367 ether_type = ntoh16(eh->ether_type); in dhd_dump_pkt()
372 if (ntoh16(eh->ether_type) == ETHER_TYPE_IP) { in dhd_dump_pkt()
377 if (ntoh16(eh->ether_type) == ETHER_TYPE_ARP) { in dhd_dump_pkt()
578 eap_len = ntoh16(eap_hdr->len); in dhd_dump_wsc_message()
1052 seqnum = ntoh16(ICMP_ECHO_SEQ(icmph)); in dhd_icmp_dump()
1056 seqnum = ntoh16(ICMP_ECHO_SEQ(icmph)); in dhd_icmp_dump()
1124 opcode = ntoh16(arph->oper); in dhd_arp_dump()
1236 if (ntoh16(iph->tot_len) < (ntoh16(dnsh->udph.len) + in dhd_dns_dump()
H A Dbcmevent.c242 evt->flags = ntoh16(evt->flags); in wl_event_to_host_order()
247 evt->version = ntoh16(evt->version); in wl_event_to_host_order()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_mschdbg.c96 int i, cnt = (int)ntoh16(chanspec_cnt); in dhd_mschdbg_chanspec_list()
97 uint16 *chanspec_list = (uint16 *)(data + ntoh16(ptr)); in dhd_mschdbg_chanspec_list()
104 c = (chanspec_t)ntoh16(chanspec_list[i]); in dhd_mschdbg_chanspec_list()
113 int i, cnt = (int)ntoh16(list_cnt); in dhd_mschdbg_elem_list()
114 uint32 *list = (uint32 *)(data + ntoh16(ptr)); in dhd_mschdbg_elem_list()
129 (msch_req_param_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_req_param_profiler_event_data()
146 flags = ntoh16(p->flags); in dhd_mschdbg_req_param_profiler_event_data()
186 (msch_timeslot_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_timeslot_profiler_event_data()
226 (msch_req_timing_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_req_timing_profiler_event_data()
241 type = ntoh16(p->flags); in dhd_mschdbg_req_timing_profiler_event_data()
[all …]
H A Ddhd_linux_pktdump.c367 ether_type = ntoh16(eh->ether_type); in dhd_dump_pkt()
372 if (ntoh16(eh->ether_type) == ETHER_TYPE_IP) { in dhd_dump_pkt()
377 if (ntoh16(eh->ether_type) == ETHER_TYPE_ARP) { in dhd_dump_pkt()
578 eap_len = ntoh16(eap_hdr->len); in dhd_dump_wsc_message()
1052 seqnum = ntoh16(ICMP_ECHO_SEQ(icmph)); in dhd_icmp_dump()
1056 seqnum = ntoh16(ICMP_ECHO_SEQ(icmph)); in dhd_icmp_dump()
1124 opcode = ntoh16(arph->oper); in dhd_arp_dump()
1236 if (ntoh16(iph->tot_len) < (ntoh16(dnsh->udph.len) + in dhd_dns_dump()
H A Dbcmevent.c241 evt->flags = ntoh16(evt->flags); in wl_event_to_host_order()
246 evt->version = ntoh16(evt->version); in wl_event_to_host_order()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_mschdbg.c102 int i, cnt = (int)ntoh16(chanspec_cnt); in dhd_mschdbg_chanspec_list()
103 uint16 *chanspec_list = (uint16 *)(data + ntoh16(ptr)); in dhd_mschdbg_chanspec_list()
110 c = (chanspec_t)ntoh16(chanspec_list[i]); in dhd_mschdbg_chanspec_list()
119 int i, cnt = (int)ntoh16(list_cnt); in dhd_mschdbg_elem_list()
120 uint32 *list = (uint32 *)(data + ntoh16(ptr)); in dhd_mschdbg_elem_list()
135 (msch_req_param_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_req_param_profiler_event_data()
152 flags = ntoh16(p->flags); in dhd_mschdbg_req_param_profiler_event_data()
192 (msch_timeslot_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_timeslot_profiler_event_data()
232 (msch_req_timing_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_req_timing_profiler_event_data()
247 type = ntoh16(p->flags); in dhd_mschdbg_req_timing_profiler_event_data()
[all …]
H A Ddhd_linux_pktdump.c423 ether_type = ntoh16(eh->ether_type); in dhd_dump_pkt()
646 eap_len = ntoh16(eap_hdr->len); in dhd_dump_wsc_message()
1249 seqnum = ntoh16(ICMP_ECHO_SEQ(icmph)); in dhd_icmp_dump()
1253 seqnum = ntoh16(ICMP_ECHO_SEQ(icmph)); in dhd_icmp_dump()
1351 opcode = ntoh16(arph->oper); in dhd_arp_dump()
1391 if (ntoh16(iph->tot_len) < (ntoh16(dnsh->udph.len) + in dhd_check_dns()
1614 opcode = ntoh16(arph->oper); in dhd_is_arp_pkt()
1717 ether_type = ntoh16(eh->ether_type); in dhd_match_pkt_type()
1723 ntoh16(eh->ether_type) == ETHER_TYPE_ARP) { in dhd_match_pkt_type()
1726 else if (ntoh16(eh->ether_type) == ETHER_TYPE_IP) { in dhd_match_pkt_type()
H A Ddhd_pktlog.h236 if (ntoh16((pkt)->protocol) != ETHER_TYPE_BRCM) { \
254 if (ntoh16((pkt)->protocol) != ETHER_TYPE_BRCM) { \
H A Dbcmevent.c281 evt->flags = ntoh16(evt->flags); in wl_event_to_host_order()
286 evt->version = ntoh16(evt->version); in wl_event_to_host_order()
H A Ddhd_ip.c68 } else if (ntoh16(*(uint16 *)(frame + ETHER_TYPE_OFFSET)) >= ETHER_TYPE_MIN) { in pkt_frag_info()
79 ethertype = ntoh16(*(uint16 *)pt); in pkt_frag_info()
90 ethertype = ntoh16(*(uint16 *)pt); in pkt_frag_info()
108 iph_frag = ntoh16(iph->frag); in pkt_frag_info()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_mschdbg.c94 int i, cnt = (int)ntoh16(chanspec_cnt); in dhd_mschdbg_chanspec_list()
95 uint16 *chanspec_list = (uint16 *)(data + ntoh16(ptr)); in dhd_mschdbg_chanspec_list()
102 c = (chanspec_t)ntoh16(chanspec_list[i]); in dhd_mschdbg_chanspec_list()
111 int i, cnt = (int)ntoh16(list_cnt); in dhd_mschdbg_elem_list()
112 uint32 *list = (uint32 *)(data + ntoh16(ptr)); in dhd_mschdbg_elem_list()
127 (msch_req_param_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_req_param_profiler_event_data()
144 flags = ntoh16(p->flags); in dhd_mschdbg_req_param_profiler_event_data()
184 (msch_timeslot_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_timeslot_profiler_event_data()
224 (msch_req_timing_profiler_event_data_t *)(data + ntoh16(ptr)); in dhd_mschdbg_req_timing_profiler_event_data()
239 type = ntoh16(p->flags); in dhd_mschdbg_req_timing_profiler_event_data()
[all …]
H A Dbcmevent.c226 evt->flags = ntoh16(evt->flags); in wl_event_to_host_order()
231 evt->version = ntoh16(evt->version); in wl_event_to_host_order()
H A Ddhd_ip.c72 } else if (ntoh16(*(uint16 *)(frame + ETHER_TYPE_OFFSET)) >= ETHER_TYPE_MIN) { in pkt_frag_info()
83 ethertype = ntoh16(*(uint16 *)pt); in pkt_frag_info()
94 ethertype = ntoh16(*(uint16 *)pt); in pkt_frag_info()
112 iph_frag = ntoh16(iph->frag); in pkt_frag_info()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dbcmproto.h95 type = ntoh16(eh->ether_type); in hnd_frame_proto()
107 type = ntoh16(sh->type); in hnd_frame_proto()
117 type = ntoh16(svh->ether_type); in hnd_frame_proto()
131 type = ntoh16(evh->ether_type); in hnd_frame_proto()
H A Dbcmendian.h76 #define ntoh16(i) bcmswap16(i) macro
95 #define ntoh16(i) (i) macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dbcmproto.h95 type = ntoh16(eh->ether_type); in hnd_frame_proto()
107 type = ntoh16(sh->type); in hnd_frame_proto()
117 type = ntoh16(svh->ether_type); in hnd_frame_proto()
131 type = ntoh16(evh->ether_type); in hnd_frame_proto()
H A Dbcmendian.h76 #define ntoh16(i) bcmswap16(i) macro
95 #define ntoh16(i) (i) macro

1234