/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega10_pptable.h | 131 UCHAR ucNumEntries; /* Number of entries. */ member 165 UCHAR ucNumEntries; /* Number of entries. */ member 171 UCHAR ucNumEntries; /* Number of entries. */ member 177 UCHAR ucNumEntries; /* Number of entries. */ member 183 UCHAR ucNumEntries; /* Number of entries. */ member 189 UCHAR ucNumEntries; /* Number of entries. */ member 195 UCHAR ucNumEntries; /* Number of entries.*/ member 201 UCHAR ucNumEntries; /* Number of entries. */ member 215 UCHAR ucNumEntries; /* Number of entries */ member 227 UCHAR ucNumEntries; /* Number of entries */ member [all …]
|
D | vega10_processpptables.c | 83 PP_ASSERT_WITH_CODE(state_arrays->ucNumEntries > 0, in check_powerplay_tables() 322 (bool)patom_record_v2[gfxclk_dep_table->ucNumEntries-1].ucACGEnable; in init_over_drive_limits() 351 PP_ASSERT_WITH_CODE((mm_dependency_table->ucNumEntries != 0), in get_mm_clock_voltage_table() 354 mm_table = kzalloc(struct_size(mm_table, entries, mm_dependency_table->ucNumEntries), in get_mm_clock_voltage_table() 359 mm_table->count = mm_dependency_table->ucNumEntries; in get_mm_clock_voltage_table() 361 for (i = 0; i < mm_dependency_table->ucNumEntries; i++) { in get_mm_clock_voltage_table() 574 PP_ASSERT_WITH_CODE(clk_dep_table->ucNumEntries, in get_socclk_voltage_dependency_table() 577 clk_table = kzalloc(struct_size(clk_table, entries, clk_dep_table->ucNumEntries), in get_socclk_voltage_dependency_table() 582 clk_table->count = (uint32_t)clk_dep_table->ucNumEntries; in get_socclk_voltage_dependency_table() 584 for (i = 0; i < clk_dep_table->ucNumEntries; i++) { in get_socclk_voltage_dependency_table() [all …]
|
D | process_pptables_v1_0.c | 165 PP_ASSERT_WITH_CODE((0 != vddc_lookup_pp_tables->ucNumEntries), in get_vddc_lookup_table() 172 table->count = vddc_lookup_pp_tables->ucNumEntries; in get_vddc_lookup_table() 174 for (i = 0; i < vddc_lookup_pp_tables->ucNumEntries; i++) { in get_vddc_lookup_table() 348 PP_ASSERT_WITH_CODE((0 != limitable->ucNumEntries), "Invalid PowerPlay Table!", return -1); in get_hard_limits() 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() 415 PP_ASSERT_WITH_CODE((0 != tonga_table->ucNumEntries), in get_sclk_voltage_dependency_table() 418 sclk_table = kzalloc(struct_size(sclk_table, entries, tonga_table->ucNumEntries), in get_sclk_voltage_dependency_table() [all …]
|
D | pptable_v1_0.h | 166 UCHAR ucNumEntries; /* Number of entries. */ member 181 UCHAR ucNumEntries; /* Number of entries. */ member 196 UCHAR ucNumEntries; /* Number of entries. */ member 212 UCHAR ucNumEntries; /* Number of entries. */ member 224 UCHAR ucNumEntries; /* Number of entries. */ member 237 UCHAR ucNumEntries; /* Number of entries. */ member 254 UCHAR ucNumEntries; /* Number of entries. */ member 267 UCHAR ucNumEntries; /* Number of entries. */ member 369 UCHAR ucNumEntries; member 484 UCHAR ucNumEntries; member
|
D | processpptables.c | 96 table_size = sizeof(uint8_t) + p->ucNumEntries * sizeof(VCEClockInfo); in get_vce_clock_info_array_size() 197 p->ucNumEntries * sizeof(UVDClockInfo); in get_uvd_clock_info_array_size() 385 dep_table = kzalloc(struct_size(dep_table, entries, table->ucNumEntries), in get_clock_voltage_dependency_table() 390 dep_table->count = (unsigned long)table->ucNumEntries; in get_clock_voltage_dependency_table() 782 if (entry_index <= pstate_arrays->ucNumEntries) { in get_state_entry_v2() 876 *num_of_entries = (unsigned long)(pstate_arrays->ucNumEntries); in pp_tables_get_num_of_entries() 911 if (entry_index > pstate_arrays->ucNumEntries) in pp_tables_get_entry() 1490 cac_leakage_table = kzalloc(struct_size(cac_leakage_table, entries, table->ucNumEntries), in get_cac_leakage_table() 1495 cac_leakage_table->count = (ULONG)table->ucNumEntries; in get_cac_leakage_table() 1628 table = kzalloc(struct_size(table, entries, ptable->ucNumEntries), in init_phase_shedding_table() [all …]
|
D | vega12_processpptables.c | 376 PP_ASSERT_WITH_CODE(state_arrays->ucNumEntries > 0, 379 PP_ASSERT_WITH_CODE((entry_index <= state_arrays->ucNumEntries),
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | pptable.h | 440 UCHAR ucNumEntries; member 448 UCHAR ucNumEntries; member 459 UCHAR ucNumEntries; member 475 UCHAR ucNumEntries; // Number of entries. member 491 UCHAR ucNumEntries; // Number of entries. member 515 UCHAR ucNumEntries; // Number of entries. member 530 UCHAR ucNumEntries; // Number of entries. member 542 UCHAR ucNumEntries; member 588 UCHAR ucNumEntries; member
|
D | r600_dpm.c | 826 radeon_table->entries = kcalloc(atom_table->ucNumEntries, in r600_parse_clk_voltage_dep_table() 833 for (i = 0; i < atom_table->ucNumEntries; i++) { in r600_parse_clk_voltage_dep_table() 840 radeon_table->count = atom_table->ucNumEntries; in r600_parse_clk_voltage_dep_table() 972 if (clk_v->ucNumEntries) { in r600_parse_extended_power_table() 993 kcalloc(psl->ucNumEntries, in r600_parse_extended_power_table() 1002 for (i = 0; i < psl->ucNumEntries; i++) { in r600_parse_extended_power_table() 1013 psl->ucNumEntries; in r600_parse_extended_power_table() 1038 u32 size = cac_table->ucNumEntries * sizeof(struct radeon_cac_leakage_table); in r600_parse_extended_power_table() 1045 for (i = 0; i < cac_table->ucNumEntries; i++) { in r600_parse_extended_power_table() 1062 rdev->pm.dpm.dyn_state.cac_leakage_table.count = cac_table->ucNumEntries; in r600_parse_extended_power_table() [all …]
|
D | trinity_dpm.c | 1717 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in trinity_parse_power_table() 1723 for (i = 0; i < state_array->ucNumEntries; i++) { in trinity_parse_power_table() 1741 if (clock_array_index >= clock_info_array->ucNumEntries) in trinity_parse_power_table() 1758 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in trinity_parse_power_table()
|
D | kv_dpm.c | 2461 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in kv_parse_power_table() 2467 for (i = 0; i < state_array->ucNumEntries; i++) { in kv_parse_power_table() 2485 if (clock_array_index >= clock_info_array->ucNumEntries) in kv_parse_power_table() 2502 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in kv_parse_power_table()
|
D | sumo_dpm.c | 1484 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in sumo_parse_power_table() 1490 for (i = 0; i < state_array->ucNumEntries; i++) { in sumo_parse_power_table() 1524 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in sumo_parse_power_table()
|
D | radeon_atombios.c | 2689 if (state_array->ucNumEntries == 0) in radeon_atombios_parse_power_table_6() 2691 rdev->pm.power_state = kcalloc(state_array->ucNumEntries, in radeon_atombios_parse_power_table_6() 2697 for (i = 0; i < state_array->ucNumEntries; i++) { in radeon_atombios_parse_power_table_6()
|
D | si_dpm.c | 6820 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in si_parse_power_table() 6826 for (i = 0; i < state_array->ucNumEntries; i++) { in si_parse_power_table() 6847 if (clock_array_index >= clock_info_array->ucNumEntries) in si_parse_power_table() 6861 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in si_parse_power_table()
|
D | ci_dpm.c | 5536 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in ci_parse_power_table() 5543 for (i = 0; i < state_array->ucNumEntries; i++) { in ci_parse_power_table() 5562 if (clock_array_index >= clock_info_array->ucNumEntries) in ci_parse_power_table()
|
/linux-6.1.9/drivers/gpu/drm/amd/include/ |
D | pptable.h | 481 UCHAR ucNumEntries; member 489 UCHAR ucNumEntries; member 500 UCHAR ucNumEntries; member 516 UCHAR ucNumEntries; // Number of entries. member 532 UCHAR ucNumEntries; // Number of entries. member 556 UCHAR ucNumEntries; // Number of entries. member 571 UCHAR ucNumEntries; // Number of entries. member 583 UCHAR ucNumEntries; member 629 UCHAR ucNumEntries; member
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | legacy_dpm.c | 188 u32 size = atom_table->ucNumEntries * in amdgpu_parse_clk_voltage_dep_table() 198 for (i = 0; i < atom_table->ucNumEntries; i++) { in amdgpu_parse_clk_voltage_dep_table() 205 amdgpu_table->count = atom_table->ucNumEntries; in amdgpu_parse_clk_voltage_dep_table() 318 if (clk_v->ucNumEntries) { in amdgpu_parse_extended_power_table() 339 kcalloc(psl->ucNumEntries, in amdgpu_parse_extended_power_table() 348 for (i = 0; i < psl->ucNumEntries; i++) { in amdgpu_parse_extended_power_table() 359 psl->ucNumEntries; in amdgpu_parse_extended_power_table() 384 u32 size = cac_table->ucNumEntries * sizeof(struct amdgpu_cac_leakage_table); in amdgpu_parse_extended_power_table() 391 for (i = 0; i < cac_table->ucNumEntries; i++) { in amdgpu_parse_extended_power_table() 408 adev->pm.dpm.dyn_state.cac_leakage_table.count = cac_table->ucNumEntries; in amdgpu_parse_extended_power_table() [all …]
|
D | kv_dpm.c | 2738 adev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in kv_parse_power_table() 2744 for (i = 0; i < state_array->ucNumEntries; i++) { in kv_parse_power_table() 2760 if (clock_array_index >= clock_info_array->ucNumEntries) in kv_parse_power_table() 2777 adev->pm.dpm.num_ps = state_array->ucNumEntries; in kv_parse_power_table()
|
D | si_dpm.c | 7294 adev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in si_parse_power_table() 7300 for (adev->pm.dpm.num_ps = 0, i = 0; i < state_array->ucNumEntries; i++) { in si_parse_power_table() 7317 if (clock_array_index >= clock_info_array->ucNumEntries) in si_parse_power_table()
|