Searched refs:vol_table (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | smu_helper.c | 203 int phm_trim_voltage_table(struct pp_atomctrl_voltage_table *vol_table) in phm_trim_voltage_table() argument 210 PP_ASSERT_WITH_CODE((NULL != vol_table), in phm_trim_voltage_table() 219 table->mask_low = vol_table->mask_low; in phm_trim_voltage_table() 220 table->phase_delay = vol_table->phase_delay; in phm_trim_voltage_table() 222 for (i = 0; i < vol_table->count; i++) { in phm_trim_voltage_table() 223 vvalue = vol_table->entries[i].value; in phm_trim_voltage_table() 236 vol_table->entries[i].smio_low; in phm_trim_voltage_table() 241 memcpy(vol_table, table, sizeof(struct pp_atomctrl_voltage_table)); in phm_trim_voltage_table() 247 int phm_get_svi2_mvdd_voltage_table(struct pp_atomctrl_voltage_table *vol_table, in phm_get_svi2_mvdd_voltage_table() argument 256 PP_ASSERT_WITH_CODE((NULL != vol_table), in phm_get_svi2_mvdd_voltage_table() [all …]
|
D | smu_helper.h | 75 extern int phm_trim_voltage_table(struct pp_atomctrl_voltage_table *vol_table); 76 extern int phm_get_svi2_mvdd_voltage_table(struct pp_atomctrl_voltage_table *vol_table, phm_ppt_v1_… 77 extern int phm_get_svi2_vddci_voltage_table(struct pp_atomctrl_voltage_table *vol_table, phm_ppt_v1… 78 extern int phm_get_svi2_vdd_voltage_table(struct pp_atomctrl_voltage_table *vol_table, phm_ppt_v1_v… 79 …tage_table_to_fit_state_table(uint32_t max_vol_steps, struct pp_atomctrl_voltage_table *vol_table);
|
D | vega10_hwmgr.c | 824 struct pp_atomfwctrl_voltage_table vol_table; in vega10_hwmgr_backend_init() local 850 &vol_table)) { in vega10_hwmgr_backend_init() 851 config_telemetry = ((vol_table.telemetry_slope << 8) & 0xff00) | in vega10_hwmgr_backend_init() 852 (vol_table.telemetry_offset & 0xff); in vega10_hwmgr_backend_init() 868 &vol_table)) { in vega10_hwmgr_backend_init() 870 ((vol_table.telemetry_slope << 24) & 0xff000000) | in vega10_hwmgr_backend_init() 871 ((vol_table.telemetry_offset << 16) & 0xff0000); in vega10_hwmgr_backend_init() 1006 struct pp_atomfwctrl_voltage_table *vol_table) in vega10_trim_voltage_table() argument 1013 PP_ASSERT_WITH_CODE(vol_table, in vega10_trim_voltage_table() 1021 table->mask_low = vol_table->mask_low; in vega10_trim_voltage_table() [all …]
|