Lines Matching refs:macintmask
804 u32 macintmask; in brcms_c_setband_inact() local
813 macintmask = brcms_intrsoff(wlc->wl); in brcms_c_setband_inact()
822 return macintmask; in brcms_c_setband_inact()
1808 u32 macintmask; in brcms_b_setband() local
1816 macintmask = brcms_c_setband_inact(wlc, bandunit); in brcms_b_setband()
1835 brcms_intrsrestore(wlc->wl, macintmask); in brcms_b_setband()
2382 wlc->macintmask = wlc->defmacintmask; in brcms_c_intrson()
2383 bcma_write32(wlc_hw->d11core, D11REGOFFS(macintmask), wlc->macintmask); in brcms_c_intrson()
2389 u32 macintmask; in brcms_c_intrsoff() local
2394 macintmask = wlc->macintmask; /* isr can still happen */ in brcms_c_intrsoff()
2396 bcma_write32(wlc_hw->d11core, D11REGOFFS(macintmask), 0); in brcms_c_intrsoff()
2397 (void)bcma_read32(wlc_hw->d11core, D11REGOFFS(macintmask)); in brcms_c_intrsoff()
2399 wlc->macintmask = 0; in brcms_c_intrsoff()
2402 return wlc->macintstatus ? 0 : macintmask; in brcms_c_intrsoff()
2405 void brcms_c_intrsrestore(struct brcms_c_info *wlc, u32 macintmask) in brcms_c_intrsrestore() argument
2411 wlc->macintmask = macintmask; in brcms_c_intrsrestore()
2412 bcma_write32(wlc_hw->d11core, D11REGOFFS(macintmask), wlc->macintmask); in brcms_c_intrsrestore()
2528 mask = in_isr ? wlc->macintmask : wlc->defmacintmask; in wlc_intstatus()
2550 bcma_write32(core, D11REGOFFS(macintmask), 0); in wlc_intstatus()
2551 (void)bcma_read32(core, D11REGOFFS(macintmask)); in wlc_intstatus()
2552 wlc->macintmask = 0; in wlc_intstatus()
2600 if (!wlc_hw->up || !wlc->macintmask) in brcms_c_isr()
3330 u32 macintmask; in brcms_b_init() local
3340 macintmask = brcms_intrsoff(wlc->wl); in brcms_b_init()
3356 brcms_intrsrestore(wlc->wl, macintmask); in brcms_b_init()
5091 wlc_hw->wlc->macintmask = 0; in brcms_b_bmac_down_prep()