Lines Matching refs:vol_table

823 	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()
1013 struct pp_atomfwctrl_voltage_table *vol_table) in vega10_trim_voltage_table() argument
1020 PP_ASSERT_WITH_CODE(vol_table, in vega10_trim_voltage_table()
1028 table->mask_low = vol_table->mask_low; in vega10_trim_voltage_table()
1029 table->phase_delay = vol_table->phase_delay; in vega10_trim_voltage_table()
1031 for (i = 0; i < vol_table->count; i++) { in vega10_trim_voltage_table()
1032 vvalue = vol_table->entries[i].value; in vega10_trim_voltage_table()
1045 vol_table->entries[i].smio_low; in vega10_trim_voltage_table()
1050 memcpy(vol_table, table, sizeof(struct pp_atomfwctrl_voltage_table)); in vega10_trim_voltage_table()
1058 struct pp_atomfwctrl_voltage_table *vol_table) in vega10_get_mvdd_voltage_table() argument
1066 vol_table->mask_low = 0; in vega10_get_mvdd_voltage_table()
1067 vol_table->phase_delay = 0; in vega10_get_mvdd_voltage_table()
1068 vol_table->count = dep_table->count; in vega10_get_mvdd_voltage_table()
1070 for (i = 0; i < vol_table->count; i++) { in vega10_get_mvdd_voltage_table()
1071 vol_table->entries[i].value = dep_table->entries[i].mvdd; in vega10_get_mvdd_voltage_table()
1072 vol_table->entries[i].smio_low = 0; in vega10_get_mvdd_voltage_table()
1076 vol_table), in vega10_get_mvdd_voltage_table()
1085 struct pp_atomfwctrl_voltage_table *vol_table) in vega10_get_vddci_voltage_table() argument
1093 vol_table->mask_low = 0; in vega10_get_vddci_voltage_table()
1094 vol_table->phase_delay = 0; in vega10_get_vddci_voltage_table()
1095 vol_table->count = dep_table->count; in vega10_get_vddci_voltage_table()
1098 vol_table->entries[i].value = dep_table->entries[i].vddci; in vega10_get_vddci_voltage_table()
1099 vol_table->entries[i].smio_low = 0; in vega10_get_vddci_voltage_table()
1102 PP_ASSERT_WITH_CODE(!vega10_trim_voltage_table(hwmgr, vol_table), in vega10_get_vddci_voltage_table()
1111 struct pp_atomfwctrl_voltage_table *vol_table) in vega10_get_vdd_voltage_table() argument
1119 vol_table->mask_low = 0; in vega10_get_vdd_voltage_table()
1120 vol_table->phase_delay = 0; in vega10_get_vdd_voltage_table()
1121 vol_table->count = dep_table->count; in vega10_get_vdd_voltage_table()
1123 for (i = 0; i < vol_table->count; i++) { in vega10_get_vdd_voltage_table()
1124 vol_table->entries[i].value = dep_table->entries[i].vddc; in vega10_get_vdd_voltage_table()
1125 vol_table->entries[i].smio_low = 0; in vega10_get_vdd_voltage_table()
1139 struct pp_atomfwctrl_voltage_table *vol_table) in vega10_trim_voltage_table_to_fit_state_table() argument
1143 if (vol_table->count <= max_vol_steps) in vega10_trim_voltage_table_to_fit_state_table()
1146 diff = vol_table->count - max_vol_steps; in vega10_trim_voltage_table_to_fit_state_table()
1149 vol_table->entries[i] = vol_table->entries[i + diff]; in vega10_trim_voltage_table_to_fit_state_table()
1151 vol_table->count = max_vol_steps; in vega10_trim_voltage_table_to_fit_state_table()