Home
last modified time | relevance | path

Searched refs:REG_READ (Results 1 – 4 of 4) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5312/
H A Dar5312reg.h31 #define REG_READ(_reg) *((volatile uint32_t *)(_reg)) macro
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_reset.c1737 #define REG_READ(_reg) *((volatile u_int32_t *)(_reg)) in ar9300_set_reset() macro
1741 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() macro
1840 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 …]
H A Dar9300_attach.c595 #define REG_READ(_reg) *((volatile u_int32_t *)(_reg)) in ar9300_read_revisions() macro
596 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() macro
613 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() macro
776 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 …]
H A Dar9300_misc.c2751 #define REG_READ(_reg) *((volatile u_int32_t *)(_reg)) in ar9300_set_proxy_sta() macro
2752 wasp_mm_rev = (REG_READ(AR_SOC_RST_REVISION_ID) & in ar9300_set_proxy_sta()
2756 #undef REG_READ in ar9300_set_proxy_sta()