| /linux/drivers/gpu/drm/amd/pm/swsmu/inc/ |
| H A D | smu_v15_0.h | 164 enum smu_ppt_limit_type limit_type,
|
| H A D | amdgpu_smu.h | 1067 enum smu_ppt_limit_type limit_type, enum smu_ppt_limit_level limit_level); 1258 enum smu_ppt_limit_type limit_type,
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/ |
| H A D | amdgpu_smu.c | 72 static int smu_set_power_limit(void *handle, uint32_t limit_type, uint32_t limit); 2902 uint32_t limit_type; in smu_get_power_limit() local 2913 limit_type = SMU_DEFAULT_PPT_LIMIT; in smu_get_power_limit() 2916 limit_type = SMU_FAST_PPT_LIMIT; in smu_get_power_limit() 2939 if (limit_type != SMU_DEFAULT_PPT_LIMIT) { in smu_get_power_limit() 2941 ret = smu->ppt_funcs->get_ppt_limit(smu, limit, limit_type, limit_level); in smu_get_power_limit() 2982 static int smu_set_power_limit(void *handle, uint32_t limit_type, uint32_t limit) in smu_set_power_limit() argument 2990 if (limit_type == SMU_DEFAULT_PPT_LIMIT) { in smu_set_power_limit() 3002 ret = smu->ppt_funcs->set_power_limit(smu, limit_type, limit); in smu_set_power_limit() 3006 smu->user_dpm_profile.power_limits[limit_type] = limit; in smu_set_power_limit()
|
| /linux/include/soc/tegra/ |
| H A D | bpmp-abi.h | 3787 uint32_t limit_type; /**< @ref bpmp_pwr_limit_type */ member 3800 uint32_t limit_type; /**< @ref bpmp_pwr_limit_type */ member
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
| H A D | smu_v13_0_7_ppt.c | 2616 enum smu_ppt_limit_type limit_type, in smu_v13_0_7_set_power_limit() argument 2627 if (limit_type != SMU_DEFAULT_PPT_LIMIT) in smu_v13_0_7_set_power_limit() 2641 return smu_v13_0_set_power_limit(smu, limit_type, limit); in smu_v13_0_7_set_power_limit() 2643 ret = smu_v13_0_set_power_limit(smu, limit_type, msg_limit); in smu_v13_0_7_set_power_limit()
|
| H A D | smu_v13_0_0_ppt.c | 2983 enum smu_ppt_limit_type limit_type, in smu_v13_0_0_set_power_limit() argument 2994 if (limit_type != SMU_DEFAULT_PPT_LIMIT) in smu_v13_0_0_set_power_limit() 3008 return smu_v13_0_set_power_limit(smu, limit_type, limit); in smu_v13_0_0_set_power_limit() 3010 ret = smu_v13_0_set_power_limit(smu, limit_type, msg_limit); in smu_v13_0_0_set_power_limit()
|
| H A D | aldebaran_ppt.c | 1172 enum smu_ppt_limit_type limit_type, in aldebaran_set_power_limit() argument 1177 return smu_v13_0_set_power_limit(smu, limit_type, limit); in aldebaran_set_power_limit()
|
| H A D | smu_v13_0.c | 969 enum smu_ppt_limit_type limit_type, in smu_v13_0_set_power_limit() argument 974 if (limit_type != SMU_DEFAULT_PPT_LIMIT) in smu_v13_0_set_power_limit()
|
| H A D | smu_v13_0_6_ppt.c | 1729 enum smu_ppt_limit_type limit_type, in smu_v13_0_6_set_power_limit() argument 1737 if (limit_type == SMU_FAST_PPT_LIMIT) { in smu_v13_0_6_set_power_limit() 1753 return smu_v13_0_set_power_limit(smu, limit_type, limit); in smu_v13_0_6_set_power_limit()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu14/ |
| H A D | smu_v14_0_2_ppt.c | 2707 enum smu_ppt_limit_type limit_type, in smu_v14_0_2_set_power_limit() argument 2717 if (limit_type != SMU_DEFAULT_PPT_LIMIT) in smu_v14_0_2_set_power_limit() 2731 return smu_v14_0_set_power_limit(smu, limit_type, limit); in smu_v14_0_2_set_power_limit() 2733 ret = smu_v14_0_set_power_limit(smu, limit_type, msg_limit); in smu_v14_0_2_set_power_limit()
|
| H A D | smu_v14_0.c | 840 enum smu_ppt_limit_type limit_type, in smu_v14_0_set_power_limit() argument 845 if (limit_type != SMU_DEFAULT_PPT_LIMIT) in smu_v14_0_set_power_limit()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu15/ |
| H A D | smu_v15_0.c | 804 enum smu_ppt_limit_type limit_type, in smu_v15_0_set_power_limit() argument 809 if (limit_type != SMU_DEFAULT_PPT_LIMIT) in smu_v15_0_set_power_limit()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
| H A D | smu_v11_0.c | 940 enum smu_ppt_limit_type limit_type, in smu_v11_0_set_power_limit() argument 947 if (limit_type != SMU_DEFAULT_PPT_LIMIT) in smu_v11_0_set_power_limit()
|
| H A D | vangogh_ppt.c | 2390 enum smu_ppt_limit_type limit_type, in vangogh_set_power_limit() argument 2402 switch (limit_type) { in vangogh_set_power_limit()
|
| /linux/drivers/gpu/drm/amd/include/ |
| H A D | kgd_pp_interface.h | 460 int (*set_power_limit)(void *handle, uint32_t limit_type, uint32_t n);
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/ |
| H A D | amd_powerplay.c | 943 static int pp_set_power_limit(void *handle, uint32_t limit_type, uint32_t limit) in pp_set_power_limit() argument
|
| /linux/drivers/gpu/drm/amd/pm/ |
| H A D | amdgpu_pm.c | 3439 int limit_type = to_sensor_dev_attr(attr)->index; in amdgpu_hwmon_set_power_cap() local 3453 err = amdgpu_dpm_set_power_limit(adev, limit_type, value); in amdgpu_hwmon_set_power_cap()
|