Home | History | Annotate | Download | only in usb

Lines Matching refs:athn_usb_softc

78 #define ATHN_USB_SOFTC(sc)	((struct athn_usb_softc *)(sc))
92 CFATTACH_DECL_NEW(athn_usb, sizeof(struct athn_usb_softc), athn_usb_match,
95 Static int athn_usb_alloc_rx_list(struct athn_usb_softc *);
96 Static int athn_usb_alloc_tx_cmd(struct athn_usb_softc *);
97 Static int athn_usb_alloc_tx_msg(struct athn_usb_softc *);
98 Static int athn_usb_alloc_tx_list(struct athn_usb_softc *);
102 Static void athn_usb_abort_pipes(struct athn_usb_softc *);
103 Static void athn_usb_close_pipes(struct athn_usb_softc *);
104 Static int athn_usb_create_hw_node(struct athn_usb_softc *,
106 Static int athn_usb_create_node(struct athn_usb_softc *,
108 Static void athn_usb_do_async(struct athn_usb_softc *,
109 void (*)(struct athn_usb_softc *, void *), void *, int);
110 Static void athn_usb_free_rx_list(struct athn_usb_softc *);
111 Static void athn_usb_free_tx_cmd(struct athn_usb_softc *);
112 Static void athn_usb_free_tx_msg(struct athn_usb_softc *);
113 Static void athn_usb_free_tx_list(struct athn_usb_softc *);
114 Static int athn_usb_htc_connect_svc(struct athn_usb_softc *, uint16_t,
116 Static int athn_usb_htc_msg(struct athn_usb_softc *, uint16_t, void *,
118 Static int athn_usb_htc_setup(struct athn_usb_softc *);
124 Static int athn_usb_load_firmware(struct athn_usb_softc *);
129 Static void athn_usb_newassoc_cb(struct athn_usb_softc *, void *);
132 Static void athn_usb_newstate_cb(struct athn_usb_softc *, void *);
134 Static void athn_usb_node_cleanup_cb(struct athn_usb_softc *, void *);
135 Static int athn_usb_open_pipes(struct athn_usb_softc *);
137 Static int athn_usb_remove_hw_node(struct athn_usb_softc *, uint8_t *);
139 Static void athn_usb_rx_frame(struct athn_usb_softc *, struct mbuf *);
142 Static void athn_usb_rx_wmi_ctrl(struct athn_usb_softc *, uint8_t *, size_t);
149 Static void athn_usb_swba(struct athn_usb_softc *);
158 Static void athn_usb_updateslot_cb(struct athn_usb_softc *, void *);
159 Static void athn_usb_wait_async(struct athn_usb_softc *);
160 Static int athn_usb_wait_msg(struct athn_usb_softc *);
162 Static int athn_usb_wmi_xcmd(struct athn_usb_softc *, uint16_t, void *,
178 Static void athn_usb_updateedca_cb(struct athn_usb_softc *, void *);
184 Static void athn_usb_ampdu_tx_start_cb(struct athn_usb_softc *, void *);
187 Static void athn_usb_ampdu_tx_stop_cb(struct athn_usb_softc *, void *);
190 Static void athn_usb_delete_key_cb(struct athn_usb_softc *, void *);
193 Static void athn_usb_set_key_cb(struct athn_usb_softc *, void *);
247 struct athn_usb_softc *usc;
367 athn_usb_node_cleanup_cb(struct athn_usb_softc *usc, void *arg)
379 struct athn_usb_softc *usc;
383 usc = ATHN_USB_SOFTC(ni->ni_ic->ic_ifp->if_softc);
400 struct athn_usb_softc *usc = device_private(arg);
483 struct athn_usb_softc *usc = device_private(self);
562 struct athn_usb_softc *usc = device_private(self);
578 athn_usb_open_pipes(struct athn_usb_softc *usc)
650 athn_usb_abort_pipes(struct athn_usb_softc *usc)
665 athn_usb_close_pipes(struct athn_usb_softc *usc)
681 athn_usb_alloc_rx_list(struct athn_usb_softc *usc)
709 athn_usb_free_rx_list(struct athn_usb_softc *usc)
726 athn_usb_alloc_tx_list(struct athn_usb_softc *usc)
766 athn_usb_free_tx_list(struct athn_usb_softc *usc)
783 athn_usb_alloc_tx_cmd(struct athn_usb_softc *usc)
804 athn_usb_free_tx_cmd(struct athn_usb_softc *usc)
817 athn_usb_alloc_tx_msg(struct athn_usb_softc *usc)
838 athn_usb_free_tx_msg(struct athn_usb_softc *usc)
853 struct athn_usb_softc *usc = arg;
878 athn_usb_do_async(struct athn_usb_softc *usc,
879 void (*cb)(struct athn_usb_softc *, void *), void *arg, int len)
904 athn_usb_wait_async(struct athn_usb_softc *usc)
917 athn_usb_load_firmware(struct athn_usb_softc *usc)
1031 athn_usb_htc_msg(struct athn_usb_softc *usc, uint16_t msg_id, void *buf,
1062 athn_usb_htc_setup(struct athn_usb_softc *usc)
1165 athn_usb_htc_connect_svc(struct athn_usb_softc *usc, uint16_t svc_id,
1214 athn_usb_wait_msg(struct athn_usb_softc *usc)
1231 struct athn_usb_softc *usc = priv;
1240 athn_usb_wmi_xcmd(struct athn_usb_softc *usc, uint16_t cmd_id, void *ibuf,
1308 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
1336 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
1363 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
1379 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
1399 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
1420 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
1433 athn_usb_newstate_cb(struct athn_usb_softc *usc, void *arg)
1525 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
1538 athn_usb_newassoc_cb(struct athn_usb_softc *usc, void *arg)
1562 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
1576 athn_usb_ampdu_tx_start_cb(struct athn_usb_softc *usc, void *arg)
1596 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
1609 athn_usb_ampdu_tx_stop_cb(struct athn_usb_softc *usc, void *arg)
1626 athn_usb_remove_hw_node(struct athn_usb_softc *usc, uint8_t *sta_idx)
1641 athn_usb_create_hw_node(struct athn_usb_softc *usc,
1658 athn_usb_create_node(struct athn_usb_softc *usc, struct ieee80211_node *ni)
1741 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
1800 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
1809 athn_usb_updateedca_cb(struct athn_usb_softc *usc, void *arg)
1825 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
1843 athn_usb_updateslot_cb(struct athn_usb_softc *usc, void *arg)
1860 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
1878 athn_usb_set_key_cb(struct athn_usb_softc *usc, void *arg)
1898 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
1915 athn_usb_delete_key_cb(struct athn_usb_softc *usc, void *arg)
1937 struct athn_usb_softc *usc = data->sc;
1950 athn_usb_swba(struct athn_usb_softc *usc)
2021 athn_usb_rx_wmi_ctrl(struct athn_usb_softc *usc, uint8_t *buf, size_t len)
2083 struct athn_usb_softc *usc = priv;
2224 athn_usb_rx_frame(struct athn_usb_softc *usc, struct mbuf *m)
2305 struct athn_usb_softc *usc = data->sc;
2417 struct athn_usb_softc *usc = data->sc;
2457 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
2570 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
2681 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
2752 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
2765 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
2926 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
2937 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);