Lines Matching refs:ptable
72 struct phm_vce_clock_voltage_dependency_table *ptable = in smu8_get_eclk_level() local
78 for (i = 0; i < (int)ptable->count; i++) { in smu8_get_eclk_level()
79 if (clock <= ptable->entries[i].ecclk) in smu8_get_eclk_level()
86 for (i = ptable->count - 1; i >= 0; i--) { in smu8_get_eclk_level()
87 if (clock >= ptable->entries[i].ecclk) in smu8_get_eclk_level()
133 struct phm_uvd_clock_voltage_dependency_table *ptable = in smu8_get_uvd_level() local
139 for (i = 0; i < (int)ptable->count; i++) { in smu8_get_uvd_level()
140 if (clock <= ptable->entries[i].vclk) in smu8_get_uvd_level()
147 for (i = ptable->count - 1; i >= 0; i--) { in smu8_get_uvd_level()
148 if (clock >= ptable->entries[i].vclk) in smu8_get_uvd_level()
1271 struct phm_vce_clock_voltage_dependency_table *ptable = in smu8_dpm_update_vce_dpm() local
1278 ptable->entries[ptable->count - 1].ecclk; in smu8_dpm_update_vce_dpm()
1885 struct phm_uvd_clock_voltage_dependency_table *ptable = in smu8_dpm_update_uvd_dpm() local
1893 ptable->entries[ptable->count - 1].vclk; in smu8_dpm_update_uvd_dpm()