Lines Matching defs:rtwn_softc

83 struct rtwn_softc;
90 #define CMD_FUNC_PROTO void (*func)(struct rtwn_softc *, \
170 struct rtwn_softc {
262 int (*sc_write_1)(struct rtwn_softc *, uint16_t,
264 int (*sc_write_2)(struct rtwn_softc *, uint16_t,
266 int (*sc_write_4)(struct rtwn_softc *, uint16_t,
268 uint8_t (*sc_read_1)(struct rtwn_softc *, uint16_t);
269 uint16_t (*sc_read_2)(struct rtwn_softc *, uint16_t);
270 uint32_t (*sc_read_4)(struct rtwn_softc *, uint16_t);
272 void (*sc_delay)(struct rtwn_softc *, int);
273 int (*sc_tx_start)(struct rtwn_softc *,
276 void (*sc_start_xfers)(struct rtwn_softc *);
277 void (*sc_reset_lists)(struct rtwn_softc *,
279 void (*sc_abort_xfers)(struct rtwn_softc *);
280 int (*sc_fw_write_block)(struct rtwn_softc *,
282 uint16_t (*sc_get_qmap)(struct rtwn_softc *);
283 void (*sc_set_desc_addr)(struct rtwn_softc *);
284 void (*sc_drop_incorrect_tx)(struct rtwn_softc *);
285 void (*sc_beacon_update_begin)(struct rtwn_softc *,
287 void (*sc_beacon_update_end)(struct rtwn_softc *,
289 void (*sc_beacon_unload)(struct rtwn_softc *, int);
295 uint32_t (*sc_rf_read)(struct rtwn_softc *, int, uint8_t);
296 void (*sc_rf_write)(struct rtwn_softc *, int, uint8_t,
298 int (*sc_check_condition)(struct rtwn_softc *,
300 void (*sc_efuse_postread)(struct rtwn_softc *);
301 void (*sc_parse_rom)(struct rtwn_softc *, uint8_t *);
302 void (*sc_set_led)(struct rtwn_softc *, int, int);
303 int (*sc_power_on)(struct rtwn_softc *);
304 void (*sc_power_off)(struct rtwn_softc *);
306 void (*sc_fw_reset)(struct rtwn_softc *, int);
307 void (*sc_fw_download_enable)(struct rtwn_softc *, int);
309 int (*sc_llt_init)(struct rtwn_softc *);
310 int (*sc_set_page_size)(struct rtwn_softc *);
311 void (*sc_lc_calib)(struct rtwn_softc *);
312 void (*sc_iq_calib)(struct rtwn_softc *);
313 void (*sc_read_chipid_vendor)(struct rtwn_softc *,
315 void (*sc_adj_devcaps)(struct rtwn_softc *);
316 void (*sc_vap_preattach)(struct rtwn_softc *,
318 void (*sc_postattach)(struct rtwn_softc *);
319 void (*sc_detach_private)(struct rtwn_softc *);
320 void (*sc_fill_tx_desc)(struct rtwn_softc *,
323 void (*sc_fill_tx_desc_raw)(struct rtwn_softc *,
326 void (*sc_fill_tx_desc_null)(struct rtwn_softc *,
328 void (*sc_dump_tx_desc)(struct rtwn_softc *, const void *);
331 void (*sc_beacon_init)(struct rtwn_softc *, void *, int);
332 void (*sc_beacon_enable)(struct rtwn_softc *, int, int);
334 void (*sc_beacon_select)(struct rtwn_softc *, int);
335 void (*sc_set_chan)(struct rtwn_softc *,
337 void (*sc_set_media_status)(struct rtwn_softc *, int);
339 int (*sc_set_rsvd_page)(struct rtwn_softc *, int, int,
341 int (*sc_set_pwrmode)(struct rtwn_softc *,
343 void (*sc_set_rssi)(struct rtwn_softc *);
345 void (*sc_get_rx_stats)(struct rtwn_softc *,
348 int8_t (*sc_get_rssi_cck)(struct rtwn_softc *, void *);
349 int8_t (*sc_get_rssi_ofdm)(struct rtwn_softc *, void *);
350 int (*sc_classify_intr)(struct rtwn_softc *, void *, int);
351 void (*sc_handle_tx_report)(struct rtwn_softc *, uint8_t *,
353 void (*sc_handle_c2h_report)(struct rtwn_softc *,
355 int (*sc_check_frame)(struct rtwn_softc *, struct mbuf *);
356 void (*sc_temp_measure)(struct rtwn_softc *);
357 uint8_t (*sc_temp_read)(struct rtwn_softc *);
358 void (*sc_init_tx_agg)(struct rtwn_softc *);
359 void (*sc_init_rx_agg)(struct rtwn_softc *);
360 void (*sc_init_intr)(struct rtwn_softc *);
361 void (*sc_init_ampdu)(struct rtwn_softc *);
362 void (*sc_init_edca)(struct rtwn_softc *);
363 void (*sc_init_bb)(struct rtwn_softc *);
364 void (*sc_init_rf)(struct rtwn_softc *);
365 void (*sc_init_antsel)(struct rtwn_softc *);
366 void (*sc_post_init)(struct rtwn_softc *);
367 int (*sc_init_bcnq1_boundary)(struct rtwn_softc *);
425 void rtwn_sysctlattach(struct rtwn_softc *);
427 int rtwn_attach(struct rtwn_softc *);
428 void rtwn_detach(struct rtwn_softc *);
429 void rtwn_resume(struct rtwn_softc *);
430 void rtwn_suspend(struct rtwn_softc *);
595 rtwn_setbits_1(struct rtwn_softc *sc, uint16_t addr, uint8_t clr,
603 rtwn_setbits_1_shift(struct rtwn_softc *sc, uint16_t addr, uint32_t clr,
611 rtwn_setbits_2(struct rtwn_softc *sc, uint16_t addr, uint16_t clr,
619 rtwn_setbits_4(struct rtwn_softc *sc, uint16_t addr, uint32_t clr,
627 rtwn_rf_setbits(struct rtwn_softc *sc, int chain, uint8_t addr,