/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/ |
D | smu_internal.h | 30 #define smu_ppt_funcs(intf, ret, smu, args...) \ argument 33 #define smu_init_microcode(smu) smu_ppt_funcs(init_microcode, 0, smu) argument 34 #define smu_fini_microcode(smu) smu_ppt_funcs(fini_microcode, 0, smu) argument 35 #define smu_init_smc_tables(smu) smu_ppt_funcs(init_smc_tables, 0, smu) argument 36 #define smu_fini_smc_tables(smu) smu_ppt_funcs(fini_smc_tables, 0, smu) argument 37 #define smu_init_power(smu) smu_ppt_funcs(init_power, 0, smu) argument 38 #define smu_fini_power(smu) smu_ppt_funcs(fini_power, 0, smu) argument 39 #define smu_setup_pptable(smu) smu_ppt_funcs(setup_pptable, 0, smu) argument 40 #define smu_powergate_sdma(smu, gate) smu_ppt_funcs(powergate_sdma, 0, smu, gate) argument 41 #define smu_get_vbios_bootup_values(smu) smu_ppt_funcs(get_vbios_bootup_values, 0, smu) argument [all …]
|
D | amdgpu_smu.c | 48 size_t smu_sys_get_pp_feature_mask(struct smu_context *smu, char *buf) in smu_sys_get_pp_feature_mask() 64 int smu_sys_set_pp_feature_mask(struct smu_context *smu, uint64_t new_mask) in smu_sys_set_pp_feature_mask() 83 struct smu_context *smu = &adev->smu; in smu_get_status_gfxoff() local 93 int smu_set_soft_freq_range(struct smu_context *smu, in smu_set_soft_freq_range() 113 int smu_get_dpm_freq_range(struct smu_context *smu, in smu_get_dpm_freq_range() 136 static int smu_dpm_set_vcn_enable_locked(struct smu_context *smu, in smu_dpm_set_vcn_enable_locked() 156 static int smu_dpm_set_vcn_enable(struct smu_context *smu, in smu_dpm_set_vcn_enable() 172 static int smu_dpm_set_jpeg_enable_locked(struct smu_context *smu, in smu_dpm_set_jpeg_enable_locked() 192 static int smu_dpm_set_jpeg_enable(struct smu_context *smu, in smu_dpm_set_jpeg_enable() 222 int smu_dpm_set_power_gate(struct smu_context *smu, uint32_t block_type, in smu_dpm_set_power_gate() [all …]
|
D | smu_cmn.c | 62 static const char *smu_get_message_name(struct smu_context *smu, in smu_get_message_name() 71 static void smu_cmn_send_msg_without_waiting(struct smu_context *smu, in smu_cmn_send_msg_without_waiting() 79 static void smu_cmn_read_arg(struct smu_context *smu, in smu_cmn_read_arg() 87 static int smu_cmn_wait_for_response(struct smu_context *smu) in smu_cmn_wait_for_response() 107 int smu_cmn_send_smc_msg_with_param(struct smu_context *smu, in smu_cmn_send_smc_msg_with_param() 153 int smu_cmn_send_smc_msg(struct smu_context *smu, in smu_cmn_send_smc_msg() 163 int smu_cmn_to_asic_specific_index(struct smu_context *smu, in smu_cmn_to_asic_specific_index() 246 int smu_cmn_feature_is_supported(struct smu_context *smu, in smu_cmn_feature_is_supported() 268 int smu_cmn_feature_is_enabled(struct smu_context *smu, in smu_cmn_feature_is_enabled() 292 bool smu_cmn_clk_dpm_is_enabled(struct smu_context *smu, in smu_cmn_clk_dpm_is_enabled() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | smu_v11_0.c | 83 int smu_v11_0_init_microcode(struct smu_context *smu) in smu_v11_0_init_microcode() 149 void smu_v11_0_fini_microcode(struct smu_context *smu) in smu_v11_0_fini_microcode() 158 int smu_v11_0_load_microcode(struct smu_context *smu) in smu_v11_0_load_microcode() 198 int smu_v11_0_check_fw_status(struct smu_context *smu) in smu_v11_0_check_fw_status() 213 int smu_v11_0_check_fw_version(struct smu_context *smu) in smu_v11_0_check_fw_version() 272 static int smu_v11_0_set_pptable_v2_0(struct smu_context *smu, void **table, uint32_t *size) in smu_v11_0_set_pptable_v2_0() 287 static int smu_v11_0_set_pptable_v2_1(struct smu_context *smu, void **table, in smu_v11_0_set_pptable_v2_1() 314 int smu_v11_0_setup_pptable(struct smu_context *smu) in smu_v11_0_setup_pptable() 369 int smu_v11_0_init_smc_tables(struct smu_context *smu) in smu_v11_0_init_smc_tables() 418 int smu_v11_0_fini_smc_tables(struct smu_context *smu) in smu_v11_0_fini_smc_tables() [all …]
|
D | arcturus_ppt.c | 213 static int arcturus_tables_init(struct smu_context *smu) in arcturus_tables_init() 249 static int arcturus_allocate_dpm_context(struct smu_context *smu) in arcturus_allocate_dpm_context() 272 static int arcturus_init_smc_tables(struct smu_context *smu) in arcturus_init_smc_tables() 288 arcturus_get_allowed_feature_mask(struct smu_context *smu, in arcturus_get_allowed_feature_mask() 300 static int arcturus_set_default_dpm_table(struct smu_context *smu) in arcturus_set_default_dpm_table() 382 static void arcturus_check_bxco_support(struct smu_context *smu) in arcturus_check_bxco_support() 400 static int arcturus_check_powerplay_table(struct smu_context *smu) in arcturus_check_powerplay_table() 414 static int arcturus_store_powerplay_table(struct smu_context *smu) in arcturus_store_powerplay_table() 426 static int arcturus_append_powerplay_table(struct smu_context *smu) in arcturus_append_powerplay_table() 454 static int arcturus_setup_pptable(struct smu_context *smu) in arcturus_setup_pptable() [all …]
|
D | sienna_cichlid_ppt.c | 225 sienna_cichlid_get_allowed_feature_mask(struct smu_context *smu, in sienna_cichlid_get_allowed_feature_mask() 297 static void sienna_cichlid_check_bxco_support(struct smu_context *smu) in sienna_cichlid_check_bxco_support() 328 static int sienna_cichlid_check_powerplay_table(struct smu_context *smu) in sienna_cichlid_check_powerplay_table() 345 static int sienna_cichlid_append_powerplay_table(struct smu_context *smu) in sienna_cichlid_append_powerplay_table() 366 static int sienna_cichlid_store_powerplay_table(struct smu_context *smu) in sienna_cichlid_store_powerplay_table() 378 static int sienna_cichlid_setup_pptable(struct smu_context *smu) in sienna_cichlid_setup_pptable() 401 static int sienna_cichlid_tables_init(struct smu_context *smu) in sienna_cichlid_tables_init() 446 static int sienna_cichlid_get_smu_metrics_data(struct smu_context *smu, in sienna_cichlid_get_smu_metrics_data() 550 static int sienna_cichlid_allocate_dpm_context(struct smu_context *smu) in sienna_cichlid_allocate_dpm_context() 564 static int sienna_cichlid_init_smc_tables(struct smu_context *smu) in sienna_cichlid_init_smc_tables() [all …]
|
D | navi10_ppt.c | 239 static bool is_asic_secure(struct smu_context *smu) in is_asic_secure() 255 navi10_get_allowed_feature_mask(struct smu_context *smu, in navi10_get_allowed_feature_mask() 341 static void navi10_check_bxco_support(struct smu_context *smu) in navi10_check_bxco_support() 359 static int navi10_check_powerplay_table(struct smu_context *smu) in navi10_check_powerplay_table() 382 static int navi10_append_powerplay_table(struct smu_context *smu) in navi10_append_powerplay_table() 435 static int navi10_store_powerplay_table(struct smu_context *smu) in navi10_store_powerplay_table() 447 static int navi10_setup_pptable(struct smu_context *smu) in navi10_setup_pptable() 470 static int navi10_tables_init(struct smu_context *smu) in navi10_tables_init() 522 static int navi10_get_smu_metrics_data(struct smu_context *smu, in navi10_get_smu_metrics_data() 618 static int navi10_allocate_dpm_context(struct smu_context *smu) in navi10_allocate_dpm_context() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
D | renoir_ppt.c | 131 static int renoir_init_smc_tables(struct smu_context *smu) in renoir_init_smc_tables() 177 static int renoir_get_dpm_clk_limited(struct smu_context *smu, enum smu_clk_type clk_type, in renoir_get_dpm_clk_limited() 214 static int renoir_get_profiling_clk_mask(struct smu_context *smu, in renoir_get_profiling_clk_mask() 244 static int renoir_get_dpm_ultimate_freq(struct smu_context *smu, in renoir_get_dpm_ultimate_freq() 347 static int renoir_print_clk_levels(struct smu_context *smu, in renoir_print_clk_levels() 423 static enum amd_pm_state_type renoir_get_current_power_state(struct smu_context *smu) in renoir_get_current_power_state() 453 static int renoir_dpm_set_vcn_enable(struct smu_context *smu, bool enable) in renoir_dpm_set_vcn_enable() 475 static int renoir_dpm_set_jpeg_enable(struct smu_context *smu, bool enable) in renoir_dpm_set_jpeg_enable() 496 static int renoir_get_current_clk_freq_by_table(struct smu_context *smu, in renoir_get_current_clk_freq_by_table() 518 static int renoir_force_dpm_limit_value(struct smu_context *smu, bool highest) in renoir_force_dpm_limit_value() [all …]
|
D | smu_v12_0.c | 57 int smu_v12_0_check_fw_status(struct smu_context *smu) in smu_v12_0_check_fw_status() 72 int smu_v12_0_check_fw_version(struct smu_context *smu) in smu_v12_0_check_fw_version() 106 int smu_v12_0_powergate_sdma(struct smu_context *smu, bool gate) in smu_v12_0_powergate_sdma() 117 int smu_v12_0_set_gfx_cgpg(struct smu_context *smu, bool enable) in smu_v12_0_set_gfx_cgpg() 140 uint32_t smu_v12_0_get_gfxoff_status(struct smu_context *smu) in smu_v12_0_get_gfxoff_status() 153 int smu_v12_0_gfx_off_control(struct smu_context *smu, bool enable) in smu_v12_0_gfx_off_control() 177 int smu_v12_0_fini_smc_tables(struct smu_context *smu) in smu_v12_0_fini_smc_tables() 196 int smu_v12_0_set_default_dpm_tables(struct smu_context *smu) in smu_v12_0_set_default_dpm_tables() 203 int smu_v12_0_mode2_reset(struct smu_context *smu){ in smu_v12_0_mode2_reset() 207 int smu_v12_0_set_soft_freq_limited_range(struct smu_context *smu, enum smu_clk_type clk_type, in smu_v12_0_set_soft_freq_limited_range() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_pp_smu.c | 43 struct smu_context *smu = &adev->smu; in dm_pp_apply_display_requirements() local 677 struct smu_context *smu = &adev->smu; in pp_nv_set_pme_wa_enable() local 693 struct smu_context *smu = &adev->smu; in pp_nv_set_display_count() local 710 struct smu_context *smu = &adev->smu; in pp_nv_set_min_deep_sleep_dcfclk() local 727 struct smu_context *smu = &adev->smu; in pp_nv_set_hard_min_dcefclk_by_freq() local 750 struct smu_context *smu = &adev->smu; in pp_nv_set_hard_min_uclk_by_freq() local 773 struct smu_context *smu = &adev->smu; in pp_nv_set_pstate_handshake_support() local 786 struct smu_context *smu = &adev->smu; in pp_nv_set_voltage_by_freq() local 821 struct smu_context *smu = &adev->smu; in pp_nv_get_maximum_sustainable_clocks() local 840 struct smu_context *smu = &adev->smu; in pp_nv_get_uclk_dpm_states() local [all …]
|
D | amdgpu_dm.c | 1577 struct smu_context *smu = &adev->smu; in amdgpu_dm_smu_write_watermarks_table() local
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 1022 struct smu_context *smu = &adev->smu; in amdgpu_dpm_baco_enter() local 1042 struct smu_context *smu = &adev->smu; in amdgpu_dpm_baco_exit() local 1079 struct smu_context *smu = &adev->smu; in amdgpu_dpm_is_baco_supported() local 1099 struct smu_context *smu = &adev->smu; in amdgpu_dpm_mode2_reset() local 1115 struct smu_context *smu = &adev->smu; in amdgpu_dpm_baco_reset() local 1147 struct smu_context *smu = &adev->smu; in amdgpu_dpm_is_mode1_reset_supported() local 1157 struct smu_context *smu = &adev->smu; in amdgpu_dpm_mode1_reset() local 1202 struct smu_context *smu = &adev->smu; in amdgpu_dpm_set_df_cstate() local 1215 struct smu_context *smu = &adev->smu; in amdgpu_dpm_allow_xgmi_power_down() local 1228 struct smu_context *smu = &adev->smu; in amdgpu_dpm_enable_mgpu_fan_boost() local
|
D | amdgpu_pm.c | 454 struct smu_context *smu = &adev->smu; in amdgpu_get_pp_cur_state() local
|
/kernel/linux/linux-5.10/arch/arm/mach-shmobile/ |
D | smp-emev2.c | 32 void __iomem *smu; in emev2_smp_prepare_cpus() local
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | nv.c | 309 struct smu_context *smu = &adev->smu; in nv_asic_supports_baco() local 320 struct smu_context *smu = &adev->smu; in nv_asic_reset_method() local 345 struct smu_context *smu = &adev->smu; in nv_asic_reset() local
|
D | amdgpu.h | 873 struct smu_context smu; member
|
/kernel/linux/linux-5.10/drivers/macintosh/ |
D | windfarm_smu_controls.c | 258 struct device_node *smu, *fans, *fan; in smu_controls_init() local
|
D | windfarm_smu_sensors.c | 410 struct device_node *smu, *sensors, *s; in smu_sensors_init() local
|
D | smu.c | 99 static struct smu_device *smu; variable
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/atmel/ |
D | pmecc.c | 175 s16 *smu; member 502 s16 *smu = user->smu; in atmel_pmecc_get_sigma() local 649 s16 *smu = user->smu; in atmel_pmecc_err_location() local
|