Lines Matching refs:zyd_softc
122 static void zyd_setup_tx_list(struct zyd_softc *);
123 static void zyd_unsetup_tx_list(struct zyd_softc *);
125 static int zyd_cmd(struct zyd_softc *, uint16_t, const void *, int,
127 static int zyd_read16(struct zyd_softc *, uint16_t, uint16_t *);
128 static int zyd_read32(struct zyd_softc *, uint16_t, uint32_t *);
129 static int zyd_write16(struct zyd_softc *, uint16_t, uint16_t);
130 static int zyd_write32(struct zyd_softc *, uint16_t, uint32_t);
131 static int zyd_rfwrite(struct zyd_softc *, uint32_t);
132 static int zyd_lock_phy(struct zyd_softc *);
133 static int zyd_unlock_phy(struct zyd_softc *);
134 static int zyd_rf_attach(struct zyd_softc *, uint8_t);
136 static int zyd_hw_init(struct zyd_softc *);
137 static int zyd_read_pod(struct zyd_softc *);
138 static int zyd_read_eeprom(struct zyd_softc *);
139 static int zyd_get_macaddr(struct zyd_softc *);
140 static int zyd_set_macaddr(struct zyd_softc *, const uint8_t *);
141 static int zyd_set_bssid(struct zyd_softc *, const uint8_t *);
142 static int zyd_switch_radio(struct zyd_softc *, int);
143 static int zyd_set_led(struct zyd_softc *, int, int);
144 static void zyd_set_multi(struct zyd_softc *);
146 static int zyd_set_rxfilter(struct zyd_softc *);
147 static void zyd_set_chan(struct zyd_softc *, struct ieee80211_channel *);
148 static int zyd_set_beacon_interval(struct zyd_softc *, int);
150 static int zyd_tx_start(struct zyd_softc *, struct mbuf *,
153 static void zyd_start(struct zyd_softc *);
157 static void zyd_init_locked(struct zyd_softc *);
158 static void zyd_stop(struct zyd_softc *);
159 static int zyd_loadfirmware(struct zyd_softc *);
332 struct zyd_softc *sc = device_get_softc(dev); in zyd_attach()
420 zyd_drain_mbufq(struct zyd_softc *sc) in zyd_drain_mbufq()
437 struct zyd_softc *sc = device_get_softc(dev); in zyd_detach()
520 struct zyd_softc *sc = data->sc; in zyd_tx_free()
532 zyd_setup_tx_list(struct zyd_softc *sc) in zyd_setup_tx_list()
551 zyd_unsetup_tx_list(struct zyd_softc *sc) in zyd_unsetup_tx_list()
581 struct zyd_softc *sc = ic->ic_softc; in zyd_newstate()
624 struct zyd_softc *sc = usbd_xfer_softc(xfer); in zyd_intr_read_callback()
751 struct zyd_softc *sc = usbd_xfer_softc(xfer); in zyd_intr_write_callback()
798 zyd_cmd(struct zyd_softc *sc, uint16_t code, const void *idata, int ilen, in zyd_cmd()
835 zyd_read16(struct zyd_softc *sc, uint16_t reg, uint16_t *val) in zyd_read16()
849 zyd_read32(struct zyd_softc *sc, uint16_t reg, uint32_t *val) in zyd_read32()
865 zyd_write16(struct zyd_softc *sc, uint16_t reg, uint16_t val) in zyd_write16()
876 zyd_write32(struct zyd_softc *sc, uint16_t reg, uint32_t val) in zyd_write32()
889 zyd_rfwrite(struct zyd_softc *sc, uint32_t val) in zyd_rfwrite()
912 zyd_rfwrite_cr(struct zyd_softc *sc, uint32_t val) in zyd_rfwrite_cr()
924 zyd_lock_phy(struct zyd_softc *sc) in zyd_lock_phy()
937 zyd_unlock_phy(struct zyd_softc *sc) in zyd_unlock_phy()
955 struct zyd_softc *sc = rf->rf_sc; in zyd_rfmd_init()
978 struct zyd_softc *sc = rf->rf_sc; in zyd_rfmd_switch_radio()
990 struct zyd_softc *sc = rf->rf_sc; in zyd_rfmd_set_channel()
1012 struct zyd_softc *sc = rf->rf_sc; in zyd_al2230_init()
1069 struct zyd_softc *sc = rf->rf_sc; in zyd_al2230_fini()
1086 struct zyd_softc *sc = rf->rf_sc; in zyd_al2230_init_b()
1155 struct zyd_softc *sc = rf->rf_sc; in zyd_al2230_switch_radio()
1168 struct zyd_softc *sc = rf->rf_sc; in zyd_al2230_set_channel()
1196 struct zyd_softc *sc = rf->rf_sc; in zyd_al2230_set_channel_b()
1229 struct zyd_softc *sc = rf->rf_sc; in zyd_al2230_bandedge6()
1249 struct zyd_softc *sc = rf->rf_sc; in zyd_al7230B_init()
1288 struct zyd_softc *sc = rf->rf_sc; in zyd_al7230B_switch_radio()
1299 struct zyd_softc *sc = rf->rf_sc; in zyd_al7230B_set_channel()
1343 struct zyd_softc *sc = rf->rf_sc; in zyd_al2210_init()
1384 struct zyd_softc *sc = rf->rf_sc; in zyd_al2210_set_channel()
1414 struct zyd_softc *sc = rf->rf_sc; in zyd_gct_init()
1468 struct zyd_softc *sc = rf->rf_sc; in zyd_gct_mode()
1485 struct zyd_softc *sc = rf->rf_sc; in zyd_gct_set_channel_synth()
1500 struct zyd_softc *sc = rf->rf_sc; in zyd_gct_write()
1509 struct zyd_softc *sc = rf->rf_sc; in zyd_gct_switch_radio()
1526 struct zyd_softc *sc = rf->rf_sc; in zyd_gct_set_channel()
1556 struct zyd_softc *sc = rf->rf_sc; in zyd_gct_txgain()
1575 struct zyd_softc *sc = rf->rf_sc; in zyd_maxim2_init()
1610 struct zyd_softc *sc = rf->rf_sc; in zyd_maxim2_set_channel()
1651 zyd_rf_attach(struct zyd_softc *sc, uint8_t type) in zyd_rf_attach()
1727 zyd_hw_init(struct zyd_softc *sc) in zyd_hw_init()
1840 zyd_read_pod(struct zyd_softc *sc) in zyd_read_pod()
1860 zyd_read_eeprom(struct zyd_softc *sc) in zyd_read_eeprom()
1888 zyd_get_macaddr(struct zyd_softc *sc) in zyd_get_macaddr()
1909 zyd_set_macaddr(struct zyd_softc *sc, const uint8_t *addr) in zyd_set_macaddr()
1923 zyd_set_bssid(struct zyd_softc *sc, const uint8_t *addr) in zyd_set_bssid()
1937 zyd_switch_radio(struct zyd_softc *sc, int on) in zyd_switch_radio()
1954 zyd_set_led(struct zyd_softc *sc, int which, int on) in zyd_set_led()
1984 zyd_set_multi(struct zyd_softc *sc) in zyd_set_multi()
2019 struct zyd_softc *sc = ic->ic_softc; in zyd_update_mcast()
2027 zyd_set_rxfilter(struct zyd_softc *sc) in zyd_set_rxfilter()
2051 zyd_set_chan(struct zyd_softc *sc, struct ieee80211_channel *c) in zyd_set_chan()
2116 zyd_set_beacon_interval(struct zyd_softc *sc, int bintval) in zyd_set_beacon_interval()
2144 struct zyd_softc *sc = usbd_xfer_softc(xfer); in zyd_rx_data()
2218 struct zyd_softc *sc = usbd_xfer_softc(xfer); in zyd_bulk_read_callback()
2308 zyd_plcp_signal(struct zyd_softc *sc, int rate) in zyd_plcp_signal()
2346 struct zyd_softc *sc = usbd_xfer_softc(xfer); in zyd_bulk_write_callback()
2427 zyd_tx_start(struct zyd_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) in zyd_tx_start()
2547 struct zyd_softc *sc = ic->ic_softc; in zyd_transmit()
2567 zyd_start(struct zyd_softc *sc) in zyd_start()
2591 struct zyd_softc *sc = ic->ic_softc; in zyd_raw_xmit()
2623 struct zyd_softc *sc = ic->ic_softc; in zyd_parent()
2645 zyd_init_locked(struct zyd_softc *sc) in zyd_init_locked()
2753 zyd_stop(struct zyd_softc *sc) in zyd_stop()
2790 zyd_loadfirmware(struct zyd_softc *sc) in zyd_loadfirmware()
2852 struct zyd_softc *sc = ic->ic_softc; in zyd_scan_start()
2863 struct zyd_softc *sc = ic->ic_softc; in zyd_scan_end()
2886 struct zyd_softc *sc = ic->ic_softc; in zyd_set_channel()
2904 .size = sizeof(struct zyd_softc)