Home
last modified time | relevance | path

Searched refs:virtual_voltage_id (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppatomctrl.h283 extern int atomctrl_get_voltage_evv(struct pp_hwmgr *hwmgr, uint16_t virtual_voltage_id, uint16_t *…
321 uint16_t virtual_voltage_id,
323 extern int atomctrl_get_leakage_id_from_efuse(struct pp_hwmgr *hwmgr, uint16_t *virtual_voltage_id);
Dppatomctrl.c1121 uint16_t virtual_voltage_id, in atomctrl_get_voltage_evv() argument
1131 if (hwmgr->dyn_state.vddc_dependency_on_sclk->entries[entry_id].v == virtual_voltage_id) { in atomctrl_get_voltage_evv()
1144 get_voltage_info_param_space.usVoltageLevel = virtual_voltage_id; in atomctrl_get_voltage_evv()
1453 int atomctrl_get_leakage_id_from_efuse(struct pp_hwmgr *hwmgr, uint16_t *virtual_voltage_id) in atomctrl_get_leakage_id_from_efuse() argument
1467 *virtual_voltage_id = voltage_parameters->usVoltageLevel; in atomctrl_get_leakage_id_from_efuse()
1474 uint16_t virtual_voltage_id, in atomctrl_get_leakage_vddc_base_on_leakage() argument
1502 if (vddc_id_buf[i] == virtual_voltage_id) { in atomctrl_get_leakage_vddc_base_on_leakage()
1518 if (vddci_id_buf[i] == virtual_voltage_id) { in atomctrl_get_leakage_vddc_base_on_leakage()
Dsmu_helper.c462 uint16_t virtual_voltage_id, int32_t *sclk) in phm_get_sclk_for_voltage_evv() argument
474 if (lookup_table->entries[voltage_id].us_vdd == virtual_voltage_id) in phm_get_sclk_for_voltage_evv()
Dsmu_helper.h89 uint16_t virtual_voltage_id, int32_t *sclk);
Dsmu7_hwmgr.c2598 uint16_t virtual_voltage_id, vddc, vddci, efuse_voltage_id; in smu7_get_elb_voltages() local
2604 virtual_voltage_id = ATOM_VIRTUAL_VOLTAGE_ID0 + i; in smu7_get_elb_voltages()
2606 virtual_voltage_id, in smu7_get_elb_voltages()
2608 if (vddc != 0 && vddc != virtual_voltage_id) { in smu7_get_elb_voltages()
2610 data->vddc_leakage.leakage_id[data->vddc_leakage.count] = virtual_voltage_id; in smu7_get_elb_voltages()
2613 if (vddci != 0 && vddci != virtual_voltage_id) { in smu7_get_elb_voltages()
2615 data->vddci_leakage.leakage_id[data->vddci_leakage.count] = virtual_voltage_id; in smu7_get_elb_voltages()
Dvega10_hwmgr.c518 uint16_t virtual_voltage_id, int32_t *socclk) in vega10_get_socclk_for_voltage_evv() argument
532 if (lookup_table->entries[voltage_id].us_vdd == virtual_voltage_id) in vega10_get_socclk_for_voltage_evv()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.h176 u16 virtual_voltage_id,
180 u16 virtual_voltage_id,
Damdgpu_atombios.c1266 u16 virtual_voltage_id, in amdgpu_atombios_get_leakage_vddc_based_on_leakage_params() argument
1312 if (vddc_id_buf[i] == virtual_voltage_id) { in amdgpu_atombios_get_leakage_vddc_based_on_leakage_params()
1325 if (vddci_id_buf[i] == virtual_voltage_id) { in amdgpu_atombios_get_leakage_vddc_based_on_leakage_params()
1356 u16 virtual_voltage_id, in amdgpu_atombios_get_voltage_evv() argument
1366 virtual_voltage_id) in amdgpu_atombios_get_voltage_evv()
1375 args.in.usVoltageLevel = cpu_to_le16(virtual_voltage_id); in amdgpu_atombios_get_voltage_evv()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dci_dpm.c1326 u16 leakage_id, virtual_voltage_id; in ci_get_leakage_voltages() local
1335 virtual_voltage_id = ATOM_VIRTUAL_VOLTAGE_ID0 + i; in ci_get_leakage_voltages()
1336 if (radeon_atom_get_voltage_evv(rdev, virtual_voltage_id, &vddc) != 0) in ci_get_leakage_voltages()
1338 if (vddc != 0 && vddc != virtual_voltage_id) { in ci_get_leakage_voltages()
1340 pi->vddc_leakage.leakage_id[pi->vddc_leakage.count] = virtual_voltage_id; in ci_get_leakage_voltages()
1346 virtual_voltage_id = ATOM_VIRTUAL_VOLTAGE_ID0 + i; in ci_get_leakage_voltages()
1348 virtual_voltage_id, in ci_get_leakage_voltages()
1350 if (vddc != 0 && vddc != virtual_voltage_id) { in ci_get_leakage_voltages()
1352 pi->vddc_leakage.leakage_id[pi->vddc_leakage.count] = virtual_voltage_id; in ci_get_leakage_voltages()
1355 if (vddci != 0 && vddci != virtual_voltage_id) { in ci_get_leakage_voltages()
[all …]
Dradeon_atombios.c3221 u16 virtual_voltage_id, in radeon_atom_get_leakage_vddc_based_on_leakage_params() argument
3267 if (vddc_id_buf[i] == virtual_voltage_id) { in radeon_atom_get_leakage_vddc_based_on_leakage_params()
3280 if (vddci_id_buf[i] == virtual_voltage_id) { in radeon_atom_get_leakage_vddc_based_on_leakage_params()
3311 u16 virtual_voltage_id, in radeon_atom_get_voltage_evv() argument
3321 virtual_voltage_id) in radeon_atom_get_voltage_evv()
3330 args.in.usVoltageLevel = cpu_to_le16(virtual_voltage_id); in radeon_atom_get_voltage_evv()
Dradeon.h320 u16 virtual_voltage_id,
323 u16 virtual_voltage_id,