/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_atombios.h | 171 u8 voltage_type, u8 voltage_mode); 174 u8 voltage_type, u8 voltage_mode, 180 int amdgpu_atombios_get_max_vddc(struct amdgpu_device *adev, u8 voltage_type, 188 u8 voltage_type,
|
H A D | amdgpu_atombios.c | 1196 int amdgpu_atombios_get_max_vddc(struct amdgpu_device *adev, u8 voltage_type, argument 1220 args.v3.ucVoltageType = voltage_type; 1258 u8 voltage_type, u8 voltage_mode) 1266 if ((vo->asGpioVoltageObj.sHeader.ucVoltageType == voltage_type) && 1275 u8 voltage_type, 1295 voltage_type, 1320 u8 voltage_type, u8 voltage_mode) 1337 voltage_type, voltage_mode)) 1355 u8 voltage_type, u8 voltage_mode, 1376 voltage_type, voltage_mod 1257 amdgpu_atombios_lookup_voltage_object_v3(ATOM_VOLTAGE_OBJECT_INFO_V3_1 *v3, u8 voltage_type, u8 voltage_mode) argument 1274 amdgpu_atombios_get_svi2_info(struct amdgpu_device *adev, u8 voltage_type, u8 *svd_gpio_id, u8 *svc_gpio_id) argument 1319 amdgpu_atombios_is_voltage_gpio(struct amdgpu_device *adev, u8 voltage_type, u8 voltage_mode) argument 1354 amdgpu_atombios_get_voltage_table(struct amdgpu_device *adev, u8 voltage_type, u8 voltage_mode, struct atom_voltage_table *voltage_table) argument [all...] |
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppatomctrl.h | 294 extern int atomctrl_get_voltage_evv_on_sclk(struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint32_t sclk, uint16_t virtual_voltage_Id, uint16_t *voltage); 308 extern bool atomctrl_is_voltage_controlled_by_gpio_v3(struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint8_t voltage_mode); 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); 319 extern int atomctrl_calculate_voltage_evv_on_sclk(struct pp_hwmgr *hwmgr, uint8_t voltage_type, 324 extern int atomctrl_get_voltage_evv_on_sclk_ai(struct pp_hwmgr *hwmgr, uint8_t voltage_type, 330 extern int atomctrl_get_svi2_info(struct pp_hwmgr *hwmgr, uint8_t voltage_type,
|
H A D | ppatomfwctrl.h | 224 int pp_atomfwctrl_get_voltage_table_v4(struct pp_hwmgr *hwmgr, uint8_t voltage_type, 227 uint8_t voltage_type, uint8_t voltage_mode);
|
H A D | ppatomctrl.c | 257 uint8_t voltage_type, uint8_t voltage_mode) 267 if (voltage_type == voltage_object->asGpioVoltageObj.sHeader.ucVoltageType && 542 * voltage_type is one of SET_VOLTAGE_TYPE_ASIC_VDDC, 548 uint8_t voltage_type, 559 (voltage_info, voltage_type, voltage_mode)) ? true : false; 566 uint8_t voltage_type, 579 (voltage_info, voltage_type, voltage_mode); 681 uint8_t voltage_type, 1109 * @voltage_type: input: type of EVV voltage VDDC or VDDGFX 1118 uint8_t voltage_type, 255 atomctrl_lookup_voltage_type_v3( const ATOM_VOLTAGE_OBJECT_INFO_V3_1 * voltage_object_info_table, uint8_t voltage_type, uint8_t voltage_mode) argument 546 atomctrl_is_voltage_controlled_by_gpio_v3( struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint8_t voltage_mode) argument 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 679 atomctrl_calculate_voltage_evv_on_sclk( struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint32_t sclk, uint16_t virtual_voltage_Id, uint16_t *voltage, uint16_t dpm_level, bool debug) argument 1116 atomctrl_get_voltage_evv_on_sclk( struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint32_t sclk, uint16_t virtual_voltage_Id, uint16_t *voltage) argument 1388 atomctrl_get_voltage_evv_on_sclk_ai(struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint32_t sclk, uint16_t virtual_voltage_Id, uint32_t *voltage) argument 1495 atomctrl_get_svi2_info(struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint8_t *svd_gpio_id, uint8_t *svc_gpio_id, uint16_t *load_line) argument [all...] |
H A D | ppatomfwctrl.c | 31 uint8_t voltage_type, uint8_t voltage_mode) 43 if (voltage_type == voltage_object->gpio_voltage_obj.header.voltage_type && 73 * voltage_type is one of SET_VOLTAGE_TYPE_ASIC_VDDC, SET_VOLTAGE_TYPE_ASIC_MVDDC, SET_VOLTAGE_TYPE_ASIC_MVDDQ. 77 uint8_t voltage_type, uint8_t voltage_mode) 90 voltage_type, voltage_mode)) ? true : false; 96 uint8_t voltage_type, uint8_t voltage_mode, 111 voltage_type, voltage_mode); 29 pp_atomfwctrl_lookup_voltage_type_v4( const struct atom_voltage_objects_info_v4_1 *voltage_object_info_table, uint8_t voltage_type, uint8_t voltage_mode) argument 76 pp_atomfwctrl_is_voltage_controlled_by_gpio_v4(struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint8_t voltage_mode) argument 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
|
H A D | smu_helper.h | 94 extern int phm_get_voltage_evv_on_sclk(struct pp_hwmgr *hwmgr, uint8_t voltage_type,
|
H A D | smu_helper.c | 582 int phm_get_voltage_evv_on_sclk(struct pp_hwmgr *hwmgr, uint8_t voltage_type, argument 591 ret = atomctrl_get_voltage_evv_on_sclk(hwmgr, voltage_type, sclk, id, voltage); 595 ret = atomctrl_get_voltage_evv_on_sclk_ai(hwmgr, voltage_type, sclk, id, &vol);
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_atombios.c | 3103 void radeon_atom_set_voltage(struct radeon_device *rdev, u16 voltage_level, u8 voltage_type) argument 3118 args.v1.ucVoltageType = voltage_type; 3123 args.v2.ucVoltageType = voltage_type; 3128 args.v3.ucVoltageType = voltage_type; 3140 int radeon_atom_get_max_vddc(struct radeon_device *rdev, u8 voltage_type, argument 3163 args.v3.ucVoltageType = voltage_type; 3338 u16 voltage_level, u8 voltage_type, 3352 args.v2.ucVoltageType = voltage_type; 3360 args.v2.ucVoltageType = voltage_type; 3389 u8 voltage_type) 3337 radeon_atom_get_voltage_gpio_settings(struct radeon_device *rdev, u16 voltage_level, u8 voltage_type, u32 *gpio_value, u32 *gpio_mask) argument 3388 atom_lookup_voltage_object_v1(ATOM_VOLTAGE_OBJECT_INFO *v1, u8 voltage_type) argument 3405 atom_lookup_voltage_object_v2(ATOM_VOLTAGE_OBJECT_INFO_V2 *v2, u8 voltage_type) argument 3422 atom_lookup_voltage_object_v3(ATOM_VOLTAGE_OBJECT_INFO_V3_1 *v3, u8 voltage_type, u8 voltage_mode) argument 3440 radeon_atom_is_voltage_gpio(struct radeon_device *rdev, u8 voltage_type, u8 voltage_mode) argument 3498 radeon_atom_get_svi2_info(struct radeon_device *rdev, u8 voltage_type, u8 *svd_gpio_id, u8 *svc_gpio_id) argument 3542 radeon_atom_get_max_voltage(struct radeon_device *rdev, u8 voltage_type, u16 *max_voltage) argument 3601 radeon_atom_get_min_voltage(struct radeon_device *rdev, u8 voltage_type, u16 *min_voltage) argument 3651 radeon_atom_get_voltage_step(struct radeon_device *rdev, u8 voltage_type, u16 *voltage_step) argument 3692 radeon_atom_round_to_true_voltage(struct radeon_device *rdev, u8 voltage_type, u16 nominal_voltage, u16 *true_voltage) argument 3718 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 D | radeon.h | 303 void radeon_atom_set_voltage(struct radeon_device *rdev, u16 voltage_level, u8 voltage_type); 305 u16 voltage_level, u8 voltage_type, 310 u8 voltage_type, u16 *voltage_step); 311 int radeon_atom_get_max_vddc(struct radeon_device *rdev, u8 voltage_type, 326 u8 voltage_type, 330 u8 voltage_type, u16 *min_voltage); 332 u8 voltage_type, u16 *max_voltage); 334 u8 voltage_type, u8 voltage_mode, 337 u8 voltage_type, u8 voltage_mode); 339 u8 voltage_type, [all...] |
/linux-master/drivers/gpu/drm/amd/include/ |
H A D | atomfirmware.h | 3492 uint8_t voltage_type; //enum atom_voltage_type member in struct:atom_voltage_object_header_v4
|