| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | htc.c | 69 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 in ath11k_htc_send() 151 ath11k_htc_process_credit_report(struct ath11k_htc * htc,const struct ath11k_htc_credit_report * report,int len,enum ath11k_htc_ep_id eid) ath11k_htc_process_credit_report() argument 185 ath11k_htc_process_trailer(struct ath11k_htc * htc,u8 * buffer,int length,enum ath11k_htc_ep_id src_eid) ath11k_htc_process_trailer() argument 258 struct ath11k_htc *htc = &ab->htc; ath11k_htc_tx_completion_handler() local 289 struct ath11k_htc *htc = &ab->htc; ath11k_htc_rx_completion_handler() local 466 ath11k_htc_reset_endpoint_states(struct ath11k_htc * htc) ath11k_htc_reset_endpoint_states() argument 482 ath11k_htc_get_credit_allocation(struct ath11k_htc * htc,u16 service_id) ath11k_htc_get_credit_allocation() argument 497 ath11k_htc_setup_target_buffer_assignments(struct ath11k_htc * htc) ath11k_htc_setup_target_buffer_assignments() argument 524 ath11k_htc_wait_target(struct ath11k_htc * htc) ath11k_htc_wait_target() argument 596 ath11k_htc_connect_service(struct ath11k_htc * htc,struct ath11k_htc_svc_conn_req * conn_req,struct ath11k_htc_svc_conn_resp * conn_resp) ath11k_htc_connect_service() argument 766 ath11k_htc_start(struct ath11k_htc * htc) ath11k_htc_start() argument 800 struct ath11k_htc *htc = &ab->htc; ath11k_htc_init() local [all...] |
| H A D | htc.h | 246 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 D | dp_tx.c | 981 ret = ath11k_htc_send(&ab->htc, ab->dp.eid, skb); in ath11k_dp_tx_htt_srng_setup() 1014 ret = ath11k_htc_send(&ab->htc, dp->eid, skb); in ath11k_dp_tx_htt_h2t_ver_req_msg() 1061 ret = ath11k_htc_send(&ab->htc, dp->eid, skb); in ath11k_dp_tx_htt_h2t_ppdu_stats_req() 1126 ret = ath11k_htc_send(&ab->htc, ab->dp.eid, skb); in ath11k_dp_tx_htt_rx_filter_setup() 1176 ret = ath11k_htc_send(&ab->htc, dp->eid, skb); in ath11k_dp_tx_htt_h2t_ext_stats_req() 1296 ret = ath11k_htc_send(&ab->htc, ab->dp.eid, skb); in ath11k_dp_tx_htt_rx_full_mon_setup()
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | htc.c | 43 static inline void ath10k_htc_restore_tx_skb(struct ath10k_htc *htc, 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() 44 ath10k_htc_restore_tx_skb(struct ath10k_htc * htc,struct sk_buff * skb) ath10k_htc_restore_tx_skb() argument 113 struct ath10k_htc *htc = ep->htc; ath10k_htc_consume_credit() local 146 struct ath10k_htc *htc = ep->htc; ath10k_htc_release_credit() local 166 ath10k_htc_send(struct ath10k_htc * htc,enum ath10k_htc_ep_id eid,struct sk_buff * skb) ath10k_htc_send() argument 230 struct ath10k_htc *htc = &ar->htc; ath10k_htc_tx_completion_handler() local 250 ath10k_htc_process_credit_report(struct ath10k_htc * htc,const struct ath10k_htc_credit_report * report,int len,enum ath10k_htc_ep_id eid) ath10k_htc_process_credit_report() argument 285 ath10k_htc_process_lookahead(struct ath10k_htc * htc,const struct ath10k_htc_lookahead_report * report,int len,enum ath10k_htc_ep_id eid,void * next_lookaheads,int * next_lookaheads_len) ath10k_htc_process_lookahead() argument 317 ath10k_htc_process_lookahead_bundle(struct ath10k_htc * htc,const struct ath10k_htc_lookahead_bundle * report,int len,enum ath10k_htc_ep_id eid,void * next_lookaheads,int * next_lookaheads_len) ath10k_htc_process_lookahead_bundle() argument 348 ath10k_htc_process_trailer(struct ath10k_htc * htc,u8 * buffer,int length,enum ath10k_htc_ep_id src_eid,void * next_lookaheads,int * next_lookaheads_len) ath10k_htc_process_trailer() argument 443 struct ath10k_htc *htc = &ar->htc; ath10k_htc_rx_completion_handler() local 535 struct ath10k_htc *htc = &ar->htc; ath10k_htc_control_rx_complete() local 612 ath10k_htc_reset_endpoint_states(struct ath10k_htc * htc) ath10k_htc_reset_endpoint_states() argument 628 ath10k_htc_get_credit_allocation(struct ath10k_htc * htc,u16 service_id) ath10k_htc_get_credit_allocation() argument 647 struct ath10k_htc *htc = ep->htc; ath10k_htc_send_bundle() local 691 struct ath10k_htc *htc = ep->htc; ath10k_htc_send_one_skb() local 706 struct ath10k_htc *htc = ep->htc; ath10k_htc_send_bundle_skbs() local 859 ath10k_htc_send_hl(struct ath10k_htc * htc,enum ath10k_htc_ep_id eid,struct sk_buff * skb) ath10k_htc_send_hl() argument 914 ath10k_htc_wait_target(struct ath10k_htc * htc) ath10k_htc_wait_target() argument 1005 ath10k_htc_change_tx_credit_flow(struct ath10k_htc * htc,enum ath10k_htc_ep_id eid,bool enable) ath10k_htc_change_tx_credit_flow() argument 1015 ath10k_htc_connect_service(struct ath10k_htc * htc,struct ath10k_htc_svc_conn_req * conn_req,struct ath10k_htc_svc_conn_resp * conn_resp) ath10k_htc_connect_service() argument 1247 ath10k_htc_start(struct ath10k_htc * htc) ath10k_htc_start() argument 1295 struct ath10k_htc *htc = &ar->htc; ath10k_htc_init() local [all...] |
| H A D | htc.h | 348 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 D | sdio.c | 22 #include "htc.h" 385 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() 560 ath10k_warn(ar, "payload length %d exceeds max htc length: %zu\n", in ath10k_sdio_mbox_rx_alloc() 583 ar->htc in ath10k_sdio_mbox_rx_alloc() 2035 struct ath10k_htc *htc = &ar->htc; ath10k_sdio_hif_map_service_to_pipe() local [all...] |
| H A D | htt_tx.c | 623 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_ver_req_msg() 665 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_stats_req() 727 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_frag_desc_bank_cfg_32() 789 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_frag_desc_bank_cfg_64() 876 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_32() 946 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_64() 997 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_hl() 1044 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_aggr_cfg_msg_32() 1091 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_aggr_cfg_msg_v2() 1135 ret = ath10k_htc_send(&ar->htc, a in ath10k_htt_tx_fetch_resp() [all...] |
| H A D | htt.c | 306 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 D | Makefile | 6 htc.o \
|
| H A D | htt_rx.c | 12 #include "htc.h" 4127 struct ath10k_htc *htc = &ar->htc; in ath10k_htt_t2h_msg_handler() 4128 struct ath10k_htc_ep *ep = &ar->htc.endpoint[htt->eid]; in ath10k_htt_t2h_msg_handler() local 4155 spin_lock_bh(&htc->tx_lock); in ath10k_htt_t2h_msg_handler() 4157 spin_unlock_bh(&htc->tx_lock); in ath10k_htt_t2h_msg_handler() 4235 struct ath10k_htc *htc = &ar->htc; in ath10k_htt_t2h_msg_handler() 4236 struct ath10k_htc_ep *ep = &ar->htc.endpoint[htt->eid]; in ath10k_htt_t2h_msg_handler() local 4249 spin_lock_bh(&htc in ath10k_htt_t2h_msg_handler() [all...] |
| /linux/drivers/net/wireless/ath/ath12k/ |
| 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,
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | wmi.c | 262 int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi, in ath9k_wmi_connect() argument 268 wmi->htc = htc; in ath9k_wmi_connect() 277 ret = htc_connect_service(htc, &connect, &wmi->ctrl_epid); in ath9k_wmi_connect() 307 return htc_send_epid(wmi->htc, skb, wmi->ctrl_epid); in ath9k_wmi_cmd_issue()
|
| H A D | htc_drv_init.c | 19 #include "htc.h" 83 if (atomic_read(&priv->htc->tgt_ready) > 0) { in ath9k_htc_wait_for_target() 84 atomic_dec(&priv->htc->tgt_ready); in ath9k_htc_wait_for_target() 89 time_left = wait_for_completion_timeout(&priv->htc->target_wait, HZ); in ath9k_htc_wait_for_target() 95 atomic_dec(&priv->htc->tgt_ready); in ath9k_htc_wait_for_target() 137 return htc_connect_service(priv->htc, &req, ep_id); in ath9k_htc_connect_svc() 146 ret = ath9k_wmi_connect(priv->htc, priv->wmi, &priv->wmi_cmd_ep); in ath9k_init_htc_services() 206 priv->htc->credits = 45; in ath9k_init_htc_services() 208 priv->htc->credits = 33; in ath9k_init_htc_services() 210 ret = htc_init(priv->htc); in ath9k_init_htc_services() [all...] |
| H A D | wmi.h | 150 struct htc_target *htc; member 182 int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi,
|
| H A D | htc_hst.c | 523 void ath9k_htc_hw_free(struct htc_target *htc) in ath9k_htc_hw_free() argument 525 kfree(htc); in ath9k_htc_hw_free()
|
| H A D | htc_hst.h | 224 void ath9k_htc_hw_free(struct htc_target *htc);
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| H A D | trx.h | 26 u32 htc:1; member
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
| H A D | mac.h | 106 u32 htc:1; member
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
| H A D | trx.h | 356 u32 htc:1; member 495 u32 htc:1; member
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| H A D | trx.h | 358 u32 htc:1; member 497 u32 htc:1; member
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| H A D | trx.h | 467 u32 htc:1; member 610 u32 htc:1; member
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| H A D | trx.h | 473 u32 htc:1; member 616 u32 htc:1; member
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| H A D | trx.h | 558 u32 htc:1; member 701 u32 htc:1; member
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| H A D | trx.h | 622 u32 htc:1; member 765 u32 htc:1; member
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-msm8926-htc-memul.dts | 18 compatible = "htc,memul", "qcom,msm8926", "qcom,msm8226";
|