Lines Matching defs: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()
445 u32 xe_guc_pc_get_rp0_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_rp0_freq()
456 u32 xe_guc_pc_get_rpe_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_rpe_freq()
469 u32 xe_guc_pc_get_rpn_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_rpn_freq()
482 int xe_guc_pc_get_min_freq(struct xe_guc_pc *pc, u32 *freq) in xe_guc_pc_get_min_freq()
527 int xe_guc_pc_set_min_freq(struct xe_guc_pc *pc, u32 freq) in xe_guc_pc_set_min_freq()
557 int xe_guc_pc_get_max_freq(struct xe_guc_pc *pc, u32 *freq) in xe_guc_pc_get_max_freq()
588 int xe_guc_pc_set_max_freq(struct xe_guc_pc *pc, u32 freq) in xe_guc_pc_set_max_freq()
614 enum xe_gt_idle_state xe_guc_pc_c_status(struct xe_guc_pc *pc) in xe_guc_pc_c_status()
641 u64 xe_guc_pc_rc6_residency(struct xe_guc_pc *pc) in xe_guc_pc_rc6_residency()
655 u64 xe_guc_pc_mc6_residency(struct xe_guc_pc *pc) in xe_guc_pc_mc6_residency()
665 static void mtl_init_fused_rp_values(struct xe_guc_pc *pc) in mtl_init_fused_rp_values()
682 static void tgl_init_fused_rp_values(struct xe_guc_pc *pc) in tgl_init_fused_rp_values()
698 static void pc_init_fused_rp_values(struct xe_guc_pc *pc) in pc_init_fused_rp_values()
709 static u32 pc_max_freq_cap(struct xe_guc_pc *pc) in pc_max_freq_cap()
728 void xe_guc_pc_raise_unslice(struct xe_guc_pc *pc) in xe_guc_pc_raise_unslice()
740 void xe_guc_pc_init_early(struct xe_guc_pc *pc) in xe_guc_pc_init_early()
748 static int pc_adjust_freq_bounds(struct xe_guc_pc *pc) in pc_adjust_freq_bounds()
780 static int pc_adjust_requested_freq(struct xe_guc_pc *pc) in pc_adjust_requested_freq()
801 static int pc_set_mert_freq_cap(struct xe_guc_pc *pc) in pc_set_mert_freq_cap()
835 int xe_guc_pc_restore_stashed_freq(struct xe_guc_pc *pc) in xe_guc_pc_restore_stashed_freq()
859 int xe_guc_pc_gucrc_disable(struct xe_guc_pc *pc) in xe_guc_pc_gucrc_disable()
893 int xe_guc_pc_override_gucrc_mode(struct xe_guc_pc *pc, enum slpc_gucrc_mode mode) in xe_guc_pc_override_gucrc_mode()
910 int xe_guc_pc_unset_gucrc_mode(struct xe_guc_pc *pc) in xe_guc_pc_unset_gucrc_mode()
921 static void pc_init_pcode_freq(struct xe_guc_pc *pc) in pc_init_pcode_freq()
929 static int pc_init_freqs(struct xe_guc_pc *pc) in pc_init_freqs()
962 int xe_guc_pc_start(struct xe_guc_pc *pc) in xe_guc_pc_start()
1027 int xe_guc_pc_stop(struct xe_guc_pc *pc) in xe_guc_pc_stop()
1049 struct xe_guc_pc *pc = arg; in xe_guc_pc_fini_hw() local
1070 int xe_guc_pc_init(struct xe_guc_pc *pc) in xe_guc_pc_init()