wi_softc
struct wi_softc sc_wi;
struct wi_softc * const wisc = &sc->sc_wi;
struct wd_softc *wi_softc;
wi->wi_softc = wd;
return wi->wi_softc->sc_blksize;
xfer = ata_get_xfer(wi->wi_softc->drvp->chnl_softc, true);
wi->wi_softc->atabus->ata_exec_command(wi->wi_softc->drvp, xfer);
ata_wait_cmd(wi->wi_softc->drvp->chnl_softc, xfer);
ata_free_xfer(wi->wi_softc->drvp->chnl_softc, xfer);
struct wi_softc *sc = ifp->if_softc;
struct wi_softc *sc = ic->ic_ifp->if_softc;
struct wi_softc *sc = ifp->if_softc;
wi_reset(struct wi_softc *sc)
struct wi_softc *sc = ifp->if_softc;
wi_ioctl_enter(struct wi_softc *sc)
wi_ioctl_exit(struct wi_softc *sc)
wi_ioctl_init(struct wi_softc *sc)
wi_ioctl_drain(struct wi_softc *sc)
struct wi_softc *sc = ifp->if_softc;
STATIC int wi_reset(struct wi_softc *);
struct wi_softc *sc = ifp->if_softc;
struct wi_softc *sc = ifp->if_softc;
static void wi_ioctl_init(struct wi_softc *);
static int wi_ioctl_enter(struct wi_softc *);
static void wi_ioctl_exit(struct wi_softc *);
static void wi_ioctl_drain(struct wi_softc *);
struct wi_softc *sc = ni->ni_ic->ic_ifp->if_softc;
wi_sync_bssid(struct wi_softc *sc, uint8_t new_bssid[IEEE80211_ADDR_LEN])
wi_rx_intr(struct wi_softc *sc)
STATIC void wi_sync_bssid(struct wi_softc *,
STATIC void wi_rx_intr(struct wi_softc *);
STATIC void wi_txalloc_intr(struct wi_softc *);
STATIC void wi_cmd_intr(struct wi_softc *);
wi_tx_ex_intr(struct wi_softc *sc)
STATIC void wi_tx_intr(struct wi_softc *);
STATIC void wi_tx_ex_intr(struct wi_softc *);
STATIC void wi_info_intr(struct wi_softc *);
wi_txalloc_intr(struct wi_softc *sc)
STATIC void wi_push_packet(struct wi_softc *);
wi_cmd_intr(struct wi_softc *sc)
STATIC int wi_cfg_txrate(struct wi_softc *);
STATIC int wi_write_txrate(struct wi_softc *, int);
wi_push_packet(struct wi_softc *sc)
STATIC int wi_write_wep(struct wi_softc *);
STATIC int wi_write_multi(struct wi_softc *);
STATIC int wi_alloc_fid(struct wi_softc *, int, int *);
wi_tx_intr(struct wi_softc *sc)
STATIC void wi_read_nicid(struct wi_softc *);
STATIC int wi_write_ssid(struct wi_softc *, int, uint8_t *, int);
STATIC int wi_cmd(struct wi_softc *, int, int, int, int);
STATIC int wi_cmd_start(struct wi_softc *, int, int, int, int);
STATIC int wi_cmd_wait(struct wi_softc *, int, int);
wi_info_intr(struct wi_softc *sc)
STATIC int wi_seek_bap(struct wi_softc *, int, int);
STATIC int wi_read_bap(struct wi_softc *, int, int, void *, int);
STATIC int wi_write_bap(struct wi_softc *, int, int, void *, int);
STATIC int wi_mwrite_bap(struct wi_softc *, int, int, struct mbuf *, int);
STATIC int wi_read_rid(struct wi_softc *, int, void *, int *);
STATIC int wi_write_rid(struct wi_softc *, int, void *, int);
wi_write_multi(struct wi_softc *sc)
STATIC int wi_scan_ap(struct wi_softc *, uint16_t, uint16_t);
STATIC void wi_scan_result(struct wi_softc *, int, int);
wi_read_nicid(struct wi_softc *sc)
STATIC void wi_mend_flags(struct wi_softc *, enum ieee80211_state);
wi_write_val(struct wi_softc *sc, int rid, uint16_t val)
wi_write_ssid(struct wi_softc *sc, int rid, uint8_t *buf, int buflen)
struct wi_softc *sc = ifp->if_softc;
struct wi_softc *sc = ifp->if_softc;
wi_write_txrate(struct wi_softc *sc, int rate)
wi_cfg_txrate(struct wi_softc *sc)
struct wi_softc *sc = ic->ic_ifp->if_softc;
struct wi_softc *sc = ic->ic_ifp->if_softc;
struct wi_softc *sc = ifp->if_softc;
wi_write_wep(struct wi_softc *sc)
wi_cmd_start(struct wi_softc *sc, int cmd, int val0, int val1, int val2)
wi_cmd(struct wi_softc *sc, int cmd, int val0, int val1, int val2)
wi_cmd_wait(struct wi_softc *sc, int cmd, int val0)
wi_seek_bap(struct wi_softc *sc, int id, int off)
wi_read_bap(struct wi_softc *sc, int id, int off, void *buf, int buflen)
wi_write_bap(struct wi_softc *sc, int id, int off, void *buf, int buflen)
wi_mwrite_bap(struct wi_softc *sc, int id, int off, struct mbuf *m0, int totlen)
wi_alloc_fid(struct wi_softc *sc, int len, int *idp)
wi_read_rid(struct wi_softc *sc, int rid, void *buf, int *buflenp)
wi_write_rid(struct wi_softc *sc, int rid, void *buf, int buflen)
struct wi_softc *sc = arg;
wi_mend_flags(struct wi_softc *sc, enum ieee80211_state nstate)
struct wi_softc *sc = ifp->if_softc;
struct wi_softc *sc = ic->ic_ifp->if_softc;
wi_scan_ap(struct wi_softc *sc, uint16_t chanmask, uint16_t txrate)
wi_scan_result(struct wi_softc *sc, int fid, int cnt)
wi_read_xrid(struct wi_softc *sc, int rid, void *buf, int ebuflen)
wi_attach(struct wi_softc *sc, const uint8_t *macaddr)
wi_detach(struct wi_softc *sc)
struct wi_softc *sc = device_private(self);
struct wi_softc *sc = arg;
struct wi_softc *sc = arg;
struct wi_softc *sc = ifp->if_softc;
wi_txcmd_wait(struct wi_softc *sc)
int wi_attach(struct wi_softc *, const u_int8_t *);
int wi_detach(struct wi_softc *);
void (*sc_reset)(struct wi_softc *);
struct wi_softc *sc = &psc->psc_wi;
wi_pci_reset(struct wi_softc *sc)
struct wi_softc *sc = &psc->psc_wi;
struct wi_softc psc_wi; /* real "wi" softc */
static void wi_pci_reset(struct wi_softc *);
struct wi_softc *sc = &psc->sc_wi;
struct wi_softc *sc = &psc->sc_wi;
struct wi_softc *sc = &psc->sc_wi;
wi_pcmcia_load_firm(struct wi_softc *sc, const void *primsym, int primlen,
wi_pcmcia_write_firm(struct wi_softc *sc, const void *buf, int buflen,
wi_pcmcia_set_hcr(struct wi_softc *sc, int mode)
static int wi_pcmcia_load_firm(struct wi_softc *, const void *, int,
static int wi_pcmcia_write_firm(struct wi_softc *, const void *, int,
static int wi_pcmcia_set_hcr(struct wi_softc *, int);
struct wi_softc sc_wi;