Searched refs:new_delay (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/i915/
H A Di915_irq.c944 u8 new_delay; ironlake_rps_change_irq_handler() local
950 new_delay = dev_priv->ips.cur_delay; ironlake_rps_change_irq_handler()
961 new_delay = dev_priv->ips.cur_delay - 1; ironlake_rps_change_irq_handler()
962 if (new_delay < dev_priv->ips.max_delay) ironlake_rps_change_irq_handler()
963 new_delay = dev_priv->ips.max_delay; ironlake_rps_change_irq_handler()
966 new_delay = dev_priv->ips.cur_delay + 1; ironlake_rps_change_irq_handler()
967 if (new_delay > dev_priv->ips.min_delay) ironlake_rps_change_irq_handler()
968 new_delay = dev_priv->ips.min_delay; ironlake_rps_change_irq_handler()
971 if (ironlake_set_drps(dev, new_delay)) ironlake_rps_change_irq_handler()
972 dev_priv->ips.cur_delay = new_delay; ironlake_rps_change_irq_handler()
1079 int new_delay, adj, min, max; gen6_pm_rps_work() local
1107 new_delay = dev_priv->rps.cur_freq; gen6_pm_rps_work()
1112 new_delay = dev_priv->rps.max_freq_softlimit; gen6_pm_rps_work()
1123 if (new_delay < dev_priv->rps.efficient_freq - adj) { gen6_pm_rps_work()
1124 new_delay = dev_priv->rps.efficient_freq; gen6_pm_rps_work()
1131 new_delay = dev_priv->rps.efficient_freq; gen6_pm_rps_work()
1133 new_delay = dev_priv->rps.min_freq_softlimit; gen6_pm_rps_work()
1149 new_delay += adj; gen6_pm_rps_work()
1150 new_delay = clamp_t(int, new_delay, min, max); gen6_pm_rps_work()
1152 intel_set_rps(dev_priv->dev, new_delay); gen6_pm_rps_work()
/linux-4.4.14/drivers/devfreq/
H A Ddevfreq.c334 unsigned int new_delay = *delay; devfreq_interval_update() local
337 devfreq->profile->polling_ms = new_delay; devfreq_interval_update()
343 if (!new_delay) { devfreq_interval_update()
357 if (cur_delay > new_delay) { devfreq_interval_update()
/linux-4.4.14/drivers/md/
H A Dmd.c3393 unsigned long new_delay = (msec*HZ)/1000; safe_delay_store() local
3395 if (new_delay == 0) safe_delay_store()
3396 new_delay = 1; safe_delay_store()
3397 mddev->safemode_delay = new_delay; safe_delay_store()
3398 if (new_delay < old_delay || old_delay == 0) safe_delay_store()

Completed in 194 milliseconds