Lines Matching refs:mhfs
704 static void brcms_c_write_mhf(struct brcms_hardware *wlc_hw, u16 *mhfs) in brcms_c_write_mhf() argument
713 brcms_b_write_shm(wlc_hw, addr[idx], mhfs[idx]); in brcms_c_write_mhf()
721 brcms_c_write_mhf(wlc_hw, wlc_hw->band->mhfs); in brcms_c_ucode_bsinit()
1078 brcms_c_mhfdef(struct brcms_c_info *wlc, u16 *mhfs, u16 mhf2_init) in brcms_c_mhfdef() argument
1082 memset(mhfs, 0, MHFMAX * sizeof(u16)); in brcms_c_mhfdef()
1084 mhfs[MHF2] |= mhf2_init; in brcms_c_mhfdef()
1088 mhfs[MHF1] |= MHF1_FORCEFASTCLK; in brcms_c_mhfdef()
1091 mhfs[MHF2] |= MHF2_NPHY40MHZ_WAR; in brcms_c_mhfdef()
1092 mhfs[MHF1] |= MHF1_IQSWAP_WAR; in brcms_c_mhfdef()
1182 brcms_c_mhfdef(wlc, wlc_hw->band->mhfs, pio_mhf2); in brcms_b_attach_dmapio()
1352 save = band->mhfs[idx]; in brcms_b_mhf()
1353 band->mhfs[idx] = (band->mhfs[idx] & ~mask) | val; in brcms_b_mhf()
1358 if (wlc_hw->clk && (band->mhfs[idx] != save) in brcms_b_mhf()
1361 (u16) band->mhfs[idx]); in brcms_b_mhf()
1365 wlc_hw->bandstate[0]->mhfs[idx] = in brcms_b_mhf()
1366 (wlc_hw->bandstate[0]->mhfs[idx] & ~mask) | val; in brcms_b_mhf()
1367 wlc_hw->bandstate[1]->mhfs[idx] = in brcms_b_mhf()
1368 (wlc_hw->bandstate[1]->mhfs[idx] & ~mask) | val; in brcms_b_mhf()