Lines Matching refs:urtw_softc

110 static int  urtw_tx_start(struct urtw_softc *, mblk_t *, int);
111 static int urtw_rx_start(struct urtw_softc *);
497 static void urtw_stop(struct urtw_softc *);
498 static int urtw_set_channel(struct urtw_softc *);
504 urtw_read8_c(struct urtw_softc *, int, uint8_t *, uint8_t);
506 urtw_read16_c(struct urtw_softc *, int, uint16_t *, uint8_t);
508 urtw_read32_c(struct urtw_softc *, int, uint32_t *, uint8_t);
510 urtw_write8_c(struct urtw_softc *, int, uint8_t, uint8_t);
512 urtw_write16_c(struct urtw_softc *, int, uint16_t, uint8_t);
514 urtw_write32_c(struct urtw_softc *, int, uint32_t, uint8_t);
515 static usbd_status urtw_eprom_cs(struct urtw_softc *, int);
516 static usbd_status urtw_eprom_ck(struct urtw_softc *);
517 static usbd_status urtw_eprom_sendbits(struct urtw_softc *, int16_t *,
519 static usbd_status urtw_eprom_read32(struct urtw_softc *, uint32_t,
521 static usbd_status urtw_eprom_readbit(struct urtw_softc *, int16_t *);
522 static usbd_status urtw_eprom_writebit(struct urtw_softc *, int16_t);
523 static usbd_status urtw_get_macaddr(struct urtw_softc *);
524 static usbd_status urtw_get_txpwr(struct urtw_softc *);
525 static usbd_status urtw_get_rfchip(struct urtw_softc *);
526 static usbd_status urtw_led_init(struct urtw_softc *);
528 urtw_8225_read(struct urtw_softc *, uint8_t, uint32_t *);
534 static usbd_status urtw_open_pipes(struct urtw_softc *);
535 static void urtw_close_pipes(struct urtw_softc *);
538 static void urtw_8187b_update_wmm(struct urtw_softc *);
539 static usbd_status urtw_8187b_reset(struct urtw_softc *);
541 static void urtw_8225v2_b_config_mac(struct urtw_softc *);
542 static void urtw_8225v2_b_init_rfe(struct urtw_softc *);
543 static usbd_status urtw_8225v2_b_update_chan(struct urtw_softc *);
546 static void urtw_8225v2_b_set_txpwrlvl(struct urtw_softc *, int);
596 urtw_led_init(struct urtw_softc *sc)
631 urtw_8225_write_s16(struct urtw_softc *sc, uint8_t addr, int index,
672 urtw_8225_read(struct urtw_softc *sc, uint8_t addr, uint32_t *data)
799 urtw_8225_write_c(struct urtw_softc *sc, uint8_t addr, uint16_t data)
843 urtw_8225_isv2(struct urtw_softc *sc, int *ret)
880 urtw_get_rfchip(struct urtw_softc *sc)
943 urtw_get_txpwr(struct urtw_softc *sc)
1015 urtw_get_macaddr(struct urtw_softc *sc)
1046 urtw_eprom_read32(struct urtw_softc *sc, uint32_t addr, uint32_t *data)
1125 urtw_eprom_readbit(struct urtw_softc *sc, int16_t *data)
1137 urtw_eprom_sendbits(struct urtw_softc *sc, int16_t *buf, int buflen)
1155 urtw_eprom_writebit(struct urtw_softc *sc, int16_t bit)
1174 urtw_eprom_ck(struct urtw_softc *sc)
1195 urtw_eprom_cs(struct urtw_softc *sc, int able)
1214 urtw_read8_c(struct urtw_softc *sc, int val, uint8_t *data, uint8_t idx)
1245 urtw_read8e(struct urtw_softc *sc, int val, uint8_t *data)
1278 urtw_read16_c(struct urtw_softc *sc, int val, uint16_t *data, uint8_t idx)
1311 urtw_read32_c(struct urtw_softc *sc, int val, uint32_t *data, uint8_t idx)
1345 urtw_write8_c(struct urtw_softc *sc, int val, uint8_t data, uint8_t idx)
1381 urtw_write8e(struct urtw_softc *sc, int val, uint8_t data)
1419 urtw_write16_c(struct urtw_softc *sc, int val, uint16_t data, uint8_t idx)
1456 urtw_write32_c(struct urtw_softc *sc, int val, uint32_t data, uint8_t idx)
1494 urtw_set_mode(struct urtw_softc *sc, uint32_t mode)
1509 urtw_8180_set_anaparam(struct urtw_softc *sc, uint32_t val)
1539 urtw_8185_set_anaparam2(struct urtw_softc *sc, uint32_t val)
1569 urtw_intr_disable(struct urtw_softc *sc)
1578 urtw_8187_reset(struct urtw_softc *sc)
1635 urtw_led_on(struct urtw_softc *sc, int type)
1658 urtw_led_off(struct urtw_softc *sc, int type)
1681 urtw_led_mode0(struct urtw_softc *sc, int mode)
1744 urtw_led_mode1(struct urtw_softc *sc, int mode)
1751 urtw_led_mode2(struct urtw_softc *sc, int mode)
1758 urtw_led_mode3(struct urtw_softc *sc, int mode)
1765 urtw_led_blink(struct urtw_softc *sc)
1814 urtw_led_ctl(struct urtw_softc *sc, int mode)
1841 urtw_update_msr(struct urtw_softc *sc, int nstate)
1910 urtw_set_rate(struct urtw_softc *sc)
1937 urtw_intr_enable(struct urtw_softc *sc)
1946 urtw_rx_setconf(struct urtw_softc *sc)
1979 urtw_rx_enable(struct urtw_softc *sc)
2004 urtw_tx_enable(struct urtw_softc *sc)
2045 struct urtw_softc *sc = arg;
2131 urtw_8225_usb_init(struct urtw_softc *sc)
2162 urtw_8185_rf_pins_enable(struct urtw_softc *sc)
2171 urtw_8187_write_phy(struct urtw_softc *sc, uint8_t addr, uint32_t data)
2193 urtw_8187_write_phy_ofdm_c(struct urtw_softc *sc, uint8_t addr, uint32_t data)
2200 urtw_8187_write_phy_cck_c(struct urtw_softc *sc, uint8_t addr, uint32_t data)
2207 urtw_8225_setgain(struct urtw_softc *sc, int16_t gain)
2227 urtw_8225_set_txpwrlvl(struct urtw_softc *sc, int chan)
2288 urtw_8185_tx_antenna(struct urtw_softc *sc, uint8_t ant)
2304 struct urtw_softc *sc = rf->rf_sc;
2421 struct urtw_softc *sc = rf->rf_sc;
2467 struct urtw_softc *sc = rf->rf_sc;
2489 urtw_stop(struct urtw_softc *sc)
2510 struct urtw_softc *sc = (struct urtw_softc *)req->bulk_client_private;
2597 urtw_8225v2_setgain(struct urtw_softc *sc, int16_t gain)
2620 urtw_8225v2_set_txpwrlvl(struct urtw_softc *sc, int chan)
2683 struct urtw_softc *sc = rf->rf_sc;
2825 struct urtw_softc *sc = rf->rf_sc;
2872 urtw_set_channel(struct urtw_softc *sc)
2899 struct urtw_softc *sc = (struct urtw_softc *)req->bulk_client_private;
2928 struct urtw_softc *sc = (struct urtw_softc *)req->bulk_client_private;
2973 urtw_8187b_update_wmm(struct urtw_softc *sc)
3001 urtw_8187b_reset(struct urtw_softc *sc)
3053 struct urtw_softc *sc = arg;
3155 urtw_8225v2_b_config_mac(struct urtw_softc *sc)
3177 urtw_8225v2_b_init_rfe(struct urtw_softc *sc)
3186 urtw_8225v2_b_update_chan(struct urtw_softc *sc)
3221 struct urtw_softc *sc = rf->rf_sc;
3326 struct urtw_softc *sc = rf->rf_sc;
3353 urtw_8225v2_b_set_txpwrlvl(struct urtw_softc *sc, int chan)
3452 struct urtw_softc *sc = (struct urtw_softc *)ic;
3596 struct urtw_softc *sc = (struct urtw_softc *)arg;
3612 struct urtw_softc *sc = arg;
3647 struct urtw_softc *sc = (struct urtw_softc *)ic;
3739 urtw_close_pipes(struct urtw_softc *sc)
3769 urtw_open_pipes(struct urtw_softc *sc)
3834 urtw_tx_start(struct urtw_softc *sc, mblk_t *mp, int priority)
3877 urtw_rx_start(struct urtw_softc *sc)
3918 struct urtw_softc *sc;
3939 struct urtw_softc *sc;
3962 struct urtw_softc *sc = (struct urtw_softc *)arg;
3987 struct urtw_softc *sc = (struct urtw_softc *)arg;
3999 struct urtw_softc *sc = (struct urtw_softc *)arg;
4033 struct urtw_softc *sc = (struct urtw_softc *)arg;
4045 struct urtw_softc *sc = (struct urtw_softc *)arg;
4054 struct urtw_softc *sc = (struct urtw_softc *)arg;
4083 struct urtw_softc *sc = (struct urtw_softc *)arg;
4109 struct urtw_softc *sc = (struct urtw_softc *)arg;
4173 struct urtw_softc *sc = arg;
4203 struct urtw_softc *sc;
4473 struct urtw_softc *sc;
4538 sizeof (struct urtw_softc), 1);