Home
last modified time | relevance | path

Searched refs:vce_table (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/amd/powerplay/hwmgr/
Dprocesspptables.c1089 struct phm_vce_clock_voltage_dependency_table *vce_table = NULL; in get_vce_clock_voltage_limit_table() local
1095 vce_table = kzalloc(table_size, GFP_KERNEL); in get_vce_clock_voltage_limit_table()
1096 if (NULL == vce_table) in get_vce_clock_voltage_limit_table()
1099 vce_table->count = table->numEntries; in get_vce_clock_voltage_limit_table()
1103 vce_table->entries[i].v = (unsigned long)le16_to_cpu(table->entries[i].usVoltage); in get_vce_clock_voltage_limit_table()
1104 vce_table->entries[i].evclk = ((unsigned long)entry->ucEVClkHigh << 16) in get_vce_clock_voltage_limit_table()
1106 vce_table->entries[i].ecclk = ((unsigned long)entry->ucECClkHigh << 16) in get_vce_clock_voltage_limit_table()
1110 *ptable = vce_table; in get_vce_clock_voltage_limit_table()
1519 const ATOM_PPLIB_VCE_State_Table *vce_table = in get_number_of_vce_state_table_entries() local
1522 if (vce_table) in get_number_of_vce_state_table_entries()
[all …]
Dcz_hwmgr.c466 struct phm_vce_clock_voltage_dependency_table *vce_table = in cz_tf_upload_pptable_to_smu() local
488 PP_ASSERT_WITH_CODE((vce_table->count <= CZ_MAX_HARDWARE_POWERLEVELS), in cz_tf_upload_pptable_to_smu()
551 (i < vce_table->count) ? (uint8_t)vce_table->entries[i].v : 0; in cz_tf_upload_pptable_to_smu()
553 (i < vce_table->count) ? vce_table->entries[i].ecclk : 0; in cz_tf_upload_pptable_to_smu()
1913 struct phm_vce_clock_voltage_dependency_table *vce_table = in cz_read_sensor() local
1984 ecclk = vce_table->entries[vce_index].ecclk; in cz_read_sensor()
/drivers/gpu/drm/radeon/
Dkv_dpm.c1988 struct radeon_vce_clock_voltage_dependency_table *vce_table = in kv_patch_voltage_values() local
2002 if (vce_table->count) { in kv_patch_voltage_values()
2003 for (i = 0; i < vce_table->count; i++) in kv_patch_voltage_values()
2004 vce_table->entries[i].v = in kv_patch_voltage_values()
2006 vce_table->entries[i].v); in kv_patch_voltage_values()
/drivers/gpu/drm/amd/amdgpu/
Dkv_dpm.c2042 struct amdgpu_vce_clock_voltage_dependency_table *vce_table = in kv_patch_voltage_values() local
2056 if (vce_table->count) { in kv_patch_voltage_values()
2057 for (i = 0; i < vce_table->count; i++) in kv_patch_voltage_values()
2058 vce_table->entries[i].v = in kv_patch_voltage_values()
2060 vce_table->entries[i].v); in kv_patch_voltage_values()