Home
last modified time | relevance | path

Searched refs:htc (Results 1 – 25 of 33) sorted by relevance

12

/src/sys/contrib/dev/athk/ath11k/
H A Dhtc.c69 spin_lock_bh(&ep->htc->tx_lock); in ath11k_htc_prepare_tx_skb()
71 spin_unlock_bh(&ep->htc->tx_lock); in ath11k_htc_prepare_tx_skb()
74 int ath11k_htc_send(struct ath11k_htc *htc, in ath11k_htc_send() argument
78 struct ath11k_htc_ep *ep = &htc->endpoint[eid]; in ath11k_htc_send()
80 struct device *dev = htc->ab->dev; in ath11k_htc_send()
81 struct ath11k_base *ab = htc->ab; in ath11k_htc_send()
95 credits = DIV_ROUND_UP(skb->len, htc->target_credit_size); in ath11k_htc_send()
96 spin_lock_bh(&htc->tx_lock); in ath11k_htc_send()
101 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_send()
109 spin_unlock_bh(&htc->tx_lock); in ath11k_htc_send()
[all …]
H A Dhtc.h246 struct ath11k_htc *htc; member
286 int ath11k_htc_wait_target(struct ath11k_htc *htc);
287 int ath11k_htc_start(struct ath11k_htc *htc);
288 int ath11k_htc_connect_service(struct ath11k_htc *htc,
291 int ath11k_htc_send(struct ath11k_htc *htc, enum ath11k_htc_ep_id eid,
H A DMakefile10 htc.o \
H A Ddp_tx.c997 ret = ath11k_htc_send(&ab->htc, ab->dp.eid, skb); in ath11k_dp_tx_htt_srng_setup()
1030 ret = ath11k_htc_send(&ab->htc, dp->eid, skb); in ath11k_dp_tx_htt_h2t_ver_req_msg()
1077 ret = ath11k_htc_send(&ab->htc, dp->eid, skb); in ath11k_dp_tx_htt_h2t_ppdu_stats_req()
1142 ret = ath11k_htc_send(&ab->htc, ab->dp.eid, skb); in ath11k_dp_tx_htt_rx_filter_setup()
1192 ret = ath11k_htc_send(&ab->htc, dp->eid, skb); in ath11k_dp_tx_htt_h2t_ext_stats_req()
1312 ret = ath11k_htc_send(&ab->htc, ab->dp.eid, skb); in ath11k_dp_tx_htt_rx_full_mon_setup()
/src/sys/contrib/dev/athk/ath12k/
H A Dhtc.c69 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 Dhtc.h265 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 DMakefile10 htc.o \
H A Ddp_tx.c797 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 Dcore.c491 ret = ath12k_htc_wait_target(&ab->htc); in ath12k_core_start()
509 ret = ath12k_htc_start(&ab->htc); in ath12k_core_start()
H A Dcore.h689 struct ath12k_htc htc; member
/src/sys/contrib/dev/athk/ath10k/
H A Dhtc.c47 static inline void ath10k_htc_restore_tx_skb(struct ath10k_htc *htc, in ath10k_htc_restore_tx_skb() argument
52 if (htc->ar->bus_param.dev_type != ATH10K_DEV_TYPE_HL) in ath10k_htc_restore_tx_skb()
53 dma_unmap_single(htc->ar->dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath10k_htc_restore_tx_skb()
60 struct ath10k *ar = ep->htc->ar; in ath10k_htc_notify_tx_completion()
76 ath10k_htc_restore_tx_skb(ep->htc, skb); in ath10k_htc_notify_tx_completion()
89 ep->ep_ops.ep_tx_complete(ep->htc->ar, skb); in ath10k_htc_notify_tx_completion()
107 spin_lock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb()
109 spin_unlock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb()
116 struct ath10k_htc *htc = ep->htc; in ath10k_htc_consume_credit() local
117 struct ath10k *ar = htc->ar; in ath10k_htc_consume_credit()
[all …]
H A Dhtc.h348 struct ath10k_htc *htc; member
394 int ath10k_htc_wait_target(struct ath10k_htc *htc);
396 int ath10k_htc_start(struct ath10k_htc *htc);
397 int ath10k_htc_connect_service(struct ath10k_htc *htc,
400 void ath10k_htc_change_tx_credit_flow(struct ath10k_htc *htc,
403 int ath10k_htc_send(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid,
407 int ath10k_htc_send_hl(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid,
414 int ath10k_htc_process_trailer(struct ath10k_htc *htc,
H A Dsdio.c385 struct ath10k_htc *htc = &ar->htc; in ath10k_sdio_mbox_rx_process_packet() local
398 ret = ath10k_htc_process_trailer(htc, in ath10k_sdio_mbox_rx_process_packet()
423 struct ath10k_htc *htc = &ar->htc; in ath10k_sdio_mbox_rx_process_packets() local
446 ep = &htc->endpoint[id]; in ath10k_sdio_mbox_rx_process_packets()
507 u8 max_msgs = ar->htc.max_msgs_per_htc_bundle; in ath10k_sdio_mbox_alloc_bundle()
583 ar->htc.max_msgs_per_htc_bundle, htc_hdr->flags)) { in ath10k_sdio_mbox_rx_alloc()
1337 ep = &ar->htc.endpoint[req->eid]; in __ath10k_sdio_write_async()
1363 ep = &ar->htc.endpoint[cb->eid]; in ath10k_rx_indication_async_work()
1990 ep = &ar->htc.endpoint[req->eid]; in ath10k_sdio_hif_stop()
2035 struct ath10k_htc *htc = &ar->htc; in ath10k_sdio_hif_map_service_to_pipe() local
[all …]
H A Dhtt_tx.c624 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_ver_req_msg()
666 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_stats_req()
728 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_frag_desc_bank_cfg_32()
790 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_frag_desc_bank_cfg_64()
877 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_32()
947 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_64()
998 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_hl()
1045 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_aggr_cfg_msg_32()
1092 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_aggr_cfg_msg_v2()
1136 ret = ath10k_htc_send(&ar->htc, ar->htt.eid, skb); in ath10k_htt_tx_fetch_resp()
[all …]
H A Dhtt.c306 status = ath10k_htc_connect_service(&htt->ar->htc, &conn_req, in ath10k_htt_connect()
315 ep = &ar->htc.endpoint[htt->eid]; in ath10k_htt_connect()
321 ath10k_htc_change_tx_credit_flow(&htt->ar->htc, htt->eid, true); in ath10k_htt_connect()
H A DMakefile6 htc.o \
H A Dusb.c287 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 Dhtt_rx.c4278 struct ath10k_htc *htc = &ar->htc; in ath10k_htt_t2h_msg_handler() local
4279 struct ath10k_htc_ep *ep = &ar->htc.endpoint[htt->eid]; in ath10k_htt_t2h_msg_handler()
4306 spin_lock_bh(&htc->tx_lock); in ath10k_htt_t2h_msg_handler()
4308 spin_unlock_bh(&htc->tx_lock); in ath10k_htt_t2h_msg_handler()
4386 struct ath10k_htc *htc = &ar->htc; in ath10k_htt_t2h_msg_handler() local
4387 struct ath10k_htc_ep *ep = &ar->htc.endpoint[htt->eid]; in ath10k_htt_t2h_msg_handler()
4400 spin_lock_bh(&htc->tx_lock); in ath10k_htt_t2h_msg_handler()
4402 spin_unlock_bh(&htc->tx_lock); in ath10k_htt_t2h_msg_handler()
4406 ep->ep_ops.ep_tx_credits(htc->ar); in ath10k_htt_t2h_msg_handler()
H A Dcore.h1079 struct ath10k_htc htc; member
H A Dcore.c3125 ar->htc.htc_ops.target_send_suspend_complete = in ath10k_core_start()
3177 status = ath10k_htc_wait_target(&ar->htc); in ath10k_core_start()
3203 status = ath10k_htc_start(&ar->htc); in ath10k_core_start()
/src/sys/modules/ath12k/
H A DMakefile10 SRCS+= wmi.c mac.c reg.c htc.c qmi.c
/src/sys/modules/ath11k/
H A DMakefile11 SRCS+= wmi.c mac.c reg.c htc.c qmi.c
/src/sys/modules/ath10k/
H A DMakefile15 SRCS+= htc.c htt.c htt_rx.c htt_tx.c
/src/sys/contrib/device-tree/src/arm/qcom/
H A Dqcom-msm8974pro-htc-m8.dts9 compatible = "htc,m8", "qcom,msm8974pro", "qcom,msm8974";
H A Dqcom-msm8926-htc-memul.dts18 compatible = "htc,memul", "qcom,msm8926", "qcom,msm8226";

12