Lines Matching refs:mutex
76 mutex_lock(&smu->mutex); in smu_sys_get_pp_feature_mask()
80 mutex_unlock(&smu->mutex); in smu_sys_get_pp_feature_mask()
94 mutex_lock(&smu->mutex); in smu_sys_set_pp_feature_mask()
98 mutex_unlock(&smu->mutex); in smu_sys_set_pp_feature_mask()
123 mutex_lock(&smu->mutex); in smu_set_soft_freq_range()
131 mutex_unlock(&smu->mutex); in smu_set_soft_freq_range()
146 mutex_lock(&smu->mutex); in smu_get_dpm_freq_range()
154 mutex_unlock(&smu->mutex); in smu_get_dpm_freq_range()
495 mutex_lock(&smu->mutex); in smu_sys_get_pp_table()
504 mutex_unlock(&smu->mutex); in smu_sys_get_pp_table()
526 mutex_lock(&smu->mutex); in smu_sys_set_pp_table()
551 mutex_unlock(&smu->mutex); in smu_sys_set_pp_table()
634 mutex_init(&smu->mutex); in smu_early_init()
635 mutex_init(&smu->smu_baco.mutex); in smu_early_init()
1014 mutex_lock(&smu->mutex); in smu_interrupt_work_fn()
1019 mutex_unlock(&smu->mutex); in smu_interrupt_work_fn()
1030 mutex_init(&smu->smu_feature.mutex); in smu_sw_init()
1632 mutex_lock(&smu->mutex); in smu_display_configuration_change()
1642 mutex_unlock(&smu->mutex); in smu_display_configuration_change()
1789 mutex_lock(&smu->mutex); in smu_handle_task()
1808 mutex_unlock(&smu->mutex); in smu_handle_task()
1839 mutex_lock(&smu->mutex); in smu_switch_power_profile()
1857 mutex_unlock(&smu->mutex); in smu_switch_power_profile()
1874 mutex_lock(&(smu->mutex)); in smu_get_performance_level()
1876 mutex_unlock(&(smu->mutex)); in smu_get_performance_level()
1894 mutex_lock(&smu->mutex); in smu_force_performance_level()
1898 mutex_unlock(&smu->mutex); in smu_force_performance_level()
1906 mutex_unlock(&smu->mutex); in smu_force_performance_level()
1925 mutex_lock(&smu->mutex); in smu_set_display_count()
1927 mutex_unlock(&smu->mutex); in smu_set_display_count()
1947 mutex_lock(&smu->mutex); in smu_force_smuclk_levels()
1957 mutex_unlock(&smu->mutex); in smu_force_smuclk_levels()
2017 mutex_lock(&smu->mutex); in smu_set_mp1_state()
2023 mutex_unlock(&smu->mutex); in smu_set_mp1_state()
2040 mutex_lock(&smu->mutex); in smu_set_df_cstate()
2046 mutex_unlock(&smu->mutex); in smu_set_df_cstate()
2061 mutex_lock(&smu->mutex); in smu_allow_xgmi_power_down()
2067 mutex_unlock(&smu->mutex); in smu_allow_xgmi_power_down()
2079 mutex_lock(&smu->mutex); in smu_write_watermarks_table()
2083 mutex_unlock(&smu->mutex); in smu_write_watermarks_table()
2100 mutex_lock(&smu->mutex); in smu_set_watermarks_for_clock_ranges()
2104 mutex_unlock(&smu->mutex); in smu_set_watermarks_for_clock_ranges()
2120 mutex_lock(&smu->mutex); in smu_set_ac_dc()
2127 mutex_unlock(&smu->mutex); in smu_set_ac_dc()
2214 mutex_lock(&smu->mutex); in smu_set_gfx_cgpg()
2219 mutex_unlock(&smu->mutex); in smu_set_gfx_cgpg()
2232 mutex_lock(&smu->mutex); in smu_set_fan_speed_rpm()
2246 mutex_unlock(&smu->mutex); in smu_set_fan_speed_rpm()
2303 mutex_lock(&smu->mutex); in smu_get_power_limit()
2338 mutex_unlock(&smu->mutex); in smu_get_power_limit()
2352 mutex_lock(&smu->mutex); in smu_set_power_limit()
2379 mutex_unlock(&smu->mutex); in smu_set_power_limit()
2391 mutex_lock(&smu->mutex); in smu_print_smuclk_levels()
2396 mutex_unlock(&smu->mutex); in smu_print_smuclk_levels()
2454 mutex_lock(&smu->mutex); in smu_od_edit_dpm_table()
2460 mutex_unlock(&smu->mutex); in smu_od_edit_dpm_table()
2485 mutex_lock(&smu->mutex); in smu_read_sensor()
2527 mutex_unlock(&smu->mutex); in smu_read_sensor()
2546 mutex_lock(&smu->mutex); in smu_get_power_profile_mode()
2550 mutex_unlock(&smu->mutex); in smu_get_power_profile_mode()
2566 mutex_lock(&smu->mutex); in smu_set_power_profile_mode()
2570 mutex_unlock(&smu->mutex); in smu_set_power_profile_mode()
2584 mutex_lock(&smu->mutex); in smu_get_fan_control_mode()
2589 mutex_unlock(&smu->mutex); in smu_get_fan_control_mode()
2601 mutex_lock(&smu->mutex); in smu_set_fan_control_mode()
2609 mutex_unlock(&smu->mutex); in smu_set_fan_control_mode()
2638 mutex_lock(&smu->mutex); in smu_get_fan_speed_pwm()
2643 mutex_unlock(&smu->mutex); in smu_get_fan_speed_pwm()
2656 mutex_lock(&smu->mutex); in smu_set_fan_speed_pwm()
2670 mutex_unlock(&smu->mutex); in smu_set_fan_speed_pwm()
2683 mutex_lock(&smu->mutex); in smu_get_fan_speed_rpm()
2688 mutex_unlock(&smu->mutex); in smu_get_fan_speed_rpm()
2701 mutex_lock(&smu->mutex); in smu_set_deep_sleep_dcefclk()
2705 mutex_unlock(&smu->mutex); in smu_set_deep_sleep_dcefclk()
2721 mutex_lock(&smu->mutex); in smu_get_clock_by_type_with_latency()
2739 mutex_unlock(&smu->mutex); in smu_get_clock_by_type_with_latency()
2746 mutex_unlock(&smu->mutex); in smu_get_clock_by_type_with_latency()
2760 mutex_lock(&smu->mutex); in smu_display_clock_voltage_request()
2765 mutex_unlock(&smu->mutex); in smu_display_clock_voltage_request()
2780 mutex_lock(&smu->mutex); in smu_display_disable_memory_clock_switch()
2785 mutex_unlock(&smu->mutex); in smu_display_disable_memory_clock_switch()
2799 mutex_lock(&smu->mutex); in smu_set_xgmi_pstate()
2804 mutex_unlock(&smu->mutex); in smu_set_xgmi_pstate()
2822 mutex_lock(&smu->mutex); in smu_get_baco_capability()
2827 mutex_unlock(&smu->mutex); in smu_get_baco_capability()
2841 mutex_lock(&smu->mutex); in smu_baco_set_state()
2846 mutex_unlock(&smu->mutex); in smu_baco_set_state()
2848 mutex_lock(&smu->mutex); in smu_baco_set_state()
2853 mutex_unlock(&smu->mutex); in smu_baco_set_state()
2873 mutex_lock(&smu->mutex); in smu_mode1_reset_is_support()
2878 mutex_unlock(&smu->mutex); in smu_mode1_reset_is_support()
2890 mutex_lock(&smu->mutex); in smu_mode2_reset_is_support()
2895 mutex_unlock(&smu->mutex); in smu_mode2_reset_is_support()
2907 mutex_lock(&smu->mutex); in smu_mode1_reset()
2912 mutex_unlock(&smu->mutex); in smu_mode1_reset()
2925 mutex_lock(&smu->mutex); in smu_mode2_reset()
2930 mutex_unlock(&smu->mutex); in smu_mode2_reset()
2947 mutex_lock(&smu->mutex); in smu_get_max_sustainable_clocks_by_dc()
2952 mutex_unlock(&smu->mutex); in smu_get_max_sustainable_clocks_by_dc()
2967 mutex_lock(&smu->mutex); in smu_get_uclk_dpm_states()
2972 mutex_unlock(&smu->mutex); in smu_get_uclk_dpm_states()
2985 mutex_lock(&smu->mutex); in smu_get_current_power_state()
2990 mutex_unlock(&smu->mutex); in smu_get_current_power_state()
3004 mutex_lock(&smu->mutex); in smu_get_dpm_clock_table()
3009 mutex_unlock(&smu->mutex); in smu_get_dpm_clock_table()
3025 mutex_lock(&smu->mutex); in smu_sys_get_gpu_metrics()
3029 mutex_unlock(&smu->mutex); in smu_sys_get_gpu_metrics()
3042 mutex_lock(&smu->mutex); in smu_enable_mgpu_fan_boost()
3047 mutex_unlock(&smu->mutex); in smu_enable_mgpu_fan_boost()
3058 mutex_lock(&smu->mutex); in smu_gfx_state_change_set()
3061 mutex_unlock(&smu->mutex); in smu_gfx_state_change_set()
3070 mutex_lock(&smu->mutex); in smu_set_light_sbr()
3073 mutex_unlock(&smu->mutex); in smu_set_light_sbr()
3089 mutex_lock(&smu->mutex); in smu_get_prv_buffer_details()
3094 mutex_unlock(&smu->mutex); in smu_get_prv_buffer_details()
3160 mutex_lock(&smu->mutex); in smu_wait_for_event()
3162 mutex_unlock(&smu->mutex); in smu_wait_for_event()