Lines Matching defs:mode
110 * fames. If request, set power mode of chip to
123 * Set power mgt to the requested mode, and conditionally set
127 ar5416SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, int setChip)
145 modes[ah->ah_powerMode], modes[mode], setChip ? "set chip " : "");
146 switch (mode) {
149 ah->ah_powerMode = mode;
155 ah->ah_powerMode = mode;
160 ah->ah_powerMode = mode;
163 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: unknown power mode 0x%x\n",
164 __func__, mode);
171 * Return the current sleep mode of the chip
176 int mode = OS_REG_READ(ah, AR_RTC_STATUS);
177 switch (mode & AR_RTC_PM_STATUS_M) {
187 "%s: unknown power mode, RTC_STATUS 0x%x\n",
188 __func__, mode);