Lines Matching refs:mhfs
697 static void brcms_c_write_mhf(struct brcms_hardware *wlc_hw, u16 *mhfs) in brcms_c_write_mhf() argument
706 brcms_b_write_shm(wlc_hw, addr[idx], mhfs[idx]); in brcms_c_write_mhf()
714 brcms_c_write_mhf(wlc_hw, wlc_hw->band->mhfs); in brcms_c_ucode_bsinit()
1071 brcms_c_mhfdef(struct brcms_c_info *wlc, u16 *mhfs, u16 mhf2_init) in brcms_c_mhfdef() argument
1075 memset(mhfs, 0, MHFMAX * sizeof(u16)); in brcms_c_mhfdef()
1077 mhfs[MHF2] |= mhf2_init; in brcms_c_mhfdef()
1081 mhfs[MHF1] |= MHF1_FORCEFASTCLK; in brcms_c_mhfdef()
1084 mhfs[MHF2] |= MHF2_NPHY40MHZ_WAR; in brcms_c_mhfdef()
1085 mhfs[MHF1] |= MHF1_IQSWAP_WAR; in brcms_c_mhfdef()
1175 brcms_c_mhfdef(wlc, wlc_hw->band->mhfs, pio_mhf2); in brcms_b_attach_dmapio()
1345 save = band->mhfs[idx]; in brcms_b_mhf()
1346 band->mhfs[idx] = (band->mhfs[idx] & ~mask) | val; in brcms_b_mhf()
1351 if (wlc_hw->clk && (band->mhfs[idx] != save) in brcms_b_mhf()
1354 (u16) band->mhfs[idx]); 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()