Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
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 …]
Dpptable_v1_0.h166 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
483 UCHAR ucNumEntries; member
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()
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 …]
Dvega12_processpptables.c375 PP_ASSERT_WITH_CODE(state_arrays->ucNumEntries > 0,
378 PP_ASSERT_WITH_CODE((entry_index <= state_arrays->ucNumEntries),
/linux-6.6.21/drivers/gpu/drm/radeon/
Dpptable.h440 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
Dr600_dpm.c826 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 …]
Dtrinity_dpm.c1717 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()
1743 if (clock_array_index >= clock_info_array->ucNumEntries) in trinity_parse_power_table()
1760 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in trinity_parse_power_table()
Dkv_dpm.c2461 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()
Dsumo_dpm.c1484 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()
1526 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in sumo_parse_power_table()
Dradeon_atombios.c2692 if (state_array->ucNumEntries == 0) in radeon_atombios_parse_power_table_6()
2694 rdev->pm.power_state = kcalloc(state_array->ucNumEntries, in radeon_atombios_parse_power_table_6()
2700 for (i = 0; i < state_array->ucNumEntries; i++) { in radeon_atombios_parse_power_table_6()
Dsi_dpm.c6820 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()
Dci_dpm.c5537 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in ci_parse_power_table()
5544 for (i = 0; i < state_array->ucNumEntries; i++) { in ci_parse_power_table()
5567 if (clock_array_index >= clock_info_array->ucNumEntries) in ci_parse_power_table()
/linux-6.6.21/drivers/gpu/drm/amd/include/
Dpptable.h481 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.6.21/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.c2725 adev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in kv_parse_power_table()
2731 for (i = 0; i < state_array->ucNumEntries; i++) { in kv_parse_power_table()
2745 if (clock_array_index >= clock_info_array->ucNumEntries) in kv_parse_power_table()
2762 adev->pm.dpm.num_ps = state_array->ucNumEntries; in kv_parse_power_table()
Dsi_dpm.c7294 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()