Lines Matching defs:bwfm
472 struct bwfm_softc *bwfm = (void *)sc;
484 aprint_error_dev(bwfm->sc_dev, "cannot attach chip\n");
497 bwfm->sc_chip.ch_chip, bwfm->sc_chip.ch_chiprev, NULL,
500 if (!bwfm_firmware_open(bwfm, bwfm_pci_fwtab, &fwctx)) {
512 bwfm->sc_chip.ch_ramsize = letoh32(ramsize[1]);
516 aprint_error_dev(bwfm->sc_dev, "could not load microcode\n");
527 aprint_error_dev(bwfm->sc_dev,
598 aprint_error_dev(bwfm->sc_dev,
789 struct bwfm_softc *bwfm = (void *)sc;
794 if (bwfm->sc_chip.ch_chip == BRCM_CC_43602_CHIP_ID) {
808 bwfm->sc_chip.ch_rambase + i, ucode[i]);
812 bwfm->sc_chip.ch_rambase + bwfm->sc_chip.ch_ramsize - 4, 0);
817 if (bwfm->sc_chip.ch_chip == BRCM_CC_43602_CHIP_ID) {
818 core = bwfm_chip_get_core(bwfm, BWFM_AGENT_INTERNAL_MEM);
819 bwfm->sc_chip.ch_core_reset(bwfm, core, 0, 0, 0);
821 bwfm_chip_set_active(bwfm, *(const uint32_t *)ucode);
826 bwfm->sc_chip.ch_rambase + bwfm->sc_chip.ch_ramsize - 4);
1538 struct bwfm_softc *bwfm = (void *)sc;
1541 core = bwfm_chip_get_core(bwfm, id);
1556 bwfm_pci_buscore_read(struct bwfm_softc *bwfm, uint32_t reg)
1558 struct bwfm_pci_softc *sc = (void *)bwfm;
1568 bwfm_pci_buscore_write(struct bwfm_softc *bwfm, uint32_t reg, uint32_t val)
1570 struct bwfm_pci_softc *sc = (void *)bwfm;
1580 bwfm_pci_buscore_prepare(struct bwfm_softc *bwfm)
1586 bwfm_pci_buscore_reset(struct bwfm_softc *bwfm)
1588 struct bwfm_pci_softc *sc = (void *)bwfm;
1608 core = bwfm_chip_get_core(bwfm, BWFM_AGENT_CORE_PCIE2);
1646 bwfm_pci_buscore_activate(struct bwfm_softc *bwfm, const uint32_t rstvec)
1648 struct bwfm_pci_softc *sc = (void *)bwfm;
1793 bwfm_pci_flowring_create_cb(struct work *wk, void *arg) //(struct bwfm_softc *bwfm, void *arg)
1796 struct bwfm_pci_softc *sc = cmd->sc; // (void *)bwfm;
1879 bwfm_pci_stop(struct bwfm_softc *bwfm)
1881 struct bwfm_pci_softc *sc = (void *)bwfm;
1893 bwfm_pci_txcheck(struct bwfm_softc *bwfm)
1895 struct bwfm_pci_softc *sc = (void *)bwfm;
1915 bwfm_pci_txdata(struct bwfm_softc *bwfm, struct mbuf **mp)
1917 struct bwfm_pci_softc *sc = (void *)bwfm;
1996 DPRINTFN(3, ("BWFM CONSOLE: "));
2061 bwfm_pci_msgbuf_query_dcmd(struct bwfm_softc *bwfm, int ifidx,
2064 struct bwfm_pci_softc *sc = (void *)bwfm;
2100 if (tsleep(&sc->sc_ioctl_buf, PCATCH, "bwfm", hz)) {
2120 bwfm_pci_msgbuf_set_dcmd(struct bwfm_softc *bwfm, int ifidx,
2123 return bwfm_pci_msgbuf_query_dcmd(bwfm, ifidx, cmd, buf, &len);