Home
last modified time | relevance | path

Searched refs:power_src (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_internal.h83 #define smu_set_power_source(smu, power_src) smu_ppt_funcs(set_power_source, 0, smu, power_src) argument
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c936 int power_src; in smu_v11_0_get_current_power_limit() local
942 power_src = smu_cmn_to_asic_specific_index(smu, in smu_v11_0_get_current_power_limit()
947 if (power_src < 0) in smu_v11_0_get_current_power_limit()
956 (0 << 24) | (power_src << 16), in smu_v11_0_get_current_power_limit()
968 int power_src; in smu_v11_0_set_power_limit() local
980 power_src = smu_cmn_to_asic_specific_index(smu, in smu_v11_0_set_power_limit()
985 if (power_src < 0) in smu_v11_0_set_power_limit()
995 limit_param |= (power_src) << 16; in smu_v11_0_set_power_limit()
1949 enum smu_power_src_type power_src) in smu_v11_0_set_power_source() argument
1955 (uint32_t)power_src); in smu_v11_0_set_power_source()
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Dsmu_v13_0.h240 enum smu_power_src_type power_src);
Dsmu_v11_0.h271 enum smu_power_src_type power_src);
Damdgpu_smu.h1215 int (*set_power_source)(struct smu_context *smu, enum smu_power_src_type power_src);
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0.c997 int power_src; in smu_v13_0_get_current_power_limit() local
1003 power_src = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_get_current_power_limit()
1008 if (power_src < 0) in smu_v13_0_get_current_power_limit()
1013 power_src << 16, in smu_v13_0_get_current_power_limit()
1881 enum smu_power_src_type power_src) in smu_v13_0_set_power_source() argument
1887 (uint32_t)power_src); in smu_v13_0_set_power_source()
/Linux-v6.1/drivers/platform/x86/amd/pmf/
Dpmf.h350 u32 power_src; member