Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/regulator/
Dtps65910-regulator.c101 const unsigned int *voltage_table; member
110 .voltage_table = VRTC_VSEL_table,
117 .voltage_table = VIO_VSEL_table,
133 .voltage_table = VDD3_VSEL_table,
140 .voltage_table = VDIG1_VSEL_table,
147 .voltage_table = VDIG2_VSEL_table,
154 .voltage_table = VPLL_VSEL_table,
161 .voltage_table = VDAC_VSEL_table,
168 .voltage_table = VAUX1_VSEL_table,
175 .voltage_table = VAUX2_VSEL_table,
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/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.c361 uint8_t phm_get_voltage_id(pp_atomctrl_voltage_table *voltage_table, in phm_get_voltage_id() argument
364 uint8_t count = (uint8_t) (voltage_table->count); in phm_get_voltage_id()
367 PP_ASSERT_WITH_CODE((NULL != voltage_table), in phm_get_voltage_id()
374 if (voltage_table->entries[i].value >= voltage) in phm_get_voltage_id()
Dppatomctrl.c529 pp_atomctrl_voltage_table *voltage_table) in atomctrl_get_voltage_table_v3() argument
553 voltage_table->entries[i].value = in atomctrl_get_voltage_table_v3()
555 voltage_table->entries[i].smio_low = in atomctrl_get_voltage_table_v3()
559 voltage_table->mask_low = in atomctrl_get_voltage_table_v3()
561 voltage_table->count = in atomctrl_get_voltage_table_v3()
563 voltage_table->phase_delay = in atomctrl_get_voltage_table_v3()
Dppatomfwctrl.h225 uint8_t voltage_mode, struct pp_atomfwctrl_voltage_table *voltage_table);
Dppatomctrl.h303 …wmgr *hwmgr, uint8_t voltage_type, uint8_t voltage_mode, pp_atomctrl_voltage_table *voltage_table);
Dsmu_helper.h71 extern uint8_t phm_get_voltage_id(struct pp_atomctrl_voltage_table *voltage_table,
Dsmu7_hwmgr.c219 static int phm_get_svi2_voltage_table_v0(pp_atomctrl_voltage_table *voltage_table, in phm_get_svi2_voltage_table_v0() argument
225 PP_ASSERT_WITH_CODE((NULL != voltage_table), in phm_get_svi2_voltage_table_v0()
228 voltage_table->mask_low = 0; in phm_get_svi2_voltage_table_v0()
229 voltage_table->phase_delay = 0; in phm_get_svi2_voltage_table_v0()
230 voltage_table->count = voltage_dependency_table->count; in phm_get_svi2_voltage_table_v0()
233 voltage_table->entries[i].value = in phm_get_svi2_voltage_table_v0()
235 voltage_table->entries[i].smio_low = 0; in phm_get_svi2_voltage_table_v0()
Dvega10_hwmgr.c2464 struct pp_atomfwctrl_voltage_table voltage_table; in vega10_init_smc_table() local
2484 VOLTAGE_OBJ_SVID2, &voltage_table); in vega10_init_smc_table()
2485 pp_table->MaxVidStep = voltage_table.max_vid_step; in vega10_init_smc_table()
2503 data->vddc_voltage_table.psi0_enable = voltage_table.psi0_enable; in vega10_init_smc_table()
2504 data->vddc_voltage_table.psi1_enable = voltage_table.psi1_enable; in vega10_init_smc_table()
/Linux-v4.19/drivers/gpu/drm/radeon/
Dcypress_dpm.c1468 struct atom_voltage_table *voltage_table) in cypress_trim_voltage_table_to_fit_state_table() argument
1472 if (voltage_table->count <= MAX_NO_VREG_STEPS) in cypress_trim_voltage_table_to_fit_state_table()
1475 diff = voltage_table->count - MAX_NO_VREG_STEPS; in cypress_trim_voltage_table_to_fit_state_table()
1478 voltage_table->entries[i] = voltage_table->entries[i + diff]; in cypress_trim_voltage_table_to_fit_state_table()
1480 voltage_table->count = MAX_NO_VREG_STEPS; in cypress_trim_voltage_table_to_fit_state_table()
1512 struct atom_voltage_table *voltage_table, in cypress_populate_smc_voltage_table() argument
1517 for (i = 0; i < voltage_table->count; i++) { in cypress_populate_smc_voltage_table()
1519 table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low); in cypress_populate_smc_voltage_table()
Dci_dpm.c172 struct atom_voltage_table *voltage_table);
180 struct atom_voltage_table_entry *voltage_table,
2113 struct atom_voltage_table *voltage_table) in ci_get_svi2_voltage_table() argument
2120 voltage_table->mask_low = 0; in ci_get_svi2_voltage_table()
2121 voltage_table->phase_delay = 0; in ci_get_svi2_voltage_table()
2123 voltage_table->count = voltage_dependency_table->count; in ci_get_svi2_voltage_table()
2124 for (i = 0; i < voltage_table->count; i++) { in ci_get_svi2_voltage_table()
2125 voltage_table->entries[i].value = voltage_dependency_table->entries[i].v; in ci_get_svi2_voltage_table()
2126 voltage_table->entries[i].smio_low = 0; in ci_get_svi2_voltage_table()
2195 struct atom_voltage_table_entry *voltage_table, in ci_populate_smc_voltage_table() argument
[all …]
Dsi_dpm.c3919 struct atom_voltage_table *voltage_table) in si_trim_voltage_table_to_fit_state_table() argument
3923 if (voltage_table->count <= max_voltage_steps) in si_trim_voltage_table_to_fit_state_table()
3926 diff = voltage_table->count - max_voltage_steps; in si_trim_voltage_table_to_fit_state_table()
3929 voltage_table->entries[i] = voltage_table->entries[i + diff]; in si_trim_voltage_table_to_fit_state_table()
3931 voltage_table->count = max_voltage_steps; in si_trim_voltage_table_to_fit_state_table()
3936 struct atom_voltage_table *voltage_table) in si_get_svi2_voltage_table() argument
3943 voltage_table->mask_low = 0; in si_get_svi2_voltage_table()
3944 voltage_table->phase_delay = 0; in si_get_svi2_voltage_table()
3946 voltage_table->count = voltage_dependency_table->count; in si_get_svi2_voltage_table()
3947 for (i = 0; i < voltage_table->count; i++) { in si_get_svi2_voltage_table()
[all …]
Dradeon_atombios.c3721 struct atom_voltage_table *voltage_table) in radeon_atom_get_voltage_table() argument
3753 voltage_table->entries[i].value = in radeon_atom_get_voltage_table()
3756 voltage_table->entries[i].value, in radeon_atom_get_voltage_table()
3758 &voltage_table->entries[i].smio_low, in radeon_atom_get_voltage_table()
3759 &voltage_table->mask_low); in radeon_atom_get_voltage_table()
3765 voltage_table->count = formula->ucNumOfVoltageEntries; in radeon_atom_get_voltage_table()
3788 voltage_table->entries[i].value = in radeon_atom_get_voltage_table()
3790 voltage_table->entries[i].smio_low = in radeon_atom_get_voltage_table()
3795 voltage_table->mask_low = le32_to_cpu(gpio->ulGpioMaskVal); in radeon_atom_get_voltage_table()
3796 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.h331 struct atom_voltage_table *voltage_table);
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.h189 struct atom_voltage_table *voltage_table);
Dci_dpm.c290 struct atom_voltage_table *voltage_table) in ci_trim_voltage_table_to_fit_state_table() argument
294 if (voltage_table->count <= max_voltage_steps) in ci_trim_voltage_table_to_fit_state_table()
297 diff = voltage_table->count - max_voltage_steps; in ci_trim_voltage_table_to_fit_state_table()
300 voltage_table->entries[i] = voltage_table->entries[i + diff]; in ci_trim_voltage_table_to_fit_state_table()
302 voltage_table->count = max_voltage_steps; in ci_trim_voltage_table_to_fit_state_table()
306 struct atom_voltage_table_entry *voltage_table,
2254 struct atom_voltage_table *voltage_table) in ci_get_svi2_voltage_table() argument
2261 voltage_table->mask_low = 0; in ci_get_svi2_voltage_table()
2262 voltage_table->phase_delay = 0; in ci_get_svi2_voltage_table()
2264 voltage_table->count = voltage_dependency_table->count; in ci_get_svi2_voltage_table()
[all …]
Damdgpu_atombios.c1513 struct atom_voltage_table *voltage_table) in amdgpu_atombios_get_voltage_table() argument
1542 voltage_table->entries[i].value = in amdgpu_atombios_get_voltage_table()
1544 voltage_table->entries[i].smio_low = in amdgpu_atombios_get_voltage_table()
1549 voltage_table->mask_low = le32_to_cpu(gpio->ulGpioMaskVal); in amdgpu_atombios_get_voltage_table()
1550 voltage_table->count = gpio->ucGpioEntryNum; in amdgpu_atombios_get_voltage_table()
1551 voltage_table->phase_delay = gpio->ucPhaseDelay; in amdgpu_atombios_get_voltage_table()
Dsi_dpm.c4383 struct atom_voltage_table *voltage_table) in si_trim_voltage_table_to_fit_state_table() argument
4387 if (voltage_table->count <= max_voltage_steps) in si_trim_voltage_table_to_fit_state_table()
4390 diff = voltage_table->count - max_voltage_steps; in si_trim_voltage_table_to_fit_state_table()
4393 voltage_table->entries[i] = voltage_table->entries[i + diff]; in si_trim_voltage_table_to_fit_state_table()
4395 voltage_table->count = max_voltage_steps; in si_trim_voltage_table_to_fit_state_table()
4400 struct atom_voltage_table *voltage_table) in si_get_svi2_voltage_table() argument
4407 voltage_table->mask_low = 0; in si_get_svi2_voltage_table()
4408 voltage_table->phase_delay = 0; in si_get_svi2_voltage_table()
4410 voltage_table->count = voltage_dependency_table->count; in si_get_svi2_voltage_table()
4411 for (i = 0; i < voltage_table->count; i++) { in si_get_svi2_voltage_table()
[all …]