Home
last modified time | relevance | path

Searched refs:rp_state_cap (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/i915/gt/
Ddebugfs_gt_pm.c302 u32 rp_state_cap; in frequency_show() local
313 rp_state_cap = intel_uncore_read(uncore, BXT_RP_STATE_CAP); in frequency_show()
316 rp_state_cap = intel_uncore_read(uncore, GEN6_RP_STATE_CAP); in frequency_show()
437 max_freq = (IS_GEN9_LP(i915) ? rp_state_cap >> 0 : in frequency_show()
438 rp_state_cap >> 16) & 0xff; in frequency_show()
444 max_freq = (rp_state_cap & 0xff00) >> 8; in frequency_show()
450 max_freq = (IS_GEN9_LP(i915) ? rp_state_cap >> 16 : in frequency_show()
451 rp_state_cap >> 0) & 0xff; in frequency_show()
Dintel_rps.c1003 u32 rp_state_cap = intel_uncore_read(uncore, BXT_RP_STATE_CAP); in gen6_rps_init() local
1005 rps->rp0_freq = (rp_state_cap >> 16) & 0xff; in gen6_rps_init()
1006 rps->rp1_freq = (rp_state_cap >> 8) & 0xff; in gen6_rps_init()
1007 rps->min_freq = (rp_state_cap >> 0) & 0xff; in gen6_rps_init()
1009 u32 rp_state_cap = intel_uncore_read(uncore, GEN6_RP_STATE_CAP); in gen6_rps_init() local
1011 rps->rp0_freq = (rp_state_cap >> 0) & 0xff; in gen6_rps_init()
1012 rps->rp1_freq = (rp_state_cap >> 8) & 0xff; in gen6_rps_init()
1013 rps->min_freq = (rp_state_cap >> 16) & 0xff; in gen6_rps_init()
/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_slpc.c514 u32 rp_state_cap; in slpc_get_rp_values() local
516 rp_state_cap = intel_uncore_read(slpc_to_gt(slpc)->uncore, in slpc_get_rp_values()
519 slpc->rp0_freq = REG_FIELD_GET(RP0_CAP_MASK, rp_state_cap) * in slpc_get_rp_values()
521 slpc->rp1_freq = REG_FIELD_GET(RP1_CAP_MASK, rp_state_cap) * in slpc_get_rp_values()
523 slpc->min_freq = REG_FIELD_GET(RPN_CAP_MASK, rp_state_cap) * in slpc_get_rp_values()
/drivers/gpu/drm/i915/
Di915_debugfs.c414 u32 rp_state_cap; in i915_frequency_info() local
424 rp_state_cap = intel_uncore_read(&dev_priv->uncore, BXT_RP_STATE_CAP); in i915_frequency_info()
427 rp_state_cap = intel_uncore_read(&dev_priv->uncore, GEN6_RP_STATE_CAP); in i915_frequency_info()
538 max_freq = (IS_GEN9_LP(dev_priv) ? rp_state_cap >> 0 : in i915_frequency_info()
539 rp_state_cap >> 16) & 0xff; in i915_frequency_info()
545 max_freq = (rp_state_cap & 0xff00) >> 8; in i915_frequency_info()
551 max_freq = (IS_GEN9_LP(dev_priv) ? rp_state_cap >> 16 : in i915_frequency_info()
552 rp_state_cap >> 0) & 0xff; in i915_frequency_info()