Home | History | Annotate | Download | only in usb

Lines Matching refs:zyd_softc

164 CFATTACH_DECL_NEW(zyd, sizeof(struct zyd_softc), zyd_match,
168 Static int zyd_complete_attach(struct zyd_softc *);
169 Static int zyd_open_pipes(struct zyd_softc *);
170 Static void zyd_close_pipes(struct zyd_softc *);
171 Static int zyd_alloc_tx_list(struct zyd_softc *);
172 Static void zyd_free_tx_list(struct zyd_softc *);
173 Static int zyd_alloc_rx_list(struct zyd_softc *);
174 Static void zyd_free_rx_list(struct zyd_softc *);
180 Static int zyd_cmd(struct zyd_softc *, uint16_t, const void *, int,
182 Static int zyd_read16(struct zyd_softc *, uint16_t, uint16_t *);
183 Static int zyd_read32(struct zyd_softc *, uint16_t, uint32_t *);
184 Static int zyd_write16(struct zyd_softc *, uint16_t, uint16_t);
185 Static int zyd_write32(struct zyd_softc *, uint16_t, uint32_t);
186 Static int zyd_rfwrite(struct zyd_softc *, uint32_t);
187 Static void zyd_lock_phy(struct zyd_softc *);
188 Static void zyd_unlock_phy(struct zyd_softc *);
211 Static int zyd_rf_attach(struct zyd_softc *, uint8_t);
213 Static int zyd_hw_init(struct zyd_softc *);
214 Static int zyd_read_eeprom(struct zyd_softc *);
215 Static int zyd_set_macaddr(struct zyd_softc *, const uint8_t *);
216 Static int zyd_set_bssid(struct zyd_softc *, const uint8_t *);
217 Static int zyd_switch_radio(struct zyd_softc *, int);
218 Static void zyd_set_led(struct zyd_softc *, int, int);
219 Static int zyd_set_rxfilter(struct zyd_softc *);
220 Static void zyd_set_chan(struct zyd_softc *, struct ieee80211_channel *);
221 Static int zyd_set_beacon_interval(struct zyd_softc *, int);
224 Static void zyd_rx_data(struct zyd_softc *, const uint8_t *, uint16_t);
227 Static int zyd_tx_mgt(struct zyd_softc *, struct mbuf *,
229 Static int zyd_tx_data(struct zyd_softc *, struct mbuf *,
236 Static int zyd_loadfirmware(struct zyd_softc *, u_char *, size_t);
253 struct zyd_softc *sc = device_private(self);
302 struct zyd_softc *sc = device_private(self);
346 zyd_complete_attach(struct zyd_softc *sc)
463 struct zyd_softc *sc = device_private(self);
497 zyd_open_pipes(struct zyd_softc *sc)
556 zyd_close_pipes(struct zyd_softc *sc)
573 zyd_alloc_tx_list(struct zyd_softc *sc)
603 zyd_free_tx_list(struct zyd_softc *sc)
622 zyd_alloc_rx_list(struct zyd_softc *sc)
647 zyd_free_rx_list(struct zyd_softc *sc)
693 struct zyd_softc *sc = arg;
703 struct zyd_softc *sc = arg;
765 struct zyd_softc *sc = ic->ic_ifp->if_softc;
787 zyd_cmd(struct zyd_softc *sc, uint16_t code, const void *idata, int ilen,
843 zyd_read16(struct zyd_softc *sc, uint16_t reg, uint16_t *val)
859 zyd_read32(struct zyd_softc *sc, uint16_t reg, uint32_t *val)
877 zyd_write16(struct zyd_softc *sc, uint16_t reg, uint16_t val)
888 zyd_write32(struct zyd_softc *sc, uint16_t reg, uint32_t val)
901 zyd_rfwrite(struct zyd_softc *sc, uint32_t val)
922 zyd_lock_phy(struct zyd_softc *sc)
932 zyd_unlock_phy(struct zyd_softc *sc)
947 struct zyd_softc *sc = rf->rf_sc;
971 struct zyd_softc *sc = rf->rf_sc;
982 struct zyd_softc *sc = rf->rf_sc;
999 struct zyd_softc *sc = rf->rf_sc;
1033 struct zyd_softc *sc = rf->rf_sc;
1057 struct zyd_softc *sc = rf->rf_sc;
1069 struct zyd_softc *sc = rf->rf_sc;
1090 struct zyd_softc *sc = rf->rf_sc;
1136 struct zyd_softc *sc = rf->rf_sc;
1147 struct zyd_softc *sc = rf->rf_sc;
1186 struct zyd_softc *sc = rf->rf_sc;
1229 struct zyd_softc *sc = rf->rf_sc;
1257 struct zyd_softc *sc = rf->rf_sc;
1288 struct zyd_softc *sc = rf->rf_sc;
1304 struct zyd_softc *sc = rf->rf_sc;
1342 struct zyd_softc *sc = rf->rf_sc;
1387 struct zyd_softc *sc = rf->rf_sc;
1425 struct zyd_softc *sc = rf->rf_sc;
1465 zyd_rf_attach(struct zyd_softc *sc, uint8_t type)
1540 zyd_hw_init(struct zyd_softc *sc)
1623 zyd_read_eeprom(struct zyd_softc *sc)
1675 zyd_set_macaddr(struct zyd_softc *sc, const uint8_t *addr)
1689 zyd_set_bssid(struct zyd_softc *sc, const uint8_t *addr)
1703 zyd_switch_radio(struct zyd_softc *sc, int on)
1716 zyd_set_led(struct zyd_softc *sc, int which, int on)
1728 zyd_set_rxfilter(struct zyd_softc *sc)
1751 zyd_set_chan(struct zyd_softc *sc, struct ieee80211_channel *c)
1782 zyd_set_beacon_interval(struct zyd_softc *sc, int bintval)
1820 struct zyd_softc *sc = (struct zyd_softc *)priv;
1905 zyd_rx_data(struct zyd_softc *sc, const uint8_t *buf, uint16_t len)
1993 struct zyd_softc *sc = data->sc;
2049 zyd_tx_mgt(struct zyd_softc *sc, struct mbuf *m0, struct ieee80211_node *ni)
2163 struct zyd_softc *sc = data->sc;
2201 zyd_tx_data(struct zyd_softc *sc, struct mbuf *m0, struct ieee80211_node *ni)
2319 struct zyd_softc *sc = ifp->if_softc;
2383 struct zyd_softc *sc = ifp->if_softc;
2404 struct zyd_softc *sc = ifp->if_softc;
2446 struct zyd_softc *sc = ifp->if_softc;
2543 struct zyd_softc *sc = ifp->if_softc;
2569 zyd_loadfirmware(struct zyd_softc *sc, u_char *fw, size_t size)
2622 struct zyd_softc *sc = arg;
2631 struct zyd_softc *sc = arg;
2648 struct zyd_softc *sc = ni->ni_ic->ic_ifp->if_softc;
2663 struct zyd_softc *sc = device_private(self);