Lines Matching refs:macintmask
811 u32 macintmask; in brcms_c_setband_inact() local
820 macintmask = brcms_intrsoff(wlc->wl); in brcms_c_setband_inact()
829 return macintmask; in brcms_c_setband_inact()
1815 u32 macintmask; in brcms_b_setband() local
1823 macintmask = brcms_c_setband_inact(wlc, bandunit); in brcms_b_setband()
1842 brcms_intrsrestore(wlc->wl, macintmask); in brcms_b_setband()
2389 wlc->macintmask = wlc->defmacintmask; in brcms_c_intrson()
2390 bcma_write32(wlc_hw->d11core, D11REGOFFS(macintmask), wlc->macintmask); in brcms_c_intrson()
2396 u32 macintmask; in brcms_c_intrsoff() local
2401 macintmask = wlc->macintmask; /* isr can still happen */ in brcms_c_intrsoff()
2403 bcma_write32(wlc_hw->d11core, D11REGOFFS(macintmask), 0); in brcms_c_intrsoff()
2404 (void)bcma_read32(wlc_hw->d11core, D11REGOFFS(macintmask)); in brcms_c_intrsoff()
2406 wlc->macintmask = 0; in brcms_c_intrsoff()
2409 return wlc->macintstatus ? 0 : macintmask; in brcms_c_intrsoff()
2412 void brcms_c_intrsrestore(struct brcms_c_info *wlc, u32 macintmask) in brcms_c_intrsrestore() argument
2418 wlc->macintmask = macintmask; in brcms_c_intrsrestore()
2419 bcma_write32(wlc_hw->d11core, D11REGOFFS(macintmask), wlc->macintmask); in brcms_c_intrsrestore()
2535 mask = in_isr ? wlc->macintmask : wlc->defmacintmask; in wlc_intstatus()
2557 bcma_write32(core, D11REGOFFS(macintmask), 0); in wlc_intstatus()
2558 (void)bcma_read32(core, D11REGOFFS(macintmask)); in wlc_intstatus()
2559 wlc->macintmask = 0; in wlc_intstatus()
2607 if (!wlc_hw->up || !wlc->macintmask) in brcms_c_isr()
3339 u32 macintmask; in brcms_b_init() local
3349 macintmask = brcms_intrsoff(wlc->wl); in brcms_b_init()
3365 brcms_intrsrestore(wlc->wl, macintmask); in brcms_b_init()
5100 wlc_hw->wlc->macintmask = 0; in brcms_b_bmac_down_prep()