Lines Matching refs:bandstate
441 kfree(wlc->bandstate[0]); in brcms_c_detach_mfree()
446 kfree(wlc->hw->bandstate[0]); in brcms_c_detach_mfree()
503 wlc->hw->bandstate[0] = in brcms_c_attach_malloc()
505 if (wlc->hw->bandstate[0] == NULL) { in brcms_c_attach_malloc()
512 wlc->hw->bandstate[i] = (struct brcms_hw_band *) in brcms_c_attach_malloc()
513 ((unsigned long)wlc->hw->bandstate[0] + in brcms_c_attach_malloc()
549 wlc->bandstate[0] = in brcms_c_attach_malloc()
550 kcalloc(MAXBANDS, sizeof(*wlc->bandstate[0]), GFP_ATOMIC); in brcms_c_attach_malloc()
551 if (wlc->bandstate[0] == NULL) { in brcms_c_attach_malloc()
558 wlc->bandstate[i] = (struct brcms_band *) in brcms_c_attach_malloc()
559 ((unsigned long)wlc->bandstate[0] in brcms_c_attach_malloc()
781 wlc_hw->band = wlc_hw->bandstate[bandunit]; in brcms_c_setxband()
787 wlc_hw->wlc->band = wlc_hw->wlc->bandstate[bandunit]; in brcms_c_setxband()
1335 band = wlc_hw->bandstate[BAND_5G_INDEX]; in brcms_b_mhf()
1338 band = wlc_hw->bandstate[BAND_2G_INDEX]; in brcms_b_mhf()
1358 wlc_hw->bandstate[0]->mhfs[idx] = in brcms_b_mhf()
1359 (wlc_hw->bandstate[0]->mhfs[idx] & ~mask) | val; in brcms_b_mhf()
1360 wlc_hw->bandstate[1]->mhfs[idx] = in brcms_b_mhf()
1361 (wlc_hw->bandstate[1]->mhfs[idx] & ~mask) | val; in brcms_b_mhf()
3523 wlc->band = wlc->bandstate[j]; in brcms_c_bandinit_ordered()
3841 bandstate[bandunit]-> in brcms_b_set_chanspec()
3870 wlc->band = wlc->bandstate[bandunit]; in brcms_c_setband()
4400 wlc_hw->band = wlc_hw->bandstate[0]; in brcms_b_attach()
4741 band = wlc->bandstate[OTHERBANDUNIT(wlc)]; in brcms_c_bss_default_init()
4759 band = wlc->bandstate[i]; in brcms_c_update_mimo_band_bwcap()
4821 band = wlc_hw->bandstate[OTHERBANDUNIT(wlc)]; in brcms_b_detach()
5224 (wlc->bandstate[OTHERBANDUNIT(wlc)]->bandtype == BRCM_BAND_2G)) in brcms_c_set_gmode()
5225 band = wlc->bandstate[OTHERBANDUNIT(wlc)]; in brcms_c_set_gmode()
5312 memcpy(wlc->bandstate[i]->hw_rateset.mcs, in brcms_c_set_nmode()
5335 (&new, &wlc->bandstate[bandunit]->hw_rateset, true, in brcms_c_set_internal_rateset()
5345 bandstate[bandunit]-> in brcms_c_set_internal_rateset()
5357 memcpy(&wlc->bandstate[bandunit]->defrateset, &new, in brcms_c_set_internal_rateset()
5803 hw_rateset = &wlc->bandstate[OTHERBANDUNIT(wlc)]->hw_rateset; in brcms_c_valid_rate()
7911 wlc->band = wlc->bandstate[0]; in brcms_c_attach()
7959 wlc->band = wlc->bandstate[j]; in brcms_c_attach()