Lines Matching refs:new_delay
402 u8 new_delay; in ironlake_handle_rps_change() local
409 new_delay = dev_priv->ips.cur_delay; in ironlake_handle_rps_change()
420 new_delay = dev_priv->ips.cur_delay - 1; in ironlake_handle_rps_change()
421 if (new_delay < dev_priv->ips.max_delay) in ironlake_handle_rps_change()
422 new_delay = dev_priv->ips.max_delay; in ironlake_handle_rps_change()
425 new_delay = dev_priv->ips.cur_delay + 1; in ironlake_handle_rps_change()
426 if (new_delay > dev_priv->ips.min_delay) in ironlake_handle_rps_change()
427 new_delay = dev_priv->ips.min_delay; in ironlake_handle_rps_change()
430 if (ironlake_set_drps(dev, new_delay)) in ironlake_handle_rps_change()
431 dev_priv->ips.cur_delay = new_delay; in ironlake_handle_rps_change()
461 u8 new_delay; in gen6_pm_rps_work() local
476 new_delay = dev_priv->rps.cur_delay + 1; in gen6_pm_rps_work()
478 new_delay = dev_priv->rps.cur_delay - 1; in gen6_pm_rps_work()
483 if (!(new_delay > dev_priv->rps.max_delay || in gen6_pm_rps_work()
484 new_delay < dev_priv->rps.min_delay)) { in gen6_pm_rps_work()
485 gen6_set_rps(dev_priv->dev, new_delay); in gen6_pm_rps_work()