Lines Matching refs:atw_softc
159 static void atw_print_regs(struct atw_softc *, const char *);
163 static void atw_rf3000_print(struct atw_softc *);
164 static int atw_rf3000_read(struct atw_softc *sc, u_int, u_int *);
168 static void atw_si4126_print(struct atw_softc *);
169 static int atw_si4126_read(struct atw_softc *, u_int, u_int *);
190 void atw_attach(struct atw_softc *);
191 int atw_detach(struct atw_softc *);
192 static void atw_evcnt_attach(struct atw_softc *);
193 static void atw_evcnt_detach(struct atw_softc *);
196 int atw_add_rxbuf(struct atw_softc *, int);
197 void atw_idle(struct atw_softc *, uint32_t);
198 void atw_rxdrain(struct atw_softc *);
199 void atw_txdrain(struct atw_softc *);
202 void atw_reset(struct atw_softc *);
206 void atw_linkintr(struct atw_softc *, uint32_t);
207 void atw_rxintr(struct atw_softc *);
208 void atw_txintr(struct atw_softc *, uint32_t);
215 static int atw_tune(struct atw_softc *);
218 static void atw_bbp_io_init(struct atw_softc *);
219 static void atw_cfp_init(struct atw_softc *);
220 static void atw_cmdr_init(struct atw_softc *);
221 static void atw_ifs_init(struct atw_softc *);
222 static void atw_nar_init(struct atw_softc *);
223 static void atw_response_times_init(struct atw_softc *);
224 static void atw_rf_reset(struct atw_softc *);
225 static void atw_test1_init(struct atw_softc *);
226 static void atw_tofs0_init(struct atw_softc *);
227 static void atw_tofs2_init(struct atw_softc *);
228 static void atw_txlmt_init(struct atw_softc *);
229 static void atw_wcsr_init(struct atw_softc *);
239 static void atw_clear_sram(struct atw_softc *);
240 static void atw_write_sram(struct atw_softc *, u_int, uint8_t *, u_int);
241 static int atw_read_srom(struct atw_softc *);
244 static void atw_predict_beacon(struct atw_softc *);
245 static void atw_start_beacon(struct atw_softc *, int);
246 static void atw_write_bssid(struct atw_softc *);
247 static void atw_write_ssid(struct atw_softc *);
248 static void atw_write_sup_rates(struct atw_softc *);
249 static void atw_write_wep(struct atw_softc *);
254 static void atw_filter_setup(struct atw_softc *);
257 static uint64_t atw_get_tsft(struct atw_softc *);
266 static void atw_bbp_io_enable(struct atw_softc *, int);
269 static int atw_rf3000_init(struct atw_softc *);
270 static int atw_rf3000_tune(struct atw_softc *, u_int);
271 static int atw_rf3000_write(struct atw_softc *, u_int, u_int);
274 static void atw_si4126_tune(struct atw_softc *, u_int);
275 static void atw_si4126_write(struct atw_softc *, u_int, u_int);
312 struct atw_softc *sc = device_private(self);
326 struct atw_softc *sc = device_private(self);
336 atw_read_srom(struct atw_softc *sc)
420 atw_print_regs(struct atw_softc *sc, const char *where)
504 atw_attach(struct atw_softc *sc)
865 struct atw_softc *sc = (struct atw_softc *)nt->nt_ic->ic_ifp->if_softc;
875 struct atw_softc *sc = (struct atw_softc *)ni->ni_ic->ic_ifp->if_softc;
884 atw_test1_reset(struct atw_softc *sc)
906 atw_reset(struct atw_softc *sc)
969 atw_clear_sram(struct atw_softc *sc)
989 atw_wcsr_init(struct atw_softc *sc)
1006 atw_cmdr_init(struct atw_softc *sc)
1019 atw_tofs2_init(struct atw_softc *sc)
1047 atw_nar_init(struct atw_softc *sc)
1053 atw_txlmt_init(struct atw_softc *sc)
1060 atw_test1_init(struct atw_softc *sc)
1072 atw_rf_reset(struct atw_softc *sc)
1084 atw_cfp_init(struct atw_softc *sc)
1095 atw_tofs0_init(struct atw_softc *sc)
1112 atw_ifs_init(struct atw_softc *sc)
1128 atw_response_times_init(struct atw_softc *sc)
1145 atw_bbp_io_init(struct atw_softc *sc)
1192 struct atw_softc *sc = ifp->if_softc;
1433 atw_bbp_io_enable(struct atw_softc *sc, int enable)
1446 atw_tune(struct atw_softc *sc)
1486 atw_si4126_print(struct atw_softc *sc)
1525 atw_si4126_tune(struct atw_softc *sc, u_int chan)
1633 atw_rf3000_init(struct atw_softc *sc)
1692 atw_rf3000_print(struct atw_softc *sc)
1713 atw_rf3000_tune(struct atw_softc *sc, u_int chan)
1788 atw_rf3000_write(struct atw_softc *sc, u_int addr, u_int val)
1826 atw_rf3000_read(struct atw_softc *sc, u_int addr, u_int *val)
1875 atw_si4126_write(struct atw_softc *sc, u_int addr, u_int val)
1914 atw_si4126_read(struct atw_softc *sc, u_int addr, u_int *val)
1968 atw_filter_setup(struct atw_softc *sc)
2044 atw_write_bssid(struct atw_softc *sc)
2074 atw_write_sram(struct atw_softc *sc, u_int ofs, uint8_t *buf, u_int buflen)
2115 struct atw_softc *sc = ic->ic_ifp->if_softc;
2132 struct atw_softc *sc = ic->ic_ifp->if_softc;
2149 struct atw_softc *sc = ifp->if_softc;
2159 struct atw_softc *sc = ifp->if_softc;
2176 atw_write_wep(struct atw_softc *sc)
2237 struct atw_softc *sc = (struct atw_softc *)ic->ic_ifp->if_softc;
2267 atw_write_ssid(struct atw_softc *sc)
2288 atw_write_sup_rates(struct atw_softc *sc)
2308 atw_start_beacon(struct atw_softc *sc, int start)
2404 atw_get_tsft(struct atw_softc *sc)
2424 atw_predict_beacon(struct atw_softc *sc)
2472 struct atw_softc *sc = arg;
2488 struct atw_softc *sc = ifp->if_softc;
2554 atw_add_rxbuf(struct atw_softc *sc, int idx)
2596 atw_txdrain(struct atw_softc *sc)
2626 struct atw_softc *sc = ifp->if_softc;
2663 atw_rxdrain(struct atw_softc *sc)
2684 atw_detach(struct atw_softc *sc)
2745 struct atw_softc *sc = device_private(self);
2753 atw_workaround1(struct atw_softc *sc)
2778 struct atw_softc *sc = arg;
2814 struct atw_softc *sc = arg;
2990 atw_idle(struct atw_softc *sc, uint32_t bits)
3055 atw_linkintr(struct atw_softc *sc, uint32_t linkstatus)
3076 atw_hw_decrypted(struct atw_softc *sc, struct ieee80211_frame_min *wh)
3092 atw_rxintr(struct atw_softc *sc)
3273 atw_txintr(struct atw_softc *sc, uint32_t status)
3389 struct atw_softc *sc = ifp->if_softc;
3411 atw_evcnt_detach(struct atw_softc *sc)
3434 atw_evcnt_attach(struct atw_softc *sc)
3476 struct atw_softc *sc = ifp->if_softc;
3505 struct atw_softc *sc = ifp->if_softc;
3908 struct atw_softc *sc = ifp->if_softc;