/kernel/linux/linux-5.10/drivers/regulator/ |
H A 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 [all...] |
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | tps65910-regulator.c | 95 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 [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppatomfwctrl.c | 97 struct pp_atomfwctrl_voltage_table *voltage_table) in pp_atomfwctrl_get_voltage_table_v4() 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 in pp_atomfwctrl_get_voltage_table_v4() 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) pp_atomfwctrl_get_voltage_table_v4() argument [all...] |
H A 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()
|
H A D | ppatomfwctrl.h | 226 uint8_t voltage_mode, struct pp_atomfwctrl_voltage_table *voltage_table);
|
H A D | ppatomctrl.c | 529 pp_atomctrl_voltage_table *voltage_table) in atomctrl_get_voltage_table_v3() 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() 525 atomctrl_get_voltage_table_v3( struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint8_t voltage_mode, pp_atomctrl_voltage_table *voltage_table) atomctrl_get_voltage_table_v3() argument
|
H A D | ppatomctrl.h | 294 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 D | smu_helper.h | 83 extern uint8_t phm_get_voltage_id(struct pp_atomctrl_voltage_table *voltage_table,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppatomfwctrl.c | 97 struct pp_atomfwctrl_voltage_table *voltage_table) in pp_atomfwctrl_get_voltage_table_v4() 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 in pp_atomfwctrl_get_voltage_table_v4() 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) pp_atomfwctrl_get_voltage_table_v4() argument [all...] |
H A 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()
|
H A D | ppatomfwctrl.h | 225 uint8_t voltage_mode, struct pp_atomfwctrl_voltage_table *voltage_table);
|
H A D | ppatomctrl.c | 568 pp_atomctrl_voltage_table *voltage_table) in atomctrl_get_voltage_table_v3() 592 voltage_table->entries[i].value = in atomctrl_get_voltage_table_v3() 594 voltage_table->entries[i].smio_low = in atomctrl_get_voltage_table_v3() 598 voltage_table->mask_low = in atomctrl_get_voltage_table_v3() 600 voltage_table->count = in atomctrl_get_voltage_table_v3() 602 voltage_table->phase_delay = in atomctrl_get_voltage_table_v3() 564 atomctrl_get_voltage_table_v3( struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint8_t voltage_mode, pp_atomctrl_voltage_table *voltage_table) atomctrl_get_voltage_table_v3() argument
|
H A D | smu_helper.h | 83 extern uint8_t phm_get_voltage_id(struct pp_atomctrl_voltage_table *voltage_table,
|
H A D | ppatomctrl.h | 309 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);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | cypress_dpm.c | 1473 struct atom_voltage_table *voltage_table) in cypress_trim_voltage_table_to_fit_state_table() 1477 if (voltage_table->count <= MAX_NO_VREG_STEPS) in cypress_trim_voltage_table_to_fit_state_table() 1480 diff = voltage_table->count - MAX_NO_VREG_STEPS; in cypress_trim_voltage_table_to_fit_state_table() 1483 voltage_table->entries[i] = voltage_table->entries[i + diff]; in cypress_trim_voltage_table_to_fit_state_table() 1485 voltage_table->count = MAX_NO_VREG_STEPS; in cypress_trim_voltage_table_to_fit_state_table() 1517 struct atom_voltage_table *voltage_table, in cypress_populate_smc_voltage_table() 1522 for (i = 0; i < voltage_table->count; i++) { in cypress_populate_smc_voltage_table() 1524 table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low); in cypress_populate_smc_voltage_table() 1472 cypress_trim_voltage_table_to_fit_state_table(struct radeon_device *rdev, struct atom_voltage_table *voltage_table) cypress_trim_voltage_table_to_fit_state_table() argument 1516 cypress_populate_smc_voltage_table(struct radeon_device *rdev, struct atom_voltage_table *voltage_table, RV770_SMC_STATETABLE *table) cypress_populate_smc_voltage_table() argument
|
H A 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() 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() 2098 ci_get_svi2_voltage_table(struct radeon_device *rdev, struct radeon_clock_voltage_dependency_table *voltage_dependency_table, struct atom_voltage_table *voltage_table) ci_get_svi2_voltage_table() argument 2181 ci_populate_smc_voltage_table(struct radeon_device *rdev, struct atom_voltage_table_entry *voltage_table, SMU7_Discrete_VoltageLevel *smc_voltage_table) ci_populate_smc_voltage_table() argument 2313 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) ci_get_std_voltage_value_sidd() argument [all...] |
H A D | radeon_atombios.c | 3724 struct atom_voltage_table *voltage_table) in radeon_atom_get_voltage_table() 3756 voltage_table->entries[i].value = in radeon_atom_get_voltage_table() 3759 voltage_table->entries[i].value, in radeon_atom_get_voltage_table() 3761 &voltage_table->entries[i].smio_low, in radeon_atom_get_voltage_table() 3762 &voltage_table->mask_low); in radeon_atom_get_voltage_table() 3768 voltage_table->count = formula->ucNumOfVoltageEntries; in radeon_atom_get_voltage_table() 3791 voltage_table->entries[i].value = in radeon_atom_get_voltage_table() 3793 voltage_table->entries[i].smio_low = in radeon_atom_get_voltage_table() 3798 voltage_table->mask_low = le32_to_cpu(gpio->ulGpioMaskVal); in radeon_atom_get_voltage_table() 3799 voltage_table in radeon_atom_get_voltage_table() 3722 radeon_atom_get_voltage_table(struct radeon_device *rdev, u8 voltage_type, u8 voltage_mode, struct atom_voltage_table *voltage_table) radeon_atom_get_voltage_table() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | cypress_dpm.c | 1471 struct atom_voltage_table *voltage_table) in cypress_trim_voltage_table_to_fit_state_table() 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() 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() 1470 cypress_trim_voltage_table_to_fit_state_table(struct radeon_device *rdev, struct atom_voltage_table *voltage_table) cypress_trim_voltage_table_to_fit_state_table() argument 1514 cypress_populate_smc_voltage_table(struct radeon_device *rdev, struct atom_voltage_table *voltage_table, RV770_SMC_STATETABLE *table) cypress_populate_smc_voltage_table() argument
|
H A D | si_dpm.h | 241 struct atom_voltage_table *voltage_table);
|
H A D | ci_dpm.c | 158 struct atom_voltage_table_entry *voltage_table, 2076 struct atom_voltage_table *voltage_table) in ci_get_svi2_voltage_table() 2083 voltage_table->mask_low = 0; in ci_get_svi2_voltage_table() 2084 voltage_table->phase_delay = 0; in ci_get_svi2_voltage_table() 2086 voltage_table->count = voltage_dependency_table->count; in ci_get_svi2_voltage_table() 2087 for (i = 0; i < voltage_table->count; i++) { in ci_get_svi2_voltage_table() 2088 voltage_table->entries[i].value = voltage_dependency_table->entries[i].v; in ci_get_svi2_voltage_table() 2089 voltage_table->entries[i].smio_low = 0; in ci_get_svi2_voltage_table() 2158 struct atom_voltage_table_entry *voltage_table, in ci_populate_smc_voltage_table() 2163 ret = ci_get_std_voltage_value_sidd(rdev, voltage_table, in ci_populate_smc_voltage_table() 2074 ci_get_svi2_voltage_table(struct radeon_device *rdev, struct radeon_clock_voltage_dependency_table *voltage_dependency_table, struct atom_voltage_table *voltage_table) ci_get_svi2_voltage_table() argument 2157 ci_populate_smc_voltage_table(struct radeon_device *rdev, struct atom_voltage_table_entry *voltage_table, SMU7_Discrete_VoltageLevel *smc_voltage_table) ci_populate_smc_voltage_table() argument 2289 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) ci_get_std_voltage_value_sidd() argument [all...] |
H A D | radeon_atombios.c | 3719 struct atom_voltage_table *voltage_table) in radeon_atom_get_voltage_table() 3751 voltage_table->entries[i].value = in radeon_atom_get_voltage_table() 3754 voltage_table->entries[i].value, in radeon_atom_get_voltage_table() 3756 &voltage_table->entries[i].smio_low, in radeon_atom_get_voltage_table() 3757 &voltage_table->mask_low); in radeon_atom_get_voltage_table() 3763 voltage_table->count = formula->ucNumOfVoltageEntries; in radeon_atom_get_voltage_table() 3786 voltage_table->entries[i].value = in radeon_atom_get_voltage_table() 3788 voltage_table->entries[i].smio_low = in radeon_atom_get_voltage_table() 3793 voltage_table->mask_low = le32_to_cpu(gpio->ulGpioMaskVal); in radeon_atom_get_voltage_table() 3794 voltage_table in radeon_atom_get_voltage_table() 3717 radeon_atom_get_voltage_table(struct radeon_device *rdev, u8 voltage_type, u8 voltage_mode, struct atom_voltage_table *voltage_table) radeon_atom_get_voltage_table() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_atombios.h | 189 struct atom_voltage_table *voltage_table);
|
H A D | amdgpu_atombios.c | 1498 struct atom_voltage_table *voltage_table) in amdgpu_atombios_get_voltage_table() 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() 1496 amdgpu_atombios_get_voltage_table(struct amdgpu_device *adev, u8 voltage_type, u8 voltage_mode, struct atom_voltage_table *voltage_table) amdgpu_atombios_get_voltage_table() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_atombios.h | 175 struct atom_voltage_table *voltage_table);
|
H A D | amdgpu_atombios.c | 1348 struct atom_voltage_table *voltage_table) in amdgpu_atombios_get_voltage_table() 1377 voltage_table->entries[i].value = in amdgpu_atombios_get_voltage_table() 1379 voltage_table->entries[i].smio_low = in amdgpu_atombios_get_voltage_table() 1384 voltage_table->mask_low = le32_to_cpu(gpio->ulGpioMaskVal); in amdgpu_atombios_get_voltage_table() 1385 voltage_table->count = gpio->ucGpioEntryNum; in amdgpu_atombios_get_voltage_table() 1386 voltage_table->phase_delay = gpio->ucPhaseDelay; in amdgpu_atombios_get_voltage_table() 1346 amdgpu_atombios_get_voltage_table(struct amdgpu_device *adev, u8 voltage_type, u8 voltage_mode, struct atom_voltage_table *voltage_table) amdgpu_atombios_get_voltage_table() argument
|