Lines Matching refs:rp0_freq
291 if (freq < pc->rpn_freq || freq > pc->rp0_freq) in pc_set_min_freq()
323 if (freq < pc->rpn_freq || freq > pc->rp0_freq) in pc_set_max_freq()
445 return pc->rp0_freq; in xe_guc_pc_get_rp0_freq()
672 pc->rp0_freq = decode_freq(REG_FIELD_GET(MTL_RP0_CAP_MASK, reg)); in mtl_init_fused_rp_values()
689 pc->rp0_freq = REG_FIELD_GET(RP0_MASK, reg) * GT_FREQUENCY_MULTIPLIER; in tgl_init_fused_rp_values()
710 return min(LNL_MERT_FREQ_CAP, pc->rp0_freq); in pc_max_freq_cap()
712 return min(BMG_MERT_FREQ_CAP, pc->rp0_freq); in pc_max_freq_cap()
714 return pc->rp0_freq; in pc_max_freq_cap()
758 if (pc_get_max_freq(pc) > pc->rp0_freq) { in pc_adjust_freq_bounds()
759 ret = pc_set_max_freq(pc, pc->rp0_freq); in pc_adjust_freq_bounds()
768 if (pc_get_min_freq(pc) > pc->rp0_freq) in pc_adjust_freq_bounds()
769 ret = pc_set_min_freq(pc, pc->rp0_freq); in pc_adjust_freq_bounds()
816 ret = pc_set_max_freq(pc, min(pc->rp0_freq, pc_max_freq_cap(pc))); in pc_set_mert_freq_cap()
916 u32 max = DIV_ROUND_CLOSEST(pc->rp0_freq, GT_FREQUENCY_MULTIPLIER); in pc_init_pcode_freq()