Searched refs:profile_mode (Results 1 – 6 of 6) sorted by relevance
| /Linux-v6.6/security/apparmor/include/ |
| D | policy.h | 67 enum profile_mode { enum 221 extern enum profile_mode aa_g_profile_mode;
|
| /Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
| D | renoir_ppt.c | 870 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()
|
| /Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
| D | vangogh_ppt.c | 1079 uint32_t profile_mode = input[size]; in vangogh_set_power_profile_mode() local 1081 if (profile_mode >= PP_SMC_POWER_PROFILE_COUNT) { in vangogh_set_power_profile_mode() 1082 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in vangogh_set_power_profile_mode() 1086 if (profile_mode == PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT || in vangogh_set_power_profile_mode() 1087 profile_mode == PP_SMC_POWER_PROFILE_POWERSAVING) in vangogh_set_power_profile_mode() 1093 profile_mode); in vangogh_set_power_profile_mode() 1096 profile_mode); in vangogh_set_power_profile_mode() 1109 smu->power_profile_mode = profile_mode; in vangogh_set_power_profile_mode()
|
| D | arcturus_ppt.c | 1472 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()
|
| /Linux-v6.6/drivers/gpu/drm/amd/pm/ |
| D | amdgpu_pm.c | 1419 long int profile_mode = 0; in amdgpu_set_pp_power_profile_mode() local 1429 ret = kstrtol(tmp, 0, &profile_mode); in amdgpu_set_pp_power_profile_mode() 1433 if (profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in amdgpu_set_pp_power_profile_mode() 1451 parameter[parameter_size] = profile_mode; in amdgpu_set_pp_power_profile_mode()
|
| /Linux-v6.6/security/apparmor/ |
| D | lsm.c | 1361 enum profile_mode aa_g_profile_mode = APPARMOR_ENFORCE;
|