Lines Matching refs:htt

1929 	int (*htt_send_rx_ring_cfg)(struct ath10k_htt *htt);
1930 int (*htt_send_frag_desc_bank_cfg)(struct ath10k_htt *htt);
1931 int (*htt_alloc_frag_desc)(struct ath10k_htt *htt);
1932 void (*htt_free_frag_desc)(struct ath10k_htt *htt);
1933 int (*htt_tx)(struct ath10k_htt *htt, enum ath10k_hw_txrx_mode txmode,
1935 int (*htt_alloc_txbuff)(struct ath10k_htt *htt);
1936 void (*htt_free_txbuff)(struct ath10k_htt *htt);
1937 int (*htt_h2t_aggr_cfg_msg)(struct ath10k_htt *htt,
1940 void (*htt_flush_tx)(struct ath10k_htt *htt);
1943 static inline int ath10k_htt_send_rx_ring_cfg(struct ath10k_htt *htt) in ath10k_htt_send_rx_ring_cfg() argument
1945 if (!htt->tx_ops->htt_send_rx_ring_cfg) in ath10k_htt_send_rx_ring_cfg()
1948 return htt->tx_ops->htt_send_rx_ring_cfg(htt); in ath10k_htt_send_rx_ring_cfg()
1951 static inline int ath10k_htt_send_frag_desc_bank_cfg(struct ath10k_htt *htt) in ath10k_htt_send_frag_desc_bank_cfg() argument
1953 if (!htt->tx_ops->htt_send_frag_desc_bank_cfg) in ath10k_htt_send_frag_desc_bank_cfg()
1956 return htt->tx_ops->htt_send_frag_desc_bank_cfg(htt); in ath10k_htt_send_frag_desc_bank_cfg()
1959 static inline int ath10k_htt_alloc_frag_desc(struct ath10k_htt *htt) in ath10k_htt_alloc_frag_desc() argument
1961 if (!htt->tx_ops->htt_alloc_frag_desc) in ath10k_htt_alloc_frag_desc()
1964 return htt->tx_ops->htt_alloc_frag_desc(htt); in ath10k_htt_alloc_frag_desc()
1967 static inline void ath10k_htt_free_frag_desc(struct ath10k_htt *htt) in ath10k_htt_free_frag_desc() argument
1969 if (htt->tx_ops->htt_free_frag_desc) in ath10k_htt_free_frag_desc()
1970 htt->tx_ops->htt_free_frag_desc(htt); in ath10k_htt_free_frag_desc()
1973 static inline int ath10k_htt_tx(struct ath10k_htt *htt, in ath10k_htt_tx() argument
1977 return htt->tx_ops->htt_tx(htt, txmode, msdu); in ath10k_htt_tx()
1980 static inline void ath10k_htt_flush_tx(struct ath10k_htt *htt) in ath10k_htt_flush_tx() argument
1982 if (htt->tx_ops->htt_flush_tx) in ath10k_htt_flush_tx()
1983 htt->tx_ops->htt_flush_tx(htt); in ath10k_htt_flush_tx()
1986 static inline int ath10k_htt_alloc_txbuff(struct ath10k_htt *htt) in ath10k_htt_alloc_txbuff() argument
1988 if (!htt->tx_ops->htt_alloc_txbuff) in ath10k_htt_alloc_txbuff()
1991 return htt->tx_ops->htt_alloc_txbuff(htt); in ath10k_htt_alloc_txbuff()
1994 static inline void ath10k_htt_free_txbuff(struct ath10k_htt *htt) in ath10k_htt_free_txbuff() argument
1996 if (htt->tx_ops->htt_free_txbuff) in ath10k_htt_free_txbuff()
1997 htt->tx_ops->htt_free_txbuff(htt); in ath10k_htt_free_txbuff()
2000 static inline int ath10k_htt_h2t_aggr_cfg_msg(struct ath10k_htt *htt, in ath10k_htt_h2t_aggr_cfg_msg() argument
2005 if (!htt->tx_ops->htt_h2t_aggr_cfg_msg) in ath10k_htt_h2t_aggr_cfg_msg()
2008 return htt->tx_ops->htt_h2t_aggr_cfg_msg(htt, in ath10k_htt_h2t_aggr_cfg_msg()
2014 size_t (*htt_get_rx_ring_size)(struct ath10k_htt *htt);
2015 void (*htt_config_paddrs_ring)(struct ath10k_htt *htt, void *vaddr);
2016 void (*htt_set_paddrs_ring)(struct ath10k_htt *htt, dma_addr_t paddr,
2018 void* (*htt_get_vaddr_ring)(struct ath10k_htt *htt);
2019 void (*htt_reset_paddrs_ring)(struct ath10k_htt *htt, int idx);
2020 bool (*htt_rx_proc_rx_frag_ind)(struct ath10k_htt *htt,
2025 static inline size_t ath10k_htt_get_rx_ring_size(struct ath10k_htt *htt) in ath10k_htt_get_rx_ring_size() argument
2027 if (!htt->rx_ops->htt_get_rx_ring_size) in ath10k_htt_get_rx_ring_size()
2030 return htt->rx_ops->htt_get_rx_ring_size(htt); in ath10k_htt_get_rx_ring_size()
2033 static inline void ath10k_htt_config_paddrs_ring(struct ath10k_htt *htt, in ath10k_htt_config_paddrs_ring() argument
2036 if (htt->rx_ops->htt_config_paddrs_ring) in ath10k_htt_config_paddrs_ring()
2037 htt->rx_ops->htt_config_paddrs_ring(htt, vaddr); in ath10k_htt_config_paddrs_ring()
2040 static inline void ath10k_htt_set_paddrs_ring(struct ath10k_htt *htt, in ath10k_htt_set_paddrs_ring() argument
2044 if (htt->rx_ops->htt_set_paddrs_ring) in ath10k_htt_set_paddrs_ring()
2045 htt->rx_ops->htt_set_paddrs_ring(htt, paddr, idx); in ath10k_htt_set_paddrs_ring()
2048 static inline void *ath10k_htt_get_vaddr_ring(struct ath10k_htt *htt) in ath10k_htt_get_vaddr_ring() argument
2050 if (!htt->rx_ops->htt_get_vaddr_ring) in ath10k_htt_get_vaddr_ring()
2053 return htt->rx_ops->htt_get_vaddr_ring(htt); in ath10k_htt_get_vaddr_ring()
2056 static inline void ath10k_htt_reset_paddrs_ring(struct ath10k_htt *htt, int idx) in ath10k_htt_reset_paddrs_ring() argument
2058 if (htt->rx_ops->htt_reset_paddrs_ring) in ath10k_htt_reset_paddrs_ring()
2059 htt->rx_ops->htt_reset_paddrs_ring(htt, idx); in ath10k_htt_reset_paddrs_ring()
2062 static inline bool ath10k_htt_rx_proc_rx_frag_ind(struct ath10k_htt *htt, in ath10k_htt_rx_proc_rx_frag_ind() argument
2066 if (!htt->rx_ops->htt_rx_proc_rx_frag_ind) in ath10k_htt_rx_proc_rx_frag_ind()
2069 return htt->rx_ops->htt_rx_proc_rx_frag_ind(htt, rx, skb); in ath10k_htt_rx_proc_rx_frag_ind()
2412 int ath10k_htt_connect(struct ath10k_htt *htt);
2414 int ath10k_htt_setup(struct ath10k_htt *htt);
2416 int ath10k_htt_tx_start(struct ath10k_htt *htt);
2417 void ath10k_htt_tx_stop(struct ath10k_htt *htt);
2418 void ath10k_htt_tx_destroy(struct ath10k_htt *htt);
2419 void ath10k_htt_tx_free(struct ath10k_htt *htt);
2421 int ath10k_htt_rx_alloc(struct ath10k_htt *htt);
2423 void ath10k_htt_rx_free(struct ath10k_htt *htt);
2428 int ath10k_htt_h2t_ver_req_msg(struct ath10k_htt *htt);
2429 int ath10k_htt_h2t_stats_req(struct ath10k_htt *htt, u32 mask, u32 reset_mask,
2444 void ath10k_htt_tx_dec_pending(struct ath10k_htt *htt);
2445 int ath10k_htt_tx_inc_pending(struct ath10k_htt *htt);
2446 void ath10k_htt_tx_mgmt_dec_pending(struct ath10k_htt *htt);
2447 int ath10k_htt_tx_mgmt_inc_pending(struct ath10k_htt *htt, bool is_mgmt,
2450 int ath10k_htt_tx_alloc_msdu_id(struct ath10k_htt *htt, struct sk_buff *skb);
2451 void ath10k_htt_tx_free_msdu_id(struct ath10k_htt *htt, u16 msdu_id);
2452 int ath10k_htt_mgmt_tx(struct ath10k_htt *htt, struct sk_buff *msdu);
2457 void ath10k_htt_set_tx_ops(struct ath10k_htt *htt);
2458 void ath10k_htt_set_rx_ops(struct ath10k_htt *htt);