wpi_softc
static int wpi_alloc_tx_ring(struct wpi_softc *, struct wpi_tx_ring *,
static void wpi_reset_tx_ring(struct wpi_softc *, struct wpi_tx_ring *);
static void wpi_free_tx_ring(struct wpi_softc *, struct wpi_tx_ring *);
wpi_mem_lock(struct wpi_softc *sc)
wpi_mem_unlock(struct wpi_softc *sc)
static void wpi_mem_lock(struct wpi_softc *);
wpi_mem_read(struct wpi_softc *sc, uint16_t addr)
wpi_mem_write(struct wpi_softc *sc, uint16_t addr, uint32_t data)
static void wpi_mem_unlock(struct wpi_softc *);
wpi_mem_write_region_4(struct wpi_softc *sc, uint16_t addr,
static uint32_t wpi_mem_read(struct wpi_softc *, uint16_t);
wpi_read_prom_data(struct wpi_softc *sc, uint32_t addr, void *data, int len)
static void wpi_mem_write(struct wpi_softc *, uint16_t, uint32_t);
static void wpi_mem_write_region_4(struct wpi_softc *, uint16_t,
static int wpi_read_prom_data(struct wpi_softc *, uint32_t, void *, int);
wpi_load_microcode(struct wpi_softc *sc, const uint8_t *ucode, int size)
static int wpi_load_microcode(struct wpi_softc *, const uint8_t *, int);
static int wpi_cache_firmware(struct wpi_softc *);
static int wpi_load_firmware(struct wpi_softc *);
wpi_cache_firmware(struct wpi_softc *sc)
static void wpi_power_calibration(struct wpi_softc *, int);
static void wpi_rx_intr(struct wpi_softc *, struct wpi_rx_desc *,
static void wpi_tx_intr(struct wpi_softc *, struct wpi_rx_desc *);
static void wpi_cmd_intr(struct wpi_softc *, struct wpi_rx_desc *);
static void wpi_notif_intr(struct wpi_softc *);
wpi_load_firmware(struct wpi_softc *sc)
static void wpi_read_eeprom(struct wpi_softc *);
static void wpi_read_eeprom_channels(struct wpi_softc *, int);
static void wpi_read_eeprom_group(struct wpi_softc *, int);
static int wpi_tx_data(struct wpi_softc *, struct mbuf *,
static int wpi_cmd(struct wpi_softc *, int, const void *, int, int);
static int wpi_mrr_setup(struct wpi_softc *);
static void wpi_set_led(struct wpi_softc *, uint8_t, uint8_t, uint8_t);
struct wpi_softc *sc = arg;
static void wpi_enable_tsf(struct wpi_softc *, struct ieee80211_node *);
static int wpi_set_txpower(struct wpi_softc *,
struct wpi_softc *sc = arg;
static int wpi_get_power_index(struct wpi_softc *,
wpi_power_calibration(struct wpi_softc *sc, int temp)
static int wpi_setup_beacon(struct wpi_softc *, struct ieee80211_node *);
wpi_rx_intr(struct wpi_softc *sc, struct wpi_rx_desc *desc,
static int wpi_auth(struct wpi_softc *);
static int wpi_scan(struct wpi_softc *);
static int wpi_config(struct wpi_softc *);
static void wpi_stop_master(struct wpi_softc *);
static int wpi_power_up(struct wpi_softc *);
static int wpi_reset(struct wpi_softc *);
static void wpi_hw_config(struct wpi_softc *);
static int wpi_getrfkill(struct wpi_softc *);
static void wpi_sysctlattach(struct wpi_softc *);
static void wpi_rsw_suspend(struct wpi_softc *);
wpi_tx_intr(struct wpi_softc *sc, struct wpi_rx_desc *desc)
wpi_cmd_intr(struct wpi_softc *sc, struct wpi_rx_desc *desc)
wpi_notif_intr(struct wpi_softc *sc)
CFATTACH_DECL_NEW(wpi, sizeof (struct wpi_softc), wpi_match, wpi_attach,
struct wpi_softc *sc = arg;
struct wpi_softc *sc = arg;
wpi_tx_data(struct wpi_softc *sc, struct mbuf *m0, struct ieee80211_node *ni,
struct wpi_softc *sc = device_private(self);
struct wpi_softc *sc = ifp->if_softc;
struct wpi_softc *sc = ifp->if_softc;
struct wpi_softc *sc = ifp->if_softc;
wpi_read_eeprom(struct wpi_softc *sc)
wpi_read_eeprom_channels(struct wpi_softc *sc, int n)
wpi_read_eeprom_group(struct wpi_softc *sc, int n)
wpi_cmd(struct wpi_softc *sc, int code, const void *buf, int size, int async)
struct wpi_softc *sc = ic->ic_ifp->if_softc;
wpi_mrr_setup(struct wpi_softc *sc)
wpi_set_led(struct wpi_softc *sc, uint8_t which, uint8_t off, uint8_t on)
wpi_enable_tsf(struct wpi_softc *sc, struct ieee80211_node *ni)
wpi_set_txpower(struct wpi_softc *sc, struct ieee80211_channel *c, int async)
wpi_get_power_index(struct wpi_softc *sc, struct wpi_power_group *group,
wpi_setup_beacon(struct wpi_softc *sc, struct ieee80211_node *ni)
wpi_auth(struct wpi_softc *sc)
wpi_scan(struct wpi_softc *sc)
wpi_config(struct wpi_softc *sc)
wpi_stop_master(struct wpi_softc *sc)
wpi_power_up(struct wpi_softc *sc)
wpi_reset(struct wpi_softc *sc)
wpi_hw_config(struct wpi_softc *sc)
struct wpi_softc *sc = ifp->if_softc;
struct wpi_softc *sc = ifp->if_softc;
struct wpi_softc *sc = device_private(dv);
wpi_getrfkill(struct wpi_softc *sc)
struct wpi_softc *sc;
sc = (struct wpi_softc *)node.sysctl_data;
wpi_sysctlattach(struct wpi_softc *sc)
wpi_rsw_suspend(struct wpi_softc *sc)
struct wpi_softc *sc = (struct wpi_softc *)arg;
struct wpi_softc *sc = device_private(self);
wpi_alloc_shared(struct wpi_softc *sc)
wpi_free_shared(struct wpi_softc *sc)
wpi_alloc_fwmem(struct wpi_softc *sc)
wpi_free_fwmem(struct wpi_softc *sc)
wpi_alloc_rbuf(struct wpi_softc *sc)
struct wpi_softc *sc = rbuf->sc;
wpi_alloc_rpool(struct wpi_softc *sc)
wpi_free_rpool(struct wpi_softc *sc)
wpi_alloc_rx_ring(struct wpi_softc *sc, struct wpi_rx_ring *ring)
wpi_reset_rx_ring(struct wpi_softc *sc, struct wpi_rx_ring *ring)
wpi_free_rx_ring(struct wpi_softc *sc, struct wpi_rx_ring *ring)
wpi_alloc_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring, int count,
wpi_reset_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring)
wpi_free_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring)
static int wpi_alloc_shared(struct wpi_softc *);
static void wpi_free_shared(struct wpi_softc *);
struct wpi_softc *sc = ni->ni_ic->ic_ifp->if_softc;
static int wpi_alloc_fwmem(struct wpi_softc *);
static void wpi_free_fwmem(struct wpi_softc *);
static struct wpi_rbuf *wpi_alloc_rbuf(struct wpi_softc *);
struct wpi_softc *sc = ifp->if_softc;
static int wpi_alloc_rpool(struct wpi_softc *);
static void wpi_free_rpool(struct wpi_softc *);
static int wpi_alloc_rx_ring(struct wpi_softc *, struct wpi_rx_ring *);
static void wpi_reset_rx_ring(struct wpi_softc *, struct wpi_rx_ring *);
static void wpi_free_rx_ring(struct wpi_softc *, struct wpi_rx_ring *);
struct wpi_softc;
struct wpi_softc *sc;