Home
last modified time | relevance | path

Searched refs:htol16 (Results 1 – 25 of 53) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dbcmxtlv.c126 xtlv->id = htol16(type); in bcm_xtlv_put_data()
127 xtlv->len = htol16(dlen); in bcm_xtlv_put_data()
144 xtlv->id = htol16(type); in bcm_xtlv_put_8()
145 xtlv->len = htol16(sizeof(data)); in bcm_xtlv_put_8()
163 xtlv->id = htol16(type); in bcm_xtlv_put_16()
164 xtlv->len = htol16(sizeof(data)); in bcm_xtlv_put_16()
181 xtlv->id = htol16(type); in bcm_xtlv_put_32()
182 xtlv->len = htol16(sizeof(data)); in bcm_xtlv_put_32()
246 ptlv->id = htol16(type); in bcm_pack_xtlv_entry()
247 ptlv->len = htol16(len); in bcm_pack_xtlv_entry()
H A Ddhd_rtt.c737 p_proxd_iov->version = htol16(WL_PROXD_API_VERSION); in rtt_alloc_getset_buf()
738 p_proxd_iov->len = htol16(proxd_iovsize); /* caller may adjust it based on #of TLVs */ in rtt_alloc_getset_buf()
739 p_proxd_iov->cmd = htol16(cmdid); in rtt_alloc_getset_buf()
740 p_proxd_iov->method = htol16(method); in rtt_alloc_getset_buf()
741 p_proxd_iov->sid = htol16(session_id); in rtt_alloc_getset_buf()
745 p_tlv->id = htol16(WL_PROXD_TLV_ID_NONE); in rtt_alloc_getset_buf()
746 p_tlv->len = htol16(0); in rtt_alloc_getset_buf()
1102 p_proxd_iov->len = htol16(all_tlvsize + WL_PROXD_IOV_HDR_SIZE); in dhd_rtt_ftm_config()
1393 ftm_params[ftm_param_cnt].data16 = htol16(rtt_target->num_burst); in dhd_rtt_start()
1404 ftm_params[ftm_param_cnt].data16 = htol16(rtt_target->num_frames_per_burst); in dhd_rtt_start()
H A Ddhd_msgbuf.c3528 rxbuf_post->data_buf_len = htol16((uint16)pktlen[i]); in dhd_prot_rxbuf_post()
3739 infobuf_post->host_buf_len = htol16((uint16)pktlen); in dhd_prot_infobufpost()
4036 rxbuf_post->host_buf_len = htol16((uint16)PKTLEN(dhd->osh, p)); in dhd_prot_rxbufpost_ctrl()
4038 rxbuf_post->host_buf_len = htol16((uint16)pktlen); in dhd_prot_rxbufpost_ctrl()
5332 txdesc->data_len = htol16((uint16) pktlen); in dhd_prot_txdata()
5399 txdesc->metadata_buf_len = htol16(0); in dhd_prot_txdata()
6453 ioct_rqst->output_buf_len = htol16(resplen); in dhd_fillup_ioct_reqst()
6458 ioct_rqst->input_buf_len = htol16(rqstlen); in dhd_fillup_ioct_reqst()
7126 d2h_ring->ring_id = htol16(DHD_D2H_RING_OFFSET(ring_to_create->idx, max_h2d_rings)); in dhd_send_d2h_ringcreate()
7128 d2h_ring->max_items = htol16(D2HRING_DYNAMIC_INFO_MAX_ITEM); in dhd_send_d2h_ringcreate()
[all …]
H A Ddhd_sdio.c2640 *(uint16*)frame = (uint16)htol16(pkt_len); in dhdsdio_txpkt_preprocess()
2641 *(((uint16*)frame) + 1) = (uint16)htol16(~pkt_len); in dhdsdio_txpkt_preprocess()
2807 *(uint16*)frame = (uint16)htol16(total_len); in dhdsdio_txpkt()
2808 *(((uint16*)frame) + 1) = (uint16)htol16(~total_len); in dhdsdio_txpkt()
3106 *(uint16*)frame = htol16((uint16)msglen); in dhd_bus_txctl()
3107 *(((uint16*)frame) + 1) = htol16(~msglen); in dhd_bus_txctl()
3124 *(uint16*)frame = htol16(len); in dhd_bus_txctl()
3125 *(((uint16*)frame) + 1) = htol16(~(len)); in dhd_bus_txctl()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dbcmendian.h84 #define htol16(i) (i) macro
103 #define htol16(i) bcmswap16(i) macro
H A Dbcmwifi_radiotap.h230 #define WL_RADIOTAP_LEGACY_SKIP_LEN htol16(sizeof(struct wl_radiotap_legacy) - \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dbcmendian.h84 #define htol16(i) (i) macro
103 #define htol16(i) bcmswap16(i) macro
H A Dbcmwifi_radiotap.h230 #define WL_RADIOTAP_LEGACY_SKIP_LEN htol16(sizeof(struct wl_radiotap_legacy) - \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_rtt.c704 p_proxd_iov->version = htol16(WL_PROXD_API_VERSION); in rtt_alloc_getset_buf()
705 p_proxd_iov->len = htol16(proxd_iovsize); /* caller may adjust it based on #of TLVs */ in rtt_alloc_getset_buf()
706 p_proxd_iov->cmd = htol16(cmdid); in rtt_alloc_getset_buf()
707 p_proxd_iov->method = htol16(method); in rtt_alloc_getset_buf()
708 p_proxd_iov->sid = htol16(session_id); in rtt_alloc_getset_buf()
712 p_tlv->id = htol16(WL_PROXD_TLV_ID_NONE); in rtt_alloc_getset_buf()
713 p_tlv->len = htol16(0); in rtt_alloc_getset_buf()
1411 p_event.version = htol16(WL_PROXD_API_VERSION); in dhd_rtt_event_trigger_failure()
1412 p_event.type = htol16(WL_PROXD_EVENT_SESSION_END); in dhd_rtt_event_trigger_failure()
1413 p_event.len = htol16(OFFSETOF(wl_proxd_event_t, tlvs)); in dhd_rtt_event_trigger_failure()
[all …]
H A Dwl_cfgnan.c1045 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_config_eventmask()
1191 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_set_nan_avail()
1427 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_config_control_flag()
1662 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_get_ver()
1724 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_set_if_addr()
2175 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_set_nan_scan_params()
2521 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_set_enable_merge()
2599 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_set_disc_beacon_interval_handler()
2797 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_start_handler()
3325 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_stop_handler()
[all …]
H A Ddhd_msgbuf.c5548 rxbuf_post->data_buf_len = htol16((uint16)pktlen[i]); in BCMFASTPATH()
5746 infobuf_post->host_buf_len = htol16((uint16)pktlen); in dhd_prot_infobufpost()
6033 rxbuf_post->host_buf_len = htol16((uint16)PKTLEN(dhd->osh, p)); in dhd_prot_rxbufpost_ctrl()
6035 rxbuf_post->host_buf_len = htol16((uint16)pktlen); in dhd_prot_rxbufpost_ctrl()
8837 txdesc->data_len = htol16((uint16) pktlen);
8947 txdesc->metadata_buf_len = htol16(0);
10942 ioct_rqst->output_buf_len = htol16(resplen);
10947 ioct_rqst->input_buf_len = htol16(rqstlen);
11715 d2h_ring->ring_id = htol16(DHD_D2H_RING_OFFSET(ring_to_create->idx, max_h2d_rings));
11720 d2h_ring->max_items = htol16(ring_to_create->max_items);
[all …]
H A Dbcmwifi_monitor.c1060 if ((wrxh->rxhdr.lt80.RxStatus2 & htol16(RXS_AMSDU_MASK))) { in bcmwifi_monitor()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_rtt.c704 p_proxd_iov->version = htol16(WL_PROXD_API_VERSION); in rtt_alloc_getset_buf()
705 p_proxd_iov->len = htol16(proxd_iovsize); /* caller may adjust it based on #of TLVs */ in rtt_alloc_getset_buf()
706 p_proxd_iov->cmd = htol16(cmdid); in rtt_alloc_getset_buf()
707 p_proxd_iov->method = htol16(method); in rtt_alloc_getset_buf()
708 p_proxd_iov->sid = htol16(session_id); in rtt_alloc_getset_buf()
712 p_tlv->id = htol16(WL_PROXD_TLV_ID_NONE); in rtt_alloc_getset_buf()
713 p_tlv->len = htol16(0); in rtt_alloc_getset_buf()
1411 p_event.version = htol16(WL_PROXD_API_VERSION); in dhd_rtt_event_trigger_failure()
1412 p_event.type = htol16(WL_PROXD_EVENT_SESSION_END); in dhd_rtt_event_trigger_failure()
1413 p_event.len = htol16(OFFSETOF(wl_proxd_event_t, tlvs)); in dhd_rtt_event_trigger_failure()
[all …]
H A Dwl_cfgnan.c1045 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_config_eventmask()
1191 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_set_nan_avail()
1427 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_config_control_flag()
1662 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_get_ver()
1724 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_set_if_addr()
2175 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_set_nan_scan_params()
2521 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_set_enable_merge()
2599 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_set_disc_beacon_interval_handler()
2797 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_start_handler()
3325 nan_buf->version = htol16(WL_NAN_IOV_BATCH_VERSION); in wl_cfgnan_stop_handler()
[all …]
H A Ddhd_msgbuf.c5544 rxbuf_post->data_buf_len = htol16((uint16)pktlen[i]); in BCMFASTPATH()
5742 infobuf_post->host_buf_len = htol16((uint16)pktlen); in dhd_prot_infobufpost()
6029 rxbuf_post->host_buf_len = htol16((uint16)PKTLEN(dhd->osh, p)); in dhd_prot_rxbufpost_ctrl()
6031 rxbuf_post->host_buf_len = htol16((uint16)pktlen); in dhd_prot_rxbufpost_ctrl()
8833 txdesc->data_len = htol16((uint16) pktlen);
8943 txdesc->metadata_buf_len = htol16(0);
10938 ioct_rqst->output_buf_len = htol16(resplen);
10943 ioct_rqst->input_buf_len = htol16(rqstlen);
11711 d2h_ring->ring_id = htol16(DHD_D2H_RING_OFFSET(ring_to_create->idx, max_h2d_rings));
11716 d2h_ring->max_items = htol16(ring_to_create->max_items);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_msgbuf.c4635 rxbuf_post->data_buf_len = htol16((uint16)pktlen[i]);
4833 infobuf_post->host_buf_len = htol16((uint16)pktlen);
5122 rxbuf_post->host_buf_len = htol16((uint16)PKTLEN(dhd->osh, p));
5124 rxbuf_post->host_buf_len = htol16((uint16)pktlen);
6837 txdesc->data_len = htol16((uint16) pktlen);
6910 txdesc->metadata_buf_len = htol16(0);
8164 ioct_rqst->output_buf_len = htol16(resplen);
8169 ioct_rqst->input_buf_len = htol16(rqstlen);
8850 d2h_ring->ring_id = htol16(DHD_D2H_RING_OFFSET(ring_to_create->idx, max_h2d_rings));
8855 d2h_ring->max_items = htol16(ring_to_create->max_items);
[all …]
H A Ddhd_rtt.c684 p_proxd_iov->version = htol16(WL_PROXD_API_VERSION); in rtt_alloc_getset_buf()
685 p_proxd_iov->len = htol16(proxd_iovsize); /* caller may adjust it based on #of TLVs */ in rtt_alloc_getset_buf()
686 p_proxd_iov->cmd = htol16(cmdid); in rtt_alloc_getset_buf()
687 p_proxd_iov->method = htol16(method); in rtt_alloc_getset_buf()
688 p_proxd_iov->sid = htol16(session_id); in rtt_alloc_getset_buf()
692 p_tlv->id = htol16(WL_PROXD_TLV_ID_NONE); in rtt_alloc_getset_buf()
693 p_tlv->len = htol16(0); in rtt_alloc_getset_buf()
1346 p_proxd_iov->len = htol16(all_tlvsize + WL_PROXD_IOV_HDR_SIZE); in dhd_rtt_ftm_config()
2310 ftm_params[ftm_param_cnt].data16 = htol16(rtt_target->num_burst); in dhd_rtt_start()
2323 ftm_params[ftm_param_cnt].data16 = htol16(rtt_target->num_frames_per_burst); in dhd_rtt_start()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_msgbuf.c4635 rxbuf_post->data_buf_len = htol16((uint16)pktlen[i]);
4833 infobuf_post->host_buf_len = htol16((uint16)pktlen);
5122 rxbuf_post->host_buf_len = htol16((uint16)PKTLEN(dhd->osh, p));
5124 rxbuf_post->host_buf_len = htol16((uint16)pktlen);
6837 txdesc->data_len = htol16((uint16) pktlen);
6910 txdesc->metadata_buf_len = htol16(0);
8166 ioct_rqst->output_buf_len = htol16(resplen);
8171 ioct_rqst->input_buf_len = htol16(rqstlen);
8852 d2h_ring->ring_id = htol16(DHD_D2H_RING_OFFSET(ring_to_create->idx, max_h2d_rings));
8857 d2h_ring->max_items = htol16(ring_to_create->max_items);
[all …]
H A Ddhd_rtt.c684 p_proxd_iov->version = htol16(WL_PROXD_API_VERSION); in rtt_alloc_getset_buf()
685 p_proxd_iov->len = htol16(proxd_iovsize); /* caller may adjust it based on #of TLVs */ in rtt_alloc_getset_buf()
686 p_proxd_iov->cmd = htol16(cmdid); in rtt_alloc_getset_buf()
687 p_proxd_iov->method = htol16(method); in rtt_alloc_getset_buf()
688 p_proxd_iov->sid = htol16(session_id); in rtt_alloc_getset_buf()
692 p_tlv->id = htol16(WL_PROXD_TLV_ID_NONE); in rtt_alloc_getset_buf()
693 p_tlv->len = htol16(0); in rtt_alloc_getset_buf()
1346 p_proxd_iov->len = htol16(all_tlvsize + WL_PROXD_IOV_HDR_SIZE); in dhd_rtt_ftm_config()
2310 ftm_params[ftm_param_cnt].data16 = htol16(rtt_target->num_burst); in dhd_rtt_start()
2323 ftm_params[ftm_param_cnt].data16 = htol16(rtt_target->num_frames_per_burst); in dhd_rtt_start()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_msgbuf.c4635 rxbuf_post->data_buf_len = htol16((uint16)pktlen[i]);
4833 infobuf_post->host_buf_len = htol16((uint16)pktlen);
5122 rxbuf_post->host_buf_len = htol16((uint16)PKTLEN(dhd->osh, p));
5124 rxbuf_post->host_buf_len = htol16((uint16)pktlen);
6837 txdesc->data_len = htol16((uint16) pktlen);
6910 txdesc->metadata_buf_len = htol16(0);
8164 ioct_rqst->output_buf_len = htol16(resplen);
8169 ioct_rqst->input_buf_len = htol16(rqstlen);
8850 d2h_ring->ring_id = htol16(DHD_D2H_RING_OFFSET(ring_to_create->idx, max_h2d_rings));
8855 d2h_ring->max_items = htol16(ring_to_create->max_items);
[all …]
H A Ddhd_rtt.c684 p_proxd_iov->version = htol16(WL_PROXD_API_VERSION); in rtt_alloc_getset_buf()
685 p_proxd_iov->len = htol16(proxd_iovsize); /* caller may adjust it based on #of TLVs */ in rtt_alloc_getset_buf()
686 p_proxd_iov->cmd = htol16(cmdid); in rtt_alloc_getset_buf()
687 p_proxd_iov->method = htol16(method); in rtt_alloc_getset_buf()
688 p_proxd_iov->sid = htol16(session_id); in rtt_alloc_getset_buf()
692 p_tlv->id = htol16(WL_PROXD_TLV_ID_NONE); in rtt_alloc_getset_buf()
693 p_tlv->len = htol16(0); in rtt_alloc_getset_buf()
1346 p_proxd_iov->len = htol16(all_tlvsize + WL_PROXD_IOV_HDR_SIZE); in dhd_rtt_ftm_config()
2310 ftm_params[ftm_param_cnt].data16 = htol16(rtt_target->num_burst); in dhd_rtt_start()
2323 ftm_params[ftm_param_cnt].data16 = htol16(rtt_target->num_frames_per_burst); in dhd_rtt_start()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Dbcmendian.h91 #define htol16(i) (i) macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dbcmendian.h91 #define htol16(i) (i) macro
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dbcmendian.h91 #define htol16(i) (i) macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dbcmendian.h91 #define htol16(i) (i) macro

123