Lines Matching full:returns

85  * Adds a powerdomain to the internal powerdomain list.  Returns
233 * Returns the power state switch mode currently in use (see the
294 * before any other pwrdm_register*() function. Returns -EINVAL if
317 * multiple times. Returns -EACCES if called before
361 * pwrdm_register_pwrdms(). Returns -EACCES if called before
412 * Find a registered powerdomain by its name @name. Returns a pointer
433 * early from the iterator. Returns the last return value of the
461 * enables the use of pwrdm_for_each_clkdm(). Returns -EINVAL if
508 * starting with 1. Returns -EINVAL if the powerdomain pointer is null.
525 * have not been satisfied. Returns -EINVAL if the powerdomain pointer is
526 * null or if the power state is invalid for the powerdomin, or returns 0
557 * Return the powerdomain @pwrdm's next power state. Returns -EINVAL
558 * if the powerdomain pointer is null or returns the next power state
578 * Return the powerdomain @pwrdm's current power state. Returns -EINVAL
579 * if the powerdomain pointer is null or returns the current power state
603 * Return the powerdomain @pwrdm's previous power state. Returns -EINVAL
604 * if the powerdomain pointer is null or returns the previous power state
627 * This will be either RETENTION or OFF, if supported. Returns
629 * state is not supported, or returns 0 upon success.
659 * types of memory, depending on the powerdomain. Returns -EINVAL if
662 * bank does not exist or is not controllable, or returns 0 upon
697 * will be either RETENTION or OFF, if supported. Returns -EINVAL if
700 * bank does not exist or is not controllable, or returns 0 upon
730 * will enter when the powerdomain enters retention. Returns -EINVAL
731 * if the powerdomain pointer is null or returns the logic retention
751 * Return the powerdomain @pwrdm's previous logic power state. Returns
752 * -EINVAL if the powerdomain pointer is null or returns the previous
772 * Return the powerdomain pwrdm's logic power state. Returns -EINVAL
773 * if the powerdomain pointer is null or returns the next logic
795 * @bank. Returns -EINVAL if the powerdomain pointer is null, -EEXIST if
797 * returns the current memory power state upon success.
824 * bank @bank. Returns -EINVAL if the powerdomain pointer is null,
826 * controllable, or returns the previous memory power state upon
854 * x. Returns -EINVAL if the powerdomain pointer is null, -EEXIST if
856 * returns the next memory power state upon success.
880 * previous power states. Returns -EINVAL if the powerdomain pointer
881 * is null, or returns 0 upon success.
911 * closely. Returns -EINVAL if the powerdomain pointer is null or if
913 * returns 0 upon success.
940 * closely. Returns -EINVAL if the powerdomain pointer is null or if
942 * returns 0 upon success.
966 * Returns 1 if powerdomain @pwrdm supports hardware save-and-restore
1026 * Returns: closest match for requested power state. default fallback
1102 * Returns -EINVAL if @pwrdm is null or invalid or if the
1103 * powerdomain's current power state could not be read, or returns 0