Home
last modified time | relevance | path

Searched refs:voltage_table (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/drivers/regulator/
Dtps65910-regulator.c96 const unsigned int *voltage_table; member
105 .voltage_table = VRTC_VSEL_table,
112 .voltage_table = VIO_VSEL_table,
128 .voltage_table = VDD3_VSEL_table,
135 .voltage_table = VDIG1_VSEL_table,
142 .voltage_table = VDIG2_VSEL_table,
149 .voltage_table = VPLL_VSEL_table,
156 .voltage_table = VDAC_VSEL_table,
163 .voltage_table = VAUX1_VSEL_table,
170 .voltage_table = VAUX2_VSEL_table,
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppatomfwctrl.c97 struct pp_atomfwctrl_voltage_table *voltage_table) in pp_atomfwctrl_get_voltage_table_v4() argument
116 voltage_table->count = 0; in pp_atomfwctrl_get_voltage_table_v4()
127 voltage_table->entries[i].value = in pp_atomfwctrl_get_voltage_table_v4()
130 voltage_table->entries[i].smio_low = in pp_atomfwctrl_get_voltage_table_v4()
134 voltage_table->count = in pp_atomfwctrl_get_voltage_table_v4()
136 voltage_table->mask_low = in pp_atomfwctrl_get_voltage_table_v4()
139 voltage_table->phase_delay = in pp_atomfwctrl_get_voltage_table_v4()
143 voltage_table->psi1_enable = in pp_atomfwctrl_get_voltage_table_v4()
145 voltage_table->psi0_enable = in pp_atomfwctrl_get_voltage_table_v4()
147 voltage_table->max_vid_step = in pp_atomfwctrl_get_voltage_table_v4()
[all …]
Dsmu_helper.c409 uint8_t phm_get_voltage_id(pp_atomctrl_voltage_table *voltage_table, in phm_get_voltage_id() argument
412 uint8_t count = (uint8_t) (voltage_table->count); in phm_get_voltage_id()
415 PP_ASSERT_WITH_CODE((NULL != voltage_table), in phm_get_voltage_id()
422 if (voltage_table->entries[i].value >= voltage) in phm_get_voltage_id()
Dppatomctrl.c568 pp_atomctrl_voltage_table *voltage_table) in atomctrl_get_voltage_table_v3() argument
592 voltage_table->entries[i].value = in atomctrl_get_voltage_table_v3()
594 voltage_table->entries[i].smio_low = in atomctrl_get_voltage_table_v3()
598 voltage_table->mask_low = in atomctrl_get_voltage_table_v3()
600 voltage_table->count = in atomctrl_get_voltage_table_v3()
602 voltage_table->phase_delay = in atomctrl_get_voltage_table_v3()
Dppatomfwctrl.h226 uint8_t voltage_mode, struct pp_atomfwctrl_voltage_table *voltage_table);
Dsmu_helper.h83 extern uint8_t phm_get_voltage_id(struct pp_atomctrl_voltage_table *voltage_table,
Dppatomctrl.h311 …wmgr *hwmgr, uint8_t voltage_type, uint8_t voltage_mode, pp_atomctrl_voltage_table *voltage_table);
Dsmu7_hwmgr.c288 static int phm_get_svi2_voltage_table_v0(pp_atomctrl_voltage_table *voltage_table, in phm_get_svi2_voltage_table_v0() argument
294 PP_ASSERT_WITH_CODE((NULL != voltage_table), in phm_get_svi2_voltage_table_v0()
297 voltage_table->mask_low = 0; in phm_get_svi2_voltage_table_v0()
298 voltage_table->phase_delay = 0; in phm_get_svi2_voltage_table_v0()
299 voltage_table->count = voltage_dependency_table->count; in phm_get_svi2_voltage_table_v0()
302 voltage_table->entries[i].value = in phm_get_svi2_voltage_table_v0()
304 voltage_table->entries[i].smio_low = 0; in phm_get_svi2_voltage_table_v0()
Dvega10_hwmgr.c2556 struct pp_atomfwctrl_voltage_table voltage_table; in vega10_init_smc_table() local
2579 VOLTAGE_OBJ_SVID2, &voltage_table); in vega10_init_smc_table()
2580 pp_table->MaxVidStep = voltage_table.max_vid_step; in vega10_init_smc_table()
2598 data->vddc_voltage_table.psi0_enable = voltage_table.psi0_enable; in vega10_init_smc_table()
2599 data->vddc_voltage_table.psi1_enable = voltage_table.psi1_enable; in vega10_init_smc_table()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dcypress_dpm.c1467 struct atom_voltage_table *voltage_table) in cypress_trim_voltage_table_to_fit_state_table() argument
1471 if (voltage_table->count <= MAX_NO_VREG_STEPS) in cypress_trim_voltage_table_to_fit_state_table()
1474 diff = voltage_table->count - MAX_NO_VREG_STEPS; in cypress_trim_voltage_table_to_fit_state_table()
1477 voltage_table->entries[i] = voltage_table->entries[i + diff]; in cypress_trim_voltage_table_to_fit_state_table()
1479 voltage_table->count = MAX_NO_VREG_STEPS; in cypress_trim_voltage_table_to_fit_state_table()
1511 struct atom_voltage_table *voltage_table, in cypress_populate_smc_voltage_table() argument
1516 for (i = 0; i < voltage_table->count; i++) { in cypress_populate_smc_voltage_table()
1518 table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low); in cypress_populate_smc_voltage_table()
Dsi_dpm.h241 struct atom_voltage_table *voltage_table);
Dci_dpm.c158 struct atom_voltage_table_entry *voltage_table,
2076 struct atom_voltage_table *voltage_table) in ci_get_svi2_voltage_table() argument
2083 voltage_table->mask_low = 0; in ci_get_svi2_voltage_table()
2084 voltage_table->phase_delay = 0; in ci_get_svi2_voltage_table()
2086 voltage_table->count = voltage_dependency_table->count; in ci_get_svi2_voltage_table()
2087 for (i = 0; i < voltage_table->count; i++) { in ci_get_svi2_voltage_table()
2088 voltage_table->entries[i].value = voltage_dependency_table->entries[i].v; in ci_get_svi2_voltage_table()
2089 voltage_table->entries[i].smio_low = 0; in ci_get_svi2_voltage_table()
2158 struct atom_voltage_table_entry *voltage_table, in ci_populate_smc_voltage_table() argument
2163 ret = ci_get_std_voltage_value_sidd(rdev, voltage_table, in ci_populate_smc_voltage_table()
[all …]
Dsi_dpm.c3901 struct atom_voltage_table *voltage_table) in si_trim_voltage_table_to_fit_state_table() argument
3905 if (voltage_table->count <= max_voltage_steps) in si_trim_voltage_table_to_fit_state_table()
3908 diff = voltage_table->count - max_voltage_steps; in si_trim_voltage_table_to_fit_state_table()
3911 voltage_table->entries[i] = voltage_table->entries[i + diff]; in si_trim_voltage_table_to_fit_state_table()
3913 voltage_table->count = max_voltage_steps; in si_trim_voltage_table_to_fit_state_table()
3918 struct atom_voltage_table *voltage_table) in si_get_svi2_voltage_table() argument
3925 voltage_table->mask_low = 0; in si_get_svi2_voltage_table()
3926 voltage_table->phase_delay = 0; in si_get_svi2_voltage_table()
3928 voltage_table->count = voltage_dependency_table->count; in si_get_svi2_voltage_table()
3929 for (i = 0; i < voltage_table->count; i++) { in si_get_svi2_voltage_table()
[all …]
Dradeon_atombios.c3716 struct atom_voltage_table *voltage_table) in radeon_atom_get_voltage_table() argument
3748 voltage_table->entries[i].value = in radeon_atom_get_voltage_table()
3751 voltage_table->entries[i].value, in radeon_atom_get_voltage_table()
3753 &voltage_table->entries[i].smio_low, in radeon_atom_get_voltage_table()
3754 &voltage_table->mask_low); in radeon_atom_get_voltage_table()
3760 voltage_table->count = formula->ucNumOfVoltageEntries; in radeon_atom_get_voltage_table()
3783 voltage_table->entries[i].value = in radeon_atom_get_voltage_table()
3785 voltage_table->entries[i].smio_low = in radeon_atom_get_voltage_table()
3790 voltage_table->mask_low = le32_to_cpu(gpio->ulGpioMaskVal); in radeon_atom_get_voltage_table()
3791 voltage_table->count = gpio->ucGpioEntryNum; in radeon_atom_get_voltage_table()
[all …]
Dni_dpm.c1258 struct atom_voltage_table *voltage_table, in ni_populate_smc_voltage_table() argument
1263 for (i = 0; i < voltage_table->count; i++) { in ni_populate_smc_voltage_table()
1265 table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low); in ni_populate_smc_voltage_table()
Dradeon.h334 struct atom_voltage_table *voltage_table);
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.h178 struct atom_voltage_table *voltage_table);
Damdgpu_atombios.c1348 struct atom_voltage_table *voltage_table) in amdgpu_atombios_get_voltage_table() argument
1377 voltage_table->entries[i].value = in amdgpu_atombios_get_voltage_table()
1379 voltage_table->entries[i].smio_low = in amdgpu_atombios_get_voltage_table()
1384 voltage_table->mask_low = le32_to_cpu(gpio->ulGpioMaskVal); in amdgpu_atombios_get_voltage_table()
1385 voltage_table->count = gpio->ucGpioEntryNum; in amdgpu_atombios_get_voltage_table()
1386 voltage_table->phase_delay = gpio->ucPhaseDelay; in amdgpu_atombios_get_voltage_table()
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c4378 struct atom_voltage_table *voltage_table) in si_trim_voltage_table_to_fit_state_table() argument
4382 if (voltage_table->count <= max_voltage_steps) in si_trim_voltage_table_to_fit_state_table()
4385 diff = voltage_table->count - max_voltage_steps; in si_trim_voltage_table_to_fit_state_table()
4388 voltage_table->entries[i] = voltage_table->entries[i + diff]; in si_trim_voltage_table_to_fit_state_table()
4390 voltage_table->count = max_voltage_steps; in si_trim_voltage_table_to_fit_state_table()
4395 struct atom_voltage_table *voltage_table) in si_get_svi2_voltage_table() argument
4402 voltage_table->mask_low = 0; in si_get_svi2_voltage_table()
4403 voltage_table->phase_delay = 0; in si_get_svi2_voltage_table()
4405 voltage_table->count = voltage_dependency_table->count; in si_get_svi2_voltage_table()
4406 for (i = 0; i < voltage_table->count; i++) { in si_get_svi2_voltage_table()
[all …]