Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/net/wireless/ath/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.h261 struct ath11k_htc *htc; member
301 int ath11k_htc_wait_target(struct ath11k_htc *htc);
302 int ath11k_htc_start(struct ath11k_htc *htc);
303 int ath11k_htc_connect_service(struct ath11k_htc *htc,
306 int ath11k_htc_send(struct ath11k_htc *htc, enum ath11k_htc_ep_id eid,
H A DMakefile10 htc.o \
H A Ddp_tx.c972 ret = ath11k_htc_send(&ab->htc, ab->dp.eid, skb); in ath11k_dp_tx_htt_srng_setup()
1005 ret = ath11k_htc_send(&ab->htc, dp->eid, skb); in ath11k_dp_tx_htt_h2t_ver_req_msg()
1052 ret = ath11k_htc_send(&ab->htc, dp->eid, skb); in ath11k_dp_tx_htt_h2t_ppdu_stats_req()
1117 ret = ath11k_htc_send(&ab->htc, ab->dp.eid, skb); in ath11k_dp_tx_htt_rx_filter_setup()
1167 ret = ath11k_htc_send(&ab->htc, dp->eid, skb); in ath11k_dp_tx_htt_h2t_ext_stats_req()
1287 ret = ath11k_htc_send(&ab->htc, ab->dp.eid, skb); in ath11k_dp_tx_htt_rx_full_mon_setup()
/openbmc/linux/drivers/net/wireless/ath/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.c792 ret = ath12k_htc_send(&ab->htc, ab->dp.eid, skb); in ath12k_dp_tx_htt_srng_setup()
825 ret = ath12k_htc_send(&ab->htc, dp->eid, skb); in ath12k_dp_tx_htt_h2t_ver_req_msg()
872 ret = ath12k_htc_send(&ab->htc, dp->eid, skb); in ath12k_dp_tx_htt_h2t_ppdu_stats_req()
968 ret = ath12k_htc_send(&ab->htc, ab->dp.eid, skb); in ath12k_dp_tx_htt_rx_filter_setup()
1012 ret = ath12k_htc_send(&ab->htc, dp->eid, skb); in ath12k_dp_tx_htt_h2t_ext_stats_req()
1183 ret = ath12k_htc_send(&ab->htc, ab->dp.eid, skb); in ath12k_dp_tx_htt_tx_filter_setup()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dhtc.c41 static inline void ath10k_htc_restore_tx_skb(struct ath10k_htc *htc, in ath10k_htc_restore_tx_skb() argument
46 if (htc->ar->bus_param.dev_type != ATH10K_DEV_TYPE_HL) in ath10k_htc_restore_tx_skb()
47 dma_unmap_single(htc->ar->dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath10k_htc_restore_tx_skb()
54 struct ath10k *ar = ep->htc->ar; in ath10k_htc_notify_tx_completion()
70 ath10k_htc_restore_tx_skb(ep->htc, skb); in ath10k_htc_notify_tx_completion()
83 ep->ep_ops.ep_tx_complete(ep->htc->ar, skb); in ath10k_htc_notify_tx_completion()
101 spin_lock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb()
103 spin_unlock_bh(&ep->htc->tx_lock); in ath10k_htc_prepare_tx_skb()
110 struct ath10k_htc *htc = ep->htc; in ath10k_htc_consume_credit() local
111 struct ath10k *ar = htc->ar; in ath10k_htc_consume_credit()
[all …]
H A Dhtc.h362 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 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()
1989 ep = &ar->htc.endpoint[req->eid]; in ath10k_sdio_hif_stop()
2034 struct ath10k_htc *htc = &ar->htc; in ath10k_sdio_hif_map_service_to_pipe() local
[all …]
H A Dhtt_tx.c623 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()
880 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_32()
950 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_64()
1001 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_send_rx_ring_cfg_hl()
1048 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_aggr_cfg_msg_32()
1095 ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb); in ath10k_htt_h2t_aggr_cfg_msg_v2()
1139 ret = ath10k_htc_send(&ar->htc, ar->htt.eid, skb); in ath10k_htt_tx_fetch_resp()
[all …]
H A Dhtt.c305 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 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()
/openbmc/linux/net/mac80211/
H A Ddebugfs_sta.c472 struct ieee80211_sta_ht_cap *htc = &link_sta->pub->ht_cap; in link_sta_ht_capa_read() local
481 htc->ht_supported ? "" : "not "); in link_sta_ht_capa_read()
482 if (htc->ht_supported) { in link_sta_ht_capa_read()
483 p += scnprintf(p, bufsz + buf - p, "cap: %#.4x\n", htc->cap); in link_sta_ht_capa_read()
485 PRINT_HT_CAP((htc->cap & BIT(0)), "RX LDPC"); in link_sta_ht_capa_read()
486 PRINT_HT_CAP((htc->cap & BIT(1)), "HT20/HT40"); in link_sta_ht_capa_read()
487 PRINT_HT_CAP(!(htc->cap & BIT(1)), "HT20"); in link_sta_ht_capa_read()
489 PRINT_HT_CAP(((htc->cap >> 2) & 0x3) == 0, "Static SM Power Save"); in link_sta_ht_capa_read()
490 PRINT_HT_CAP(((htc->cap >> 2) & 0x3) == 1, "Dynamic SM Power Save"); in link_sta_ht_capa_read()
491 PRINT_HT_CAP(((htc->cap >> 2) & 0x3) == 3, "SM Power Save disabled"); in link_sta_ht_capa_read()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dwmi.c262 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 Dhtc_drv_init.c83 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()
215 priv->htc->credits); in ath9k_init_htc_services()
[all …]
H A Dwmi.h150 struct htc_target *htc; member
182 int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi,
H A Dhtc_hst.c523 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 Dhtc_hst.h224 void ath9k_htc_hw_free(struct htc_target *htc);
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Drtl8723b_recv.h62 u32 htc:1; member
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dmac.h106 u32 htc:1; member
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dtrx.h356 u32 htc:1; member
495 u32 htc:1; member
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_recv.h69 u8 htc; member

123