Home
last modified time | relevance | path

Searched refs:vol_table (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu_helper.c204 int phm_trim_voltage_table(struct pp_atomctrl_voltage_table *vol_table) in phm_trim_voltage_table() argument
211 PP_ASSERT_WITH_CODE((NULL != vol_table), in phm_trim_voltage_table()
220 table->mask_low = vol_table->mask_low; in phm_trim_voltage_table()
221 table->phase_delay = vol_table->phase_delay; in phm_trim_voltage_table()
223 for (i = 0; i < vol_table->count; i++) { in phm_trim_voltage_table()
224 vvalue = vol_table->entries[i].value; in phm_trim_voltage_table()
237 vol_table->entries[i].smio_low; in phm_trim_voltage_table()
242 memcpy(vol_table, table, sizeof(struct pp_atomctrl_voltage_table)); in phm_trim_voltage_table()
248 int phm_get_svi2_mvdd_voltage_table(struct pp_atomctrl_voltage_table *vol_table, in phm_get_svi2_mvdd_voltage_table() argument
257 PP_ASSERT_WITH_CODE((NULL != vol_table), in phm_get_svi2_mvdd_voltage_table()
[all …]
Dsmu_helper.h75 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);
Dvega10_hwmgr.c823 struct pp_atomfwctrl_voltage_table vol_table; in vega10_hwmgr_backend_init() local
849 &vol_table)) { in vega10_hwmgr_backend_init()
850 config_telemetry = ((vol_table.telemetry_slope << 8) & 0xff00) | in vega10_hwmgr_backend_init()
851 (vol_table.telemetry_offset & 0xff); in vega10_hwmgr_backend_init()
867 &vol_table)) { in vega10_hwmgr_backend_init()
869 ((vol_table.telemetry_slope << 24) & 0xff000000) | in vega10_hwmgr_backend_init()
870 ((vol_table.telemetry_offset << 16) & 0xff0000); in vega10_hwmgr_backend_init()
1014 struct pp_atomfwctrl_voltage_table *vol_table) in vega10_trim_voltage_table() argument
1021 PP_ASSERT_WITH_CODE(vol_table, in vega10_trim_voltage_table()
1029 table->mask_low = vol_table->mask_low; in vega10_trim_voltage_table()
[all …]