Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c62 lockdep_assert_held(&ar->htt.tx_lock); in __ath10k_htt_tx_txq_recalc()
64 if (!ar->htt.tx_q_state.enabled) in __ath10k_htt_tx_txq_recalc()
67 if (ar->htt.tx_q_state.mode != HTT_TX_MODE_SWITCH_PUSH_PULL) in __ath10k_htt_tx_txq_recalc()
84 if (unlikely(peer_id >= ar->htt.tx_q_state.num_peers) || in __ath10k_htt_tx_txq_recalc()
85 unlikely(tid >= ar->htt.tx_q_state.num_tids)) { in __ath10k_htt_tx_txq_recalc()
91 ar->htt.tx_q_state.vaddr->count[tid][peer_id] = count; in __ath10k_htt_tx_txq_recalc()
92 ar->htt.tx_q_state.vaddr->map[tid][idx] &= ~bit; in __ath10k_htt_tx_txq_recalc()
93 ar->htt.tx_q_state.vaddr->map[tid][idx] |= count ? bit : 0; in __ath10k_htt_tx_txq_recalc()
104 lockdep_assert_held(&ar->htt.tx_lock); in __ath10k_htt_tx_txq_sync()
106 if (!ar->htt.tx_q_state.enabled) in __ath10k_htt_tx_txq_sync()
[all …]
Dhtt.c144 int ath10k_htt_connect(struct ath10k_htt *htt) in ath10k_htt_connect() argument
159 status = ath10k_htc_connect_service(&htt->ar->htc, &conn_req, in ath10k_htt_connect()
165 htt->eid = conn_resp.eid; in ath10k_htt_connect()
172 struct ath10k_htt *htt = &ar->htt; in ath10k_htt_init() local
174 htt->ar = ar; in ath10k_htt_init()
182 htt->prefetch_len = in ath10k_htt_init()
190 ar->htt.t2h_msg_types = htt_10_4_t2h_msg_types; in ath10k_htt_init()
191 ar->htt.t2h_msg_types_max = HTT_10_4_T2H_NUM_MSGS; in ath10k_htt_init()
194 ar->htt.t2h_msg_types = htt_10x_t2h_msg_types; in ath10k_htt_init()
195 ar->htt.t2h_msg_types_max = HTT_10X_T2H_NUM_MSGS; in ath10k_htt_init()
[all …]
Dhtt_rx.c42 hash_for_each_possible(ar->htt.rx_ring.skb_table, rxcb, hlist, paddr) in ath10k_htt_rx_find_skb_paddr()
50 static void ath10k_htt_rx_ring_free(struct ath10k_htt *htt) in ath10k_htt_rx_ring_free() argument
57 if (htt->rx_ring.in_ord_rx) { in ath10k_htt_rx_ring_free()
58 hash_for_each_safe(htt->rx_ring.skb_table, i, n, rxcb, hlist) { in ath10k_htt_rx_ring_free()
60 dma_unmap_single(htt->ar->dev, rxcb->paddr, in ath10k_htt_rx_ring_free()
67 for (i = 0; i < htt->rx_ring.size; i++) { in ath10k_htt_rx_ring_free()
68 skb = htt->rx_ring.netbufs_ring[i]; in ath10k_htt_rx_ring_free()
73 dma_unmap_single(htt->ar->dev, rxcb->paddr, in ath10k_htt_rx_ring_free()
80 htt->rx_ring.fill_cnt = 0; in ath10k_htt_rx_ring_free()
81 hash_init(htt->rx_ring.skb_table); in ath10k_htt_rx_ring_free()
[all …]
Dhtt.h1862 int (*htt_send_rx_ring_cfg)(struct ath10k_htt *htt);
1863 int (*htt_send_frag_desc_bank_cfg)(struct ath10k_htt *htt);
1864 int (*htt_alloc_frag_desc)(struct ath10k_htt *htt);
1865 void (*htt_free_frag_desc)(struct ath10k_htt *htt);
1866 int (*htt_tx)(struct ath10k_htt *htt, enum ath10k_hw_txrx_mode txmode,
1868 int (*htt_alloc_txbuff)(struct ath10k_htt *htt);
1869 void (*htt_free_txbuff)(struct ath10k_htt *htt);
1872 static inline int ath10k_htt_send_rx_ring_cfg(struct ath10k_htt *htt) in ath10k_htt_send_rx_ring_cfg() argument
1874 if (!htt->tx_ops->htt_send_rx_ring_cfg) in ath10k_htt_send_rx_ring_cfg()
1877 return htt->tx_ops->htt_send_rx_ring_cfg(htt); in ath10k_htt_send_rx_ring_cfg()
[all …]
Dtxrx.c54 int ath10k_txrx_tx_unref(struct ath10k_htt *htt, in ath10k_txrx_tx_unref() argument
57 struct ath10k *ar = htt->ar; in ath10k_txrx_tx_unref()
69 if (tx_done->msdu_id >= htt->max_num_pending_tx) { in ath10k_txrx_tx_unref()
75 spin_lock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref()
76 msdu = idr_find(&htt->pending_tx, tx_done->msdu_id); in ath10k_txrx_tx_unref()
80 spin_unlock_bh(&htt->tx_lock); in ath10k_txrx_tx_unref()
92 ath10k_htt_tx_free_msdu_id(htt, tx_done->msdu_id); in ath10k_txrx_tx_unref()
93 ath10k_htt_tx_dec_pending(htt); in ath10k_txrx_tx_unref()
94 if (htt->num_pending_tx == 0) in ath10k_txrx_tx_unref()
95 wake_up(&htt->empty_tx_wq); in ath10k_txrx_tx_unref()
[all …]
Dtxrx.h22 int ath10k_txrx_tx_unref(struct ath10k_htt *htt,
33 void ath10k_peer_map_event(struct ath10k_htt *htt,
35 void ath10k_peer_unmap_event(struct ath10k_htt *htt,
Dcore.c1926 wake_up(&ar->htt.empty_tx_wq); in ath10k_core_restart()
2021 ar->htt.max_num_amsdu = ATH10K_HTT_MAX_NUM_AMSDU_DEFAULT; in ath10k_core_init_firmware_features()
2022 ar->htt.max_num_ampdu = ATH10K_HTT_MAX_NUM_AMPDU_DEFAULT; in ath10k_core_init_firmware_features()
2045 ar->htt.max_num_amsdu = 1; in ath10k_core_init_firmware_features()
2068 ar->htt.max_num_pending_tx = TARGET_NUM_MSDU_DESC; in ath10k_core_init_firmware_features()
2084 ar->htt.max_num_pending_tx = TARGET_10X_NUM_MSDU_DESC; in ath10k_core_init_firmware_features()
2093 ar->htt.max_num_pending_tx = TARGET_TLV_NUM_MSDU_DESC; in ath10k_core_init_firmware_features()
2114 ar->htt.max_num_pending_tx = TARGET_10_4_NUM_MSDU_DESC_PFC; in ath10k_core_init_firmware_features()
2116 ar->htt.max_num_pending_tx = TARGET_10_4_NUM_MSDU_DESC; in ath10k_core_init_firmware_features()
2282 status = ath10k_htt_tx_start(&ar->htt); in ath10k_core_start()
[all …]
Dmac.c3251 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_tx_lock()
3272 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_tx_unlock()
3292 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_vif_tx_lock()
3303 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_vif_tx_unlock()
3323 lockdep_assert_held(&ar->htt.tx_lock); in ath10k_mac_vif_handle_tx_pause()
3368 spin_lock_bh(&ar->htt.tx_lock); in ath10k_mac_handle_tx_pause_vdev()
3373 spin_unlock_bh(&ar->htt.tx_lock); in ath10k_mac_handle_tx_pause_vdev()
3407 if (ar->htt.target_version_major < 3 && in ath10k_mac_tx_h_get_txmode()
3557 return (ar->htt.target_version_major >= 3 && in ath10k_mac_tx_frm_has_freq()
3558 ar->htt.target_version_minor >= 4 && in ath10k_mac_tx_frm_has_freq()
[all …]
DMakefile7 htt.o \
Ddebug.c109 ar->htt.target_version_major, in ath10k_debug_print_boot_info()
110 ar->htt.target_version_minor, in ath10k_debug_print_boot_info()
886 ret = ath10k_htt_h2t_stats_req(&ar->htt, ar->debug.htt_stats_mask, in ath10k_debug_htt_stats_req()
975 amsdu = ar->htt.max_num_amsdu; in ath10k_read_htt_max_amsdu_ampdu()
976 ampdu = ar->htt.max_num_ampdu; in ath10k_read_htt_max_amsdu_ampdu()
1005 res = ath10k_htt_h2t_aggr_cfg_msg(&ar->htt, ampdu, amsdu); in ath10k_write_htt_max_amsdu_ampdu()
1010 ar->htt.max_num_amsdu = amsdu; in ath10k_write_htt_max_amsdu_ampdu()
1011 ar->htt.max_num_ampdu = ampdu; in ath10k_write_htt_max_amsdu_ampdu()
Dcore.h927 struct ath10k_htt htt; member
Dwmi.c6513 config.num_msdu_desc = __cpu_to_le32(ar->htt.max_num_pending_tx); in ath10k_wmi_10_4_op_gen_init()
/Linux-v4.19/drivers/video/fbdev/
Dnuc900fb.c203 int htt = var->width + var->left_margin + var->right_margin; in nuc900fb_calculate_lcd_regs() local
208 LCM_CRTC_SIZE_HTTVAL(htt); in nuc900fb_calculate_lcd_regs()