Searched refs:gpstates (Results 1 – 1 of 1) sorted by relevance
219 struct global_pstate_info *gpstates = policy->driver_data; in reset_gpstates() local221 gpstates->highest_lpstate_idx = 0; in reset_gpstates()222 gpstates->elapsed_time = 0; in reset_gpstates()223 gpstates->last_sampled_time = 0; in reset_gpstates()224 gpstates->last_lpstate_idx = 0; in reset_gpstates()225 gpstates->last_gpstate_idx = 0; in reset_gpstates()644 static inline void queue_gpstate_timer(struct global_pstate_info *gpstates) in queue_gpstate_timer() argument654 if ((gpstates->elapsed_time + GPSTATE_TIMER_INTERVAL) in queue_gpstate_timer()656 timer_interval = MAX_RAMP_DOWN_TIME - gpstates->elapsed_time; in queue_gpstate_timer()660 mod_timer(&gpstates->timer, jiffies + msecs_to_jiffies(timer_interval)); in queue_gpstate_timer()[all …]