Searched refs:dep_table (Results 1 – 9 of 9) sorted by relevance
298 phm_ppt_v1_clock_voltage_dependency_table *dep_table) in phm_get_svi2_mvdd_voltage_table() argument303 PP_ASSERT_WITH_CODE((0 != dep_table->count), in phm_get_svi2_mvdd_voltage_table()311 vol_table->count = dep_table->count; in phm_get_svi2_mvdd_voltage_table()313 for (i = 0; i < dep_table->count; i++) { in phm_get_svi2_mvdd_voltage_table()314 vol_table->entries[i].value = dep_table->entries[i].mvdd; in phm_get_svi2_mvdd_voltage_table()326 phm_ppt_v1_clock_voltage_dependency_table *dep_table) in phm_get_svi2_vddci_voltage_table() argument331 PP_ASSERT_WITH_CODE((0 != dep_table->count), in phm_get_svi2_vddci_voltage_table()339 vol_table->count = dep_table->count; in phm_get_svi2_vddci_voltage_table()341 for (i = 0; i < dep_table->count; i++) { in phm_get_svi2_vddci_voltage_table()342 vol_table->entries[i].value = dep_table->entries[i].vddci; in phm_get_svi2_vddci_voltage_table()
381 struct phm_clock_voltage_dependency_table *dep_table; in get_clock_voltage_dependency_table() local387 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()
267 struct phm_clock_voltage_dependency_table *dep_table = in cz_construct_max_power_limits_table() local270 if (dep_table->count > 0) { in cz_construct_max_power_limits_table()271 table->sclk = dep_table->entries[dep_table->count-1].clk; in cz_construct_max_power_limits_table()273 (uint16_t)dep_table->entries[dep_table->count-1].v); in cz_construct_max_power_limits_table()
75 struct amdgpu_clock_voltage_dependency_table *dep_table = in cz_construct_max_power_limits_table() local78 if (dep_table->count > 0) { in cz_construct_max_power_limits_table()79 table->sclk = dep_table->entries[dep_table->count - 1].clk; in cz_construct_max_power_limits_table()81 dep_table->entries[dep_table->count - 1].v); in cz_construct_max_power_limits_table()1734 struct amdgpu_clock_voltage_dependency_table *dep_table = in cz_dpm_unforce_dpm_levels() local1739 pi->sclk_dpm.soft_min_clk = dep_table->entries[0].clk; in cz_dpm_unforce_dpm_levels()1741 if (level < dep_table->count) in cz_dpm_unforce_dpm_levels()1742 pi->sclk_dpm.soft_max_clk = dep_table->entries[level].clk; in cz_dpm_unforce_dpm_levels()1745 dep_table->entries[dep_table->count - 1].clk; in cz_dpm_unforce_dpm_levels()1831 struct amdgpu_uvd_clock_voltage_dependency_table *dep_table = in cz_dpm_unforce_uvd_dpm_levels() local[all …]
319 ATOM_PPLIB_Clock_Voltage_Dependency_Table *dep_table; in amdgpu_parse_extended_power_table() local364 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in amdgpu_parse_extended_power_table()368 dep_table); in amdgpu_parse_extended_power_table()375 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in amdgpu_parse_extended_power_table()379 dep_table); in amdgpu_parse_extended_power_table()386 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in amdgpu_parse_extended_power_table()390 dep_table); in amdgpu_parse_extended_power_table()397 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in amdgpu_parse_extended_power_table()401 dep_table); in amdgpu_parse_extended_power_table()735 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in amdgpu_parse_extended_power_table()[all …]
85 struct phm_ppt_v1_clock_voltage_dependency_table *dep_table, in fiji_get_dependency_volt_by_clk() argument95 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 …]
78 struct phm_ppt_v1_clock_voltage_dependency_table *dep_table, in polaris10_get_dependency_volt_by_clk() argument88 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 …]
876 ATOM_PPLIB_Clock_Voltage_Dependency_Table *dep_table; in r600_parse_extended_power_table() local921 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in r600_parse_extended_power_table()925 dep_table); in r600_parse_extended_power_table()930 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in r600_parse_extended_power_table()934 dep_table); in r600_parse_extended_power_table()941 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in r600_parse_extended_power_table()945 dep_table); in r600_parse_extended_power_table()953 dep_table = (ATOM_PPLIB_Clock_Voltage_Dependency_Table *) in r600_parse_extended_power_table()957 dep_table); in r600_parse_extended_power_table()
692 …struct pp_atomctrl_voltage_table *vol_table, phm_ppt_v1_clock_voltage_dependency_table *dep_table);693 …struct pp_atomctrl_voltage_table *vol_table, phm_ppt_v1_clock_voltage_dependency_table *dep_table);