/Linux-v5.10/drivers/regulator/ |
D | tps65910-regulator.c | 96 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-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | ppatomfwctrl.c | 97 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 …]
|
D | smu_helper.c | 409 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()
|
D | ppatomctrl.c | 529 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()
|
D | ppatomfwctrl.h | 226 uint8_t voltage_mode, struct pp_atomfwctrl_voltage_table *voltage_table);
|
D | smu_helper.h | 83 extern uint8_t phm_get_voltage_id(struct pp_atomctrl_voltage_table *voltage_table,
|
D | ppatomctrl.h | 294 …wmgr *hwmgr, uint8_t voltage_type, uint8_t voltage_mode, pp_atomctrl_voltage_table *voltage_table);
|
D | smu7_hwmgr.c | 222 static int phm_get_svi2_voltage_table_v0(pp_atomctrl_voltage_table *voltage_table, in phm_get_svi2_voltage_table_v0() argument 228 PP_ASSERT_WITH_CODE((NULL != voltage_table), in phm_get_svi2_voltage_table_v0() 231 voltage_table->mask_low = 0; in phm_get_svi2_voltage_table_v0() 232 voltage_table->phase_delay = 0; in phm_get_svi2_voltage_table_v0() 233 voltage_table->count = voltage_dependency_table->count; in phm_get_svi2_voltage_table_v0() 236 voltage_table->entries[i].value = in phm_get_svi2_voltage_table_v0() 238 voltage_table->entries[i].smio_low = 0; in phm_get_svi2_voltage_table_v0()
|
D | vega10_hwmgr.c | 2502 struct pp_atomfwctrl_voltage_table voltage_table; in vega10_init_smc_table() local 2525 VOLTAGE_OBJ_SVID2, &voltage_table); in vega10_init_smc_table() 2526 pp_table->MaxVidStep = voltage_table.max_vid_step; in vega10_init_smc_table() 2544 data->vddc_voltage_table.psi0_enable = voltage_table.psi0_enable; in vega10_init_smc_table() 2545 data->vddc_voltage_table.psi1_enable = voltage_table.psi1_enable; in vega10_init_smc_table()
|
/Linux-v5.10/drivers/gpu/drm/radeon/ |
D | cypress_dpm.c | 1469 struct atom_voltage_table *voltage_table) in cypress_trim_voltage_table_to_fit_state_table() argument 1473 if (voltage_table->count <= MAX_NO_VREG_STEPS) in cypress_trim_voltage_table_to_fit_state_table() 1476 diff = voltage_table->count - MAX_NO_VREG_STEPS; in cypress_trim_voltage_table_to_fit_state_table() 1479 voltage_table->entries[i] = voltage_table->entries[i + diff]; in cypress_trim_voltage_table_to_fit_state_table() 1481 voltage_table->count = MAX_NO_VREG_STEPS; in cypress_trim_voltage_table_to_fit_state_table() 1513 struct atom_voltage_table *voltage_table, in cypress_populate_smc_voltage_table() argument 1518 for (i = 0; i < voltage_table->count; i++) { in cypress_populate_smc_voltage_table() 1520 table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low); in cypress_populate_smc_voltage_table()
|
D | ci_dpm.c | 159 struct atom_voltage_table *voltage_table); 167 struct atom_voltage_table_entry *voltage_table, 2100 struct atom_voltage_table *voltage_table) in ci_get_svi2_voltage_table() argument 2107 voltage_table->mask_low = 0; in ci_get_svi2_voltage_table() 2108 voltage_table->phase_delay = 0; in ci_get_svi2_voltage_table() 2110 voltage_table->count = voltage_dependency_table->count; in ci_get_svi2_voltage_table() 2111 for (i = 0; i < voltage_table->count; i++) { in ci_get_svi2_voltage_table() 2112 voltage_table->entries[i].value = voltage_dependency_table->entries[i].v; in ci_get_svi2_voltage_table() 2113 voltage_table->entries[i].smio_low = 0; in ci_get_svi2_voltage_table() 2182 struct atom_voltage_table_entry *voltage_table, in ci_populate_smc_voltage_table() argument [all …]
|
D | si_dpm.c | 3901 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 …]
|
D | radeon_atombios.c | 3714 struct atom_voltage_table *voltage_table) in radeon_atom_get_voltage_table() argument 3746 voltage_table->entries[i].value = in radeon_atom_get_voltage_table() 3749 voltage_table->entries[i].value, in radeon_atom_get_voltage_table() 3751 &voltage_table->entries[i].smio_low, in radeon_atom_get_voltage_table() 3752 &voltage_table->mask_low); in radeon_atom_get_voltage_table() 3758 voltage_table->count = formula->ucNumOfVoltageEntries; in radeon_atom_get_voltage_table() 3781 voltage_table->entries[i].value = in radeon_atom_get_voltage_table() 3783 voltage_table->entries[i].smio_low = in radeon_atom_get_voltage_table() 3788 voltage_table->mask_low = le32_to_cpu(gpio->ulGpioMaskVal); in radeon_atom_get_voltage_table() 3789 voltage_table->count = gpio->ucGpioEntryNum; in radeon_atom_get_voltage_table() [all …]
|
D | ni_dpm.c | 1259 struct atom_voltage_table *voltage_table, in ni_populate_smc_voltage_table() argument 1264 for (i = 0; i < voltage_table->count; i++) { in ni_populate_smc_voltage_table() 1266 table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low); in ni_populate_smc_voltage_table()
|
D | radeon.h | 335 struct atom_voltage_table *voltage_table);
|
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_atombios.h | 189 struct atom_voltage_table *voltage_table);
|
D | amdgpu_atombios.c | 1498 struct atom_voltage_table *voltage_table) in amdgpu_atombios_get_voltage_table() argument 1527 voltage_table->entries[i].value = in amdgpu_atombios_get_voltage_table() 1529 voltage_table->entries[i].smio_low = in amdgpu_atombios_get_voltage_table() 1534 voltage_table->mask_low = le32_to_cpu(gpio->ulGpioMaskVal); in amdgpu_atombios_get_voltage_table() 1535 voltage_table->count = gpio->ucGpioEntryNum; in amdgpu_atombios_get_voltage_table() 1536 voltage_table->phase_delay = gpio->ucPhaseDelay; in amdgpu_atombios_get_voltage_table()
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/ |
D | si_dpm.c | 4363 struct atom_voltage_table *voltage_table) in si_trim_voltage_table_to_fit_state_table() argument 4367 if (voltage_table->count <= max_voltage_steps) in si_trim_voltage_table_to_fit_state_table() 4370 diff = voltage_table->count - max_voltage_steps; in si_trim_voltage_table_to_fit_state_table() 4373 voltage_table->entries[i] = voltage_table->entries[i + diff]; in si_trim_voltage_table_to_fit_state_table() 4375 voltage_table->count = max_voltage_steps; in si_trim_voltage_table_to_fit_state_table() 4380 struct atom_voltage_table *voltage_table) in si_get_svi2_voltage_table() argument 4387 voltage_table->mask_low = 0; in si_get_svi2_voltage_table() 4388 voltage_table->phase_delay = 0; in si_get_svi2_voltage_table() 4390 voltage_table->count = voltage_dependency_table->count; in si_get_svi2_voltage_table() 4391 for (i = 0; i < voltage_table->count; i++) { in si_get_svi2_voltage_table() [all …]
|