Home
last modified time | relevance | path

Searched refs:GT_FREQUENCY_MULTIPLIER (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_guc_pc.c45 #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 Dintel_rps.h15 #define GT_FREQUENCY_MULTIPLIER 50 macro
H A Dintel_rps.c1643 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 Dintel_gt_sysfs_pm.c638 val *= GT_FREQUENCY_MULTIPLIER; in media_RP0_freq_mhz_show()
659 val *= GT_FREQUENCY_MULTIPLIER; in media_RPn_freq_mhz_show()
H A Dselftest_slpc.c9 #define FREQUENCY_REQ_UNIT DIV_ROUND_CLOSEST(GT_FREQUENCY_MULTIPLIER, \
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_slpc.c346 GT_FREQUENCY_MULTIPLIER, GEN9_FREQ_SCALER); in slpc_decode_min_freq()
357 GT_FREQUENCY_MULTIPLIER, GEN9_FREQ_SCALER); in slpc_decode_max_freq()