Home
last modified time | relevance | path

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

/linux/security/apparmor/include/
A Dpolicy.h61 enum profile_mode { enum
165 extern enum profile_mode aa_g_profile_mode;
/linux/drivers/gpu/drm/amd/pm/swsmu/smu12/
A Drenoir_ppt.c860 uint32_t profile_mode = input[size]; in renoir_set_power_profile_mode() local
862 if (profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in renoir_set_power_profile_mode()
863 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in renoir_set_power_profile_mode()
867 if (profile_mode == PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT || in renoir_set_power_profile_mode()
868 profile_mode == PP_SMC_POWER_PROFILE_POWERSAVING) in renoir_set_power_profile_mode()
874 profile_mode); in renoir_set_power_profile_mode()
880 dev_dbg(smu->adev->dev, "Unsupported power profile mode %d on RENOIR\n", profile_mode); in renoir_set_power_profile_mode()
892 smu->power_profile_mode = profile_mode; in renoir_set_power_profile_mode()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
A Dvangogh_ppt.c1078 uint32_t profile_mode = input[size]; in vangogh_set_power_profile_mode() local
1080 if (profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in vangogh_set_power_profile_mode()
1081 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in vangogh_set_power_profile_mode()
1085 if (profile_mode == PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT || in vangogh_set_power_profile_mode()
1086 profile_mode == PP_SMC_POWER_PROFILE_POWERSAVING) in vangogh_set_power_profile_mode()
1092 profile_mode); in vangogh_set_power_profile_mode()
1095 profile_mode); in vangogh_set_power_profile_mode()
1108 smu->power_profile_mode = profile_mode; in vangogh_set_power_profile_mode()
A Darcturus_ppt.c1498 uint32_t profile_mode = input[size]; in arcturus_set_power_profile_mode() local
1502 if (profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in arcturus_set_power_profile_mode()
1503 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in arcturus_set_power_profile_mode()
1511 if ((profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) && in arcturus_set_power_profile_mode()
1565 profile_mode); in arcturus_set_power_profile_mode()
1567 dev_dbg(smu->adev->dev, "Unsupported power profile mode %d on arcturus\n", profile_mode); in arcturus_set_power_profile_mode()
1580 smu->power_profile_mode = profile_mode; in arcturus_set_power_profile_mode()
/linux/drivers/gpu/drm/amd/pm/
A Damdgpu_pm.c1498 long int profile_mode = 0; in amdgpu_set_pp_power_profile_mode() local
1508 ret = kstrtol(tmp, 0, &profile_mode); in amdgpu_set_pp_power_profile_mode()
1512 if (profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in amdgpu_set_pp_power_profile_mode()
1530 parameter[parameter_size] = profile_mode; in amdgpu_set_pp_power_profile_mode()
/linux/security/apparmor/
A Dlsm.c1323 enum profile_mode aa_g_profile_mode = APPARMOR_ENFORCE;

Completed in 39 milliseconds