Home
last modified time | relevance | path

Searched refs:clocks_table (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_5_ppt.c136 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in smu_v13_0_5_init_smc_tables()
137 if (!smu_table->clocks_table) in smu_v13_0_5_init_smc_tables()
161 kfree(smu_table->clocks_table); in smu_v13_0_5_init_smc_tables()
170 kfree(smu_table->clocks_table); in smu_v13_0_5_fini_smc_tables()
171 smu_table->clocks_table = NULL; in smu_v13_0_5_fini_smc_tables()
502 return smu_cmn_update_table(smu, SMU_TABLE_DPMCLOCKS, 0, smu_table->clocks_table, false); in smu_v13_0_5_set_default_dpm_tables()
621 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_5_get_dpm_level_count()
651 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_5_get_dpm_freq_by_index()
724 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_5_get_dpm_ultimate_freq()
1097 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_5_set_fine_grain_gfx_freq_parameters()
Dsmu_v13_0_4_ppt.c162 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in smu_v13_0_4_init_smc_tables()
163 if (!smu_table->clocks_table) in smu_v13_0_4_init_smc_tables()
187 kfree(smu_table->clocks_table); in smu_v13_0_4_init_smc_tables()
196 kfree(smu_table->clocks_table); in smu_v13_0_4_fini_smc_tables()
197 smu_table->clocks_table = NULL; in smu_v13_0_4_fini_smc_tables()
417 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_4_get_dpm_freq_by_index()
460 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_4_get_dpm_level_count()
737 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_4_get_dpm_ultimate_freq()
1087 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_4_set_fine_grain_gfx_freq_parameters()
Dyellow_carp_ppt.c163 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in yellow_carp_init_smc_tables()
164 if (!smu_table->clocks_table) in yellow_carp_init_smc_tables()
188 kfree(smu_table->clocks_table); in yellow_carp_init_smc_tables()
197 kfree(smu_table->clocks_table); in yellow_carp_fini_smc_tables()
198 smu_table->clocks_table = NULL; in yellow_carp_fini_smc_tables()
633 return smu_cmn_update_table(smu, SMU_TABLE_DPMCLOCKS, 0, smu_table->clocks_table, false); in yellow_carp_set_default_dpm_tables()
755 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in yellow_carp_get_dpm_level_count()
785 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in yellow_carp_get_dpm_freq_by_index()
858 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in yellow_carp_get_dpm_ultimate_freq()
1324 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in yellow_carp_set_fine_grain_gfx_freq_parameters()
Dsmu_v13_0.c2399 smu_table->clocks_table, false); in smu_v13_0_set_default_dpm_tables()
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu12/
Dsmu_v12_0.c186 kfree(smu_table->clocks_table); in smu_v12_0_fini_smc_tables()
187 smu_table->clocks_table = NULL; in smu_v12_0_fini_smc_tables()
205 return smu_cmn_update_table(smu, SMU_TABLE_DPMCLOCKS, 0, smu_table->clocks_table, false); in smu_v12_0_set_default_dpm_tables()
Drenoir_ppt.c168 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in renoir_init_smc_tables()
169 if (!smu_table->clocks_table) in renoir_init_smc_tables()
193 kfree(smu_table->clocks_table); in renoir_init_smc_tables()
205 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in renoir_get_dpm_clk_limited()
758 DpmClocks_t *table = smu->smu_table.clocks_table; in renoir_get_dpm_clock_table()
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dvangogh_ppt.c271 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in vangogh_tables_init()
272 if (!smu_table->clocks_table) in vangogh_tables_init()
543 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in vangogh_get_dpm_clk_limited()
586 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in vangogh_print_legacy_clk_levels()
688 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in vangogh_print_clk_levels()
842 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in vangogh_get_profiling_clk_mask()
2189 return smu_cmn_update_table(smu, SMU_TABLE_DPMCLOCKS, 0, smu_table->clocks_table, false); in vangogh_set_default_dpm_tables()
2194 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in vangogh_set_fine_grain_gfx_freq_parameters()
2211 DpmClocks_t *table = smu->smu_table.clocks_table; in vangogh_get_dpm_clock_table()
Dsmu_v11_0.c439 kfree(smu_table->clocks_table); in smu_v11_0_fini_smc_tables()
446 smu_table->clocks_table = NULL; in smu_v11_0_fini_smc_tables()
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h329 void *clocks_table; member