Lines Matching +full:power +full:- +full:up

4  * (C) Copyright 2012-2014
7 * SPDX-License-Identifier: GPL-2.0+
17 * psc_delay() - delay for psc
28 * psc_wait() - Wait for end of transitional state
35 * Return: 0 when the domain is free. Returns -1 if a timeout occurred waiting
44 * Do nothing if the power domain is in transition. This should never in psc_wait()
60 return -1; in psc_wait()
66 * psc_get_domain_num() - Get the domain number
73 /* Get the power domain associated with the module number */ in psc_get_domain_num()
81 * psc_set_state() - powers up/down a module
85 * Powers up/down the requested module and the associated power domain if
86 * required. No action is taken it the module is already powered up/down.
88 * be left in the power on state. Multiple modules can exist in a power
91 * Return: 0 on success, -1 if the module can't be powered up, or if there is a
104 * Get the power domain associated with the module number, and reset in psc_set_state()
111 /* Wait for the status of the domain/module to be non-transitional */ in psc_set_state()
113 return -1; in psc_set_state()
119 * Set the next state of the power domain to on. It's OK if the domain in psc_set_state()
120 * is always on. This code will not ever power down a domain, so no in psc_set_state()
121 * change is made if the new state is power down. in psc_set_state()
146 * psc_enable_module() - power up a module
149 * Powers up the requested module and the associated power domain
150 * if required. No action is taken it the module is already powered up.
152 * Return: 0 on success, -1 if the module can't be powered up, or
169 * psc_disable_module() - Power down a module
172 * Return: 0 on success, -1 on failure or timeout.
189 * psc_set_reset_iso() - Set the reset isolation bit in mdctl
217 * psc_disable_domain() - Disable a power domain
238 * psc_module_keep_in_reset_enabled() - Keep module in enabled,in-reset state
285 timeout--; in psc_module_keep_in_reset_enabled()
291 return -ETIMEDOUT; in psc_module_keep_in_reset_enabled()
297 * psc_module_release_from_reset() - Release the module from reset
314 /* Should be set to 1 to de-assert Local reset */ in psc_module_release_from_reset()
329 timeout--; in psc_module_release_from_reset()
335 return -ETIMEDOUT; in psc_module_release_from_reset()