Home
last modified time | relevance | path

Searched refs:htt (Results 1 – 19 of 19) sorted by relevance

/src/sys/contrib/dev/athk/ath10k/
H A Dhtt_tx.c53 lockdep_assert_held(&ar->htt.tx_lock); in __ath10k_htt_tx_txq_recalc()
55 if (!ar->htt.tx_q_state.enabled) in __ath10k_htt_tx_txq_recalc()
58 if (ar->htt.tx_q_state.mode != HTT_TX_MODE_SWITCH_PUSH_PULL) in __ath10k_htt_tx_txq_recalc()
75 if (unlikely(peer_id >= ar->htt.tx_q_state.num_peers) || in __ath10k_htt_tx_txq_recalc()
76 unlikely(tid >= ar->htt.tx_q_state.num_tids)) { in __ath10k_htt_tx_txq_recalc()
82 ar->htt.tx_q_state.vaddr->count[tid][peer_id] = count; in __ath10k_htt_tx_txq_recalc()
83 ar->htt.tx_q_state.vaddr->map[tid][idx] &= ~bit; in __ath10k_htt_tx_txq_recalc()
84 ar->htt.tx_q_state.vaddr->map[tid][idx] |= count ? bit : 0; in __ath10k_htt_tx_txq_recalc()
95 lockdep_assert_held(&ar->htt.tx_lock); in __ath10k_htt_tx_txq_sync()
97 if (!ar->htt.tx_q_state.enabled) in __ath10k_htt_tx_txq_sync()
[all …]
H A Dhtt.c288 int ath10k_htt_connect(struct ath10k_htt *htt) in ath10k_htt_connect() argument
292 struct ath10k *ar = htt->ar; in ath10k_htt_connect()
306 status = ath10k_htc_connect_service(&htt->ar->htc, &conn_req, in ath10k_htt_connect()
312 htt->eid = conn_resp.eid; in ath10k_htt_connect()
315 ep = &ar->htc.endpoint[htt->eid]; in ath10k_htt_connect()
319 htt->disable_tx_comp = ath10k_hif_get_htt_tx_complete(htt->ar); in ath10k_htt_connect()
320 if (htt->disable_tx_comp) in ath10k_htt_connect()
321 ath10k_htc_change_tx_credit_flow(&htt->ar->htc, htt->eid, true); in ath10k_htt_connect()
328 struct ath10k_htt *htt = &ar->htt; in ath10k_htt_init() local
330 htt->ar = ar; in ath10k_htt_init()
[all …]
H A Dhtt_rx.c38 hash_for_each_possible(ar->htt.rx_ring.skb_table, rxcb, hlist, paddr) in ath10k_htt_rx_find_skb_paddr()
46 static void ath10k_htt_rx_ring_free(struct ath10k_htt *htt) in ath10k_htt_rx_ring_free() argument
53 if (htt->rx_ring.in_ord_rx) { in ath10k_htt_rx_ring_free()
54 hash_for_each_safe(htt->rx_ring.skb_table, i, n, rxcb, hlist) { in ath10k_htt_rx_ring_free()
56 dma_unmap_single(htt->ar->dev, rxcb->paddr, in ath10k_htt_rx_ring_free()
63 for (i = 0; i < htt->rx_ring.size; i++) { in ath10k_htt_rx_ring_free()
64 skb = htt->rx_ring.netbufs_ring[i]; in ath10k_htt_rx_ring_free()
69 dma_unmap_single(htt->ar->dev, rxcb->paddr, in ath10k_htt_rx_ring_free()
76 htt->rx_ring.fill_cnt = 0; in ath10k_htt_rx_ring_free()
77 hash_init(htt->rx_ring.skb_table); in ath10k_htt_rx_ring_free()
[all …]
H A Dhtt.h1954 int (*htt_send_rx_ring_cfg)(struct ath10k_htt *htt);
1955 int (*htt_send_frag_desc_bank_cfg)(struct ath10k_htt *htt);
1956 int (*htt_alloc_frag_desc)(struct ath10k_htt *htt);
1957 void (*htt_free_frag_desc)(struct ath10k_htt *htt);
1958 int (*htt_tx)(struct ath10k_htt *htt, enum ath10k_hw_txrx_mode txmode,
1960 int (*htt_alloc_txbuff)(struct ath10k_htt *htt);
1961 void (*htt_free_txbuff)(struct ath10k_htt *htt);
1962 int (*htt_h2t_aggr_cfg_msg)(struct ath10k_htt *htt,
1965 void (*htt_flush_tx)(struct ath10k_htt *htt);
1968 static inline int ath10k_htt_send_rx_ring_cfg(struct ath10k_htt *htt) in ath10k_htt_send_rx_ring_cfg() argument
[all …]
H A Dtxrx.c43 int ath10k_txrx_tx_unref(struct ath10k_htt *htt, in ath10k_txrx_tx_unref() argument
47 struct ath10k *ar = htt->ar; in ath10k_txrx_tx_unref()
60 if (tx_done->msdu_id >= htt->max_num_pending_tx) { in ath10k_txrx_tx_unref()
66 spin_lock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref()
67 msdu = idr_find(&htt->pending_tx, tx_done->msdu_id); in ath10k_txrx_tx_unref()
71 spin_unlock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref()
84 ath10k_htt_tx_free_msdu_id(htt, tx_done->msdu_id); in ath10k_txrx_tx_unref()
85 ath10k_htt_tx_dec_pending(htt); in ath10k_txrx_tx_unref()
86 spin_unlock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref()
97 ath10k_report_offchan_tx(htt->ar, msdu); in ath10k_txrx_tx_unref()
[all …]
H A Dtxrx.h11 int ath10k_txrx_tx_unref(struct ath10k_htt *htt,
22 void ath10k_peer_map_event(struct ath10k_htt *htt,
24 void ath10k_peer_unmap_event(struct ath10k_htt *htt,
H A Dcore.c2666 wake_up(&ar->htt.empty_tx_wq); in ath10k_core_restart()
2762 ar->htt.max_num_amsdu = ATH10K_HTT_MAX_NUM_AMSDU_DEFAULT; in ath10k_core_init_firmware_features()
2763 ar->htt.max_num_ampdu = ATH10K_HTT_MAX_NUM_AMPDU_DEFAULT; in ath10k_core_init_firmware_features()
2786 ar->htt.max_num_amsdu = 1; in ath10k_core_init_firmware_features()
2809 ar->htt.max_num_pending_tx = TARGET_NUM_MSDU_DESC; in ath10k_core_init_firmware_features()
2825 ar->htt.max_num_pending_tx = TARGET_10X_NUM_MSDU_DESC; in ath10k_core_init_firmware_features()
2838 ar->htt.max_num_pending_tx = in ath10k_core_init_firmware_features()
2841 ar->htt.max_num_pending_tx = TARGET_TLV_NUM_MSDU_DESC; in ath10k_core_init_firmware_features()
2862 ar->htt.max_num_pending_tx = TARGET_10_4_NUM_MSDU_DESC_PFC; in ath10k_core_init_firmware_features()
2864 ar->htt.max_num_pending_tx = TARGET_10_4_NUM_MSDU_DESC; in ath10k_core_init_firmware_features()
[all …]
H A Dmac.c3612 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_tx_lock()
3633 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_tx_unlock()
3653 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_vif_tx_lock()
3664 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_vif_tx_unlock()
3684 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_vif_handle_tx_pause()
3729 spin_lock_bh(&ar->htt.tx_lock); in ath10k_mac_handle_tx_pause_vdev()
3734 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_mac_handle_tx_pause_vdev()
3772 if (ar->htt.target_version_major < 3 && in ath10k_mac_tx_h_get_txmode()
3982 return (ar->htt.target_version_major >= 3 && in ath10k_mac_tx_frm_has_freq()
3983 ar->htt.target_version_minor >= 4 && in ath10k_mac_tx_frm_has_freq()
[all …]
H A DMakefile7 htt.o \
H A Dhw.h651 int (*tx_data_rssi_pad_bytes)(struct htt_resp *htt);
665 struct htt_resp *htt) in ath10k_tx_data_rssi_get_pad_bytes() argument
668 return hw->hw_ops->tx_data_rssi_pad_bytes(htt); in ath10k_tx_data_rssi_get_pad_bytes()
H A Ddebug.c125 ar->htt.target_version_major, in ath10k_debug_print_boot_info()
126 ar->htt.target_version_minor, in ath10k_debug_print_boot_info()
923 ret = ath10k_htt_h2t_stats_req(&ar->htt, ar->debug.htt_stats_mask, in ath10k_debug_htt_stats_req()
1012 amsdu = ar->htt.max_num_amsdu; in ath10k_read_htt_max_amsdu_ampdu()
1013 ampdu = ar->htt.max_num_ampdu; in ath10k_read_htt_max_amsdu_ampdu()
1042 res = ath10k_htt_h2t_aggr_cfg_msg(&ar->htt, ampdu, amsdu); in ath10k_write_htt_max_amsdu_ampdu()
1047 ar->htt.max_num_amsdu = amsdu; in ath10k_write_htt_max_amsdu_ampdu()
1048 ar->htt.max_num_ampdu = ampdu; in ath10k_write_htt_max_amsdu_ampdu()
H A Dcore.h1080 struct ath10k_htt htt; member
H A Dhtc.c848 if (ep->bundle_tx && eid == ar->htt.eid) { in ath10k_htc_tx_complete_work()
H A Dwmi-tlv.c2021 cfg->num_msdu_desc = __cpu_to_le32(ar->htt.max_num_pending_tx); in ath10k_wmi_tlv_op_gen_init()
H A Dwmi.c6945 config.num_msdu_desc = __cpu_to_le32(ar->htt.max_num_pending_tx); in ath10k_wmi_10_4_op_gen_init()
/src/sys/modules/ath10k/
H A DMakefile15 SRCS+= htc.c htt.c htt_rx.c htt_tx.c
/src/sys/contrib/zstd/lib/common/
H A Dcpu.h174 D(htt, 28)
/src/sys/contrib/openzfs/module/zstd/lib/common/
H A Dcpu.h211 D(htt, 28)
/src/secure/caroot/trusted/
H A DSwissSign_Gold_CA_-_G2.pem139 ZMEBnunKoGqYDs/YYPIvSbjkQuE4NRb0yG5P94FW6LqjviOvrv1vA+ACOzB2+htt