Lines Matching defs:htt

1566 /* real is 16 but it wouldn't fit in the max htt message size
2042 int (*htt_send_rx_ring_cfg)(struct ath10k_htt *htt);
2043 int (*htt_send_frag_desc_bank_cfg)(struct ath10k_htt *htt);
2044 int (*htt_alloc_frag_desc)(struct ath10k_htt *htt);
2045 void (*htt_free_frag_desc)(struct ath10k_htt *htt);
2046 int (*htt_tx)(struct ath10k_htt *htt, enum ath10k_hw_txrx_mode txmode,
2048 int (*htt_alloc_txbuff)(struct ath10k_htt *htt);
2049 void (*htt_free_txbuff)(struct ath10k_htt *htt);
2050 int (*htt_h2t_aggr_cfg_msg)(struct ath10k_htt *htt,
2053 void (*htt_flush_tx)(struct ath10k_htt *htt);
2056 static inline int ath10k_htt_send_rx_ring_cfg(struct ath10k_htt *htt)
2058 if (!htt->tx_ops->htt_send_rx_ring_cfg)
2061 return htt->tx_ops->htt_send_rx_ring_cfg(htt);
2064 static inline int ath10k_htt_send_frag_desc_bank_cfg(struct ath10k_htt *htt)
2066 if (!htt->tx_ops->htt_send_frag_desc_bank_cfg)
2069 return htt->tx_ops->htt_send_frag_desc_bank_cfg(htt);
2072 static inline int ath10k_htt_alloc_frag_desc(struct ath10k_htt *htt)
2074 if (!htt->tx_ops->htt_alloc_frag_desc)
2077 return htt->tx_ops->htt_alloc_frag_desc(htt);
2080 static inline void ath10k_htt_free_frag_desc(struct ath10k_htt *htt)
2082 if (htt->tx_ops->htt_free_frag_desc)
2083 htt->tx_ops->htt_free_frag_desc(htt);
2086 static inline int ath10k_htt_tx(struct ath10k_htt *htt,
2090 return htt->tx_ops->htt_tx(htt, txmode, msdu);
2093 static inline void ath10k_htt_flush_tx(struct ath10k_htt *htt)
2095 if (htt->tx_ops->htt_flush_tx)
2096 htt->tx_ops->htt_flush_tx(htt);
2099 static inline int ath10k_htt_alloc_txbuff(struct ath10k_htt *htt)
2101 if (!htt->tx_ops->htt_alloc_txbuff)
2104 return htt->tx_ops->htt_alloc_txbuff(htt);
2107 static inline void ath10k_htt_free_txbuff(struct ath10k_htt *htt)
2109 if (htt->tx_ops->htt_free_txbuff)
2110 htt->tx_ops->htt_free_txbuff(htt);
2113 static inline int ath10k_htt_h2t_aggr_cfg_msg(struct ath10k_htt *htt,
2118 if (!htt->tx_ops->htt_h2t_aggr_cfg_msg)
2121 return htt->tx_ops->htt_h2t_aggr_cfg_msg(htt,
2127 size_t (*htt_get_rx_ring_size)(struct ath10k_htt *htt);
2128 void (*htt_config_paddrs_ring)(struct ath10k_htt *htt, void *vaddr);
2129 void (*htt_set_paddrs_ring)(struct ath10k_htt *htt, dma_addr_t paddr,
2131 void* (*htt_get_vaddr_ring)(struct ath10k_htt *htt);
2132 void (*htt_reset_paddrs_ring)(struct ath10k_htt *htt, int idx);
2133 bool (*htt_rx_proc_rx_frag_ind)(struct ath10k_htt *htt,
2138 static inline size_t ath10k_htt_get_rx_ring_size(struct ath10k_htt *htt)
2140 if (!htt->rx_ops->htt_get_rx_ring_size)
2143 return htt->rx_ops->htt_get_rx_ring_size(htt);
2146 static inline void ath10k_htt_config_paddrs_ring(struct ath10k_htt *htt,
2149 if (htt->rx_ops->htt_config_paddrs_ring)
2150 htt->rx_ops->htt_config_paddrs_ring(htt, vaddr);
2153 static inline void ath10k_htt_set_paddrs_ring(struct ath10k_htt *htt,
2157 if (htt->rx_ops->htt_set_paddrs_ring)
2158 htt->rx_ops->htt_set_paddrs_ring(htt, paddr, idx);
2161 static inline void *ath10k_htt_get_vaddr_ring(struct ath10k_htt *htt)
2163 if (!htt->rx_ops->htt_get_vaddr_ring)
2166 return htt->rx_ops->htt_get_vaddr_ring(htt);
2169 static inline void ath10k_htt_reset_paddrs_ring(struct ath10k_htt *htt, int idx)
2171 if (htt->rx_ops->htt_reset_paddrs_ring)
2172 htt->rx_ops->htt_reset_paddrs_ring(htt, idx);
2175 static inline bool ath10k_htt_rx_proc_rx_frag_ind(struct ath10k_htt *htt,
2179 if (!htt->rx_ops->htt_rx_proc_rx_frag_ind)
2182 return htt->rx_ops->htt_rx_proc_rx_frag_ind(htt, rx, skb);
2267 int ath10k_htt_connect(struct ath10k_htt *htt);
2269 int ath10k_htt_setup(struct ath10k_htt *htt);
2271 int ath10k_htt_tx_start(struct ath10k_htt *htt);
2272 void ath10k_htt_tx_stop(struct ath10k_htt *htt);
2273 void ath10k_htt_tx_destroy(struct ath10k_htt *htt);
2274 void ath10k_htt_tx_free(struct ath10k_htt *htt);
2276 int ath10k_htt_rx_alloc(struct ath10k_htt *htt);
2278 void ath10k_htt_rx_free(struct ath10k_htt *htt);
2283 int ath10k_htt_h2t_ver_req_msg(struct ath10k_htt *htt);
2284 int ath10k_htt_h2t_stats_req(struct ath10k_htt *htt, u32 mask, u32 reset_mask,
2299 void ath10k_htt_tx_dec_pending(struct ath10k_htt *htt);
2300 int ath10k_htt_tx_inc_pending(struct ath10k_htt *htt);
2301 void ath10k_htt_tx_mgmt_dec_pending(struct ath10k_htt *htt);
2302 int ath10k_htt_tx_mgmt_inc_pending(struct ath10k_htt *htt, bool is_mgmt,
2305 int ath10k_htt_tx_alloc_msdu_id(struct ath10k_htt *htt, struct sk_buff *skb);
2306 void ath10k_htt_tx_free_msdu_id(struct ath10k_htt *htt, u16 msdu_id);
2307 int ath10k_htt_mgmt_tx(struct ath10k_htt *htt, struct sk_buff *msdu);
2312 void ath10k_htt_set_tx_ops(struct ath10k_htt *htt);
2313 void ath10k_htt_set_rx_ops(struct ath10k_htt *htt);