Lines Matching refs:up_dev
4829 struct bwn_mac *up_dev = NULL; in bwn_switch_band() local
4840 up_dev = mac; in bwn_switch_band()
4844 up_dev = mac; in bwn_switch_band()
4850 if (up_dev != NULL) in bwn_switch_band()
4853 if (up_dev == NULL) { in bwn_switch_band()
4857 if (up_dev == sc->sc_curmac && sc->sc_curmac->mac_phy.gmode == gmode) in bwn_switch_band()
4871 if (down_dev != up_dev) { in bwn_switch_band()
4877 up_dev->mac_phy.gmode = gmode; in bwn_switch_band()
4879 err = bwn_core_init(up_dev); in bwn_switch_band()
4888 bwn_core_start(up_dev); in bwn_switch_band()
4889 KASSERT(up_dev->mac_status == status, ("%s: fail", __func__)); in bwn_switch_band()
4890 sc->sc_curmac = up_dev; in bwn_switch_band()