Home
last modified time | relevance | path

Searched refs:mclk_dep_table (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dprocess_pptables_v1_0.c363 ATOM_Tonga_MCLK_Dependency_Table const *mclk_dep_table in get_mclk_voltage_dependency_table() argument
371 PP_ASSERT_WITH_CODE((0 != mclk_dep_table->ucNumEntries), in get_mclk_voltage_dependency_table()
374 mclk_table = kzalloc(struct_size(mclk_table, entries, mclk_dep_table->ucNumEntries), in get_mclk_voltage_dependency_table()
379 mclk_table->count = (uint32_t)mclk_dep_table->ucNumEntries; in get_mclk_voltage_dependency_table()
381 for (i = 0; i < mclk_dep_table->ucNumEntries; i++) { in get_mclk_voltage_dependency_table()
387 entries, mclk_dep_table, i); in get_mclk_voltage_dependency_table()
802 const ATOM_Tonga_MCLK_Dependency_Table *mclk_dep_table = in init_clock_voltage_dependency() local
838 &pp_table_information->vdd_dep_on_mclk, mclk_dep_table); in init_clock_voltage_dependency()
1318 …const ATOM_Tonga_MCLK_Dependency_Table *mclk_dep_table = (ATOM_Tonga_MCLK_Dependency_Table *)(((un… in ppt_get_vce_state_table_entry_v1_0() local
1344 if (vce_state_record->ucMCLKIndex >= mclk_dep_table->ucNumEntries) in ppt_get_vce_state_table_entry_v1_0()
[all …]
Dvega10_processpptables.c598 const ATOM_Vega10_MCLK_Dependency_Table *mclk_dep_table) in get_mclk_voltage_dependency_table() argument
603 PP_ASSERT_WITH_CODE(mclk_dep_table->ucNumEntries, in get_mclk_voltage_dependency_table()
606 mclk_table = kzalloc(struct_size(mclk_table, entries, mclk_dep_table->ucNumEntries), in get_mclk_voltage_dependency_table()
611 mclk_table->count = (uint32_t)mclk_dep_table->ucNumEntries; in get_mclk_voltage_dependency_table()
613 for (i = 0; i < mclk_dep_table->ucNumEntries; i++) { in get_mclk_voltage_dependency_table()
615 mclk_dep_table->entries[i].ucVddInd; in get_mclk_voltage_dependency_table()
617 mclk_dep_table->entries[i].ucVddciInd; in get_mclk_voltage_dependency_table()
619 mclk_dep_table->entries[i].ucVddMemInd; in get_mclk_voltage_dependency_table()
621 le32_to_cpu(mclk_dep_table->entries[i].ulMemClk); in get_mclk_voltage_dependency_table()
899 const ATOM_Vega10_MCLK_Dependency_Table *mclk_dep_table = in init_powerplay_extended_tables() local
[all …]
Dvega10_hwmgr.c3134 ATOM_Vega10_MCLK_Dependency_Table *mclk_dep_table = in vega10_get_pp_table_entry_callback_func() local
3191 performance_level->mem_clock = mclk_dep_table->entries in vega10_get_pp_table_entry_callback_func()
3217 performance_level->mem_clock = mclk_dep_table->entries in vega10_get_pp_table_entry_callback_func()
Dsmu7_hwmgr.c3604 ATOM_Tonga_MCLK_Dependency_Table *mclk_dep_table = in smu7_get_pp_table_entry_callback_func_v1() local
3653 performance_level->memory_clock = mclk_dep_table->entries in smu7_get_pp_table_entry_callback_func_v1()
3668 performance_level->memory_clock = mclk_dep_table->entries in smu7_get_pp_table_entry_callback_func_v1()