Lines Matching defs:pc
84 static struct xe_guc *pc_to_guc(struct xe_guc_pc *pc) in pc_to_guc()
89 static struct xe_guc_ct *pc_to_ct(struct xe_guc_pc *pc) in pc_to_ct()
94 static struct xe_gt *pc_to_gt(struct xe_guc_pc *pc) in pc_to_gt()
99 static struct xe_device *pc_to_xe(struct xe_guc_pc *pc) in pc_to_xe()
104 static struct iosys_map *pc_to_maps(struct xe_guc_pc *pc) in pc_to_maps()
121 static int wait_for_pc_state(struct xe_guc_pc *pc, in wait_for_pc_state()
144 static int pc_action_reset(struct xe_guc_pc *pc) in pc_action_reset()
163 static int pc_action_query_task_state(struct xe_guc_pc *pc) in pc_action_query_task_state()
187 static int pc_action_set_param(struct xe_guc_pc *pc, u8 id, u32 value) in pc_action_set_param()
210 static int pc_action_unset_param(struct xe_guc_pc *pc, u8 id) in pc_action_unset_param()
232 static int pc_action_setup_gucrc(struct xe_guc_pc *pc, u32 mode) in pc_action_setup_gucrc()
260 static u32 pc_get_min_freq(struct xe_guc_pc *pc) in pc_get_min_freq()
270 static void pc_set_manual_rp_ctrl(struct xe_guc_pc *pc, bool enable) in pc_set_manual_rp_ctrl()
279 static void pc_set_cur_freq(struct xe_guc_pc *pc, u32 freq) in pc_set_cur_freq()
296 static int pc_set_min_freq(struct xe_guc_pc *pc, u32 freq) in pc_set_min_freq()
317 static int pc_get_max_freq(struct xe_guc_pc *pc) in pc_get_max_freq()
327 static int pc_set_max_freq(struct xe_guc_pc *pc, u32 freq) in pc_set_max_freq()
342 static void mtl_update_rpa_value(struct xe_guc_pc *pc) in mtl_update_rpa_value()
355 static void mtl_update_rpe_value(struct xe_guc_pc *pc) in mtl_update_rpe_value()
368 static void tgl_update_rpa_value(struct xe_guc_pc *pc) in tgl_update_rpa_value()
388 static void tgl_update_rpe_value(struct xe_guc_pc *pc) in tgl_update_rpe_value()
408 static void pc_update_rp_values(struct xe_guc_pc *pc) in pc_update_rp_values()
435 u32 xe_guc_pc_get_act_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_act_freq()
472 int xe_guc_pc_get_cur_freq(struct xe_guc_pc *pc, u32 *freq) in xe_guc_pc_get_cur_freq()
499 u32 xe_guc_pc_get_rp0_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_rp0_freq()
510 u32 xe_guc_pc_get_rpa_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_rpa_freq()
523 u32 xe_guc_pc_get_rpe_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_rpe_freq()
536 u32 xe_guc_pc_get_rpn_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_rpn_freq()
549 int xe_guc_pc_get_min_freq(struct xe_guc_pc *pc, u32 *freq) in xe_guc_pc_get_min_freq()
582 int xe_guc_pc_set_min_freq(struct xe_guc_pc *pc, u32 freq) in xe_guc_pc_set_min_freq()
612 int xe_guc_pc_get_max_freq(struct xe_guc_pc *pc, u32 *freq) in xe_guc_pc_get_max_freq()
643 int xe_guc_pc_set_max_freq(struct xe_guc_pc *pc, u32 freq) in xe_guc_pc_set_max_freq()
669 enum xe_gt_idle_state xe_guc_pc_c_status(struct xe_guc_pc *pc) in xe_guc_pc_c_status()
696 u64 xe_guc_pc_rc6_residency(struct xe_guc_pc *pc) in xe_guc_pc_rc6_residency()
710 u64 xe_guc_pc_mc6_residency(struct xe_guc_pc *pc) in xe_guc_pc_mc6_residency()
720 static void mtl_init_fused_rp_values(struct xe_guc_pc *pc) in mtl_init_fused_rp_values()
737 static void tgl_init_fused_rp_values(struct xe_guc_pc *pc) in tgl_init_fused_rp_values()
753 static void pc_init_fused_rp_values(struct xe_guc_pc *pc) in pc_init_fused_rp_values()
764 static u32 pc_max_freq_cap(struct xe_guc_pc *pc) in pc_max_freq_cap()
783 void xe_guc_pc_raise_unslice(struct xe_guc_pc *pc) in xe_guc_pc_raise_unslice()
795 void xe_guc_pc_init_early(struct xe_guc_pc *pc) in xe_guc_pc_init_early()
803 static int pc_adjust_freq_bounds(struct xe_guc_pc *pc) in pc_adjust_freq_bounds()
835 static int pc_adjust_requested_freq(struct xe_guc_pc *pc) in pc_adjust_requested_freq()
856 static int pc_set_mert_freq_cap(struct xe_guc_pc *pc) in pc_set_mert_freq_cap()
890 int xe_guc_pc_restore_stashed_freq(struct xe_guc_pc *pc) in xe_guc_pc_restore_stashed_freq()
914 int xe_guc_pc_gucrc_disable(struct xe_guc_pc *pc) in xe_guc_pc_gucrc_disable()
948 int xe_guc_pc_override_gucrc_mode(struct xe_guc_pc *pc, enum slpc_gucrc_mode mode) in xe_guc_pc_override_gucrc_mode()
965 int xe_guc_pc_unset_gucrc_mode(struct xe_guc_pc *pc) in xe_guc_pc_unset_gucrc_mode()
976 static void pc_init_pcode_freq(struct xe_guc_pc *pc) in pc_init_pcode_freq()
984 static int pc_init_freqs(struct xe_guc_pc *pc) in pc_init_freqs()
1013 static int pc_action_set_strategy(struct xe_guc_pc *pc, u32 val) in pc_action_set_strategy()
1028 int xe_guc_pc_start(struct xe_guc_pc *pc) in xe_guc_pc_start()
1111 int xe_guc_pc_stop(struct xe_guc_pc *pc) in xe_guc_pc_stop()
1133 struct xe_guc_pc *pc = arg; in xe_guc_pc_fini_hw() local
1154 int xe_guc_pc_init(struct xe_guc_pc *pc) in xe_guc_pc_init()
1182 static const char *pc_get_state_string(struct xe_guc_pc *pc) in pc_get_state_string()
1207 void xe_guc_pc_print(struct xe_guc_pc *pc, struct drm_printer *p) in xe_guc_pc_print()