Searched refs:REG_READ (Results 1 – 4 of 4) sorted by relevance
31 #define REG_READ(_reg) *((volatile uint32_t *)(_reg)) macro
1737 #define REG_READ(_reg) *((volatile u_int32_t *)(_reg)) in ar9300_set_reset() macro1741 REG_READ(AR_SOC_RST_RESET) | AR_SOC_WLAN_RST); in ar9300_set_reset()1743 REG_READ(AR_SOC_RST_RESET) & (~AR_SOC_WLAN_RST)); in ar9300_set_reset()1748 tmp_reg = REG_READ(AR_SOC_BOOT_STRAP); in ar9300_set_reset()1760 #undef REG_READ in ar9300_set_reset()1794 #define REG_READ(_reg) *((volatile u_int32_t *)(_reg)) in ar9300_set_reset() macro1840 REG_WRITE(RST_RESET, (REG_READ(RST_RESET) | RTC_RESET)); in ar9300_set_reset()1842 REG_WRITE(RST_RESET, (REG_READ(RST_RESET) & ~RTC_RESET)); in ar9300_set_reset()1850 #undef REG_READ in ar9300_set_reset()1976 #define REG_READ(_reg) *((volatile u_int32_t *)(_reg)) in ar9300_phy_disable() macro[all …]
595 #define REG_READ(_reg) *((volatile u_int32_t *)(_reg)) in ar9300_read_revisions() macro596 if ((REG_READ(AR_SOC_RST_REVISION_ID) & AR_SREV_REVISION_HORNET_11_MASK) in ar9300_read_revisions()603 #undef REG_READ in ar9300_read_revisions()610 #define REG_READ(_reg) *((volatile u_int32_t *)(_reg)) in ar9300_read_revisions() macro613 REG_READ(AR_SOC_RST_REVISION_ID) & AR_SREV_REVISION_WASP_MASK; in ar9300_read_revisions()614 #undef REG_READ in ar9300_read_revisions()775 #define REG_READ(_reg) (*((volatile u_int32_t *)(_reg))) in ar9300_attach() macro776 if (REG_READ(AR_SOC_SEL_25M_40M) & 0x1) { in ar9300_attach()785 #undef REG_READ in ar9300_attach()796 #define REG_READ(_reg) (*((volatile u_int32_t *)(_reg))) in ar9300_attach() macro[all …]
2751 #define REG_READ(_reg) *((volatile u_int32_t *)(_reg)) in ar9300_set_proxy_sta() macro2752 wasp_mm_rev = (REG_READ(AR_SOC_RST_REVISION_ID) & in ar9300_set_proxy_sta()2756 #undef REG_READ in ar9300_set_proxy_sta()