Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath6kl/
H A 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 *targe
[all...]
H A 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 *targe
584 struct htc_target { global() struct
585 endpointhtc_target global() argument
588 cred_dist_listhtc_target global() argument
590 free_ctrl_txbufhtc_target global() argument
591 free_ctrl_rxbufhtc_target global() argument
592 credit_infohtc_target global() argument
593 tgt_credshtc_target global() argument
594 tgt_cred_szhtc_target global() argument
597 htc_lockhtc_target global() argument
600 rx_lockhtc_target global() argument
603 tx_lockhtc_target global() argument
605 devhtc_target global() argument
606 htc_flagshtc_target global() argument
607 rx_st_flagshtc_target global() argument
608 ep_waitinghtc_target global() argument
609 htc_tgt_verhtc_target global() argument
612 msg_per_bndl_maxhtc_target global() argument
614 tx_bndl_maskhtc_target global() argument
615 rx_bndl_enablehtc_target global() argument
639 pipehtc_target global() argument
[all...]
H A 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()
299 static enum htc_send_queue_result htc_try_send(struct htc_target *target, in htc_try_send()
528 static void htc_free_txctrl_packet(struct htc_target *target, in htc_free_txctrl_packet()
534 static struct htc_packet *htc_alloc_txctrl_packet(struct htc_target *target) in htc_alloc_txctrl_packet()
539 static void htc_txctrl_complete(struct htc_target *targe
[all...]
H A 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()
374 static void htc_reclaim_txctrl_buf(struct htc_target *target, in htc_reclaim_txctrl_buf()
382 static struct htc_packet *htc_get_control_buf(struct htc_target *target, in htc_get_control_buf()
407 static void htc_tx_comp_update(struct htc_target *targe
[all...]
H A 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()
H A 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,
H A 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()
H A 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 *targe
[all...]
H A Dhif.h184 void (*complete) (struct htc_target *, struct hif_scatter_req *);
224 struct htc_target *htc_cnxt;
H A 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()
H A 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()
H A 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()
H A 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/drivers/net/wireless/ath/ath9k/
H A 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_handl
117 hif_devhtc_target global() argument
118 drv_privhtc_target global() argument
119 devhtc_target global() argument
120 hifhtc_target global() argument
121 endpointhtc_target global() argument
122 target_waithtc_target global() argument
123 cmd_waithtc_target global() argument
124 listhtc_target global() argument
125 conn_rsp_epidhtc_target global() argument
126 creditshtc_target global() argument
127 credit_sizehtc_target global() argument
128 htc_flagshtc_target global() argument
129 tgt_readyhtc_target global() argument
[all...]
H A 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()
154 static int htc_config_pipe_credits(struct htc_target *target) in htc_config_pipe_credits()
192 static int htc_setup_complete(struct htc_target *target) in htc_setup_complete()
230 int htc_init(struct htc_target *target) in htc_init()
241 int htc_connect_service(struct htc_target *target, in htc_connect_service()
307 int htc_send(struct htc_target *target, struct sk_buff *skb) in htc_send()
315 int htc_send_epid(struct htc_target *target, struct sk_buff *skb, in htc_send_epid()
321 void htc_stop(struct htc_target *targe
[all...]
H A Dwmi.h150 struct htc_target *htc;
182 int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi,
H A Dhtc.h460 struct htc_target *htc;
636 int ath9k_htc_probe_device(struct htc_target *htc_handle, struct device *dev,
638 void ath9k_htc_disconnect_device(struct htc_target *htc_handle, bool hotunplug);
640 void ath9k_htc_suspend(struct htc_target *htc_handle);
641 int ath9k_htc_resume(struct htc_target *htc_handle);
H A Dhif_usb.h122 struct htc_target *htc_handle;
H A Dhtc_drv_init.c931 int ath9k_htc_probe_device(struct htc_target *htc_handle, struct device *dev, in ath9k_htc_probe_device()
985 void ath9k_htc_disconnect_device(struct htc_target *htc_handle, bool hotunplug) in ath9k_htc_disconnect_device()
1003 void ath9k_htc_suspend(struct htc_target *htc_handle) in ath9k_htc_suspend()
1008 int ath9k_htc_resume(struct htc_target *htc_handle) in ath9k_htc_resume()
H A Dwmi.c262 int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi, in ath9k_wmi_connect()
H A Dhif_usb.c1481 struct htc_target *htc_handle = hif_dev->htc_handle; in ath9k_hif_usb_resume()