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; in athn_usb_attach()
367 athn_usb_node_cleanup_cb(struct athn_usb_softc *usc, void *arg) in athn_usb_node_cleanup_cb()
379 struct athn_usb_softc *usc; in athn_usb_node_cleanup()
400 struct athn_usb_softc *usc = device_private(arg); in athn_usb_attachhook()
483 struct athn_usb_softc *usc = device_private(self); in athn_usb_detach()
562 struct athn_usb_softc *usc = device_private(self); in athn_usb_activate()
578 athn_usb_open_pipes(struct athn_usb_softc *usc) in athn_usb_open_pipes()
650 athn_usb_abort_pipes(struct athn_usb_softc *usc) in athn_usb_abort_pipes()
665 athn_usb_close_pipes(struct athn_usb_softc *usc) in athn_usb_close_pipes()
681 athn_usb_alloc_rx_list(struct athn_usb_softc *usc) in athn_usb_alloc_rx_list()
709 athn_usb_free_rx_list(struct athn_usb_softc *usc) in athn_usb_free_rx_list()
726 athn_usb_alloc_tx_list(struct athn_usb_softc *usc) in athn_usb_alloc_tx_list()
766 athn_usb_free_tx_list(struct athn_usb_softc *usc) in athn_usb_free_tx_list()
783 athn_usb_alloc_tx_cmd(struct athn_usb_softc *usc) in athn_usb_alloc_tx_cmd()
804 athn_usb_free_tx_cmd(struct athn_usb_softc *usc) in athn_usb_free_tx_cmd()
817 athn_usb_alloc_tx_msg(struct athn_usb_softc *usc) in athn_usb_alloc_tx_msg()
838 athn_usb_free_tx_msg(struct athn_usb_softc *usc) in athn_usb_free_tx_msg()
853 struct athn_usb_softc *usc = arg; in athn_usb_task()
878 athn_usb_do_async(struct athn_usb_softc *usc, in athn_usb_do_async()
879 void (*cb)(struct athn_usb_softc *, void *), void *arg, int len) in athn_usb_do_async() argument
904 athn_usb_wait_async(struct athn_usb_softc *usc) in athn_usb_wait_async()
917 athn_usb_load_firmware(struct athn_usb_softc *usc) in athn_usb_load_firmware()
1031 athn_usb_htc_msg(struct athn_usb_softc *usc, uint16_t msg_id, void *buf, in athn_usb_htc_msg()
1062 athn_usb_htc_setup(struct athn_usb_softc *usc) in athn_usb_htc_setup()
1165 athn_usb_htc_connect_svc(struct athn_usb_softc *usc, uint16_t svc_id, in athn_usb_htc_connect_svc()
1214 athn_usb_wait_msg(struct athn_usb_softc *usc) in athn_usb_wait_msg()
1231 struct athn_usb_softc *usc = priv; in athn_usb_wmieof()
1240 athn_usb_wmi_xcmd(struct athn_usb_softc *usc, uint16_t cmd_id, void *ibuf, in athn_usb_wmi_xcmd()
1308 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_read_rom()
1336 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_read()
1363 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_write()
1379 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_write_barrier()
1399 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_media_change()
1420 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_newstate()
1433 athn_usb_newstate_cb(struct athn_usb_softc *usc, void *arg) in athn_usb_newstate_cb()
1525 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_newassoc()
1538 athn_usb_newassoc_cb(struct athn_usb_softc *usc, void *arg) in athn_usb_newassoc_cb()
1562 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_ampdu_tx_start()
1576 athn_usb_ampdu_tx_start_cb(struct athn_usb_softc *usc, void *arg) in athn_usb_ampdu_tx_start_cb()
1596 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_ampdu_tx_stop()
1609 athn_usb_ampdu_tx_stop_cb(struct athn_usb_softc *usc, void *arg) in athn_usb_ampdu_tx_stop_cb()
1626 athn_usb_remove_hw_node(struct athn_usb_softc *usc, uint8_t *sta_idx) in athn_usb_remove_hw_node()
1641 athn_usb_create_hw_node(struct athn_usb_softc *usc, in athn_usb_create_hw_node()
1658 athn_usb_create_node(struct athn_usb_softc *usc, struct ieee80211_node *ni) in athn_usb_create_node()
1741 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_switch_chan()
1800 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_updateedca()
1809 athn_usb_updateedca_cb(struct athn_usb_softc *usc, void *arg) in athn_usb_updateedca_cb()
1825 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_updateslot()
1843 athn_usb_updateslot_cb(struct athn_usb_softc *usc, void *arg) in athn_usb_updateslot_cb()
1860 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_set_key()
1878 athn_usb_set_key_cb(struct athn_usb_softc *usc, void *arg) in athn_usb_set_key_cb()
1898 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_delete_key()
1915 athn_usb_delete_key_cb(struct athn_usb_softc *usc, void *arg) in athn_usb_delete_key_cb()
1937 struct athn_usb_softc *usc = data->sc; in athn_usb_bcneof()
1950 athn_usb_swba(struct athn_usb_softc *usc) in athn_usb_swba()
2021 athn_usb_rx_wmi_ctrl(struct athn_usb_softc *usc, uint8_t *buf, size_t len) in athn_usb_rx_wmi_ctrl()
2083 struct athn_usb_softc *usc = priv; in athn_usb_intr()
2224 athn_usb_rx_frame(struct athn_usb_softc *usc, struct mbuf *m) in athn_usb_rx_frame()
2305 struct athn_usb_softc *usc = data->sc; in athn_usb_rxeof()
2417 struct athn_usb_softc *usc = data->sc; in athn_usb_txeof()
2457 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_tx()
2570 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_start()
2681 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_ioctl()
2752 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_init()
2765 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_init_locked()
2926 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_stop()
2937 struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc); in athn_usb_stop_locked()