rtwn_softc
rtwn_read_rom(struct rtwn_softc *sc)
CFATTACH_DECL_NEW(rtwn, sizeof(struct rtwn_softc), rtwn_match,
static int rtwn_alloc_rx_list(struct rtwn_softc *);
rtwn_ra_init(struct rtwn_softc *sc)
static void rtwn_reset_rx_list(struct rtwn_softc *);
static void rtwn_free_rx_list(struct rtwn_softc *);
static void rtwn_setup_rx_desc(struct rtwn_softc *, struct r92c_rx_desc_pci *,
static int rtwn_alloc_tx_list(struct rtwn_softc *, int);
static void rtwn_reset_tx_list(struct rtwn_softc *, int);
static void rtwn_free_tx_list(struct rtwn_softc *, int);
static void rtwn_write_1(struct rtwn_softc *, uint16_t, uint8_t);
rtwn_get_nettype(struct rtwn_softc *sc)
static void rtwn_write_2(struct rtwn_softc *, uint16_t, uint16_t);
static void rtwn_write_4(struct rtwn_softc *, uint16_t, uint32_t);
static uint8_t rtwn_read_1(struct rtwn_softc *, uint16_t);
rtwn_set_nettype0_msr(struct rtwn_softc *sc, uint8_t type)
static uint16_t rtwn_read_2(struct rtwn_softc *, uint16_t);
rtwn_tsf_sync_enable(struct rtwn_softc *sc)
static uint32_t rtwn_read_4(struct rtwn_softc *, uint16_t);
static int rtwn_fw_cmd(struct rtwn_softc *, uint8_t, const void *, int);
static void rtwn_rf_write(struct rtwn_softc *, int, uint8_t, uint32_t);
rtwn_set_led(struct rtwn_softc *sc, int led, int on)
static uint32_t rtwn_rf_read(struct rtwn_softc *, int, uint8_t);
static int rtwn_llt_write(struct rtwn_softc *, uint32_t, uint32_t);
struct rtwn_softc *sc = arg;
static uint8_t rtwn_efuse_read_1(struct rtwn_softc *, uint16_t);
static void rtwn_efuse_read(struct rtwn_softc *);
static int rtwn_read_chipid(struct rtwn_softc *);
struct rtwn_softc *sc = arg;
static void rtwn_efuse_switch_power(struct rtwn_softc *);
static void rtwn_read_rom(struct rtwn_softc *);
struct rtwn_softc *sc = ifp->if_softc;
static int rtwn_ra_init(struct rtwn_softc *);
struct rtwn_softc *sc = IC2IFP(ic)->if_softc;
static int rtwn_get_nettype(struct rtwn_softc *);
static void rtwn_set_nettype0_msr(struct rtwn_softc *, uint8_t);
static void rtwn_tsf_sync_enable(struct rtwn_softc *);
static void rtwn_set_led(struct rtwn_softc *, int, int);
static void rtwn_update_avgrssi(struct rtwn_softc *, int, int8_t);
static int8_t rtwn_get_rssi(struct rtwn_softc *, int, void *);
static void rtwn_rx_frame(struct rtwn_softc *, struct r92c_rx_desc_pci *,
static int rtwn_tx(struct rtwn_softc *, struct mbuf *,
static void rtwn_tx_done(struct rtwn_softc *, int);
static int rtwn_power_on(struct rtwn_softc *);
static int rtwn_llt_init(struct rtwn_softc *);
static void rtwn_fw_reset(struct rtwn_softc *);
static int rtwn_fw_loadpage(struct rtwn_softc *, int, uint8_t *, int);
static int rtwn_load_firmware(struct rtwn_softc *);
static int rtwn_dma_init(struct rtwn_softc *);
struct rtwn_softc *sc = IC2IFP(ic)->if_softc;
static void rtwn_mac_init(struct rtwn_softc *);
static void rtwn_bb_init(struct rtwn_softc *);
static void rtwn_rf_init(struct rtwn_softc *);
rtwn_update_avgrssi(struct rtwn_softc *sc, int rate, int8_t rssi)
static void rtwn_cam_init(struct rtwn_softc *);
static void rtwn_pa_bias_init(struct rtwn_softc *);
static void rtwn_rxfilter_init(struct rtwn_softc *);
static void rtwn_edca_init(struct rtwn_softc *);
rtwn_get_rssi(struct rtwn_softc *sc, int rate, void *physt)
static void rtwn_write_txpower(struct rtwn_softc *, int,
rtwn_rx_frame(struct rtwn_softc *sc, struct r92c_rx_desc_pci *rx_desc,
static void rtwn_get_txpower(struct rtwn_softc *, int,
static void rtwn_set_txpower(struct rtwn_softc *,
static void rtwn_set_chan(struct rtwn_softc *,
static void rtwn_iq_calib(struct rtwn_softc *);
static void rtwn_lc_calib(struct rtwn_softc *);
static void rtwn_temp_calib(struct rtwn_softc *);
rtwn_tx(struct rtwn_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
rtwn_tx_done(struct rtwn_softc *sc, int qid)
struct rtwn_softc *sc = ifp->if_softc;
struct rtwn_softc *sc = ifp->if_softc;
struct rtwn_softc *sc = device_private(self);
struct rtwn_softc *sc = ifp->if_softc;
rtwn_power_on(struct rtwn_softc *sc)
rtwn_llt_init(struct rtwn_softc *sc)
rtwn_fw_reset(struct rtwn_softc *sc)
rtwn_fw_loadpage(struct rtwn_softc *sc, int page, uint8_t *buf, int len)
rtwn_load_firmware(struct rtwn_softc *sc)
rtwn_dma_init(struct rtwn_softc *sc)
rtwn_mac_init(struct rtwn_softc *sc)
rtwn_bb_init(struct rtwn_softc *sc)
rtwn_rf_init(struct rtwn_softc *sc)
rtwn_cam_init(struct rtwn_softc *sc)
rtwn_pa_bias_init(struct rtwn_softc *sc)
rtwn_rxfilter_init(struct rtwn_softc *sc)
rtwn_edca_init(struct rtwn_softc *sc)
rtwn_write_txpower(struct rtwn_softc *sc, int chain,
rtwn_get_txpower(struct rtwn_softc *sc, int chain,
rtwn_set_txpower(struct rtwn_softc *sc, struct ieee80211_channel *c,
rtwn_set_chan(struct rtwn_softc *sc, struct ieee80211_channel *c,
rtwn_iq_calib(struct rtwn_softc *sc)
rtwn_lc_calib(struct rtwn_softc *sc)
rtwn_temp_calib(struct rtwn_softc *sc)
struct rtwn_softc *sc = ifp->if_softc;
struct rtwn_softc *sc = arg;
struct rtwn_softc *sc = ifp->if_softc;
struct rtwn_softc *sc = xsc;
struct rtwn_softc *sc = xsc;
struct rtwn_softc *sc = device_private(self);
struct rtwn_softc *sc = device_private(self);
rtwn_setup_rx_desc(struct rtwn_softc *sc, struct r92c_rx_desc_pci *desc,
rtwn_alloc_rx_list(struct rtwn_softc *sc)
rtwn_reset_rx_list(struct rtwn_softc *sc)
rtwn_free_rx_list(struct rtwn_softc *sc)
rtwn_alloc_tx_list(struct rtwn_softc *sc, int qid)
rtwn_reset_tx_list(struct rtwn_softc *sc, int qid)
rtwn_free_tx_list(struct rtwn_softc *sc, int qid)
rtwn_write_1(struct rtwn_softc *sc, uint16_t addr, uint8_t val)
rtwn_write_2(struct rtwn_softc *sc, uint16_t addr, uint16_t val)
rtwn_write_4(struct rtwn_softc *sc, uint16_t addr, uint32_t val)
rtwn_read_1(struct rtwn_softc *sc, uint16_t addr)
rtwn_read_2(struct rtwn_softc *sc, uint16_t addr)
rtwn_read_4(struct rtwn_softc *sc, uint16_t addr)
rtwn_fw_cmd(struct rtwn_softc *sc, uint8_t id, const void *buf, int len)
rtwn_rf_write(struct rtwn_softc *sc, int chain, uint8_t addr, uint32_t val)
rtwn_rf_read(struct rtwn_softc *sc, int chain, uint8_t addr)
rtwn_llt_write(struct rtwn_softc *sc, uint32_t addr, uint32_t data)
rtwn_efuse_read_1(struct rtwn_softc *sc, uint16_t addr)
rtwn_efuse_read(struct rtwn_softc *sc)
rtwn_efuse_switch_power(struct rtwn_softc *sc)
rtwn_read_chipid(struct rtwn_softc *sc)
void (*cb)(struct rtwn_softc *, void *);
struct rtwn_softc;