Lines Matching refs:bandunit
783 static void brcms_c_setxband(struct brcms_hardware *wlc_hw, uint bandunit) in brcms_c_setxband() argument
786 bandunit); in brcms_c_setxband()
788 wlc_hw->band = wlc_hw->bandstate[bandunit]; in brcms_c_setxband()
794 wlc_hw->wlc->band = wlc_hw->wlc->bandstate[bandunit]; in brcms_c_setxband()
800 if (bandunit == 0) in brcms_c_setxband()
808 static u32 brcms_c_setband_inact(struct brcms_c_info *wlc, uint bandunit) in brcms_c_setband_inact() argument
827 brcms_c_setxband(wlc_hw, bandunit); in brcms_c_setband_inact()
1700 wlc_hw->band->bandunit); in brcms_b_bsinit()
1812 static void brcms_b_setband(struct brcms_hardware *wlc_hw, uint bandunit, in brcms_b_setband() argument
1823 macintmask = brcms_c_setband_inact(wlc, bandunit); in brcms_b_setband()
2637 wlc_hw->band->bandunit); in brcms_c_suspend_mac_and_wait()
2705 wlc->band->bandunit); in brcms_c_enable_mac()
3517 parkband = wlc->band->bandunit; in brcms_c_bandinit_ordered()
3692 wlc->pub->unit, wlc->band->bandunit); in brcms_c_bsinit()
3834 uint bandunit; in brcms_b_set_chanspec() local
3843 bandunit = chspec_bandunit(chanspec); in brcms_b_set_chanspec()
3844 if (wlc_hw->band->bandunit != bandunit) { in brcms_b_set_chanspec()
3850 bandstate[bandunit]-> in brcms_b_set_chanspec()
3852 brcms_b_setband(wlc_hw, bandunit, chanspec); in brcms_b_set_chanspec()
3854 brcms_c_setxband(wlc_hw, bandunit); in brcms_b_set_chanspec()
3877 uint bandunit) in brcms_c_setband() argument
3879 wlc->band = wlc->bandstate[bandunit]; in brcms_c_setband()
3893 uint bandunit; in brcms_c_set_chanspec() local
3904 bandunit = chspec_bandunit(chanspec); in brcms_c_set_chanspec()
3905 if (wlc->band->bandunit != bandunit || wlc->bandinit_pending) { in brcms_c_set_chanspec()
3921 brcms_c_setband(wlc, bandunit); in brcms_c_set_chanspec()
4558 wlc_hw->band->bandunit = j; in brcms_b_attach()
4560 wlc->band->bandunit = j; in brcms_b_attach()
4749 band->bandunit != chspec_bandunit(chanspec)) in brcms_c_bss_default_init()
5332 uint bandunit; in brcms_c_set_internal_rateset() local
5341 bandunit = wlc->band->bandunit; in brcms_c_set_internal_rateset()
5344 (&new, &wlc->bandstate[bandunit]->hw_rateset, true, in brcms_c_set_internal_rateset()
5350 bandunit = OTHERBANDUNIT(wlc); in brcms_c_set_internal_rateset()
5354 bandstate[bandunit]-> in brcms_c_set_internal_rateset()
5366 memcpy(&wlc->bandstate[bandunit]->defrateset, &new, in brcms_c_set_internal_rateset()
5388 if (wlc->band->bandunit != chspec_bandunit(chspec)) in brcms_c_set_channel()
7523 return wlc->band->bandunit; in brcms_c_get_curband()