Lines Matching refs:macctl
671 u32 macctl; in b43legacy_wireless_core_reset() local
693 macctl = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_wireless_core_reset()
694 macctl &= ~B43legacy_MACCTL_GMODE; in b43legacy_wireless_core_reset()
696 macctl |= B43legacy_MACCTL_GMODE; in b43legacy_wireless_core_reset()
700 macctl |= B43legacy_MACCTL_IHR_ENABLED; in b43legacy_wireless_core_reset()
701 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, macctl); in b43legacy_wireless_core_reset()
1664 u32 tmp, macctl; in b43legacy_upload_microcode() local
1668 macctl = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_upload_microcode()
1669 B43legacy_WARN_ON(macctl & B43legacy_MACCTL_PSM_RUN); in b43legacy_upload_microcode()
1670 macctl |= B43legacy_MACCTL_PSM_JMP0; in b43legacy_upload_microcode()
1671 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, macctl); in b43legacy_upload_microcode()
1710 macctl = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_upload_microcode()
1711 macctl &= ~B43legacy_MACCTL_PSM_JMP0; in b43legacy_upload_microcode()
1712 macctl |= B43legacy_MACCTL_PSM_RUN; in b43legacy_upload_microcode()
1713 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, macctl); in b43legacy_upload_microcode()
1772 macctl = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_upload_microcode()
1773 macctl &= ~B43legacy_MACCTL_PSM_RUN; in b43legacy_upload_microcode()
1774 macctl |= B43legacy_MACCTL_PSM_JMP0; in b43legacy_upload_microcode()
1775 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, macctl); in b43legacy_upload_microcode()
2152 u32 value32, macctl; in b43legacy_chip_init() local
2156 macctl = B43legacy_MACCTL_IHR_ENABLED | B43legacy_MACCTL_SHM_ENABLED; in b43legacy_chip_init()
2158 macctl |= B43legacy_MACCTL_GMODE; in b43legacy_chip_init()
2159 macctl |= B43legacy_MACCTL_INFRA; in b43legacy_chip_init()
2160 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, macctl); in b43legacy_chip_init()
3177 u32 macctl; in b43legacy_wireless_core_exit() local
3185 macctl = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_wireless_core_exit()
3186 macctl &= ~B43legacy_MACCTL_PSM_RUN; in b43legacy_wireless_core_exit()
3187 macctl |= B43legacy_MACCTL_PSM_JMP0; in b43legacy_wireless_core_exit()
3188 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, macctl); in b43legacy_wireless_core_exit()