Searched refs:GT_FREQUENCY_MULTIPLIER (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/gpu/drm/xe/ |
H A D | xe_guc_pc.c | 45 #define GT_FREQUENCY_MULTIPLIER 50 macro 239 return DIV_ROUND_CLOSEST(raw * GT_FREQUENCY_MULTIPLIER, in decode_freq() 246 GT_FREQUENCY_MULTIPLIER); in encode_freq() 360 pc->rpe_freq = REG_FIELD_GET(RPE_MASK, reg) * GT_FREQUENCY_MULTIPLIER; in tgl_update_rpe_value() 689 pc->rp0_freq = REG_FIELD_GET(RP0_MASK, reg) * GT_FREQUENCY_MULTIPLIER; in tgl_init_fused_rp_values() 690 pc->rpn_freq = REG_FIELD_GET(RPN_MASK, reg) * GT_FREQUENCY_MULTIPLIER; in tgl_init_fused_rp_values() 915 u32 min = DIV_ROUND_CLOSEST(pc->rpn_freq, GT_FREQUENCY_MULTIPLIER); in pc_init_pcode_freq() 916 u32 max = DIV_ROUND_CLOSEST(pc->rp0_freq, GT_FREQUENCY_MULTIPLIER); in pc_init_pcode_freq()
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_rps.h | 15 #define GT_FREQUENCY_MULTIPLIER 50 macro
|
H A D | intel_rps.c | 1643 return DIV_ROUND_CLOSEST(val * GT_FREQUENCY_MULTIPLIER, in intel_gpu_freq() 1650 return val * GT_FREQUENCY_MULTIPLIER; in intel_gpu_freq() 1661 GT_FREQUENCY_MULTIPLIER); in intel_freq_opcode() 1667 return DIV_ROUND_CLOSEST(val, GT_FREQUENCY_MULTIPLIER); in intel_freq_opcode() 2208 GT_FREQUENCY_MULTIPLIER); in intel_rps_get_max_raw_freq() 2528 GT_FREQUENCY_MULTIPLIER); in intel_rps_get_min_raw_freq()
|
H A D | intel_gt_sysfs_pm.c | 638 val *= GT_FREQUENCY_MULTIPLIER; in media_RP0_freq_mhz_show() 659 val *= GT_FREQUENCY_MULTIPLIER; in media_RPn_freq_mhz_show()
|
H A D | selftest_slpc.c | 9 #define FREQUENCY_REQ_UNIT DIV_ROUND_CLOSEST(GT_FREQUENCY_MULTIPLIER, \
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_slpc.c | 346 GT_FREQUENCY_MULTIPLIER, GEN9_FREQ_SCALER); in slpc_decode_min_freq() 357 GT_FREQUENCY_MULTIPLIER, GEN9_FREQ_SCALER); in slpc_decode_max_freq()
|