Lines Matching defs:pc

83 static struct xe_guc *pc_to_guc(struct xe_guc_pc *pc)  in pc_to_guc()
88 static struct xe_guc_ct *pc_to_ct(struct xe_guc_pc *pc) in pc_to_ct()
93 static struct xe_gt *pc_to_gt(struct xe_guc_pc *pc) in pc_to_gt()
98 static struct xe_device *pc_to_xe(struct xe_guc_pc *pc) in pc_to_xe()
103 static struct iosys_map *pc_to_maps(struct xe_guc_pc *pc) in pc_to_maps()
120 static int wait_for_pc_state(struct xe_guc_pc *pc, in wait_for_pc_state()
143 static int pc_action_reset(struct xe_guc_pc *pc) in pc_action_reset()
162 static int pc_action_query_task_state(struct xe_guc_pc *pc) in pc_action_query_task_state()
186 static int pc_action_set_param(struct xe_guc_pc *pc, u8 id, u32 value) in pc_action_set_param()
209 static int pc_action_unset_param(struct xe_guc_pc *pc, u8 id) in pc_action_unset_param()
231 static int pc_action_setup_gucrc(struct xe_guc_pc *pc, u32 mode) in pc_action_setup_gucrc()
259 static u32 pc_get_min_freq(struct xe_guc_pc *pc) in pc_get_min_freq()
269 static void pc_set_manual_rp_ctrl(struct xe_guc_pc *pc, bool enable) in pc_set_manual_rp_ctrl()
278 static void pc_set_cur_freq(struct xe_guc_pc *pc, u32 freq) in pc_set_cur_freq()
295 static int pc_set_min_freq(struct xe_guc_pc *pc, u32 freq) in pc_set_min_freq()
316 static int pc_get_max_freq(struct xe_guc_pc *pc) in pc_get_max_freq()
326 static int pc_set_max_freq(struct xe_guc_pc *pc, u32 freq) in pc_set_max_freq()
341 static void mtl_update_rpa_value(struct xe_guc_pc *pc) in mtl_update_rpa_value()
354 static void mtl_update_rpe_value(struct xe_guc_pc *pc) in mtl_update_rpe_value()
367 static void tgl_update_rpa_value(struct xe_guc_pc *pc) in tgl_update_rpa_value()
386 static void tgl_update_rpe_value(struct xe_guc_pc *pc) in tgl_update_rpe_value()
405 static void pc_update_rp_values(struct xe_guc_pc *pc) in pc_update_rp_values()
432 u32 xe_guc_pc_get_act_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_act_freq()
469 int xe_guc_pc_get_cur_freq(struct xe_guc_pc *pc, u32 *freq) in xe_guc_pc_get_cur_freq()
496 u32 xe_guc_pc_get_rp0_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_rp0_freq()
507 u32 xe_guc_pc_get_rpa_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_rpa_freq()
520 u32 xe_guc_pc_get_rpe_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_rpe_freq()
533 u32 xe_guc_pc_get_rpn_freq(struct xe_guc_pc *pc) in xe_guc_pc_get_rpn_freq()
546 int xe_guc_pc_get_min_freq(struct xe_guc_pc *pc, u32 *freq) in xe_guc_pc_get_min_freq()
579 int xe_guc_pc_set_min_freq(struct xe_guc_pc *pc, u32 freq) in xe_guc_pc_set_min_freq()
609 int xe_guc_pc_get_max_freq(struct xe_guc_pc *pc, u32 *freq) in xe_guc_pc_get_max_freq()
640 int xe_guc_pc_set_max_freq(struct xe_guc_pc *pc, u32 freq) in xe_guc_pc_set_max_freq()
666 enum xe_gt_idle_state xe_guc_pc_c_status(struct xe_guc_pc *pc) in xe_guc_pc_c_status()
693 u64 xe_guc_pc_rc6_residency(struct xe_guc_pc *pc) in xe_guc_pc_rc6_residency()
707 u64 xe_guc_pc_mc6_residency(struct xe_guc_pc *pc) in xe_guc_pc_mc6_residency()
717 static void mtl_init_fused_rp_values(struct xe_guc_pc *pc) in mtl_init_fused_rp_values()
734 static void tgl_init_fused_rp_values(struct xe_guc_pc *pc) in tgl_init_fused_rp_values()
750 static void pc_init_fused_rp_values(struct xe_guc_pc *pc) in pc_init_fused_rp_values()
761 static u32 pc_max_freq_cap(struct xe_guc_pc *pc) in pc_max_freq_cap()
780 void xe_guc_pc_raise_unslice(struct xe_guc_pc *pc) in xe_guc_pc_raise_unslice()
792 void xe_guc_pc_init_early(struct xe_guc_pc *pc) in xe_guc_pc_init_early()
800 static int pc_adjust_freq_bounds(struct xe_guc_pc *pc) in pc_adjust_freq_bounds()
832 static int pc_adjust_requested_freq(struct xe_guc_pc *pc) in pc_adjust_requested_freq()
853 static int pc_set_mert_freq_cap(struct xe_guc_pc *pc) in pc_set_mert_freq_cap()
887 int xe_guc_pc_restore_stashed_freq(struct xe_guc_pc *pc) in xe_guc_pc_restore_stashed_freq()
911 int xe_guc_pc_gucrc_disable(struct xe_guc_pc *pc) in xe_guc_pc_gucrc_disable()
945 int xe_guc_pc_override_gucrc_mode(struct xe_guc_pc *pc, enum slpc_gucrc_mode mode) in xe_guc_pc_override_gucrc_mode()
962 int xe_guc_pc_unset_gucrc_mode(struct xe_guc_pc *pc) in xe_guc_pc_unset_gucrc_mode()
973 static void pc_init_pcode_freq(struct xe_guc_pc *pc) in pc_init_pcode_freq()
981 static int pc_init_freqs(struct xe_guc_pc *pc) in pc_init_freqs()
1014 int xe_guc_pc_start(struct xe_guc_pc *pc) in xe_guc_pc_start()
1092 int xe_guc_pc_stop(struct xe_guc_pc *pc) in xe_guc_pc_stop()
1114 struct xe_guc_pc *pc = arg; in xe_guc_pc_fini_hw() local
1135 int xe_guc_pc_init(struct xe_guc_pc *pc) in xe_guc_pc_init()