Searched refs:samu_table (Results 1 – 3 of 3) sorted by relevance
1268 struct phm_samu_clock_voltage_dependency_table *samu_table; in get_samu_clock_voltage_limit_table() local1270 samu_table = kzalloc(struct_size(samu_table, entries, table->numEntries), in get_samu_clock_voltage_limit_table()1272 if (!samu_table) in get_samu_clock_voltage_limit_table()1275 samu_table->count = table->numEntries; in get_samu_clock_voltage_limit_table()1278 samu_table->entries[i].v = (unsigned long)le16_to_cpu(table->entries[i].usVoltage); in get_samu_clock_voltage_limit_table()1279 samu_table->entries[i].samclk = ((unsigned long)table->entries[i].ucSAMClockHigh << 16) in get_samu_clock_voltage_limit_table()1283 *ptable = samu_table; in get_samu_clock_voltage_limit_table()
1788 struct radeon_clock_voltage_dependency_table *samu_table = in kv_patch_voltage_values() local1807 if (samu_table->count) { in kv_patch_voltage_values()1808 for (i = 0; i < samu_table->count; i++) in kv_patch_voltage_values()1809 samu_table->entries[i].v = in kv_patch_voltage_values()1811 samu_table->entries[i].v); in kv_patch_voltage_values()
2048 struct amdgpu_clock_voltage_dependency_table *samu_table = in kv_patch_voltage_values() local2067 if (samu_table->count) { in kv_patch_voltage_values()2068 for (i = 0; i < samu_table->count; i++) in kv_patch_voltage_values()2069 samu_table->entries[i].v = in kv_patch_voltage_values()2071 samu_table->entries[i].v); in kv_patch_voltage_values()