Home
last modified time | relevance | path

Searched refs:htc_target (Results 1 – 21 of 21) sorted by relevance

/linux-5.19.10/drivers/net/wireless/ath/ath6kl/
Dhtc-ops.h28 static inline int ath6kl_htc_wait_target(struct htc_target *target) in ath6kl_htc_wait_target()
33 static inline int ath6kl_htc_start(struct htc_target *target) in ath6kl_htc_start()
38 static inline int ath6kl_htc_conn_service(struct htc_target *target, in ath6kl_htc_conn_service()
45 static inline int ath6kl_htc_tx(struct htc_target *target, in ath6kl_htc_tx()
51 static inline void ath6kl_htc_stop(struct htc_target *target) in ath6kl_htc_stop()
56 static inline void ath6kl_htc_cleanup(struct htc_target *target) in ath6kl_htc_cleanup()
61 static inline void ath6kl_htc_flush_txep(struct htc_target *target, in ath6kl_htc_flush_txep()
68 static inline void ath6kl_htc_flush_rx_buf(struct htc_target *target) in ath6kl_htc_flush_rx_buf()
73 static inline void ath6kl_htc_activity_changed(struct htc_target *target, in ath6kl_htc_activity_changed()
81 static inline int ath6kl_htc_get_rxbuf_num(struct htc_target *target, in ath6kl_htc_get_rxbuf_num()
[all …]
Dhtc.h286 struct htc_target;
328 void (*completion) (struct htc_target *, struct htc_packet *);
329 struct htc_target *context;
346 void (*tx_complete) (struct htc_target *, struct htc_packet *);
347 void (*rx) (struct htc_target *, struct htc_packet *);
348 void (*rx_refill) (struct htc_target *, enum htc_endpoint_id endpoint);
349 enum htc_send_full_action (*tx_full) (struct htc_target *,
351 struct htc_packet *(*rx_allocthresh) (struct htc_target *,
353 void (*tx_comp_multi) (struct htc_target *, struct list_head *);
526 struct htc_target *target;
[all …]
Dhtc_pipe.c24 static int ath6kl_htc_pipe_tx(struct htc_target *handle,
26 static void ath6kl_htc_pipe_cleanup(struct htc_target *handle);
77 static void send_packet_completion(struct htc_target *target, in send_packet_completion()
91 static void get_htc_packet_credit_based(struct htc_target *target, in get_htc_packet_credit_based()
173 static void get_htc_packet(struct htc_target *target, in get_htc_packet()
203 static int htc_issue_packets(struct htc_target *target, in htc_issue_packets()
300 static enum htc_send_queue_result htc_try_send(struct htc_target *target, in htc_try_send()
529 static void htc_free_txctrl_packet(struct htc_target *target, in htc_free_txctrl_packet()
535 static struct htc_packet *htc_alloc_txctrl_packet(struct htc_target *target) in htc_alloc_txctrl_packet()
540 static void htc_txctrl_complete(struct htc_target *target, in htc_txctrl_complete()
[all …]
Dhtc_mbox.c28 static void ath6kl_htc_mbox_cleanup(struct htc_target *target);
29 static void ath6kl_htc_mbox_stop(struct htc_target *target);
30 static int ath6kl_htc_mbox_add_rxbuf_multiple(struct htc_target *target,
32 static void ath6kl_htc_set_credit_dist(struct htc_target *target,
146 static int ath6kl_htc_mbox_credit_setup(struct htc_target *htc_target, in ath6kl_htc_mbox_credit_setup() argument
160 ath6kl_htc_set_credit_dist(htc_target, cred_info, servicepriority, 5); in ath6kl_htc_mbox_credit_setup()
375 static void htc_reclaim_txctrl_buf(struct htc_target *target, in htc_reclaim_txctrl_buf()
383 static struct htc_packet *htc_get_control_buf(struct htc_target *target, in htc_get_control_buf()
408 static void htc_tx_comp_update(struct htc_target *target, in htc_tx_comp_update()
451 static void htc_tx_comp_handler(struct htc_target *target, in htc_tx_comp_handler()
[all …]
Dcore.c113 ar->htc_target = ath6kl_htc_create(ar); in ath6kl_core_init()
115 if (!ar->htc_target) { in ath6kl_core_init()
198 ath6kl_rx_refill(ar->htc_target, ar->ctrl_ep); in ath6kl_core_init()
199 ath6kl_rx_refill(ar->htc_target, ar->ac2ep_map[WMM_AC_BE]); in ath6kl_core_init()
249 ath6kl_htc_flush_rx_buf(ar->htc_target); in ath6kl_core_init()
255 ath6kl_htc_cleanup(ar->htc_target); in ath6kl_core_init()
338 if (ar->htc_target) in ath6kl_core_cleanup()
339 ath6kl_htc_cleanup(ar->htc_target); in ath6kl_core_cleanup()
Dcore.h707 struct htc_target *htc_target; member
900 void ath6kl_rx(struct htc_target *target, struct htc_packet *packet);
901 void ath6kl_tx_complete(struct htc_target *context,
903 enum htc_send_full_action ath6kl_tx_queue_full(struct htc_target *target,
922 void ath6kl_rx_refill(struct htc_target *target,
925 struct htc_packet *ath6kl_alloc_amsdu_rxbuf(struct htc_target *target,
Ddebug.h75 void dump_cred_dist_stats(struct htc_target *target);
105 static inline void dump_cred_dist_stats(struct htc_target *target) in dump_cred_dist_stats()
Dtxrx.c347 ath6kl_htc_tx(ar->htc_target, &cookie->htc_pkt); in ath6kl_control_tx()
511 ath6kl_htc_tx(ar->htc_target, &cookie->htc_pkt); in ath6kl_data_tx()
583 ath6kl_htc_activity_changed(ar->htc_target, eid, active); in ath6kl_indicate_tx_activity()
586 enum htc_send_full_action ath6kl_tx_queue_full(struct htc_target *target, in ath6kl_tx_queue_full()
680 void ath6kl_tx_complete(struct htc_target *target, in ath6kl_tx_complete()
821 ath6kl_htc_flush_txep(ar->htc_target, ar->ac2ep_map[i], in ath6kl_tx_data_cleanup()
874 void ath6kl_rx_refill(struct htc_target *target, enum htc_endpoint_id endpoint) in ath6kl_rx_refill()
884 ath6kl_htc_get_rxbuf_num(ar->htc_target, endpoint); in ath6kl_rx_refill()
913 ath6kl_htc_add_rxbuf_multiple(ar->htc_target, &queue); in ath6kl_rx_refill()
947 struct htc_packet *ath6kl_alloc_amsdu_rxbuf(struct htc_target *target, in ath6kl_alloc_amsdu_rxbuf()
[all …]
Dhif.h184 void (*complete) (struct htc_target *, struct hif_scatter_req *);
224 struct htc_target *htc_cnxt;
Dinit.c291 status = ath6kl_htc_conn_service(ar->htc_target, con_req, &response); in ath6kl_connectservice()
1736 ret = ath6kl_htc_wait_target(ar->htc_target); in __ath6kl_init_hw_start()
1760 ath6kl_htc_credit_setup(ar->htc_target, &ar->credit_state_info); in __ath6kl_init_hw_start()
1763 ret = ath6kl_htc_start(ar->htc_target); in __ath6kl_init_hw_start()
1819 ath6kl_htc_stop(ar->htc_target); in __ath6kl_init_hw_start()
1845 ath6kl_htc_stop(ar->htc_target); in __ath6kl_init_hw_stop()
1932 if (ar->htc_target) { in ath6kl_stop_txrx()
1934 ath6kl_htc_stop(ar->htc_target); in ath6kl_stop_txrx()
Ddebug.c278 void dump_cred_dist_stats(struct htc_target *target) in dump_cred_dist_stats()
708 struct htc_target *target = ar->htc_target; in read_file_credit_dist_stats()
762 static unsigned int print_endpoint_stat(struct htc_target *target, char *buf, in print_endpoint_stat()
786 struct htc_target *target = ar->htc_target; in ath6kl_endpoint_stats_read()
841 struct htc_target *target = ar->htc_target; in ath6kl_endpoint_stats_write()
Dhif.c257 scat_req->complete(dev->ar->htc_target, scat_req); in ath6kl_hif_submit_scat_req()
542 struct ath6kl_device *dev = ar->htc_target->dev; in ath6kl_hif_intr_bh_handler()
Dsdio.c339 scat_req->complete(ar_sdio->ar->htc_target, scat_req); in ath6kl_sdio_scat_rw()
734 struct htc_target *target = ar->htc_target; in ath6kl_sdio_enable_scatter()
1240 req->scat_req->complete(ar_sdio->ar->htc_target, in ath6kl_sdio_stop()
/linux-5.19.10/drivers/net/wireless/ath/ath9k/
Dhtc_hst.h21 struct htc_target;
116 struct htc_target { struct
205 int htc_init(struct htc_target *target);
206 int htc_connect_service(struct htc_target *target,
209 int htc_send(struct htc_target *target, struct sk_buff *skb);
210 int htc_send_epid(struct htc_target *target, struct sk_buff *skb,
212 void htc_stop(struct htc_target *target);
213 void htc_start(struct htc_target *target);
214 void htc_sta_drain(struct htc_target *target, u8 idx);
216 void ath9k_htc_rx_msg(struct htc_target *htc_handle,
[all …]
Dhtc_hst.c21 static int htc_issue_send(struct htc_target *target, struct sk_buff* skb, in htc_issue_send()
88 static void htc_process_target_rdy(struct htc_target *target, in htc_process_target_rdy()
103 static void htc_process_conn_rsp(struct htc_target *target, in htc_process_conn_rsp()
148 static int htc_config_pipe_credits(struct htc_target *target) in htc_config_pipe_credits()
186 static int htc_setup_complete(struct htc_target *target) in htc_setup_complete()
224 int htc_init(struct htc_target *target) in htc_init()
235 int htc_connect_service(struct htc_target *target, in htc_connect_service()
298 int htc_send(struct htc_target *target, struct sk_buff *skb) in htc_send()
306 int htc_send_epid(struct htc_target *target, struct sk_buff *skb, in htc_send_epid()
312 void htc_stop(struct htc_target *target) in htc_stop()
[all …]
Dwmi.h150 struct htc_target *htc;
182 int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi,
Dhtc.h457 struct htc_target *htc;
632 int ath9k_htc_probe_device(struct htc_target *htc_handle, struct device *dev,
634 void ath9k_htc_disconnect_device(struct htc_target *htc_handle, bool hotunplug);
636 void ath9k_htc_suspend(struct htc_target *htc_handle);
637 int ath9k_htc_resume(struct htc_target *htc_handle);
Dhif_usb.h122 struct htc_target *htc_handle;
Dhtc_drv_init.c931 int ath9k_htc_probe_device(struct htc_target *htc_handle, struct device *dev, in ath9k_htc_probe_device()
981 void ath9k_htc_disconnect_device(struct htc_target *htc_handle, bool hotunplug) in ath9k_htc_disconnect_device()
997 void ath9k_htc_suspend(struct htc_target *htc_handle) in ath9k_htc_suspend()
1002 int ath9k_htc_resume(struct htc_target *htc_handle) in ath9k_htc_resume()
Dwmi.c256 int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi, in ath9k_wmi_connect()
Dhif_usb.c1443 struct htc_target *htc_handle = hif_dev->htc_handle; in ath9k_hif_usb_resume()