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

/linux-master/drivers/regulator/
H A Dtps65910-regulator.c95 const unsigned int *voltage_table; member in struct:tps_info
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
[all...]
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dppatomfwctrl.c97 struct pp_atomfwctrl_voltage_table *voltage_table)
116 voltage_table->count = 0;
127 voltage_table->entries[i].value =
130 voltage_table->entries[i].smio_low =
134 voltage_table->count =
136 voltage_table->mask_low =
139 voltage_table->phase_delay =
143 voltage_table->psi1_enable =
145 voltage_table->psi0_enable =
147 voltage_table
95 pp_atomfwctrl_get_voltage_table_v4(struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint8_t voltage_mode, struct pp_atomfwctrl_voltage_table *voltage_table) argument
[all...]
H A Dsmu_helper.c409 uint8_t phm_get_voltage_id(pp_atomctrl_voltage_table *voltage_table, argument
412 uint8_t count = (uint8_t) (voltage_table->count);
415 PP_ASSERT_WITH_CODE((NULL != voltage_table),
422 if (voltage_table->entries[i].value >= voltage)
H A Dppatomfwctrl.h225 uint8_t voltage_mode, struct pp_atomfwctrl_voltage_table *voltage_table);
H A Dppatomctrl.c568 pp_atomctrl_voltage_table *voltage_table)
592 voltage_table->entries[i].value =
594 voltage_table->entries[i].smio_low =
598 voltage_table->mask_low =
600 voltage_table->count =
602 voltage_table->phase_delay =
564 atomctrl_get_voltage_table_v3( struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint8_t voltage_mode, pp_atomctrl_voltage_table *voltage_table) argument
H A Dsmu_helper.h83 extern uint8_t phm_get_voltage_id(struct pp_atomctrl_voltage_table *voltage_table,
H A Dppatomctrl.h309 extern int atomctrl_get_voltage_table_v3(struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint8_t voltage_mode, pp_atomctrl_voltage_table *voltage_table);
H A Dsmu7_hwmgr.c287 static int phm_get_svi2_voltage_table_v0(pp_atomctrl_voltage_table *voltage_table, argument
293 PP_ASSERT_WITH_CODE((NULL != voltage_table),
296 voltage_table->mask_low = 0;
297 voltage_table->phase_delay = 0;
298 voltage_table->count = voltage_dependency_table->count;
301 voltage_table->entries[i].value =
303 voltage_table->entries[i].smio_low = 0;
H A Dvega10_hwmgr.c2552 struct pp_atomfwctrl_voltage_table voltage_table; local
2575 VOLTAGE_OBJ_SVID2, &voltage_table);
2576 pp_table->MaxVidStep = voltage_table.max_vid_step;
2594 data->vddc_voltage_table.psi0_enable = voltage_table.psi0_enable;
2595 data->vddc_voltage_table.psi1_enable = voltage_table.psi1_enable;
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atombios.h175 struct atom_voltage_table *voltage_table);
H A Damdgpu_atombios.c1356 struct atom_voltage_table *voltage_table)
1385 voltage_table->entries[i].value =
1387 voltage_table->entries[i].smio_low =
1392 voltage_table->mask_low = le32_to_cpu(gpio->ulGpioMaskVal);
1393 voltage_table->count = gpio->ucGpioEntryNum;
1394 voltage_table->phase_delay = gpio->ucPhaseDelay;
1354 amdgpu_atombios_get_voltage_table(struct amdgpu_device *adev, u8 voltage_type, u8 voltage_mode, struct atom_voltage_table *voltage_table) argument
/linux-master/drivers/gpu/drm/radeon/
H A Dsi_dpm.h234 struct atom_voltage_table *voltage_table);
H A Dcypress_dpm.c1471 struct atom_voltage_table *voltage_table)
1475 if (voltage_table->count <= MAX_NO_VREG_STEPS)
1478 diff = voltage_table->count - MAX_NO_VREG_STEPS;
1481 voltage_table->entries[i] = voltage_table->entries[i + diff];
1483 voltage_table->count = MAX_NO_VREG_STEPS;
1515 struct atom_voltage_table *voltage_table,
1520 for (i = 0; i < voltage_table->count; i++) {
1522 table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low);
1470 cypress_trim_voltage_table_to_fit_state_table(struct radeon_device *rdev, struct atom_voltage_table *voltage_table) argument
1514 cypress_populate_smc_voltage_table(struct radeon_device *rdev, struct atom_voltage_table *voltage_table, RV770_SMC_STATETABLE *table) argument
H A Dci_dpm.c153 struct atom_voltage_table_entry *voltage_table,
2071 struct atom_voltage_table *voltage_table)
2078 voltage_table->mask_low = 0;
2079 voltage_table->phase_delay = 0;
2081 voltage_table->count = voltage_dependency_table->count;
2082 for (i = 0; i < voltage_table->count; i++) {
2083 voltage_table->entries[i].value = voltage_dependency_table->entries[i].v;
2084 voltage_table->entries[i].smio_low = 0;
2153 struct atom_voltage_table_entry *voltage_table,
2158 ret = ci_get_std_voltage_value_sidd(rdev, voltage_table,
2069 ci_get_svi2_voltage_table(struct radeon_device *rdev, struct radeon_clock_voltage_dependency_table *voltage_dependency_table, struct atom_voltage_table *voltage_table) argument
2152 ci_populate_smc_voltage_table(struct radeon_device *rdev, struct atom_voltage_table_entry *voltage_table, SMU7_Discrete_VoltageLevel *smc_voltage_table) argument
2284 ci_get_std_voltage_value_sidd(struct radeon_device *rdev, struct atom_voltage_table_entry *voltage_table, u16 *std_voltage_hi_sidd, u16 *std_voltage_lo_sidd) argument
[all...]
H A Dradeon_atombios.c3724 struct atom_voltage_table *voltage_table)
3756 voltage_table->entries[i].value =
3759 voltage_table->entries[i].value,
3761 &voltage_table->entries[i].smio_low,
3762 &voltage_table->mask_low);
3768 voltage_table->count = formula->ucNumOfVoltageEntries;
3791 voltage_table->entries[i].value =
3793 voltage_table->entries[i].smio_low =
3798 voltage_table->mask_low = le32_to_cpu(gpio->ulGpioMaskVal);
3799 voltage_table
3722 radeon_atom_get_voltage_table(struct radeon_device *rdev, u8 voltage_type, u8 voltage_mode, struct atom_voltage_table *voltage_table) argument
[all...]
H A Dsi_dpm.c3857 struct atom_voltage_table *voltage_table)
3861 if (voltage_table->count <= max_voltage_steps)
3864 diff = voltage_table->count - max_voltage_steps;
3867 voltage_table->entries[i] = voltage_table->entries[i + diff];
3869 voltage_table->count = max_voltage_steps;
3874 struct atom_voltage_table *voltage_table)
3881 voltage_table->mask_low = 0;
3882 voltage_table->phase_delay = 0;
3884 voltage_table
3855 si_trim_voltage_table_to_fit_state_table(struct radeon_device *rdev, u32 max_voltage_steps, struct atom_voltage_table *voltage_table) argument
3872 si_get_svi2_voltage_table(struct radeon_device *rdev, struct radeon_clock_voltage_dependency_table *voltage_dependency_table, struct atom_voltage_table *voltage_table) argument
3973 si_populate_smc_voltage_table(struct radeon_device *rdev, const struct atom_voltage_table *voltage_table, SISLANDS_SMC_STATETABLE *table) argument
[all...]
H A Dni_dpm.c1258 struct atom_voltage_table *voltage_table,
1263 for (i = 0; i < voltage_table->count; i++) {
1265 table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low);
1257 ni_populate_smc_voltage_table(struct radeon_device *rdev, struct atom_voltage_table *voltage_table, NISLANDS_SMC_STATETABLE *table) argument
H A Dradeon.h335 struct atom_voltage_table *voltage_table);
/linux-master/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c4378 struct atom_voltage_table *voltage_table)
4382 if (voltage_table->count <= max_voltage_steps)
4385 diff = voltage_table->count - max_voltage_steps;
4388 voltage_table->entries[i] = voltage_table->entries[i + diff];
4390 voltage_table->count = max_voltage_steps;
4395 struct atom_voltage_table *voltage_table)
4402 voltage_table->mask_low = 0;
4403 voltage_table->phase_delay = 0;
4405 voltage_table
4376 si_trim_voltage_table_to_fit_state_table(struct amdgpu_device *adev, u32 max_voltage_steps, struct atom_voltage_table *voltage_table) argument
4393 si_get_svi2_voltage_table(struct amdgpu_device *adev, struct amdgpu_clock_voltage_dependency_table *voltage_dependency_table, struct atom_voltage_table *voltage_table) argument
4494 si_populate_smc_voltage_table(struct amdgpu_device *adev, const struct atom_voltage_table *voltage_table, SISLANDS_SMC_STATETABLE *table) argument
[all...]

Completed in 423 milliseconds