Lines Matching refs:uath_softc

235 static int	uath_open_pipes(struct uath_softc *);
236 static void uath_close_pipes(struct uath_softc *);
237 static int uath_fw_send(struct uath_softc *,
239 static int uath_fw_ack(struct uath_softc *, int);
241 static int uath_loadfirmware(struct uath_softc *);
242 static int uath_alloc_cmd_list(struct uath_softc *,
244 static int uath_init_cmd_list(struct uath_softc *);
246 static int uath_host_available(struct uath_softc *);
247 static void uath_get_capability(struct uath_softc *, uint32_t, uint32_t *);
248 static int uath_get_devcap(struct uath_softc *);
249 static int uath_get_devstatus(struct uath_softc *,
251 static int uath_get_status(struct uath_softc *, uint32_t, void *, int);
258 static int uath_cmd_read(struct uath_softc *, uint32_t, const void *,
260 static int uath_cmd_write(struct uath_softc *, uint32_t, const void *,
262 static int uath_cmdsend(struct uath_softc *, uint32_t,
264 static int uath_rx_cmd_xfer(struct uath_softc *);
265 static int uath_tx_cmd_xfer(struct uath_softc *,
269 static void uath_cmdeof(struct uath_softc *, struct uath_cmd *);
271 static void uath_init_data_queue(struct uath_softc *);
272 static int uath_rx_data_xfer(struct uath_softc *sc);
273 static int uath_tx_data_xfer(struct uath_softc *, mblk_t *);
277 static int uath_create_connection(struct uath_softc *, uint32_t);
278 static int uath_set_rates(struct uath_softc *,
280 static int uath_write_associd(struct uath_softc *);
281 static int uath_set_ledsteady(struct uath_softc *, int, int);
282 static int uath_set_ledblink(struct uath_softc *, int, int, int, int);
283 static void uath_update_rxstat(struct uath_softc *, uint32_t);
289 static int uath_dataflush(struct uath_softc *);
290 static int uath_cmdflush(struct uath_softc *);
291 static int uath_flush(struct uath_softc *);
292 static int uath_set_ledstate(struct uath_softc *, int);
293 static int uath_set_chan(struct uath_softc *, struct ieee80211_channel *);
294 static int uath_reset_tx_queues(struct uath_softc *);
295 static int uath_wme_init(struct uath_softc *);
296 static int uath_config_multi(struct uath_softc *,
298 static void uath_config(struct uath_softc *, uint32_t, uint32_t);
299 static int uath_switch_channel(struct uath_softc *,
301 static int uath_set_rxfilter(struct uath_softc *, uint32_t, uint32_t);
304 static int uath_init(struct uath_softc *);
305 static void uath_stop(struct uath_softc *);
306 static void uath_resume(struct uath_softc *);
430 uath_open_pipes(struct uath_softc *sc) in uath_open_pipes()
538 uath_close_pipes(struct uath_softc *sc) in uath_close_pipes()
645 uath_fw_send(struct uath_softc *sc, usb_pipe_handle_t pipe, in uath_fw_send()
674 uath_fw_ack(struct uath_softc *sc, int len) in uath_fw_ack()
761 uath_loadfirmware(struct uath_softc *sc) in uath_loadfirmware()
851 uath_alloc_cmd_list(struct uath_softc *sc, struct uath_cmd cmds[], in uath_alloc_cmd_list()
877 uath_init_cmd_list(struct uath_softc *sc) in uath_init_cmd_list()
905 uath_host_available(struct uath_softc *sc) in uath_host_available()
919 uath_get_capability(struct uath_softc *sc, uint32_t cap, uint32_t *val) in uath_get_capability()
934 uath_get_devcap(struct uath_softc *sc) in uath_get_devcap()
1011 uath_get_status(struct uath_softc *sc, uint32_t which, void *odata, int olen) in uath_get_status()
1025 uath_get_devstatus(struct uath_softc *sc, uint8_t macaddr[IEEE80211_ADDR_LEN]) in uath_get_devstatus()
1118 uath_cmd_read(struct uath_softc *sc, uint32_t code, const void *idata, in uath_cmd_read()
1126 uath_cmd_write(struct uath_softc *sc, uint32_t code, const void *data, in uath_cmd_write()
1137 uath_cmdsend(struct uath_softc *sc, uint32_t code, const void *idata, int ilen, in uath_cmdsend()
1210 struct uath_softc *sc = (struct uath_softc *)req->bulk_client_private; in uath_cmd_txeof()
1229 uath_tx_cmd_xfer(struct uath_softc *sc, in uath_tx_cmd_xfer()
1265 uath_cmdeof(struct uath_softc *sc, struct uath_cmd *cmd) in uath_cmdeof()
1396 struct uath_softc *sc = (struct uath_softc *)req->bulk_client_private; in uath_cmd_rxeof()
1451 uath_rx_cmd_xfer(struct uath_softc *sc) in uath_rx_cmd_xfer()
1488 uath_init_data_queue(struct uath_softc *sc) in uath_init_data_queue()
1497 struct uath_softc *sc = (struct uath_softc *)req->bulk_client_private; in uath_data_txeof()
1523 uath_tx_data_xfer(struct uath_softc *sc, mblk_t *mp) in uath_tx_data_xfer()
1563 struct uath_softc *sc = (struct uath_softc *)req->bulk_client_private; in uath_data_rxeof()
1695 uath_rx_data_xfer(struct uath_softc *sc) in uath_rx_data_xfer()
1733 uath_update_rxstat(struct uath_softc *sc, uint32_t status) in uath_update_rxstat()
1769 struct uath_softc *sc = arg; in uath_next_scan()
1779 uath_create_connection(struct uath_softc *sc, uint32_t connid) in uath_create_connection()
1812 uath_set_rates(struct uath_softc *sc, const struct ieee80211_rateset *rs) in uath_set_rates()
1832 uath_write_associd(struct uath_softc *sc) in uath_write_associd()
1850 uath_set_ledsteady(struct uath_softc *sc, int lednum, int ledmode) in uath_set_ledsteady()
1867 uath_set_ledblink(struct uath_softc *sc, int lednum, int ledmode, in uath_set_ledblink()
1892 struct uath_softc *sc = (struct uath_softc *)ic; in uath_newstate()
1993 struct uath_softc *sc = (struct uath_softc *)ic; in uath_send()
2141 struct uath_softc *sc; in uath_reconnect()
2286 struct uath_softc *sc; in uath_disconnect()
2327 uath_dataflush(struct uath_softc *sc) in uath_dataflush()
2375 uath_cmdflush(struct uath_softc *sc) in uath_cmdflush()
2381 uath_flush(struct uath_softc *sc) in uath_flush()
2399 uath_set_ledstate(struct uath_softc *sc, int connected) in uath_set_ledstate()
2413 uath_config_multi(struct uath_softc *sc, uint32_t reg, const void *data, in uath_config_multi()
2434 uath_config(struct uath_softc *sc, uint32_t reg, uint32_t val) in uath_config()
2453 uath_switch_channel(struct uath_softc *sc, struct ieee80211_channel *c) in uath_switch_channel()
2500 uath_set_rxfilter(struct uath_softc *sc, uint32_t bits, uint32_t op) in uath_set_rxfilter()
2515 uath_set_chan(struct uath_softc *sc, struct ieee80211_channel *c) in uath_set_chan()
2548 uath_reset_tx_queues(struct uath_softc *sc) in uath_reset_tx_queues()
2563 uath_wme_init(struct uath_softc *sc) in uath_wme_init()
2599 struct uath_softc *sc = (struct uath_softc *)arg; in uath_stop_locked()
2619 struct uath_softc *sc = arg; in uath_init_locked()
2704 uath_init(struct uath_softc *sc) in uath_init()
2721 uath_stop(struct uath_softc *sc) in uath_stop()
2732 uath_resume(struct uath_softc *sc) in uath_resume()
2775 struct uath_softc *sc = (struct uath_softc *)arg; in uath_m_start()
2801 struct uath_softc *sc = (struct uath_softc *)arg; in uath_m_stop()
2817 struct uath_softc *sc = (struct uath_softc *)arg; in uath_m_ioctl()
2865 struct uath_softc *sc = (struct uath_softc *)arg; in uath_m_setprop()
2889 struct uath_softc *sc = (struct uath_softc *)arg; in uath_m_getprop()
2901 struct uath_softc *sc = (struct uath_softc *)arg; in uath_m_propinfo()
2909 struct uath_softc *sc = (struct uath_softc *)arg; in uath_m_stat()
2975 struct uath_softc *sc = (struct uath_softc *)arg; in uath_m_tx()
3007 struct uath_softc *sc; in uath_attach()
3286 struct uath_softc *sc; in uath_detach()
3365 sizeof (struct uath_softc), 1); in _init()