Home
last modified time | relevance | path

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

/linux/drivers/regulator/
H A Dtps65910-regulator.c95 const unsigned int *voltage_table; member
104 .voltage_table = VRTC_VSEL_table,
111 .voltage_table = VIO_VSEL_table,
127 .voltage_table = VDD3_VSEL_table,
134 .voltage_table = VDIG1_VSEL_table,
141 .voltage_table = VDIG2_VSEL_table,
148 .voltage_table = VPLL_VSEL_table,
155 .voltage_table = VDAC_VSEL_table,
162 .voltage_table = VAUX1_VSEL_table,
169 .voltage_table = VAUX2_VSEL_table,
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dcypress_dpm.c1471 struct atom_voltage_table *voltage_table) in cypress_trim_voltage_table_to_fit_state_table() argument
1475 if (voltage_table->count <= MAX_NO_VREG_STEPS) in cypress_trim_voltage_table_to_fit_state_table()
1478 diff = voltage_table->count - MAX_NO_VREG_STEPS; in cypress_trim_voltage_table_to_fit_state_table()
1481 voltage_table->entries[i] = voltage_table->entries[i + diff]; in cypress_trim_voltage_table_to_fit_state_table()
1483 voltage_table->count = MAX_NO_VREG_STEPS; in cypress_trim_voltage_table_to_fit_state_table()
1515 struct atom_voltage_table *voltage_table, in cypress_populate_smc_voltage_table() argument
1520 for (i = 0; i < voltage_table->count; i++) { in cypress_populate_smc_voltage_table()
1522 table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low); in cypress_populate_smc_voltage_table()
H A Dsi_dpm.h234 struct atom_voltage_table *voltage_table);
H A Dci_dpm.c153 struct atom_voltage_table_entry *voltage_table,
2071 struct atom_voltage_table *voltage_table) in ci_get_svi2_voltage_table() argument
2078 voltage_table->mask_low = 0; in ci_get_svi2_voltage_table()
2079 voltage_table->phase_delay = 0; in ci_get_svi2_voltage_table()
2081 voltage_table->count = voltage_dependency_table->count; in ci_get_svi2_voltage_table()
2082 for (i = 0; i < voltage_table->count; i++) { in ci_get_svi2_voltage_table()
2083 voltage_table->entries[i].value = voltage_dependency_table->entries[i].v; in ci_get_svi2_voltage_table()
2084 voltage_table->entries[i].smio_low = 0; in ci_get_svi2_voltage_table()
2153 struct atom_voltage_table_entry *voltage_table, in ci_populate_smc_voltage_table() argument
2158 ret = ci_get_std_voltage_value_sidd(rdev, voltage_table, in ci_populate_smc_voltage_table()
[all …]
H A Dsi_dpm.c3864 struct atom_voltage_table *voltage_table) in si_trim_voltage_table_to_fit_state_table() argument
3868 if (voltage_table->count <= max_voltage_steps) in si_trim_voltage_table_to_fit_state_table()
3871 diff = voltage_table->count - max_voltage_steps; in si_trim_voltage_table_to_fit_state_table()
3874 voltage_table->entries[i] = voltage_table->entries[i + diff]; in si_trim_voltage_table_to_fit_state_table()
3876 voltage_table->count = max_voltage_steps; in si_trim_voltage_table_to_fit_state_table()
3881 struct atom_voltage_table *voltage_table) in si_get_svi2_voltage_table() argument
3888 voltage_table->mask_low = 0; in si_get_svi2_voltage_table()
3889 voltage_table->phase_delay = 0; in si_get_svi2_voltage_table()
3891 voltage_table->count = voltage_dependency_table->count; in si_get_svi2_voltage_table()
3892 for (i = 0; i < voltage_table->count; i++) { in si_get_svi2_voltage_table()
[all …]
H A Dradeon_atombios.c3712 struct atom_voltage_table *voltage_table) in radeon_atom_get_voltage_table() argument
3744 voltage_table->entries[i].value = in radeon_atom_get_voltage_table()
3747 voltage_table->entries[i].value, in radeon_atom_get_voltage_table()
3749 &voltage_table->entries[i].smio_low, in radeon_atom_get_voltage_table()
3750 &voltage_table->mask_low); in radeon_atom_get_voltage_table()
3756 voltage_table->count = formula->ucNumOfVoltageEntries; in radeon_atom_get_voltage_table()
3779 voltage_table->entries[i].value = in radeon_atom_get_voltage_table()
3781 voltage_table->entries[i].smio_low = in radeon_atom_get_voltage_table()
3786 voltage_table->mask_low = le32_to_cpu(gpio->ulGpioMaskVal); in radeon_atom_get_voltage_table()
3787 voltage_table->count = gpio->ucGpioEntryNum; in radeon_atom_get_voltage_table()
[all …]
H A 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()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c4438 struct atom_voltage_table *voltage_table) in si_trim_voltage_table_to_fit_state_table() argument
4442 if (voltage_table->count <= max_voltage_steps) in si_trim_voltage_table_to_fit_state_table()
4445 diff = voltage_table->count - max_voltage_steps; in si_trim_voltage_table_to_fit_state_table()
4448 voltage_table->entries[i] = voltage_table->entries[i + diff]; in si_trim_voltage_table_to_fit_state_table()
4450 voltage_table->count = max_voltage_steps; in si_trim_voltage_table_to_fit_state_table()
4455 struct atom_voltage_table *voltage_table) in si_get_svi2_voltage_table() argument
4462 voltage_table->mask_low = 0; in si_get_svi2_voltage_table()
4463 voltage_table->phase_delay = 0; in si_get_svi2_voltage_table()
4465 voltage_table->count = voltage_dependency_table->count; in si_get_svi2_voltage_table()
4466 for (i = 0; i < voltage_table->count; i++) { in si_get_svi2_voltage_table()
[all …]