Lines Matching refs:freq_lock
485 mutex_lock(&pc->freq_lock); in xe_guc_pc_get_min_freq()
509 mutex_unlock(&pc->freq_lock); in xe_guc_pc_get_min_freq()
526 mutex_lock(&pc->freq_lock); in xe_guc_pc_set_min_freq()
540 mutex_unlock(&pc->freq_lock); in xe_guc_pc_set_min_freq()
556 mutex_lock(&pc->freq_lock); in xe_guc_pc_get_max_freq()
570 mutex_unlock(&pc->freq_lock); in xe_guc_pc_get_max_freq()
587 mutex_lock(&pc->freq_lock); in xe_guc_pc_set_max_freq()
601 mutex_unlock(&pc->freq_lock); in xe_guc_pc_set_max_freq()
747 lockdep_assert_held(&pc->freq_lock); in pc_adjust_freq_bounds()
779 lockdep_assert_held(&pc->freq_lock); in pc_adjust_requested_freq()
813 mutex_lock(&pc->freq_lock); in pc_set_mert_freq_cap()
817 mutex_unlock(&pc->freq_lock); in pc_set_mert_freq_cap()
837 mutex_lock(&pc->freq_lock); in xe_guc_pc_restore_stashed_freq()
841 mutex_unlock(&pc->freq_lock); in xe_guc_pc_restore_stashed_freq()
925 mutex_lock(&pc->freq_lock); in pc_init_freqs()
946 mutex_unlock(&pc->freq_lock); in pc_init_freqs()
1025 mutex_lock(&pc->freq_lock); in xe_guc_pc_stop()
1027 mutex_unlock(&pc->freq_lock); in xe_guc_pc_stop()
1070 err = drmm_mutex_init(&xe->drm, &pc->freq_lock); in xe_guc_pc_init()