Home
last modified time | relevance | path

Searched defs:smu (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/
H A Dsmu_internal.h30 #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
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
43 #define smu_write_pptable(smu) smu_ppt_funcs(write_pptable, 0, smu) argument
74 #define smu_run_btc(smu) smu_ppt_funcs(run_btc, 0, smu) argument
81 #define smu_dump_pptable(smu) smu_ppt_funcs(dump_pptable, 0, smu) argument
[all …]
H A Damdgpu_smu.c77 struct smu_context *smu = handle; in smu_sys_get_pp_feature_mask() local
88 struct smu_context *smu = handle; in smu_sys_set_pp_feature_mask() local
180 struct smu_context *smu = handle; in smu_get_mclk() local
194 struct smu_context *smu = handle; in smu_get_sclk() local
277 struct smu_context *smu = handle; in smu_dpm_set_power_gate() local
486 struct smu_context *smu = handle; in smu_sys_get_pp_table() local
507 struct smu_context *smu = handle; in smu_sys_set_pp_table() local
651 struct smu_context *smu; in smu_early_init() local
1077 struct smu_context *smu = in smu_swctf_delayed_work_handler() local
1767 struct smu_context *smu = handle; in smu_display_configuration_change() local
[all …]
H A Dsmu_cmn.c65 static void smu_cmn_read_arg(struct smu_context *smu, in smu_cmn_read_arg()
109 static u32 __smu_cmn_poll_stat(struct smu_context *smu) in __smu_cmn_poll_stat()
227 static void __smu_cmn_send_msg(struct smu_context *smu, in __smu_cmn_send_msg()
301 int smu_cmn_wait_for_response(struct smu_context *smu) in smu_cmn_wait_for_response()
393 int smu_cmn_send_smc_msg(struct smu_context *smu, in smu_cmn_send_smc_msg()
403 int smu_cmn_send_debug_smc_msg(struct smu_context *smu, in smu_cmn_send_debug_smc_msg()
588 int smu_cmn_get_enabled_mask(struct smu_context *smu, in smu_cmn_get_enabled_mask()
820 int smu_cmn_get_smc_version(struct smu_context *smu, in smu_cmn_get_smc_version()
859 int smu_cmn_update_table(struct smu_context *smu, in smu_cmn_update_table()
917 int smu_cmn_write_pptable(struct smu_context *smu) in smu_cmn_write_pptable()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0.c90 int smu_v13_0_init_microcode(struct smu_context *smu) in smu_v13_0_init_microcode()
131 void smu_v13_0_fini_microcode(struct smu_context *smu) in smu_v13_0_fini_microcode()
139 int smu_v13_0_load_microcode(struct smu_context *smu) in smu_v13_0_load_microcode()
402 int smu_v13_0_setup_pptable(struct smu_context *smu) in smu_v13_0_setup_pptable()
544 int smu_v13_0_init_power(struct smu_context *smu) in smu_v13_0_init_power()
560 int smu_v13_0_fini_power(struct smu_context *smu) in smu_v13_0_fini_power()
2092 int smu_v13_0_run_btc(struct smu_context *smu) in smu_v13_0_run_btc()
2103 int smu_v13_0_gpo_control(struct smu_context *smu, in smu_v13_0_gpo_control()
2284 int smu_v13_0_baco_enter(struct smu_context *smu) in smu_v13_0_baco_enter()
2298 int smu_v13_0_baco_exit(struct smu_context *smu) in smu_v13_0_baco_exit()
[all …]
H A Daldebaran_ppt.c227 static int aldebaran_tables_init(struct smu_context *smu) in aldebaran_tables_init()
435 static int aldebaran_setup_pptable(struct smu_context *smu) in aldebaran_setup_pptable()
461 static bool aldebaran_is_primary(struct smu_context *smu) in aldebaran_is_primary()
471 static int aldebaran_run_board_btc(struct smu_context *smu) in aldebaran_run_board_btc()
494 static int aldebaran_run_btc(struct smu_context *smu) in aldebaran_run_btc()
556 static int aldebaran_get_clk_table(struct smu_context *smu, in aldebaran_get_clk_table()
1134 static int aldebaran_read_sensor(struct smu_context *smu, in aldebaran_read_sensor()
1472 struct smu_context *smu = adev->powerplay.pp_handle; in aldebaran_i2c_xfer() local
1889 static int aldebaran_mode1_reset(struct smu_context *smu) in aldebaran_mode1_reset()
1923 static int aldebaran_mode2_reset(struct smu_context *smu) in aldebaran_mode2_reset()
[all …]
H A Dsmu_v13_0_5_ppt.c124 static int smu_v13_0_5_init_smc_tables(struct smu_context *smu) in smu_v13_0_5_init_smc_tables()
166 static int smu_v13_0_5_fini_smc_tables(struct smu_context *smu) in smu_v13_0_5_fini_smc_tables()
227 static bool smu_v13_0_5_is_dpm_running(struct smu_context *smu) in smu_v13_0_5_is_dpm_running()
240 static int smu_v13_0_5_mode_reset(struct smu_context *smu, int type) in smu_v13_0_5_mode_reset()
251 static int smu_v13_0_5_mode2_reset(struct smu_context *smu) in smu_v13_0_5_mode2_reset()
256 static int smu_v13_0_5_get_smu_metrics_data(struct smu_context *smu, in smu_v13_0_5_get_smu_metrics_data()
319 static int smu_v13_0_5_read_sensor(struct smu_context *smu, in smu_v13_0_5_read_sensor()
460 static ssize_t smu_v13_0_5_get_gpu_metrics(struct smu_context *smu, in smu_v13_0_5_get_gpu_metrics()
874 static int smu_v13_0_5_print_clk_levels(struct smu_context *smu, in smu_v13_0_5_print_clk_levels()
948 static int smu_v13_0_5_force_clk_levels(struct smu_context *smu, in smu_v13_0_5_force_clk_levels()
[all …]
H A Dsmu_v13_0_7_ppt.c257 smu_v13_0_7_get_allowed_feature_mask(struct smu_context *smu, in smu_v13_0_7_get_allowed_feature_mask()
388 static int smu_v13_0_7_check_fw_status(struct smu_context *smu) in smu_v13_0_7_check_fw_status()
453 static int smu_v13_0_7_setup_pptable(struct smu_context *smu) in smu_v13_0_7_setup_pptable()
491 static int smu_v13_0_7_tables_init(struct smu_context *smu) in smu_v13_0_7_tables_init()
715 static void smu_v13_0_7_dump_pptable(struct smu_context *smu) in smu_v13_0_7_dump_pptable()
914 static int smu_v13_0_7_read_sensor(struct smu_context *smu, in smu_v13_0_7_read_sensor()
2119 static int smu_v13_0_7_set_mp1_state(struct smu_context *smu, in smu_v13_0_7_set_mp1_state()
2136 static int smu_v13_0_7_baco_enter(struct smu_context *smu) in smu_v13_0_7_baco_enter()
2149 static int smu_v13_0_7_baco_exit(struct smu_context *smu) in smu_v13_0_7_baco_exit()
2173 static int smu_v13_0_7_set_df_cstate(struct smu_context *smu, in smu_v13_0_7_set_df_cstate()
[all …]
H A Dsmu_v13_0_0_ppt.c288 smu_v13_0_0_get_allowed_feature_mask(struct smu_context *smu, in smu_v13_0_0_get_allowed_feature_mask()
448 static int smu_v13_0_0_setup_pptable(struct smu_context *smu) in smu_v13_0_0_setup_pptable()
484 static int smu_v13_0_0_tables_init(struct smu_context *smu) in smu_v13_0_0_tables_init()
725 static void smu_v13_0_0_dump_pptable(struct smu_context *smu) in smu_v13_0_0_dump_pptable()
933 static int smu_v13_0_0_read_sensor(struct smu_context *smu, in smu_v13_0_0_read_sensor()
2180 static int smu_v13_0_0_baco_enter(struct smu_context *smu) in smu_v13_0_0_baco_enter()
2193 static int smu_v13_0_0_baco_exit(struct smu_context *smu) in smu_v13_0_0_baco_exit()
2228 struct smu_context *smu = adev->powerplay.pp_handle; in smu_v13_0_0_i2c_xfer() local
2421 static int smu_v13_0_0_mode1_reset(struct smu_context *smu) in smu_v13_0_0_mode1_reset()
2455 static int smu_v13_0_0_mode2_reset(struct smu_context *smu) in smu_v13_0_0_mode2_reset()
[all …]
H A Dsmu_v13_0_6_ppt.c218 static int smu_v13_0_6_tables_init(struct smu_context *smu) in smu_v13_0_6_tables_init()
273 static int smu_v13_0_6_init_smc_tables(struct smu_context *smu) in smu_v13_0_6_init_smc_tables()
562 static int smu_v13_0_6_setup_pptable(struct smu_context *smu) in smu_v13_0_6_setup_pptable()
637 static int smu_v13_0_6_get_clk_table(struct smu_context *smu, in smu_v13_0_6_get_clk_table()
1175 static int smu_v13_0_6_read_sensor(struct smu_context *smu, in smu_v13_0_6_read_sensor()
1273 struct smu_context *smu = adev->powerplay.pp_handle; in smu_v13_0_6_irq_process() local
1381 static int smu_v13_0_6_notify_unload(struct smu_context *smu) in smu_v13_0_6_notify_unload()
1702 struct smu_context *smu = adev->powerplay.pp_handle; in smu_v13_0_6_i2c_xfer() local
2053 static int smu_v13_0_6_mode2_reset(struct smu_context *smu) in smu_v13_0_6_mode2_reset()
2163 static int smu_v13_0_6_mode1_reset(struct smu_context *smu) in smu_v13_0_6_mode1_reset()
[all …]
H A Dyellow_carp_ppt.c151 static int yellow_carp_init_smc_tables(struct smu_context *smu) in yellow_carp_init_smc_tables()
193 static int yellow_carp_fini_smc_tables(struct smu_context *smu) in yellow_carp_fini_smc_tables()
254 static bool yellow_carp_is_dpm_running(struct smu_context *smu) in yellow_carp_is_dpm_running()
267 static int yellow_carp_post_smu_init(struct smu_context *smu) in yellow_carp_post_smu_init()
279 static int yellow_carp_mode_reset(struct smu_context *smu, int type) in yellow_carp_mode_reset()
290 static int yellow_carp_mode2_reset(struct smu_context *smu) in yellow_carp_mode2_reset()
410 static int yellow_carp_read_sensor(struct smu_context *smu, in yellow_carp_read_sensor()
551 static ssize_t yellow_carp_get_gpu_metrics(struct smu_context *smu, in yellow_carp_get_gpu_metrics()
1054 static int yellow_carp_print_clk_levels(struct smu_context *smu, in yellow_carp_print_clk_levels()
1130 static int yellow_carp_force_clk_levels(struct smu_context *smu, in yellow_carp_force_clk_levels()
[all …]
H A Dsmu_v13_0_4_ppt.c150 static int smu_v13_0_4_init_smc_tables(struct smu_context *smu) in smu_v13_0_4_init_smc_tables()
192 static int smu_v13_0_4_fini_smc_tables(struct smu_context *smu) in smu_v13_0_4_fini_smc_tables()
211 static bool smu_v13_0_4_is_dpm_running(struct smu_context *smu) in smu_v13_0_4_is_dpm_running()
247 static ssize_t smu_v13_0_4_get_gpu_metrics(struct smu_context *smu, in smu_v13_0_4_get_gpu_metrics()
300 static int smu_v13_0_4_get_smu_metrics_data(struct smu_context *smu, in smu_v13_0_4_get_smu_metrics_data()
468 static int smu_v13_0_4_get_dpm_level_count(struct smu_context *smu, in smu_v13_0_4_get_dpm_level_count()
497 static int smu_v13_0_4_print_clk_levels(struct smu_context *smu, in smu_v13_0_4_print_clk_levels()
571 static int smu_v13_0_4_read_sensor(struct smu_context *smu, in smu_v13_0_4_read_sensor()
902 static int smu_v13_0_4_force_clk_levels(struct smu_context *smu, in smu_v13_0_4_force_clk_levels()
1091 static int smu_v13_0_4_mode2_reset(struct smu_context *smu) in smu_v13_0_4_mode2_reset()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c93 int smu_v11_0_init_microcode(struct smu_context *smu) in smu_v11_0_init_microcode()
135 void smu_v11_0_fini_microcode(struct smu_context *smu) in smu_v11_0_fini_microcode()
143 int smu_v11_0_load_microcode(struct smu_context *smu) in smu_v11_0_load_microcode()
183 int smu_v11_0_check_fw_status(struct smu_context *smu) in smu_v11_0_check_fw_status()
198 int smu_v11_0_check_fw_version(struct smu_context *smu) in smu_v11_0_check_fw_version()
315 int smu_v11_0_setup_pptable(struct smu_context *smu) in smu_v11_0_setup_pptable()
473 int smu_v11_0_init_power(struct smu_context *smu) in smu_v11_0_init_power()
489 int smu_v11_0_fini_power(struct smu_context *smu) in smu_v11_0_fini_power()
1648 int smu_v11_0_baco_enter(struct smu_context *smu) in smu_v11_0_baco_enter()
1661 int smu_v11_0_baco_exit(struct smu_context *smu) in smu_v11_0_baco_exit()
[all …]
H A Dnavi10_ppt.c262 static bool is_asic_secure(struct smu_context *smu) in is_asic_secure()
278 navi10_get_allowed_feature_mask(struct smu_context *smu, in navi10_get_allowed_feature_mask()
471 static int navi10_setup_pptable(struct smu_context *smu) in navi10_setup_pptable()
494 static int navi10_tables_init(struct smu_context *smu) in navi10_tables_init()
2192 static int navi10_read_sensor(struct smu_context *smu, in navi10_read_sensor()
2479 static int navi10_baco_enter(struct smu_context *smu) in navi10_baco_enter()
2509 static int navi10_baco_exit(struct smu_context *smu) in navi10_baco_exit()
2754 static int navi10_run_btc(struct smu_context *smu) in navi10_run_btc()
2989 struct smu_context *smu = adev->powerplay.pp_handle; in navi10_i2c_xfer() local
3424 static int navi10_post_smu_init(struct smu_context *smu) in navi10_post_smu_init()
[all …]
H A Dsienna_cichlid_ppt.c92 static int get_table_size(struct smu_context *smu) in get_table_size()
275 sienna_cichlid_get_allowed_feature_mask(struct smu_context *smu, in sienna_cichlid_get_allowed_feature_mask()
527 static int sienna_cichlid_tables_init(struct smu_context *smu) in sienna_cichlid_tables_init()
1876 static int sienna_cichlid_read_sensor(struct smu_context *smu, in sienna_cichlid_read_sensor()
2422 static int sienna_cichlid_run_btc(struct smu_context *smu) in sienna_cichlid_run_btc()
2433 static int sienna_cichlid_baco_enter(struct smu_context *smu) in sienna_cichlid_baco_enter()
2443 static int sienna_cichlid_baco_exit(struct smu_context *smu) in sienna_cichlid_baco_exit()
2478 static void beige_goby_dump_pptable(struct smu_context *smu) in beige_goby_dump_pptable()
3750 struct smu_context *smu = adev->powerplay.pp_handle; in sienna_cichlid_i2c_xfer() local
4222 static void sienna_cichlid_stb_init(struct smu_context *smu) in sienna_cichlid_stb_init()
[all …]
H A Dvangogh_ppt.c224 static int vangogh_tables_init(struct smu_context *smu) in vangogh_tables_init()
465 static int vangogh_init_smc_tables(struct smu_context *smu) in vangogh_init_smc_tables()
522 static bool vangogh_is_dpm_running(struct smu_context *smu) in vangogh_is_dpm_running()
685 static int vangogh_print_clk_levels(struct smu_context *smu, in vangogh_print_clk_levels()
1208 static int vangogh_force_clk_levels(struct smu_context *smu, in vangogh_force_clk_levels()
1539 static int vangogh_read_sensor(struct smu_context *smu, in vangogh_read_sensor()
2260 static int vangogh_post_smu_init(struct smu_context *smu) in vangogh_post_smu_init()
2326 static int vangogh_mode2_reset(struct smu_context *smu) in vangogh_mode2_reset()
2356 static int vangogh_get_power_limit(struct smu_context *smu, in vangogh_get_power_limit()
2395 static int vangogh_get_ppt_limit(struct smu_context *smu, in vangogh_get_ppt_limit()
[all …]
H A Darcturus_ppt.c250 static int arcturus_tables_init(struct smu_context *smu) in arcturus_tables_init()
299 static int arcturus_init_smc_tables(struct smu_context *smu) in arcturus_init_smc_tables()
315 arcturus_get_allowed_feature_mask(struct smu_context *smu, in arcturus_get_allowed_feature_mask()
493 static int arcturus_setup_pptable(struct smu_context *smu) in arcturus_setup_pptable()
516 static int arcturus_run_btc(struct smu_context *smu) in arcturus_run_btc()
572 static int arcturus_get_clk_table(struct smu_context *smu, in arcturus_get_clk_table()
1102 static int arcturus_read_sensor(struct smu_context *smu, in arcturus_read_sensor()
1592 static void arcturus_dump_pptable(struct smu_context *smu) in arcturus_dump_pptable()
2065 struct smu_context *smu = adev->powerplay.pp_handle; in arcturus_i2c_xfer() local
2243 static int arcturus_set_df_cstate(struct smu_context *smu, in arcturus_set_df_cstate()
[all …]
H A Dcyan_skillfish_ppt.c87 static int cyan_skillfish_tables_init(struct smu_context *smu) in cyan_skillfish_tables_init()
117 static int cyan_skillfish_init_smc_tables(struct smu_context *smu) in cyan_skillfish_init_smc_tables()
129 cyan_skillfish_get_smu_metrics_data(struct smu_context *smu, in cyan_skillfish_get_smu_metrics_data()
190 static int cyan_skillfish_read_sensor(struct smu_context *smu, in cyan_skillfish_read_sensor()
259 static int cyan_skillfish_get_current_clk_freq(struct smu_context *smu, in cyan_skillfish_get_current_clk_freq()
290 static int cyan_skillfish_print_clk_levels(struct smu_context *smu, in cyan_skillfish_print_clk_levels()
359 static bool cyan_skillfish_is_dpm_running(struct smu_context *smu) in cyan_skillfish_is_dpm_running()
383 static ssize_t cyan_skillfish_get_gpu_metrics(struct smu_context *smu, in cyan_skillfish_get_gpu_metrics()
438 static int cyan_skillfish_od_edit_dpm_table(struct smu_context *smu, in cyan_skillfish_od_edit_dpm_table()
565 static int cyan_skillfish_get_enabled_mask(struct smu_context *smu, in cyan_skillfish_get_enabled_mask()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu12/
H A Drenoir_ppt.c156 static int renoir_init_smc_tables(struct smu_context *smu) in renoir_init_smc_tables()
280 static int renoir_get_dpm_ultimate_freq(struct smu_context *smu, in renoir_get_dpm_ultimate_freq()
383 static int renoir_od_edit_dpm_table(struct smu_context *smu, in renoir_od_edit_dpm_table()
494 static int renoir_print_clk_levels(struct smu_context *smu, in renoir_print_clk_levels()
797 static int renoir_force_clk_levels(struct smu_context *smu, in renoir_force_clk_levels()
1043 struct smu_context *smu, in renoir_set_watermarks_table()
1246 static int renoir_read_sensor(struct smu_context *smu, in renoir_read_sensor()
1327 static bool renoir_is_dpm_running(struct smu_context *smu) in renoir_is_dpm_running()
1343 static ssize_t renoir_get_gpu_metrics(struct smu_context *smu, in renoir_get_gpu_metrics()
1413 static int renoir_get_enabled_mask(struct smu_context *smu, in renoir_get_enabled_mask()
[all …]
H A Dsmu_v12_0.c58 int smu_v12_0_check_fw_status(struct smu_context *smu) in smu_v12_0_check_fw_status()
73 int smu_v12_0_check_fw_version(struct smu_context *smu) in smu_v12_0_check_fw_version()
110 int smu_v12_0_powergate_sdma(struct smu_context *smu, bool gate) in smu_v12_0_powergate_sdma()
121 int smu_v12_0_set_gfx_cgpg(struct smu_context *smu, bool enable) in smu_v12_0_set_gfx_cgpg()
145 uint32_t smu_v12_0_get_gfxoff_status(struct smu_context *smu) in smu_v12_0_get_gfxoff_status()
158 int smu_v12_0_gfx_off_control(struct smu_context *smu, bool enable) in smu_v12_0_gfx_off_control()
182 int smu_v12_0_fini_smc_tables(struct smu_context *smu) in smu_v12_0_fini_smc_tables()
201 int smu_v12_0_set_default_dpm_tables(struct smu_context *smu) in smu_v12_0_set_default_dpm_tables()
208 int smu_v12_0_mode2_reset(struct smu_context *smu) in smu_v12_0_mode2_reset()
268 int smu_v12_0_set_driver_table_location(struct smu_context *smu) in smu_v12_0_set_driver_table_location()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_dpm.c114 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_set_gfx_power_up_by_imu() local
276 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_is_mode1_reset_supported() local
290 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_mode1_reset() local
356 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_allow_xgmi_power_down() local
612 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_send_hbm_bad_pages_num() local
627 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_send_hbm_bad_channel_flag() local
668 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_set_soft_freq_range() local
689 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_write_watermarks_table() local
706 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_wait_for_event() local
721 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_set_residency_gfxoff() local
[all …]
/openbmc/linux/arch/arm/mach-shmobile/
H A Dsmp-emev2.c32 void __iomem *smu; in emev2_smp_prepare_cpus() local
/openbmc/linux/drivers/mtd/nand/raw/atmel/
H A Dpmecc.c175 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
/openbmc/linux/drivers/macintosh/
H A Dwindfarm_smu_controls.c259 struct device_node *smu, *fans, *fan; in smu_controls_init() local
H A Dwindfarm_smu_sensors.c411 struct device_node *smu, *sensors, *s; in smu_sensors_init() local
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Datmel_nand.c244 int16_t *smu = host->pmecc_smu; in pmecc_get_sigma() local
394 int16_t *smu = host->pmecc_smu; in pmecc_err_location() local

12