Lines Matching +full:force +full:- +full:mode
1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2004 Atheros Communications, Inc.
28 * Notify Power Mgt is disabled in self-generated frames.
29 * If requested, set Power Mode of chip to auto/normal.
40 * Notify Power Mgt is enabled in self-generated frames.
41 * If requested, force chip awake.
59 for (i = POWER_UP_TIME / 200; i != 0; i--) { in ar5210SetPowerModeAwake()
82 * Notify Power Mgt is disabled in self-generated frames.
83 * If requested, force chip to sleep.
94 ar5210SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, int setChip) in ar5210SetPowerMode() argument
99 "FULL-SLEEP", in ar5210SetPowerMode()
106 HALDEBUG(ah, HAL_DEBUG_POWER, "%s: %s -> %s (%s)\n", __func__, in ar5210SetPowerMode()
107 modes[ah->ah_powerMode], modes[mode], in ar5210SetPowerMode()
109 switch (mode) { in ar5210SetPowerMode()
112 ah->ah_powerMode = mode; in ar5210SetPowerMode()
118 ah->ah_powerMode = mode; in ar5210SetPowerMode()
123 ah->ah_powerMode = mode; in ar5210SetPowerMode()
126 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: unknown power mode %u\n", in ar5210SetPowerMode()
127 __func__, mode); in ar5210SetPowerMode()