Lines Matching refs:maccontrol
390 D11REGOFFS(maccontrol)); in brcms_deviceremoved()
809 D11REGOFFS(maccontrol)); in brcms_c_setband_inact()
1371 wlc_hw->maccontrol = 0; in brcms_c_mctrl_reset()
1384 u32 maccontrol = wlc_hw->maccontrol; in brcms_c_mctrl_write() local
1388 maccontrol |= MCTL_WAKE; in brcms_c_mctrl_write()
1392 maccontrol &= ~(MCTL_AP); in brcms_c_mctrl_write()
1393 maccontrol |= MCTL_INFRA; in brcms_c_mctrl_write()
1396 bcma_write32(wlc_hw->d11core, D11REGOFFS(maccontrol), in brcms_c_mctrl_write()
1397 maccontrol); in brcms_c_mctrl_write()
1403 u32 maccontrol; in brcms_b_mctrl() local
1408 maccontrol = wlc_hw->maccontrol; in brcms_b_mctrl()
1409 new_maccontrol = (maccontrol & ~mask) | val; in brcms_b_mctrl()
1412 if (new_maccontrol == maccontrol) in brcms_b_mctrl()
1416 wlc_hw->maccontrol = new_maccontrol; in brcms_b_mctrl()
1425 if (wlc_hw->wake_override || (wlc_hw->maccontrol & MCTL_WAKE)) { in brcms_c_ucode_wake_override_set()
1441 if (wlc_hw->wake_override || (wlc_hw->maccontrol & MCTL_WAKE)) in brcms_c_ucode_wake_override_clear()
1461 if ((wlc_hw->maccontrol & (MCTL_AP | MCTL_INFRA)) == MCTL_INFRA) in brcms_c_ucode_mute_override_set()
1478 if ((wlc_hw->maccontrol & (MCTL_AP | MCTL_INFRA)) == MCTL_INFRA) in brcms_c_ucode_mute_override_clear()
1527 be_bit = (bcma_read32(core, D11REGOFFS(maccontrol)) & MCTL_BIGEND) != 0; in brcms_b_write_template_ram()
1838 WARN_ON((bcma_read32(wlc_hw->d11core, D11REGOFFS(maccontrol)) & in brcms_b_setband()
2642 mc = bcma_read32(core, D11REGOFFS(maccontrol)); in brcms_c_suspend_mac_and_wait()
2679 mc = bcma_read32(core, D11REGOFFS(maccontrol)); in brcms_c_suspend_mac_and_wait()
2707 mc = bcma_read32(core, D11REGOFFS(maccontrol)); in brcms_c_enable_mac()
2715 mc = bcma_read32(core, D11REGOFFS(maccontrol)); in brcms_c_enable_mac()
2781 w = bcma_read32(core, D11REGOFFS(maccontrol)); in brcms_b_validate_chip_access()
3256 WARN_ON(bcma_read32(core, D11REGOFFS(maccontrol)) == 0xffffffff); in brcms_b_coreinit()
3737 v1 = bcma_read32(wlc->hw->d11core, D11REGOFFS(maccontrol)); in brcms_c_set_ps_ctrl()
5130 D11REGOFFS(maccontrol)) & MCTL_EN_MAC) in brcms_b_down_finish()
5470 bcma_set32(wlc->hw->d11core, D11REGOFFS(maccontrol), MCTL_TBTTHOLD); in brcms_c_time_lock()
5472 bcma_read32(wlc->hw->d11core, D11REGOFFS(maccontrol)); in brcms_c_time_lock()
5477 bcma_mask32(wlc->hw->d11core, D11REGOFFS(maccontrol), ~MCTL_TBTTHOLD); in brcms_c_time_unlock()
5479 bcma_read32(wlc->hw->d11core, D11REGOFFS(maccontrol)); in brcms_c_time_unlock()