Lines Matching refs:up_dev
4839 struct bwn_mac *up_dev = NULL; in bwn_switch_band() local
4850 up_dev = mac; in bwn_switch_band()
4854 up_dev = mac; in bwn_switch_band()
4860 if (up_dev != NULL) in bwn_switch_band()
4863 if (up_dev == NULL) { in bwn_switch_band()
4867 if (up_dev == sc->sc_curmac && sc->sc_curmac->mac_phy.gmode == gmode) in bwn_switch_band()
4881 if (down_dev != up_dev) { in bwn_switch_band()
4887 up_dev->mac_phy.gmode = gmode; in bwn_switch_band()
4889 err = bwn_core_init(up_dev); in bwn_switch_band()
4898 bwn_core_start(up_dev); in bwn_switch_band()
4899 KASSERT(up_dev->mac_status == status, ("%s: fail", __func__)); in bwn_switch_band()
4900 sc->sc_curmac = up_dev; in bwn_switch_band()