41#define POWER_UP_TIME 200000
130 static const char*
modes[] = {
187 "%s: unknown power mode, RTC_STATUS 0x%x\n",
#define OS_REG_SET_BIT(_a, _r, _f)
#define OS_REG_CLR_BIT(_a, _r, _f)
#define HALDEBUG(_ah, __m,...)
void ath_hal_printf(struct ath_hal *, const char *,...)
#define OS_REG_WRITE(_ah, _reg, _val)
#define OS_REG_READ(_ah, _reg)
static const struct cmode modes[]
#define AR_STA_ID1_PWR_SAV
HAL_BOOL ar5416SetResetReg(struct ath_hal *, uint32_t type)
static HAL_BOOL ar5416SetPowerModeAwake(struct ath_hal *ah, int setChip)
static void ar5416SetPowerModeNetworkSleep(struct ath_hal *ah, int setChip)
HAL_BOOL ar5416SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, int setChip)
static void ar5416SetPowerModeSleep(struct ath_hal *ah, int setChip)
HAL_POWER_MODE ar5416GetPowerMode(struct ath_hal *ah)
#define AR_RTC_STATUS_SLEEP
#define AR_RTC_FORCE_WAKE_EN
#define AR_RTC_STATUS_WAKEUP
#define AR_RTC_FORCE_WAKE
#define AR_RTC_STATUS_SHUTDOWN
#define AR_SREV_HOWL(_ah)
#define AR_RTC_PM_STATUS_M
HAL_POWER_MODE ah_powerMode