Lines Matching refs:xe_guc_pc
77 static struct xe_guc *pc_to_guc(struct xe_guc_pc *pc) in pc_to_guc()
82 static struct xe_guc_ct *pc_to_ct(struct xe_guc_pc *pc) in pc_to_ct()
87 static struct xe_gt *pc_to_gt(struct xe_guc_pc *pc) in pc_to_gt()
92 static struct xe_device *pc_to_xe(struct xe_guc_pc *pc) in pc_to_xe()
97 static struct iosys_map *pc_to_maps(struct xe_guc_pc *pc) in pc_to_maps()
114 static int wait_for_pc_state(struct xe_guc_pc *pc, in wait_for_pc_state()
136 static int pc_action_reset(struct xe_guc_pc *pc) in pc_action_reset()
155 static int pc_action_query_task_state(struct xe_guc_pc *pc) in pc_action_query_task_state()
178 static int pc_action_set_param(struct xe_guc_pc *pc, u8 id, u32 value) in pc_action_set_param()
200 static int pc_action_unset_param(struct xe_guc_pc *pc, u8 id) in pc_action_unset_param()
221 static int pc_action_setup_gucrc(struct xe_guc_pc *pc, u32 mode) in pc_action_setup_gucrc()
249 static u32 pc_get_min_freq(struct xe_guc_pc *pc) in pc_get_min_freq()
259 static void pc_set_manual_rp_ctrl(struct xe_guc_pc *pc, bool enable) in pc_set_manual_rp_ctrl()
268 static void pc_set_cur_freq(struct xe_guc_pc *pc, u32 freq) in pc_set_cur_freq()
285 static int pc_set_min_freq(struct xe_guc_pc *pc, u32 freq) in pc_set_min_freq()
306 static int pc_get_max_freq(struct xe_guc_pc *pc) in pc_get_max_freq()
316 static int pc_set_max_freq(struct xe_guc_pc *pc, u32 freq) in pc_set_max_freq()
331 static void mtl_update_rpe_value(struct xe_guc_pc *pc) in mtl_update_rpe_value()
344 static void tgl_update_rpe_value(struct xe_guc_pc *pc) in tgl_update_rpe_value()
363 static void pc_update_rp_values(struct xe_guc_pc *pc) in pc_update_rp_values()
387 u32 xe_guc_pc_get_act_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_act_freq()
415 int xe_guc_pc_get_cur_freq(struct xe_guc_pc *pc, u32 *freq) in xe_guc_pc_get_cur_freq()
443 u32 xe_guc_pc_get_rp0_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_rp0_freq()
454 u32 xe_guc_pc_get_rpe_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_rpe_freq()
467 u32 xe_guc_pc_get_rpn_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_rpn_freq()
480 int xe_guc_pc_get_min_freq(struct xe_guc_pc *pc, u32 *freq) in xe_guc_pc_get_min_freq()
522 int xe_guc_pc_set_min_freq(struct xe_guc_pc *pc, u32 freq) in xe_guc_pc_set_min_freq()
552 int xe_guc_pc_get_max_freq(struct xe_guc_pc *pc, u32 *freq) in xe_guc_pc_get_max_freq()
583 int xe_guc_pc_set_max_freq(struct xe_guc_pc *pc, u32 freq) in xe_guc_pc_set_max_freq()
609 enum xe_gt_idle_state xe_guc_pc_c_status(struct xe_guc_pc *pc) in xe_guc_pc_c_status()
636 u64 xe_guc_pc_rc6_residency(struct xe_guc_pc *pc) in xe_guc_pc_rc6_residency()
650 u64 xe_guc_pc_mc6_residency(struct xe_guc_pc *pc) in xe_guc_pc_mc6_residency()
660 static void mtl_init_fused_rp_values(struct xe_guc_pc *pc) in mtl_init_fused_rp_values()
677 static void tgl_init_fused_rp_values(struct xe_guc_pc *pc) in tgl_init_fused_rp_values()
693 static void pc_init_fused_rp_values(struct xe_guc_pc *pc) in pc_init_fused_rp_values()
704 static u32 pc_max_freq_cap(struct xe_guc_pc *pc) in pc_max_freq_cap()
723 void xe_guc_pc_raise_unslice(struct xe_guc_pc *pc) in xe_guc_pc_raise_unslice()
735 void xe_guc_pc_init_early(struct xe_guc_pc *pc) in xe_guc_pc_init_early()
743 static int pc_adjust_freq_bounds(struct xe_guc_pc *pc) in pc_adjust_freq_bounds()
775 static int pc_adjust_requested_freq(struct xe_guc_pc *pc) in pc_adjust_requested_freq()
796 static int pc_set_mert_freq_cap(struct xe_guc_pc *pc) in pc_set_mert_freq_cap()
830 int xe_guc_pc_restore_stashed_freq(struct xe_guc_pc *pc) in xe_guc_pc_restore_stashed_freq()
854 int xe_guc_pc_gucrc_disable(struct xe_guc_pc *pc) in xe_guc_pc_gucrc_disable()
885 int xe_guc_pc_override_gucrc_mode(struct xe_guc_pc *pc, enum slpc_gucrc_mode mode) in xe_guc_pc_override_gucrc_mode()
902 int xe_guc_pc_unset_gucrc_mode(struct xe_guc_pc *pc) in xe_guc_pc_unset_gucrc_mode()
913 static void pc_init_pcode_freq(struct xe_guc_pc *pc) in pc_init_pcode_freq()
921 static int pc_init_freqs(struct xe_guc_pc *pc) in pc_init_freqs()
954 int xe_guc_pc_start(struct xe_guc_pc *pc) in xe_guc_pc_start()
1016 int xe_guc_pc_stop(struct xe_guc_pc *pc) in xe_guc_pc_stop()
1038 struct xe_guc_pc *pc = arg; in xe_guc_pc_fini_hw()
1058 int xe_guc_pc_init(struct xe_guc_pc *pc) in xe_guc_pc_init()