Lines Matching refs:new_delay
613 u8 new_delay;
620 new_delay = dev_priv->ips.cur_delay;
631 new_delay = dev_priv->ips.cur_delay - 1;
632 if (new_delay < dev_priv->ips.max_delay)
633 new_delay = dev_priv->ips.max_delay;
636 new_delay = dev_priv->ips.cur_delay + 1;
637 if (new_delay > dev_priv->ips.min_delay)
638 new_delay = dev_priv->ips.min_delay;
641 if (ironlake_set_drps(dev, new_delay))
642 dev_priv->ips.cur_delay = new_delay;
669 u8 new_delay;
684 new_delay = dev_priv->rps.cur_delay + 1;
692 new_delay = dev_priv->rps.rpe_delay;
694 new_delay = dev_priv->rps.cur_delay - 1;
699 if (new_delay >= dev_priv->rps.min_delay &&
700 new_delay <= dev_priv->rps.max_delay) {
702 valleyview_set_rps(dev_priv->dev, new_delay);
704 gen6_set_rps(dev_priv->dev, new_delay);