Searched refs:rps (Results 1 – 12 of 12) sorted by relevance
214 mutex_lock(&dev_priv->rps.hw_lock); in gt_cur_freq_mhz_show()215 ret = dev_priv->rps.cur_delay * GT_FREQUENCY_MULTIPLIER; in gt_cur_freq_mhz_show()216 mutex_unlock(&dev_priv->rps.hw_lock); in gt_cur_freq_mhz_show()228 mutex_lock(&dev_priv->rps.hw_lock); in gt_max_freq_mhz_show()229 ret = dev_priv->rps.max_delay * GT_FREQUENCY_MULTIPLIER; in gt_max_freq_mhz_show()230 mutex_unlock(&dev_priv->rps.hw_lock); in gt_max_freq_mhz_show()251 mutex_lock(&dev_priv->rps.hw_lock); in gt_max_freq_mhz_store()254 hw_max = dev_priv->rps.hw_max; in gt_max_freq_mhz_store()258 if (val < hw_min || val > hw_max || val < dev_priv->rps.min_delay) { in gt_max_freq_mhz_store()259 mutex_unlock(&dev_priv->rps.hw_lock); in gt_max_freq_mhz_store()[all …]
2433 if (*val >= dev_priv->rps.max_delay) in gen6_rps_limits()2434 *val = dev_priv->rps.max_delay; in gen6_rps_limits()2435 limits |= dev_priv->rps.max_delay << 24; in gen6_rps_limits()2443 if (*val <= dev_priv->rps.min_delay) { in gen6_rps_limits()2444 *val = dev_priv->rps.min_delay; in gen6_rps_limits()2445 limits |= dev_priv->rps.min_delay << 16; in gen6_rps_limits()2456 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock)); in gen6_set_rps()2457 WARN_ON(val > dev_priv->rps.max_delay); in gen6_set_rps()2458 WARN_ON(val < dev_priv->rps.min_delay); in gen6_set_rps()2460 if (val == dev_priv->rps.cur_delay) in gen6_set_rps()[all …]
1011 dev_priv->rps.hw_max * GT_FREQUENCY_MULTIPLIER); in i915_cur_delayinfo()1171 mutex_lock(&dev_priv->rps.hw_lock); in gen6_drpc_info()1173 mutex_unlock(&dev_priv->rps.hw_lock); in gen6_drpc_info()1356 ret = mutex_lock_interruptible(&dev_priv->rps.hw_lock); in i915_ring_freq_table()1362 for (gpu_freq = dev_priv->rps.min_delay; in i915_ring_freq_table()1363 gpu_freq <= dev_priv->rps.max_delay; in i915_ring_freq_table()1375 mutex_unlock(&dev_priv->rps.hw_lock); in i915_ring_freq_table()1811 ret = mutex_lock_interruptible(&dev_priv->rps.hw_lock); in i915_max_freq_get()1815 *val = dev_priv->rps.max_delay * GT_FREQUENCY_MULTIPLIER; in i915_max_freq_get()1816 mutex_unlock(&dev_priv->rps.hw_lock); in i915_max_freq_get()[all …]
459 rps.work); in gen6_pm_rps_work()463 spin_lock_irq(&dev_priv->rps.lock); in gen6_pm_rps_work()464 pm_iir = dev_priv->rps.pm_iir; in gen6_pm_rps_work()465 dev_priv->rps.pm_iir = 0; in gen6_pm_rps_work()468 spin_unlock_irq(&dev_priv->rps.lock); in gen6_pm_rps_work()473 mutex_lock(&dev_priv->rps.hw_lock); in gen6_pm_rps_work()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()[all …]
1631 spin_lock_init(&dev_priv->rps.lock); in i915_driver_load()1634 mutex_init(&dev_priv->rps.hw_lock); in i915_driver_load()
542 cancel_delayed_work_sync(&dev_priv->rps.delayed_resume_work); in i915_drm_freeze()
1049 struct intel_gen6_power_mgmt rps; member
9473 cancel_work_sync(&dev_priv->rps.work); in intel_modeset_cleanup()
183 if (rps_resp->rps.affil_valid) in asd_init_target_ddb()185 if (rps_resp->rps.affil_supp) in asd_init_target_ddb()
304 memcpy(dev->frame_rcvd, &dev->sata_dev.rps_resp.rps.fis, in sas_get_ata_info()
921 if (UDP->rps) { in floppy_off()924 delta = ((delta * UDP->rps) % HZ) / UDP->rps; in floppy_off()
5726 RPS *rps; in lpfc_els_rcv_rps() local5737 rps = (RPS *) lp; in lpfc_els_rcv_rps()5740 ((flag == 1) && (be32_to_cpu(rps->un.portNum) == 0)) || in lpfc_els_rcv_rps()5741 ((flag == 2) && (memcmp(&rps->un.portName, &vport->fc_portname, in lpfc_els_rcv_rps()