Searched refs:dep_table (Results 1 – 9 of 9) sorted by relevance
/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | vega10_hwmgr.c | 1022 phm_ppt_v1_clock_voltage_dependency_table *dep_table, in vega10_get_mvdd_voltage_table() argument 1027 PP_ASSERT_WITH_CODE(dep_table->count, in vega10_get_mvdd_voltage_table() 1033 vol_table->count = dep_table->count; in vega10_get_mvdd_voltage_table() 1036 vol_table->entries[i].value = dep_table->entries[i].mvdd; in vega10_get_mvdd_voltage_table() 1049 phm_ppt_v1_clock_voltage_dependency_table *dep_table, in vega10_get_vddci_voltage_table() argument 1054 PP_ASSERT_WITH_CODE(dep_table->count, in vega10_get_vddci_voltage_table() 1060 vol_table->count = dep_table->count; in vega10_get_vddci_voltage_table() 1062 for (i = 0; i < dep_table->count; i++) { in vega10_get_vddci_voltage_table() 1063 vol_table->entries[i].value = dep_table->entries[i].vddci; in vega10_get_vddci_voltage_table() 1075 phm_ppt_v1_clock_voltage_dependency_table *dep_table, in vega10_get_vdd_voltage_table() argument [all …]
|
D | hwmgr.c | 370 phm_ppt_v1_clock_voltage_dependency_table *dep_table) in phm_get_svi2_mvdd_voltage_table() argument 375 PP_ASSERT_WITH_CODE((0 != dep_table->count), in phm_get_svi2_mvdd_voltage_table() 383 vol_table->count = dep_table->count; in phm_get_svi2_mvdd_voltage_table() 385 for (i = 0; i < dep_table->count; i++) { in phm_get_svi2_mvdd_voltage_table() 386 vol_table->entries[i].value = dep_table->entries[i].mvdd; in phm_get_svi2_mvdd_voltage_table() 398 phm_ppt_v1_clock_voltage_dependency_table *dep_table) in phm_get_svi2_vddci_voltage_table() argument 403 PP_ASSERT_WITH_CODE((0 != dep_table->count), in phm_get_svi2_vddci_voltage_table() 411 vol_table->count = dep_table->count; in phm_get_svi2_vddci_voltage_table() 413 for (i = 0; i < dep_table->count; i++) { in phm_get_svi2_vddci_voltage_table() 414 vol_table->entries[i].value = dep_table->entries[i].vddci; in phm_get_svi2_vddci_voltage_table()
|
D | processpptables.c | 381 struct phm_clock_voltage_dependency_table *dep_table; in get_clock_voltage_dependency_table() local 387 dep_table = kzalloc(table_size, GFP_KERNEL); in get_clock_voltage_dependency_table() 388 if (NULL == dep_table) in get_clock_voltage_dependency_table() 391 dep_table->count = (unsigned long)table->ucNumEntries; in get_clock_voltage_dependency_table() 393 for (i = 0; i < dep_table->count; i++) { in get_clock_voltage_dependency_table() 394 dep_table->entries[i].clk = in get_clock_voltage_dependency_table() 397 dep_table->entries[i].v = in get_clock_voltage_dependency_table() 401 *ptable = dep_table; in get_clock_voltage_dependency_table()
|
D | cz_hwmgr.c | 266 struct phm_clock_voltage_dependency_table *dep_table = in cz_construct_max_power_limits_table() local 269 if (dep_table->count > 0) { in cz_construct_max_power_limits_table() 270 table->sclk = dep_table->entries[dep_table->count-1].clk; in cz_construct_max_power_limits_table() 272 (uint16_t)dep_table->entries[dep_table->count-1].v); in cz_construct_max_power_limits_table()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_dpm.c | 321 ATOM_PPLIB_Clock_Voltage_Dependency_Table *dep_table; in amdgpu_parse_extended_power_table() local 366 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in amdgpu_parse_extended_power_table() 370 dep_table); in amdgpu_parse_extended_power_table() 377 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in amdgpu_parse_extended_power_table() 381 dep_table); in amdgpu_parse_extended_power_table() 388 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in amdgpu_parse_extended_power_table() 392 dep_table); in amdgpu_parse_extended_power_table() 399 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in amdgpu_parse_extended_power_table() 403 dep_table); in amdgpu_parse_extended_power_table() 738 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in amdgpu_parse_extended_power_table() [all …]
|
/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | fiji_smc.c | 85 struct phm_ppt_v1_clock_voltage_dependency_table *dep_table, in fiji_get_dependency_volt_by_clk() argument 95 if (dep_table->count == 0) in fiji_get_dependency_volt_by_clk() 98 for (i = 0; i < dep_table->count; i++) { in fiji_get_dependency_volt_by_clk() 100 if (dep_table->entries[i].clk >= clock) { in fiji_get_dependency_volt_by_clk() 101 *voltage |= (dep_table->entries[i].vddc * in fiji_get_dependency_volt_by_clk() 106 else if (dep_table->entries[i].vddci) in fiji_get_dependency_volt_by_clk() 107 *voltage |= (dep_table->entries[i].vddci * in fiji_get_dependency_volt_by_clk() 111 (dep_table->entries[i].vddc - in fiji_get_dependency_volt_by_clk() 119 else if (dep_table->entries[i].mvdd) in fiji_get_dependency_volt_by_clk() 120 *mvdd = (uint32_t) dep_table->entries[i].mvdd * in fiji_get_dependency_volt_by_clk() [all …]
|
D | polaris10_smc.c | 78 struct phm_ppt_v1_clock_voltage_dependency_table *dep_table, in polaris10_get_dependency_volt_by_clk() argument 88 if (dep_table->count == 0) in polaris10_get_dependency_volt_by_clk() 91 for (i = 0; i < dep_table->count; i++) { in polaris10_get_dependency_volt_by_clk() 93 if (dep_table->entries[i].clk >= clock) { in polaris10_get_dependency_volt_by_clk() 94 *voltage |= (dep_table->entries[i].vddc * in polaris10_get_dependency_volt_by_clk() 99 else if (dep_table->entries[i].vddci) in polaris10_get_dependency_volt_by_clk() 100 *voltage |= (dep_table->entries[i].vddci * in polaris10_get_dependency_volt_by_clk() 104 (dep_table->entries[i].vddc - in polaris10_get_dependency_volt_by_clk() 112 else if (dep_table->entries[i].mvdd) in polaris10_get_dependency_volt_by_clk() 113 *mvdd = (uint32_t) dep_table->entries[i].mvdd * in polaris10_get_dependency_volt_by_clk() [all …]
|
/drivers/gpu/drm/radeon/ |
D | r600_dpm.c | 879 ATOM_PPLIB_Clock_Voltage_Dependency_Table *dep_table; in r600_parse_extended_power_table() local 924 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in r600_parse_extended_power_table() 928 dep_table); in r600_parse_extended_power_table() 933 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in r600_parse_extended_power_table() 937 dep_table); in r600_parse_extended_power_table() 944 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in r600_parse_extended_power_table() 948 dep_table); in r600_parse_extended_power_table() 956 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in r600_parse_extended_power_table() 960 dep_table); in r600_parse_extended_power_table()
|
/drivers/gpu/drm/amd/powerplay/inc/ |
D | hwmgr.h | 814 …struct pp_atomctrl_voltage_table *vol_table, phm_ppt_v1_clock_voltage_dependency_table *dep_table); 815 …struct pp_atomctrl_voltage_table *vol_table, phm_ppt_v1_clock_voltage_dependency_table *dep_table);
|