Lines Matching defs:time
55 * update_pm_runtime_accounting - Update the time accounting of power states
58 * In order to be able to have time accounting of the various power states
60 * PM), we need to track the time spent in each state.
61 * update_pm_runtime_accounting must be called each time before the
62 * runtime_status field is updated, to account the time in the old state
101 u64 time;
107 time = suspended ? dev->power.suspended_time : dev->power.active_time;
111 return time;
152 * pm_runtime_autosuspend_expiration - Get a device's autosuspend-delay expiration time.
155 * Compute the autosuspend-delay expiration time based on the device's
156 * power.last_busy time. If the delay has already expired or is disabled
158 * Otherwise return the expiration time in nanoseconds (adjusted to be nonzero).
161 * Either way it can be racy, since power.last_busy may be updated at any time.
557 * flag is set and the next autosuspend-delay expiration time is in the
582 /* If the autosuspend_delay time hasn't expired yet, reschedule. */
735 * if the last_busy time has been updated so that there
736 * is a new autosuspend expiration time, automatically
986 * Check if the time is right and queue a suspend request.
998 * If 'expires' is after the current time, we've been called
1243 * upfront regardless of the current status, because next time
1440 /* Update time accounting before disabling PM-runtime. */
1492 * you at driver exit time if needed.
1509 * so that it cannot be suspended at run time until pm_runtime_allow() is called