Home
last modified time | relevance | path

Searched refs:limit_type (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Dsmu_v15_0.h164 enum smu_ppt_limit_type limit_type,
H A Damdgpu_smu.h1067 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 Damdgpu_smu.c72 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 Dbpmp-abi.h3787 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 Dsmu_v13_0_7_ppt.c2616 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 Dsmu_v13_0_0_ppt.c2983 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 Daldebaran_ppt.c1172 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 Dsmu_v13_0.c969 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 Dsmu_v13_0_6_ppt.c1729 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 Dsmu_v14_0_2_ppt.c2707 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 Dsmu_v14_0.c840 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 Dsmu_v15_0.c804 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 Dsmu_v11_0.c940 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 Dvangogh_ppt.c2390 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 Dkgd_pp_interface.h460 int (*set_power_limit)(void *handle, uint32_t limit_type, uint32_t n);
/linux/drivers/gpu/drm/amd/pm/powerplay/
H A Damd_powerplay.c943 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 Damdgpu_pm.c3439 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()