Home
last modified time | relevance | path

Searched refs:profile_mode (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu12/
H A Drenoir_ppt.c870 uint32_t profile_mode = input[size]; in renoir_set_power_profile_mode() local
872 if (profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in renoir_set_power_profile_mode()
873 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in renoir_set_power_profile_mode()
877 if (profile_mode == PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT || in renoir_set_power_profile_mode()
878 profile_mode == PP_SMC_POWER_PROFILE_POWERSAVING) in renoir_set_power_profile_mode()
884 profile_mode); in renoir_set_power_profile_mode()
890 dev_dbg(smu->adev->dev, "Unsupported power profile mode %d on RENOIR\n", profile_mode); in renoir_set_power_profile_mode()
902 smu->power_profile_mode = profile_mode; in renoir_set_power_profile_mode()
/openbmc/linux/security/apparmor/include/
H A Dpolicy.h67 enum profile_mode { enum
221 extern enum profile_mode aa_g_profile_mode;
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dvangogh_ppt.c1090 uint32_t profile_mode = input[size]; in vangogh_set_power_profile_mode() local
1092 if (profile_mode >= PP_SMC_POWER_PROFILE_COUNT) { in vangogh_set_power_profile_mode()
1093 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in vangogh_set_power_profile_mode()
1097 if (profile_mode == PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT || in vangogh_set_power_profile_mode()
1098 profile_mode == PP_SMC_POWER_PROFILE_POWERSAVING) in vangogh_set_power_profile_mode()
1104 profile_mode); in vangogh_set_power_profile_mode()
1107 profile_mode); in vangogh_set_power_profile_mode()
1120 smu->power_profile_mode = profile_mode; in vangogh_set_power_profile_mode()
H A Darcturus_ppt.c1472 uint32_t profile_mode = input[size]; in arcturus_set_power_profile_mode() local
1476 if (profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in arcturus_set_power_profile_mode()
1477 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in arcturus_set_power_profile_mode()
1485 if ((profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) && in arcturus_set_power_profile_mode()
1539 profile_mode); in arcturus_set_power_profile_mode()
1541 dev_dbg(smu->adev->dev, "Unsupported power profile mode %d on arcturus\n", profile_mode); in arcturus_set_power_profile_mode()
1554 smu->power_profile_mode = profile_mode; in arcturus_set_power_profile_mode()
/openbmc/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c1423 long int profile_mode = 0; in amdgpu_set_pp_power_profile_mode() local
1433 ret = kstrtol(tmp, 0, &profile_mode); in amdgpu_set_pp_power_profile_mode()
1437 if (profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in amdgpu_set_pp_power_profile_mode()
1455 parameter[parameter_size] = profile_mode; in amdgpu_set_pp_power_profile_mode()
/openbmc/linux/security/apparmor/
H A Dlsm.c1402 enum profile_mode aa_g_profile_mode = APPARMOR_ENFORCE;