bwfm_softc
void bwfm_chip_tcm_rambase(struct bwfm_softc *);
struct bwfm_softc *sc = t->t_sc;
void bwfm_process_blob(struct bwfm_softc *, const char *, uint8_t **,
bwfm_chip_attach(struct bwfm_softc *sc)
int bwfm_proto_bcdc_query_dcmd(struct bwfm_softc *, int,
int bwfm_proto_bcdc_set_dcmd(struct bwfm_softc *, int,
int bwfm_fwvar_cmd_get_data(struct bwfm_softc *, int, void *, size_t);
int bwfm_fwvar_cmd_set_data(struct bwfm_softc *, int, void *, size_t);
int bwfm_fwvar_cmd_get_int(struct bwfm_softc *, int, uint32_t *);
int bwfm_fwvar_cmd_set_int(struct bwfm_softc *, int, uint32_t);
int bwfm_fwvar_var_get_data(struct bwfm_softc *, const char *, void *, size_t);
int bwfm_fwvar_var_set_data(struct bwfm_softc *, const char *, void *, size_t);
int bwfm_fwvar_var_get_int(struct bwfm_softc *, const char *, uint32_t *);
bwfm_chip_get_core(struct bwfm_softc *sc, int id)
int bwfm_fwvar_var_set_int(struct bwfm_softc *, const char *, uint32_t);
bwfm_chip_get_pmu(struct bwfm_softc *sc)
struct ieee80211_channel *bwfm_bss2chan(struct bwfm_softc *, struct bwfm_bss_info *);
bwfm_chip_ai_isup(struct bwfm_softc *sc, struct bwfm_core *core)
void bwfm_scan(struct bwfm_softc *);
bwfm_chip_ai_disable(struct bwfm_softc *sc, struct bwfm_core *core,
void bwfm_connect(struct bwfm_softc *);
void bwfm_get_sta_info(struct bwfm_softc *, struct ifmediareq *);
void bwfm_rx(struct bwfm_softc *, struct mbuf *);
bwfm_chip_ai_reset(struct bwfm_softc *sc, struct bwfm_core *core,
void bwfm_rx_event(struct bwfm_softc *, struct mbuf *);
void bwfm_rx_event_cb(struct bwfm_softc *, struct mbuf *);
void bwfm_scan_node(struct bwfm_softc *, struct bwfm_bss_info *, size_t);
bwfm_chip_dmp_erom_scan(struct bwfm_softc *sc)
bwfm_chip_dmp_get_regaddr(struct bwfm_softc *sc, uint32_t *erom,
bwfm_chip_set_active(struct bwfm_softc *sc, const uint32_t rstvec)
bwfm_chip_set_passive(struct bwfm_softc *sc)
bwfm_chip_cr4_set_active(struct bwfm_softc *sc, const uint32_t rstvec)
bwfm_chip_cr4_set_passive(struct bwfm_softc *sc)
bwfm_chip_ca7_set_active(struct bwfm_softc *sc, const uint32_t rstvec)
bwfm_chip_ca7_set_passive(struct bwfm_softc *sc)
bwfm_chip_cm3_set_active(struct bwfm_softc *sc)
bwfm_chip_cm3_set_passive(struct bwfm_softc *sc)
bwfm_chip_sr_capable(struct bwfm_softc *sc)
bwfm_chip_socram_ramsize(struct bwfm_softc *sc, struct bwfm_core *core)
bwfm_chip_sysmem_ramsize(struct bwfm_softc *sc, struct bwfm_core *core)
bwfm_chip_tcm_ramsize(struct bwfm_softc *sc, struct bwfm_core *core)
bwfm_chip_tcm_rambase(struct bwfm_softc *sc)
bwfm_firmware_read_file(struct bwfm_softc * const sc,
bwfm_proto_bcdc_query_dcmd(struct bwfm_softc *sc, int ifidx,
bwfm_proto_bcdc_set_dcmd(struct bwfm_softc *sc, int ifidx,
bwfm_process_blob(struct bwfm_softc *sc, const char *var, uint8_t **blob,
bwfm_fwvar_cmd_get_data(struct bwfm_softc *sc, int cmd, void *data, size_t len)
bwfm_fwvar_cmd_set_data(struct bwfm_softc *sc, int cmd, void *data, size_t len)
bwfm_fwvar_cmd_get_int(struct bwfm_softc *sc, int cmd, uint32_t *data)
bwfm_fwvar_cmd_set_int(struct bwfm_softc *sc, int cmd, uint32_t data)
bwfm_fwvar_var_get_data(struct bwfm_softc *sc, const char *name, void *data, size_t len)
bwfm_fwvar_var_set_data(struct bwfm_softc *sc, const char *name, void *data, size_t len)
bwfm_fwvar_var_get_int(struct bwfm_softc *sc, const char *name, uint32_t *data)
bwfm_fwvar_var_set_int(struct bwfm_softc *sc, const char *name, uint32_t data)
bwfm_scan(struct bwfm_softc *sc)
bwfm_get_wsec(struct bwfm_softc *sc)
bwfm_connect(struct bwfm_softc *sc)
bwfm_get_sta_info(struct bwfm_softc *sc, struct ifmediareq *ifmr)
bwfm_rx(struct bwfm_softc *sc, struct mbuf *m)
bwfm_rx_event(struct bwfm_softc *sc, struct mbuf *m)
bwfm_rx_event_cb(struct bwfm_softc *sc, struct mbuf *m)
bwfm_scan_node(struct bwfm_softc *sc, struct bwfm_bss_info *bss, size_t len)
bwfm_firmware_open(struct bwfm_softc * const sc,
bwfm_attach(struct bwfm_softc *sc)
bwfm_detach(struct bwfm_softc *sc, int flags)
struct bwfm_softc *sc = ifp->if_softc;
struct bwfm_softc *sc = ifp->if_softc;
struct bwfm_softc *sc = ifp->if_softc;
struct bwfm_softc *sc = ifp->if_softc;
struct bwfm_softc *sc = ifp->if_softc;
void bwfm_newstate_cb(struct bwfm_softc *, struct bwfm_cmd_newstate *);
int bwfm_chip_attach(struct bwfm_softc *);
int bwfm_chip_detach(struct bwfm_softc *, int);
struct bwfm_core *bwfm_chip_get_core(struct bwfm_softc *, int);
struct bwfm_softc *sc = ic->ic_ifp->if_softc;
struct bwfm_core *bwfm_chip_get_pmu(struct bwfm_softc *);
int bwfm_chip_ai_isup(struct bwfm_softc *, struct bwfm_core *);
bwfm_key_set_cb(struct bwfm_softc *sc, struct bwfm_cmd_key *ck)
void bwfm_chip_ai_disable(struct bwfm_softc *, struct bwfm_core *,
void bwfm_chip_ai_reset(struct bwfm_softc *, struct bwfm_core *,
void bwfm_chip_dmp_erom_scan(struct bwfm_softc *);
int bwfm_chip_dmp_get_regaddr(struct bwfm_softc *, uint32_t *,
struct bwfm_softc *sc = ic->ic_ifp->if_softc;
int bwfm_chip_cr4_set_active(struct bwfm_softc *, const uint32_t);
void bwfm_chip_cr4_set_passive(struct bwfm_softc *);
bwfm_key_delete_cb(struct bwfm_softc *sc, struct bwfm_cmd_key *ck)
int bwfm_chip_ca7_set_active(struct bwfm_softc *, const uint32_t);
void bwfm_chip_ca7_set_passive(struct bwfm_softc *);
struct bwfm_softc *sc = ic->ic_ifp->if_softc;
int bwfm_chip_cm3_set_active(struct bwfm_softc *);
bwfm_newstate_cb(struct bwfm_softc *sc, struct bwfm_cmd_newstate *cmd)
void bwfm_chip_cm3_set_passive(struct bwfm_softc *);
void bwfm_chip_socram_ramsize(struct bwfm_softc *, struct bwfm_core *);
void bwfm_chip_sysmem_ramsize(struct bwfm_softc *, struct bwfm_core *);
void bwfm_chip_tcm_ramsize(struct bwfm_softc *, struct bwfm_core *);
int (*ch_core_isup)(struct bwfm_softc *, struct bwfm_core *);
void (*ch_core_disable)(struct bwfm_softc *, struct bwfm_core *,
void (*ch_core_reset)(struct bwfm_softc *, struct bwfm_core *,
void (*bs_init)(struct bwfm_softc *);
void (*bs_stop)(struct bwfm_softc *);
int (*bs_txcheck)(struct bwfm_softc *);
int (*bs_txdata)(struct bwfm_softc *, struct mbuf **);
int (*bs_txctl)(struct bwfm_softc *, char *, size_t);
int (*bs_rxctl)(struct bwfm_softc *, char *, size_t *);
uint32_t (*bc_read)(struct bwfm_softc *, uint32_t);
void (*bc_write)(struct bwfm_softc *, uint32_t, uint32_t);
int (*bc_prepare)(struct bwfm_softc *);
int (*bc_reset)(struct bwfm_softc *);
int (*bc_setup)(struct bwfm_softc *);
void (*bc_activate)(struct bwfm_softc *, const uint32_t);
int (*proto_query_dcmd)(struct bwfm_softc *, int, int,
int (*proto_set_dcmd)(struct bwfm_softc *, int, int,
struct bwfm_softc *t_sc;
void bwfm_attach(struct bwfm_softc *);
void bwfm_chip_socram_ramsize(struct bwfm_softc *, struct bwfm_core *);
void bwfm_chip_sysmem_ramsize(struct bwfm_softc *, struct bwfm_core *);
void bwfm_chip_tcm_ramsize(struct bwfm_softc *, struct bwfm_core *);
void bwfm_chip_tcm_rambase(struct bwfm_softc *);
int bwfm_detach(struct bwfm_softc *, int);
int bwfm_chip_attach(struct bwfm_softc *);
int bwfm_chip_set_active(struct bwfm_softc *, uint32_t);
void bwfm_chip_set_passive(struct bwfm_softc *);
int bwfm_chip_sr_capable(struct bwfm_softc *);
struct bwfm_core *bwfm_chip_get_core(struct bwfm_softc *, int);
struct bwfm_core *bwfm_chip_get_pmu(struct bwfm_softc *);
void bwfm_rx(struct bwfm_softc *, struct mbuf *m);
bool bwfm_firmware_open(struct bwfm_softc *,
struct bwfm_softc;
struct bwfm_softc sc_sc;
struct bwfm_softc *bwfm = (void *)sc;
bwfm_pci_buscore_read(struct bwfm_softc *bwfm, uint32_t reg)
bwfm_pci_buscore_write(struct bwfm_softc *bwfm, uint32_t reg, uint32_t val)
bwfm_pci_buscore_prepare(struct bwfm_softc *bwfm)
bwfm_pci_buscore_reset(struct bwfm_softc *bwfm)
bwfm_pci_buscore_activate(struct bwfm_softc *bwfm, const uint32_t rstvec)
bwfm_pci_stop(struct bwfm_softc *bwfm)
bwfm_pci_txcheck(struct bwfm_softc *bwfm)
bwfm_pci_txdata(struct bwfm_softc *bwfm, struct mbuf **mp)
bwfm_pci_msgbuf_query_dcmd(struct bwfm_softc *bwfm, int ifidx,
bwfm_pci_msgbuf_set_dcmd(struct bwfm_softc *bwfm, int ifidx,
uint32_t bwfm_pci_buscore_read(struct bwfm_softc *, uint32_t);
void bwfm_pci_buscore_write(struct bwfm_softc *, uint32_t,
int bwfm_pci_buscore_prepare(struct bwfm_softc *);
int bwfm_pci_buscore_reset(struct bwfm_softc *);
void bwfm_pci_buscore_activate(struct bwfm_softc *, const uint32_t);
void bwfm_pci_stop(struct bwfm_softc *);
int bwfm_pci_txcheck(struct bwfm_softc *);
int bwfm_pci_txdata(struct bwfm_softc *, struct mbuf **);
int bwfm_pci_msgbuf_query_dcmd(struct bwfm_softc *, int,
int bwfm_pci_msgbuf_set_dcmd(struct bwfm_softc *, int,
struct bwfm_softc *bwfm = (void *)sc;
struct bwfm_softc *bwfm = (void *)sc;
bwfm_sdio_stop(struct bwfm_softc *bwfm)
bwfm_sdio_txcheck(struct bwfm_softc *bwfm)
bwfm_sdio_txdata(struct bwfm_softc *bwfm, struct mbuf **mp)
bwfm_sdio_txctl(struct bwfm_softc *bwfm, char *buf, size_t len)
struct bwfm_softc *bwfm = &sc->sc_sc;
struct bwfm_softc *bwfm = &sc->sc_sc;
static uint32_t bwfm_sdio_buscore_read(struct bwfm_softc *, uint32_t);
static void bwfm_sdio_buscore_write(struct bwfm_softc *, uint32_t,
struct bwfm_softc *bwfm = &sc->sc_sc;
static int bwfm_sdio_buscore_prepare(struct bwfm_softc *);
static void bwfm_sdio_buscore_activate(struct bwfm_softc *, uint32_t);
bwfm_sdio_rxctl(struct bwfm_softc *bwfm, char *buf, size_t *lenp)
static void bwfm_sdio_stop(struct bwfm_softc *);
static int bwfm_sdio_txcheck(struct bwfm_softc *);
static int bwfm_sdio_txdata(struct bwfm_softc *, struct mbuf **);
static int bwfm_sdio_txctl(struct bwfm_softc *, char *, size_t);
static int bwfm_sdio_rxctl(struct bwfm_softc *, char *, size_t *);
struct bwfm_softc *bwfm = &sc->sc_sc;
struct bwfm_softc sc_sc;
bwfm_sdio_buscore_read(struct bwfm_softc *bwfm, uint32_t reg)
bwfm_sdio_buscore_write(struct bwfm_softc *bwfm, uint32_t reg, uint32_t val)
bwfm_sdio_buscore_prepare(struct bwfm_softc *bwfm)
bwfm_sdio_buscore_activate(struct bwfm_softc *bwfm, uint32_t rstvec)
struct bwfm_softc sc_sc;
int bwfm_usb_txcheck(struct bwfm_softc *);
int bwfm_usb_txdata(struct bwfm_softc *, struct mbuf **);
int bwfm_usb_txctl(struct bwfm_softc *, char *, size_t);
int bwfm_usb_rxctl(struct bwfm_softc *, char *, size_t *);
struct bwfm_softc *bwfm = &sc->sc_sc;
bwfm_usb_txcheck(struct bwfm_softc *bwfm)
bwfm_usb_txdata(struct bwfm_softc *bwfm, struct mbuf **mp)
bwfm_usb_txctl(struct bwfm_softc *bwfm, char *buf, size_t len)
bwfm_usb_rxctl(struct bwfm_softc *bwfm, char *buf, size_t *len)