Searched refs:gpstates (Results 1 – 1 of 1) sorted by relevance
216 struct global_pstate_info *gpstates = policy->driver_data; in reset_gpstates() local218 gpstates->highest_lpstate_idx = 0; in reset_gpstates()219 gpstates->elapsed_time = 0; in reset_gpstates()220 gpstates->last_sampled_time = 0; in reset_gpstates()221 gpstates->last_lpstate_idx = 0; in reset_gpstates()222 gpstates->last_gpstate_idx = 0; in reset_gpstates()641 static inline void queue_gpstate_timer(struct global_pstate_info *gpstates) in queue_gpstate_timer() argument651 if ((gpstates->elapsed_time + GPSTATE_TIMER_INTERVAL) in queue_gpstate_timer()653 timer_interval = MAX_RAMP_DOWN_TIME - gpstates->elapsed_time; in queue_gpstate_timer()657 mod_timer(&gpstates->timer, jiffies + msecs_to_jiffies(timer_interval)); in queue_gpstate_timer()[all …]