Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A 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 …]
H A 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);
H A Dvega10_hwmgr.c831 struct pp_atomfwctrl_voltage_table vol_table; in vega10_hwmgr_backend_init() local
857 &vol_table)) { in vega10_hwmgr_backend_init()
858 config_telemetry = ((vol_table.telemetry_slope << 8) & 0xff00) | in vega10_hwmgr_backend_init()
859 (vol_table.telemetry_offset & 0xff); in vega10_hwmgr_backend_init()
875 &vol_table)) { in vega10_hwmgr_backend_init()
877 ((vol_table.telemetry_slope << 24) & 0xff000000) | in vega10_hwmgr_backend_init()
878 ((vol_table.telemetry_offset << 16) & 0xff0000); in vega10_hwmgr_backend_init()
1023 struct pp_atomfwctrl_voltage_table *vol_table) in vega10_trim_voltage_table() argument
1030 PP_ASSERT_WITH_CODE(vol_table, in vega10_trim_voltage_table()
1038 table->mask_low = vol_table->mask_low; in vega10_trim_voltage_table()
[all …]