/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | htc.c | 68 spin_lock_bh(&ep->htc->tx_lock); in ath11k_htc_prepare_tx_skb() 70 spin_unlock_bh(&ep->htc->tx_lock); in ath11k_htc_prepare_tx_skb() 73 int ath11k_htc_send(struct ath11k_htc *htc, in ath11k_htc_send() argument 77 struct ath11k_htc_ep *ep = &htc->endpoint[eid]; in ath11k_htc_send() 79 struct device *dev = htc->ab->dev; in ath11k_htc_send() 80 struct ath11k_base *ab = htc->ab; in ath11k_htc_send() 94 credits = DIV_ROUND_UP(skb->len, htc->target_credit_size); in ath11k_htc_send() 95 spin_lock_bh(&htc->tx_lock); in ath11k_htc_send() 100 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_send() 108 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_send() [all …]
|
H A D | htc.h | 260 struct ath11k_htc *htc; member 300 int ath11k_htc_wait_target(struct ath11k_htc *htc); 301 int ath11k_htc_start(struct ath11k_htc *htc); 302 int ath11k_htc_connect_service(struct ath11k_htc *htc, 305 int ath11k_htc_send(struct ath11k_htc *htc, enum ath11k_htc_ep_id eid,
|
H A D | Makefile | 10 htc.o \
|
H A D | dp_tx.c | 988 ret = ath11k_htc_send(&ab->htc, ab->dp.eid, skb); in ath11k_dp_tx_htt_srng_setup() 1021 ret = ath11k_htc_send(&ab->htc, dp->eid, skb); in ath11k_dp_tx_htt_h2t_ver_req_msg() 1068 ret = ath11k_htc_send(&ab->htc, dp->eid, skb); in ath11k_dp_tx_htt_h2t_ppdu_stats_req() 1133 ret = ath11k_htc_send(&ab->htc, ab->dp.eid, skb); in ath11k_dp_tx_htt_rx_filter_setup() 1183 ret = ath11k_htc_send(&ab->htc, dp->eid, skb); in ath11k_dp_tx_htt_h2t_ext_stats_req() 1303 ret = ath11k_htc_send(&ab->htc, ab->dp.eid, skb); in ath11k_dp_tx_htt_rx_full_mon_setup()
|
H A D | core.c | 1563 ret = ath11k_htc_wait_target(&ab->htc); in ath11k_core_start() 1581 ret = ath11k_htc_start(&ab->htc); in ath11k_core_start()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | htc.c | 69 spin_lock_bh(&ep->htc->tx_lock); in ath12k_htc_prepare_tx_skb() 71 spin_unlock_bh(&ep->htc->tx_lock); in ath12k_htc_prepare_tx_skb() 74 int ath12k_htc_send(struct ath12k_htc *htc, in ath12k_htc_send() argument 78 struct ath12k_htc_ep *ep = &htc->endpoint[eid]; in ath12k_htc_send() 80 struct device *dev = htc->ab->dev; in ath12k_htc_send() 81 struct ath12k_base *ab = htc->ab; in ath12k_htc_send() 93 credits = DIV_ROUND_UP(skb->len, htc->target_credit_size); in ath12k_htc_send() 94 spin_lock_bh(&htc->tx_lock); in ath12k_htc_send() 99 spin_unlock_bh(&htc->tx_lock); in ath12k_htc_send() 107 spin_unlock_bh(&htc->tx_lock); in ath12k_htc_send() [all …]
|
H A D | htc.h | 265 struct ath12k_htc *htc; member 305 int ath12k_htc_wait_target(struct ath12k_htc *htc); 306 int ath12k_htc_start(struct ath12k_htc *htc); 307 int ath12k_htc_connect_service(struct ath12k_htc *htc, 310 int ath12k_htc_send(struct ath12k_htc *htc, enum ath12k_htc_ep_id eid,
|
H A D | Makefile | 10 htc.o \
|
H A D | dp_tx.c | 797 ret = ath12k_htc_send(&ab->htc, ab->dp.eid, skb); in ath12k_dp_tx_htt_srng_setup() 830 ret = ath12k_htc_send(&ab->htc, dp->eid, skb); in ath12k_dp_tx_htt_h2t_ver_req_msg() 877 ret = ath12k_htc_send(&ab->htc, dp->eid, skb); in ath12k_dp_tx_htt_h2t_ppdu_stats_req() 973 ret = ath12k_htc_send(&ab->htc, ab->dp.eid, skb); in ath12k_dp_tx_htt_rx_filter_setup() 1017 ret = ath12k_htc_send(&ab->htc, dp->eid, skb); in ath12k_dp_tx_htt_h2t_ext_stats_req() 1188 ret = ath12k_htc_send(&ab->htc, ab->dp.eid, skb); in ath12k_dp_tx_htt_tx_filter_setup()
|
H A D | core.c | 491 ret = ath12k_htc_wait_target(&ab->htc); in ath12k_core_start() 509 ret = ath12k_htc_start(&ab->htc); in ath12k_core_start()
|
H A D | core.h | 689 struct ath12k_htc htc; member
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | htc.c | 43 static inline void ath10k_htc_restore_tx_skb(struct ath10k_htc *htc, in ath10k_htc_restore_tx_skb() argument 48 if (htc->ar->bus_param.dev_type != ATH10K_DEV_TYPE_HL) in ath10k_htc_restore_tx_skb() 49 dma_unmap_single(htc->ar->dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath10k_htc_restore_tx_skb() 56 struct ath10k *ar = ep->htc->ar; in ath10k_htc_notify_tx_completion() 72 ath10k_htc_restore_tx_skb(ep->htc, skb); in ath10k_htc_notify_tx_completion() 85 ep->ep_ops.ep_tx_complete(ep->htc->ar, skb); in ath10k_htc_notify_tx_completion() 103 spin_lock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb() 105 spin_unlock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb() 112 struct ath10k_htc *htc = ep->htc; in ath10k_htc_consume_credit() local 113 struct ath10k *ar = htc->ar; in ath10k_htc_consume_credit() [all …]
|
H A D | htc.h | 362 struct ath10k_htc *htc; member 408 int ath10k_htc_wait_target(struct ath10k_htc *htc); 410 int ath10k_htc_start(struct ath10k_htc *htc); 411 int ath10k_htc_connect_service(struct ath10k_htc *htc, 414 void ath10k_htc_change_tx_credit_flow(struct ath10k_htc *htc, 417 int ath10k_htc_send(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid, 421 int ath10k_htc_send_hl(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid, 428 int ath10k_htc_process_trailer(struct ath10k_htc *htc,
|
H A D | sdio.c | 384 struct ath10k_htc *htc = &ar->htc; in ath10k_sdio_mbox_rx_process_packet() local 397 ret = ath10k_htc_process_trailer(htc, in ath10k_sdio_mbox_rx_process_packet() 422 struct ath10k_htc *htc = &ar->htc; in ath10k_sdio_mbox_rx_process_packets() local 445 ep = &htc->endpoint[id]; in ath10k_sdio_mbox_rx_process_packets() 506 u8 max_msgs = ar->htc.max_msgs_per_htc_bundle; in ath10k_sdio_mbox_alloc_bundle() 582 ar->htc.max_msgs_per_htc_bundle, htc_hdr->flags)) { in ath10k_sdio_mbox_rx_alloc() 1336 ep = &ar->htc.endpoint[req->eid]; in __ath10k_sdio_write_async() 1362 ep = &ar->htc.endpoint[cb->eid]; in ath10k_rx_indication_async_work() 1988 ep = &ar->htc.endpoint[req->eid]; in ath10k_sdio_hif_stop() 2033 struct ath10k_htc *htc = &ar->htc; in ath10k_sdio_hif_map_service_to_pipe() local [all …]
|
H A D | htt_tx.c | 622 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_ver_req_msg() 664 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_stats_req() 726 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_frag_desc_bank_cfg_32() 788 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_frag_desc_bank_cfg_64() 879 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_32() 949 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_64() 1000 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_hl() 1047 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_aggr_cfg_msg_32() 1094 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_aggr_cfg_msg_v2() 1138 ret = ath10k_htc_send(&ar->htc, ar->htt.eid, skb); in ath10k_htt_tx_fetch_resp() [all …]
|
H A D | htt.c | 305 status = ath10k_htc_connect_service(&htt->ar->htc, &conn_req, in ath10k_htt_connect() 314 ep = &ar->htc.endpoint[htt->eid]; in ath10k_htt_connect() 320 ath10k_htc_change_tx_credit_flow(&htt->ar->htc, htt->eid, true); in ath10k_htt_connect()
|
H A D | usb.c | 287 ep = &ar->htc.endpoint[htc_hdr->eid]; in ath10k_usb_tx_complete() 294 struct ath10k_htc *htc = &ar->htc; in ath10k_usb_rx_complete() local 304 ep = &ar->htc.endpoint[eid]; in ath10k_usb_rx_complete() 326 ret = ath10k_htc_process_trailer(htc, in ath10k_usb_rx_complete()
|
H A D | Makefile | 6 htc.o \
|
H A D | htt_rx.c | 4275 struct ath10k_htc *htc = &ar->htc; in ath10k_htt_t2h_msg_handler() local 4276 struct ath10k_htc_ep *ep = &ar->htc.endpoint[htt->eid]; in ath10k_htt_t2h_msg_handler() 4303 spin_lock_bh(&htc->tx_lock); in ath10k_htt_t2h_msg_handler() 4305 spin_unlock_bh(&htc->tx_lock); in ath10k_htt_t2h_msg_handler() 4383 struct ath10k_htc *htc = &ar->htc; in ath10k_htt_t2h_msg_handler() local 4384 struct ath10k_htc_ep *ep = &ar->htc.endpoint[htt->eid]; in ath10k_htt_t2h_msg_handler() 4397 spin_lock_bh(&htc->tx_lock); in ath10k_htt_t2h_msg_handler() 4399 spin_unlock_bh(&htc->tx_lock); in ath10k_htt_t2h_msg_handler() 4403 ep->ep_ops.ep_tx_credits(htc->ar); in ath10k_htt_t2h_msg_handler()
|
/freebsd/sys/modules/ath10k/ |
H A D | Makefile | 10 SRCS+= htc.c htt.c htt_rx.c htt_tx.c
|
/freebsd/sys/modules/ath12k/ |
H A D | Makefile | 10 SRCS+= wmi.c mac.c reg.c htc.c qmi.c
|
/freebsd/sys/modules/ath11k/ |
H A D | Makefile | 11 SRCS+= wmi.c mac.c reg.c htc.c qmi.c
|
/freebsd/sys/contrib/device-tree/src/arm/qcom/ |
H A D | qcom-msm8926-htc-memul.dts | 16 compatible = "htc,memul", "qcom,msm8926", "qcom,msm8226";
|
H A D | qcom-msm8974pro-htc-m8.dts | 9 compatible = "htc,m8", "qcom,msm8974pro", "qcom,msm8974";
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | core.c | 669 static void rtw89_core_get_no_ul_ofdma_htc(struct rtw89_dev *rtwdev, __le32 *htc, in rtw89_core_get_no_ul_ofdma_htc() argument 690 *htc = le32_encode_bits(RTW89_HTC_VARIANT_HE, RTW89_HTC_MASK_VARIANT) | in rtw89_core_get_no_ul_ofdma_htc() 741 __le32 *htc; in __rtw89_core_tx_adjust_he_qos_htc() local 755 htc = data + hdr_len; in __rtw89_core_tx_adjust_he_qos_htc() 757 htc = (__le32 *)((u8 *)data + hdr_len); in __rtw89_core_tx_adjust_he_qos_htc() 760 *htc = rtwsta->htc_template ? rtwsta->htc_template : in __rtw89_core_tx_adjust_he_qos_htc()
|