Lines Matching defs:smu
83 struct smu_context *smu = handle; in smu_sys_get_pp_feature_mask() local
94 struct smu_context *smu = handle; in smu_sys_set_pp_feature_mask() local
102 int smu_set_residency_gfxoff(struct smu_context *smu, bool value) in smu_set_residency_gfxoff()
110 int smu_get_residency_gfxoff(struct smu_context *smu, u32 *value) in smu_get_residency_gfxoff()
118 int smu_get_entrycount_gfxoff(struct smu_context *smu, u64 *value) in smu_get_entrycount_gfxoff()
126 int smu_get_status_gfxoff(struct smu_context *smu, uint32_t *value) in smu_get_status_gfxoff()
136 int smu_set_soft_freq_range(struct smu_context *smu, in smu_set_soft_freq_range()
153 int smu_get_dpm_freq_range(struct smu_context *smu, in smu_get_dpm_freq_range()
172 int smu_set_gfx_power_up_by_imu(struct smu_context *smu) in smu_set_gfx_power_up_by_imu()
187 struct smu_context *smu = handle; in smu_get_mclk() local
201 struct smu_context *smu = handle; in smu_get_sclk() local
213 static int smu_set_gfx_imu_enable(struct smu_context *smu) in smu_set_gfx_imu_enable()
240 static int smu_dpm_set_vcn_enable(struct smu_context *smu, in smu_dpm_set_vcn_enable()
267 static int smu_dpm_set_jpeg_enable(struct smu_context *smu, in smu_dpm_set_jpeg_enable()
290 static int smu_dpm_set_vpe_enable(struct smu_context *smu, in smu_dpm_set_vpe_enable()
310 static int smu_dpm_set_umsch_mm_enable(struct smu_context *smu, in smu_dpm_set_umsch_mm_enable()
333 static int smu_set_mall_enable(struct smu_context *smu) in smu_set_mall_enable()
365 struct smu_context *smu = handle; in smu_dpm_set_power_gate() local
427 static void smu_set_user_clk_dependencies(struct smu_context *smu, enum smu_clk_type clk) in smu_set_user_clk_dependencies()
462 static void smu_restore_dpm_user_profile(struct smu_context *smu) in smu_restore_dpm_user_profile()
569 struct smu_context *smu = adev->powerplay.pp_handle; in is_support_cclk_dpm() local
581 struct smu_context *smu = handle; in smu_sys_get_pp_table() local
602 struct smu_context *smu = handle; in smu_sys_set_pp_table() local
641 static int smu_get_driver_allowed_feature_mask(struct smu_context *smu) in smu_get_driver_allowed_feature_mask()
675 struct smu_context *smu = adev->powerplay.pp_handle; in smu_set_funcs() local
758 struct smu_context *smu; in smu_early_init() local
785 static int smu_set_default_dpm_table(struct smu_context *smu) in smu_set_default_dpm_table()
833 static int smu_apply_default_config_table_settings(struct smu_context *smu) in smu_apply_default_config_table_settings()
849 struct smu_context *smu = adev->powerplay.pp_handle; in smu_late_init() local
921 static int smu_init_fb_allocations(struct smu_context *smu) in smu_init_fb_allocations()
987 static int smu_fini_fb_allocations(struct smu_context *smu) in smu_fini_fb_allocations()
1015 static int smu_alloc_memory_pool(struct smu_context *smu) in smu_alloc_memory_pool()
1052 static int smu_free_memory_pool(struct smu_context *smu) in smu_free_memory_pool()
1069 static int smu_alloc_dummy_read_table(struct smu_context *smu) in smu_alloc_dummy_read_table()
1093 static void smu_free_dummy_read_table(struct smu_context *smu) in smu_free_dummy_read_table()
1107 static int smu_smc_table_sw_init(struct smu_context *smu) in smu_smc_table_sw_init()
1153 static int smu_smc_table_sw_fini(struct smu_context *smu) in smu_smc_table_sw_fini()
1186 struct smu_context *smu = container_of(work, struct smu_context, in smu_throttling_logging_work_fn() local
1194 struct smu_context *smu = container_of(work, struct smu_context, in smu_interrupt_work_fn() local
1203 struct smu_context *smu = in smu_swctf_delayed_work_handler() local
1229 static void smu_init_xgmi_plpd_mode(struct smu_context *smu) in smu_init_xgmi_plpd_mode()
1255 static bool smu_is_workload_profile_available(struct smu_context *smu, in smu_is_workload_profile_available()
1263 static void smu_init_power_profile(struct smu_context *smu) in smu_init_power_profile()
1281 struct smu_context *smu = adev->powerplay.pp_handle; in smu_sw_init() local
1344 struct smu_context *smu = adev->powerplay.pp_handle; in smu_sw_fini() local
1363 static int smu_get_thermal_temperature_range(struct smu_context *smu) in smu_get_thermal_temperature_range()
1398 static int smu_wbrf_handle_exclusion_ranges(struct smu_context *smu) in smu_wbrf_handle_exclusion_ranges()
1474 struct smu_context *smu = container_of(nb, struct smu_context, wbrf_notifier); in smu_wbrf_event_handler() local
1497 struct smu_context *smu = container_of(work, struct smu_context, wbrf_delayed_work.work); in smu_wbrf_delayed_work_handler() local
1509 static void smu_wbrf_support_check(struct smu_context *smu) in smu_wbrf_support_check()
1529 static int smu_wbrf_init(struct smu_context *smu) in smu_wbrf_init()
1561 static void smu_wbrf_fini(struct smu_context *smu) in smu_wbrf_fini()
1571 static int smu_smc_hw_setup(struct smu_context *smu) in smu_smc_hw_setup()
1787 static int smu_start_smc_engine(struct smu_context *smu) in smu_start_smc_engine()
1827 struct smu_context *smu = adev->powerplay.pp_handle; in smu_hw_init() local
1893 static int smu_disable_dpms(struct smu_context *smu) in smu_disable_dpms()
2005 static int smu_smc_hw_cleanup(struct smu_context *smu) in smu_smc_hw_cleanup()
2032 static int smu_reset_mp1_state(struct smu_context *smu) in smu_reset_mp1_state()
2049 struct smu_context *smu = adev->powerplay.pp_handle; in smu_hw_fini() local
2083 struct smu_context *smu = adev->powerplay.pp_handle; in smu_late_fini() local
2088 static int smu_reset(struct smu_context *smu) in smu_reset()
2116 struct smu_context *smu = adev->powerplay.pp_handle; in smu_suspend() local
2154 struct smu_context *smu = adev->powerplay.pp_handle; in smu_resume() local
2194 struct smu_context *smu = handle; in smu_display_configuration_change() local
2228 struct smu_context *smu = (struct smu_context*)(handle); in smu_enable_umd_pstate() local
2258 static int smu_bump_power_profile_mode(struct smu_context *smu, in smu_bump_power_profile_mode()
2284 static void smu_power_profile_mode_get(struct smu_context *smu, in smu_power_profile_mode_get()
2290 static void smu_power_profile_mode_put(struct smu_context *smu, in smu_power_profile_mode_put()
2297 static int smu_adjust_power_state_dynamic(struct smu_context *smu, in smu_adjust_power_state_dynamic()
2344 static int smu_handle_task(struct smu_context *smu, in smu_handle_task()
2377 struct smu_context *smu = handle; in smu_handle_dpm_task() local
2388 struct smu_context *smu = handle; in smu_switch_power_profile() local
2419 struct smu_context *smu = handle; in smu_get_performance_level() local
2434 struct smu_context *smu = handle; in smu_force_performance_level() local
2462 struct smu_context *smu = handle; in smu_set_display_count() local
2470 static int smu_force_smuclk_levels(struct smu_context *smu, in smu_force_smuclk_levels()
2500 struct smu_context *smu = handle; in smu_force_ppclk_levels() local
2549 struct smu_context *smu = handle; in smu_set_mp1_state() local
2565 struct smu_context *smu = handle; in smu_set_df_cstate() local
2581 int smu_write_watermarks_table(struct smu_context *smu) in smu_write_watermarks_table()
2592 struct smu_context *smu = handle; in smu_set_watermarks_for_clock_ranges() local
2603 int smu_set_ac_dc(struct smu_context *smu) in smu_set_ac_dc()
2677 struct smu_context *smu = handle; in smu_load_microcode() local
2707 static int smu_set_gfx_cgpg(struct smu_context *smu, bool enabled) in smu_set_gfx_cgpg()
2719 struct smu_context *smu = handle; in smu_set_fan_speed_rpm() local
2759 struct smu_context *smu = handle; in smu_get_power_limit() local
2838 struct smu_context *smu = handle; in smu_set_power_limit() local
2869 static int smu_print_smuclk_levels(struct smu_context *smu, enum smu_clk_type clk_type, char *buf) in smu_print_smuclk_levels()
2944 struct smu_context *smu = handle; in smu_print_ppclk_levels() local
2956 struct smu_context *smu = handle; in smu_emit_ppclk_levels() local
2977 struct smu_context *smu = handle; in smu_od_edit_dpm_table() local
2995 struct smu_context *smu = handle; in smu_read_sensor() local
3074 struct smu_context *smu = handle; in smu_get_apu_thermal_limit() local
3085 struct smu_context *smu = handle; in smu_set_apu_thermal_limit() local
3095 struct smu_context *smu = handle; in smu_get_power_profile_mode() local
3110 struct smu_context *smu = handle; in smu_set_power_profile_mode() local
3144 struct smu_context *smu = handle; in smu_get_fan_control_mode() local
3162 struct smu_context *smu = handle; in smu_set_fan_control_mode() local
3195 struct smu_context *smu = handle; in smu_get_fan_speed_pwm() local
3214 struct smu_context *smu = handle; in smu_set_fan_speed_pwm() local
3241 struct smu_context *smu = handle; in smu_get_fan_speed_rpm() local
3260 struct smu_context *smu = handle; in smu_set_deep_sleep_dcefclk() local
3272 struct smu_context *smu = handle; in smu_get_clock_by_type_with_latency() local
3307 struct smu_context *smu = handle; in smu_display_clock_voltage_request() local
3323 struct smu_context *smu = handle; in smu_display_disable_memory_clock_switch() local
3338 struct smu_context *smu = handle; in smu_set_xgmi_pstate() local
3355 struct smu_context *smu = handle; in smu_get_baco_capability() local
3368 struct smu_context *smu = handle; in smu_baco_set_state() local
3391 bool smu_mode1_reset_is_support(struct smu_context *smu) in smu_mode1_reset_is_support()
3404 bool smu_mode2_reset_is_support(struct smu_context *smu) in smu_mode2_reset_is_support()
3417 int smu_mode1_reset(struct smu_context *smu) in smu_mode1_reset()
3432 struct smu_context *smu = handle; in smu_mode2_reset() local
3449 struct smu_context *smu = handle; in smu_enable_gfx_features() local
3467 struct smu_context *smu = handle; in smu_get_max_sustainable_clocks_by_dc() local
3483 struct smu_context *smu = handle; in smu_get_uclk_dpm_states() local
3497 struct smu_context *smu = handle; in smu_get_current_power_state() local
3512 struct smu_context *smu = handle; in smu_get_dpm_clock_table() local
3526 struct smu_context *smu = handle; in smu_sys_get_gpu_metrics() local
3540 struct smu_context *smu = handle; in smu_sys_get_pm_metrics() local
3553 struct smu_context *smu = handle; in smu_enable_mgpu_fan_boost() local
3568 struct smu_context *smu = handle; in smu_gfx_state_change_set() local
3577 int smu_handle_passthrough_sbr(struct smu_context *smu, bool enable) in smu_handle_passthrough_sbr()
3587 int smu_get_ecc_info(struct smu_context *smu, void *umc_ecc) in smu_get_ecc_info()
3601 struct smu_context *smu = handle; in smu_get_prv_buffer_details() local
3638 ssize_t smu_get_pm_policy_info(struct smu_context *smu, in smu_get_pm_policy_info()
3666 struct smu_dpm_policy *smu_get_pm_policy(struct smu_context *smu, in smu_get_pm_policy()
3685 int smu_set_pm_policy(struct smu_context *smu, enum pp_pm_policy p_type, in smu_set_pm_policy()
3776 int smu_wait_for_event(struct smu_context *smu, enum smu_event_type event, in smu_wait_for_event()
3787 int smu_stb_collect_info(struct smu_context *smu, void *buf, uint32_t size) in smu_stb_collect_info()
3810 struct smu_context *smu = adev->powerplay.pp_handle; in smu_stb_debugfs_open() local
3835 struct smu_context *smu = adev->powerplay.pp_handle; in smu_stb_debugfs_read() local
3876 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_smu_stb_debug_fs_init() local
3890 int smu_send_hbm_bad_pages_num(struct smu_context *smu, uint32_t size) in smu_send_hbm_bad_pages_num()
3900 int smu_send_hbm_bad_channel_flag(struct smu_context *smu, uint32_t size) in smu_send_hbm_bad_channel_flag()
3910 int smu_send_rma_reason(struct smu_context *smu) in smu_send_rma_reason()
3920 int smu_reset_sdma(struct smu_context *smu, uint32_t inst_mask) in smu_reset_sdma()