Home
last modified time | relevance | path

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

/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 …]
/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,
2091 struct atom_voltage_table *voltage_table) in ci_get_svi2_voltage_table() argument
2098 voltage_table->mask_low = 0; in ci_get_svi2_voltage_table()
2099 voltage_table->phase_delay = 0; in ci_get_svi2_voltage_table()
2101 voltage_table->count = voltage_dependency_table->count; in ci_get_svi2_voltage_table()
2102 for (i = 0; i < voltage_table->count; i++) { in ci_get_svi2_voltage_table()
2103 voltage_table->entries[i].value = voltage_dependency_table->entries[i].v; in ci_get_svi2_voltage_table()
2104 voltage_table->entries[i].smio_low = 0; in ci_get_svi2_voltage_table()
2173 struct atom_voltage_table_entry *voltage_table, in ci_populate_smc_voltage_table() argument
[all …]
Dsi_dpm.c3972 struct atom_voltage_table *voltage_table) in si_trim_voltage_table_to_fit_state_table() argument
3976 if (voltage_table->count <= max_voltage_steps) in si_trim_voltage_table_to_fit_state_table()
3979 diff = voltage_table->count - max_voltage_steps; in si_trim_voltage_table_to_fit_state_table()
3982 voltage_table->entries[i] = voltage_table->entries[i + diff]; in si_trim_voltage_table_to_fit_state_table()
3984 voltage_table->count = max_voltage_steps; in si_trim_voltage_table_to_fit_state_table()
3989 struct atom_voltage_table *voltage_table) in si_get_svi2_voltage_table() argument
3996 voltage_table->mask_low = 0; in si_get_svi2_voltage_table()
3997 voltage_table->phase_delay = 0; in si_get_svi2_voltage_table()
3999 voltage_table->count = voltage_dependency_table->count; in si_get_svi2_voltage_table()
4000 for (i = 0; i < voltage_table->count; i++) { in si_get_svi2_voltage_table()
[all …]
Dradeon_atombios.c3711 struct atom_voltage_table *voltage_table) in radeon_atom_get_voltage_table() argument
3743 voltage_table->entries[i].value = in radeon_atom_get_voltage_table()
3746 voltage_table->entries[i].value, in radeon_atom_get_voltage_table()
3748 &voltage_table->entries[i].smio_low, in radeon_atom_get_voltage_table()
3749 &voltage_table->mask_low); in radeon_atom_get_voltage_table()
3755 voltage_table->count = formula->ucNumOfVoltageEntries; in radeon_atom_get_voltage_table()
3778 voltage_table->entries[i].value = in radeon_atom_get_voltage_table()
3780 voltage_table->entries[i].smio_low = in radeon_atom_get_voltage_table()
3785 voltage_table->mask_low = le32_to_cpu(gpio->ulGpioMaskVal); in radeon_atom_get_voltage_table()
3786 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.h326 struct atom_voltage_table *voltage_table);
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.c1349 struct atom_voltage_table *voltage_table) in amdgpu_atombios_get_voltage_table() argument
1378 voltage_table->entries[i].value = in amdgpu_atombios_get_voltage_table()
1380 voltage_table->entries[i].smio_low = in amdgpu_atombios_get_voltage_table()
1385 voltage_table->mask_low = le32_to_cpu(gpio->ulGpioMaskVal); in amdgpu_atombios_get_voltage_table()
1386 voltage_table->count = gpio->ucGpioEntryNum; in amdgpu_atombios_get_voltage_table()
1387 voltage_table->phase_delay = gpio->ucPhaseDelay; in amdgpu_atombios_get_voltage_table()
Dci_dpm.c281 struct atom_voltage_table *voltage_table) in ci_trim_voltage_table_to_fit_state_table() argument
285 if (voltage_table->count <= max_voltage_steps) in ci_trim_voltage_table_to_fit_state_table()
288 diff = voltage_table->count - max_voltage_steps; in ci_trim_voltage_table_to_fit_state_table()
291 voltage_table->entries[i] = voltage_table->entries[i + diff]; in ci_trim_voltage_table_to_fit_state_table()
293 voltage_table->count = max_voltage_steps; in ci_trim_voltage_table_to_fit_state_table()
297 struct atom_voltage_table_entry *voltage_table,
2222 struct atom_voltage_table *voltage_table) in ci_get_svi2_voltage_table() argument
2229 voltage_table->mask_low = 0; in ci_get_svi2_voltage_table()
2230 voltage_table->phase_delay = 0; in ci_get_svi2_voltage_table()
2232 voltage_table->count = voltage_dependency_table->count; in ci_get_svi2_voltage_table()
[all …]
Damdgpu_atombios.h193 struct atom_voltage_table *voltage_table);