Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu_helper.c156 int phm_trim_voltage_table(struct pp_atomctrl_voltage_table *vol_table) in phm_trim_voltage_table() argument
163 PP_ASSERT_WITH_CODE((NULL != vol_table), in phm_trim_voltage_table()
172 table->mask_low = vol_table->mask_low; in phm_trim_voltage_table()
173 table->phase_delay = vol_table->phase_delay; in phm_trim_voltage_table()
175 for (i = 0; i < vol_table->count; i++) { in phm_trim_voltage_table()
176 vvalue = vol_table->entries[i].value; in phm_trim_voltage_table()
189 vol_table->entries[i].smio_low; in phm_trim_voltage_table()
194 memcpy(vol_table, table, sizeof(struct pp_atomctrl_voltage_table)); in phm_trim_voltage_table()
200 int phm_get_svi2_mvdd_voltage_table(struct pp_atomctrl_voltage_table *vol_table, in phm_get_svi2_mvdd_voltage_table() argument
209 PP_ASSERT_WITH_CODE((NULL != vol_table), in phm_get_svi2_mvdd_voltage_table()
[all …]
Dsmu_helper.h63 extern int phm_trim_voltage_table(struct pp_atomctrl_voltage_table *vol_table);
64 extern int phm_get_svi2_mvdd_voltage_table(struct pp_atomctrl_voltage_table *vol_table, phm_ppt_v1_…
65 extern int phm_get_svi2_vddci_voltage_table(struct pp_atomctrl_voltage_table *vol_table, phm_ppt_v1…
66 extern int phm_get_svi2_vdd_voltage_table(struct pp_atomctrl_voltage_table *vol_table, phm_ppt_v1_v…
67 …tage_table_to_fit_state_table(uint32_t max_vol_steps, struct pp_atomctrl_voltage_table *vol_table);
Dvega10_hwmgr.c796 struct pp_atomfwctrl_voltage_table vol_table; in vega10_hwmgr_backend_init() local
822 &vol_table)) { in vega10_hwmgr_backend_init()
823 config_telemetry = ((vol_table.telemetry_slope << 8) & 0xff00) | in vega10_hwmgr_backend_init()
824 (vol_table.telemetry_offset & 0xff); in vega10_hwmgr_backend_init()
840 &vol_table)) { in vega10_hwmgr_backend_init()
842 ((vol_table.telemetry_slope << 24) & 0xff000000) | in vega10_hwmgr_backend_init()
843 ((vol_table.telemetry_offset << 16) & 0xff0000); in vega10_hwmgr_backend_init()
978 struct pp_atomfwctrl_voltage_table *vol_table) in vega10_trim_voltage_table() argument
985 PP_ASSERT_WITH_CODE(vol_table, in vega10_trim_voltage_table()
993 table->mask_low = vol_table->mask_low; in vega10_trim_voltage_table()
[all …]
/Linux-v4.19/drivers/regulator/
D88pm8607.c30 unsigned int *vol_table; member
215 if (info->vol_table && (index < rdev->desc->n_voltages)) { in pm8607_list_voltage()
216 ret = info->vol_table[index]; in pm8607_list_voltage()
269 .vol_table = (unsigned int *)&vreg##_table, \
288 .vol_table = (unsigned int *)&LDO##_id##_table, \