Searched refs:gpstates (Results 1 – 1 of 1) sorted by relevance
218 struct global_pstate_info *gpstates = policy->driver_data; in reset_gpstates() local220 gpstates->highest_lpstate_idx = 0; in reset_gpstates()221 gpstates->elapsed_time = 0; in reset_gpstates()222 gpstates->last_sampled_time = 0; in reset_gpstates()223 gpstates->last_lpstate_idx = 0; in reset_gpstates()224 gpstates->last_gpstate_idx = 0; in reset_gpstates()643 static inline void queue_gpstate_timer(struct global_pstate_info *gpstates) in queue_gpstate_timer() argument653 if ((gpstates->elapsed_time + GPSTATE_TIMER_INTERVAL) in queue_gpstate_timer()655 timer_interval = MAX_RAMP_DOWN_TIME - gpstates->elapsed_time; in queue_gpstate_timer()659 mod_timer(&gpstates->timer, jiffies + msecs_to_jiffies(timer_interval)); in queue_gpstate_timer()[all …]