Lines Matching refs:zyd_softc

127 static void	zyd_setup_tx_list(struct zyd_softc *);
128 static void zyd_unsetup_tx_list(struct zyd_softc *);
130 static int zyd_cmd(struct zyd_softc *, uint16_t, const void *, int,
132 static int zyd_read16(struct zyd_softc *, uint16_t, uint16_t *);
133 static int zyd_read32(struct zyd_softc *, uint16_t, uint32_t *);
134 static int zyd_write16(struct zyd_softc *, uint16_t, uint16_t);
135 static int zyd_write32(struct zyd_softc *, uint16_t, uint32_t);
136 static int zyd_rfwrite(struct zyd_softc *, uint32_t);
137 static int zyd_lock_phy(struct zyd_softc *);
138 static int zyd_unlock_phy(struct zyd_softc *);
139 static int zyd_rf_attach(struct zyd_softc *, uint8_t);
141 static int zyd_hw_init(struct zyd_softc *);
142 static int zyd_read_pod(struct zyd_softc *);
143 static int zyd_read_eeprom(struct zyd_softc *);
144 static int zyd_get_macaddr(struct zyd_softc *);
145 static int zyd_set_macaddr(struct zyd_softc *, const uint8_t *);
146 static int zyd_set_bssid(struct zyd_softc *, const uint8_t *);
147 static int zyd_switch_radio(struct zyd_softc *, int);
148 static int zyd_set_led(struct zyd_softc *, int, int);
149 static void zyd_set_multi(struct zyd_softc *);
151 static int zyd_set_rxfilter(struct zyd_softc *);
152 static void zyd_set_chan(struct zyd_softc *, struct ieee80211_channel *);
153 static int zyd_set_beacon_interval(struct zyd_softc *, int);
155 static int zyd_tx_start(struct zyd_softc *, struct mbuf *,
158 static void zyd_start(struct zyd_softc *);
162 static void zyd_init_locked(struct zyd_softc *);
163 static void zyd_stop(struct zyd_softc *);
164 static int zyd_loadfirmware(struct zyd_softc *);
337 struct zyd_softc *sc = device_get_softc(dev);
425 zyd_drain_mbufq(struct zyd_softc *sc)
443 struct zyd_softc *sc = device_get_softc(dev);
526 struct zyd_softc *sc = data->sc;
538 zyd_setup_tx_list(struct zyd_softc *sc)
557 zyd_unsetup_tx_list(struct zyd_softc *sc)
587 struct zyd_softc *sc = ic->ic_softc;
630 struct zyd_softc *sc = usbd_xfer_softc(xfer);
746 struct zyd_softc *sc = usbd_xfer_softc(xfer);
793 zyd_cmd(struct zyd_softc *sc, uint16_t code, const void *idata, int ilen,
830 zyd_read16(struct zyd_softc *sc, uint16_t reg, uint16_t *val)
844 zyd_read32(struct zyd_softc *sc, uint16_t reg, uint32_t *val)
860 zyd_write16(struct zyd_softc *sc, uint16_t reg, uint16_t val)
871 zyd_write32(struct zyd_softc *sc, uint16_t reg, uint32_t val)
884 zyd_rfwrite(struct zyd_softc *sc, uint32_t val)
907 zyd_rfwrite_cr(struct zyd_softc *sc, uint32_t val)
919 zyd_lock_phy(struct zyd_softc *sc)
932 zyd_unlock_phy(struct zyd_softc *sc)
950 struct zyd_softc *sc = rf->rf_sc;
973 struct zyd_softc *sc = rf->rf_sc;
985 struct zyd_softc *sc = rf->rf_sc;
1007 struct zyd_softc *sc = rf->rf_sc;
1064 struct zyd_softc *sc = rf->rf_sc;
1081 struct zyd_softc *sc = rf->rf_sc;
1150 struct zyd_softc *sc = rf->rf_sc;
1163 struct zyd_softc *sc = rf->rf_sc;
1191 struct zyd_softc *sc = rf->rf_sc;
1224 struct zyd_softc *sc = rf->rf_sc;
1244 struct zyd_softc *sc = rf->rf_sc;
1283 struct zyd_softc *sc = rf->rf_sc;
1294 struct zyd_softc *sc = rf->rf_sc;
1338 struct zyd_softc *sc = rf->rf_sc;
1379 struct zyd_softc *sc = rf->rf_sc;
1409 struct zyd_softc *sc = rf->rf_sc;
1463 struct zyd_softc *sc = rf->rf_sc;
1480 struct zyd_softc *sc = rf->rf_sc;
1495 struct zyd_softc *sc = rf->rf_sc;
1504 struct zyd_softc *sc = rf->rf_sc;
1521 struct zyd_softc *sc = rf->rf_sc;
1551 struct zyd_softc *sc = rf->rf_sc;
1570 struct zyd_softc *sc = rf->rf_sc;
1605 struct zyd_softc *sc = rf->rf_sc;
1646 zyd_rf_attach(struct zyd_softc *sc, uint8_t type)
1722 zyd_hw_init(struct zyd_softc *sc)
1835 zyd_read_pod(struct zyd_softc *sc)
1855 zyd_read_eeprom(struct zyd_softc *sc)
1883 zyd_get_macaddr(struct zyd_softc *sc)
1904 zyd_set_macaddr(struct zyd_softc *sc, const uint8_t *addr)
1918 zyd_set_bssid(struct zyd_softc *sc, const uint8_t *addr)
1932 zyd_switch_radio(struct zyd_softc *sc, int on)
1949 zyd_set_led(struct zyd_softc *sc, int which, int on)
1964 zyd_set_multi(struct zyd_softc *sc)
2015 struct zyd_softc *sc = ic->ic_softc;
2023 zyd_set_rxfilter(struct zyd_softc *sc)
2047 zyd_set_chan(struct zyd_softc *sc, struct ieee80211_channel *c)
2112 zyd_set_beacon_interval(struct zyd_softc *sc, int bintval)
2140 struct zyd_softc *sc = usbd_xfer_softc(xfer);
2214 struct zyd_softc *sc = usbd_xfer_softc(xfer);
2304 zyd_plcp_signal(struct zyd_softc *sc, int rate)
2342 struct zyd_softc *sc = usbd_xfer_softc(xfer);
2423 zyd_tx_start(struct zyd_softc *sc, struct mbuf *m0, struct ieee80211_node *ni)
2543 struct zyd_softc *sc = ic->ic_softc;
2563 zyd_start(struct zyd_softc *sc)
2587 struct zyd_softc *sc = ic->ic_softc;
2619 struct zyd_softc *sc = ic->ic_softc;
2641 zyd_init_locked(struct zyd_softc *sc)
2749 zyd_stop(struct zyd_softc *sc)
2786 zyd_loadfirmware(struct zyd_softc *sc)
2848 struct zyd_softc *sc = ic->ic_softc;
2859 struct zyd_softc *sc = ic->ic_softc;
2883 struct zyd_softc *sc = ic->ic_softc;
2901 .size = sizeof(struct zyd_softc)