Home
last modified time | relevance | path

Searched refs:ucNumEntries (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dpptable_v1_0.h166 UCHAR ucNumEntries; member
167 ATOM_Tonga_State entries[] __counted_by(ucNumEntries);
181 UCHAR ucNumEntries; member
182 ATOM_Tonga_MCLK_Dependency_Record entries[] __counted_by(ucNumEntries);
196 UCHAR ucNumEntries; member
197 ATOM_Tonga_SCLK_Dependency_Record entries[] __counted_by(ucNumEntries);
212 UCHAR ucNumEntries; member
213 ATOM_Polaris_SCLK_Dependency_Record entries[] __counted_by(ucNumEntries);
224 UCHAR ucNumEntries; member
225 ATOM_Tonga_PCIE_Record entries[] __counted_by(ucNumEntries);
[all …]
Dvega10_pptable.h131 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 …]
Dvega10_processpptables.c82 PP_ASSERT_WITH_CODE(state_arrays->ucNumEntries > 0, in check_powerplay_tables()
321 (bool)patom_record_v2[gfxclk_dep_table->ucNumEntries-1].ucACGEnable; in init_over_drive_limits()
350 PP_ASSERT_WITH_CODE((mm_dependency_table->ucNumEntries != 0), in get_mm_clock_voltage_table()
353 mm_table = kzalloc(struct_size(mm_table, entries, mm_dependency_table->ucNumEntries), in get_mm_clock_voltage_table()
358 mm_table->count = mm_dependency_table->ucNumEntries; in get_mm_clock_voltage_table()
360 for (i = 0; i < mm_dependency_table->ucNumEntries; i++) { in get_mm_clock_voltage_table()
573 PP_ASSERT_WITH_CODE(clk_dep_table->ucNumEntries, in get_socclk_voltage_dependency_table()
576 clk_table = kzalloc(struct_size(clk_table, entries, clk_dep_table->ucNumEntries), in get_socclk_voltage_dependency_table()
581 clk_table->count = (uint32_t)clk_dep_table->ucNumEntries; in get_socclk_voltage_dependency_table()
583 for (i = 0; i < clk_dep_table->ucNumEntries; i++) { in get_socclk_voltage_dependency_table()
[all …]
Dprocess_pptables_v1_0.c165 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 …]
Dprocesspptables.c96 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()
780 if (entry_index <= pstate_arrays->ucNumEntries) { in get_state_entry_v2()
874 *num_of_entries = (unsigned long)(pstate_arrays->ucNumEntries); in pp_tables_get_num_of_entries()
909 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 …]
Dvega12_processpptables.c375 PP_ASSERT_WITH_CODE(state_arrays->ucNumEntries > 0,
378 PP_ASSERT_WITH_CODE((entry_index <= state_arrays->ucNumEntries),
/linux-6.12.1/drivers/gpu/drm/amd/include/
Dpptable.h481 UCHAR ucNumEntries; member
489 UCHAR ucNumEntries; member
499 UCHAR ucNumEntries; member
503 ATOM_PPLIB_NONCLOCK_INFO nonClockInfo[] __counted_by(ucNumEntries);
516 UCHAR ucNumEntries; member
518 ATOM_PPLIB_Clock_Voltage_Dependency_Record entries[] __counted_by(ucNumEntries);
534 UCHAR ucNumEntries; member
536 ATOM_PPLIB_Clock_Voltage_Limit_Record entries[] __counted_by(ucNumEntries);
560 UCHAR ucNumEntries; member
562 ATOM_PPLIB_CAC_Leakage_Record entries[] __counted_by(ucNumEntries);
[all …]
/linux-6.12.1/drivers/gpu/drm/radeon/
Dpptable.h440 UCHAR ucNumEntries; member
448 UCHAR ucNumEntries; member
453 UCHAR clockInfo[] __counted_by(ucNumEntries);
459 UCHAR ucNumEntries; member
463 ATOM_PPLIB_NONCLOCK_INFO nonClockInfo[] __counted_by(ucNumEntries);
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
[all …]
Dr600_dpm.c824 radeon_table->entries = kcalloc(atom_table->ucNumEntries, in r600_parse_clk_voltage_dep_table()
831 for (i = 0; i < atom_table->ucNumEntries; i++) { in r600_parse_clk_voltage_dep_table()
838 radeon_table->count = atom_table->ucNumEntries; in r600_parse_clk_voltage_dep_table()
970 if (clk_v->ucNumEntries) { in r600_parse_extended_power_table()
991 kcalloc(psl->ucNumEntries, in r600_parse_extended_power_table()
1000 for (i = 0; i < psl->ucNumEntries; i++) { in r600_parse_extended_power_table()
1011 psl->ucNumEntries; in r600_parse_extended_power_table()
1036 u32 size = cac_table->ucNumEntries * sizeof(struct radeon_cac_leakage_table); in r600_parse_extended_power_table()
1043 for (i = 0; i < cac_table->ucNumEntries; i++) { in r600_parse_extended_power_table()
1060 rdev->pm.dpm.dyn_state.cac_leakage_table.count = cac_table->ucNumEntries; in r600_parse_extended_power_table()
[all …]
Dtrinity_dpm.c1713 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in trinity_parse_power_table()
1719 for (i = 0; i < state_array->ucNumEntries; i++) { in trinity_parse_power_table()
1739 if (clock_array_index >= clock_info_array->ucNumEntries) in trinity_parse_power_table()
1756 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in trinity_parse_power_table()
Dkv_dpm.c2460 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in kv_parse_power_table()
2466 for (i = 0; i < state_array->ucNumEntries; i++) { in kv_parse_power_table()
2484 if (clock_array_index >= clock_info_array->ucNumEntries) in kv_parse_power_table()
2501 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in kv_parse_power_table()
Dsumo_dpm.c1482 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in sumo_parse_power_table()
1488 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()
Dradeon_atombios.c2695 if (state_array->ucNumEntries == 0) in radeon_atombios_parse_power_table_6()
2697 rdev->pm.power_state = kcalloc(state_array->ucNumEntries, in radeon_atombios_parse_power_table_6()
2703 for (i = 0; i < state_array->ucNumEntries; i++) { in radeon_atombios_parse_power_table_6()
Dsi_dpm.c6776 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in si_parse_power_table()
6782 for (i = 0; i < state_array->ucNumEntries; i++) { in si_parse_power_table()
6803 if (clock_array_index >= clock_info_array->ucNumEntries) in si_parse_power_table()
6817 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in si_parse_power_table()
Dci_dpm.c5532 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in ci_parse_power_table()
5539 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.12.1/drivers/gpu/drm/amd/pm/legacy-dpm/
Dlegacy_dpm.c188 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()
310 if (clk_v->ucNumEntries) { in amdgpu_parse_extended_power_table()
331 kcalloc(psl->ucNumEntries, in amdgpu_parse_extended_power_table()
338 for (i = 0; i < psl->ucNumEntries; i++) { in amdgpu_parse_extended_power_table()
349 psl->ucNumEntries; in amdgpu_parse_extended_power_table()
374 u32 size = cac_table->ucNumEntries * sizeof(struct amdgpu_cac_leakage_table); in amdgpu_parse_extended_power_table()
379 for (i = 0; i < cac_table->ucNumEntries; i++) { in amdgpu_parse_extended_power_table()
396 adev->pm.dpm.dyn_state.cac_leakage_table.count = cac_table->ucNumEntries; in amdgpu_parse_extended_power_table()
[all …]
Dkv_dpm.c2727 adev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in kv_parse_power_table()
2733 for (i = 0; i < state_array->ucNumEntries; i++) { in kv_parse_power_table()
2747 if (clock_array_index >= clock_info_array->ucNumEntries) in kv_parse_power_table()
2764 adev->pm.dpm.num_ps = state_array->ucNumEntries; in kv_parse_power_table()
Dsi_dpm.c7290 adev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in si_parse_power_table()
7296 for (adev->pm.dpm.num_ps = 0, i = 0; i < state_array->ucNumEntries; i++) { in si_parse_power_table()
7313 if (clock_array_index >= clock_info_array->ucNumEntries) in si_parse_power_table()