Searched refs:profile_mode (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.15/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
| D | yellow_carp_ppt.c | 586 uint32_t profile_mode = input[size]; in yellow_carp_set_power_profile_mode() local 588 if (profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in yellow_carp_set_power_profile_mode() 589 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in yellow_carp_set_power_profile_mode() 593 if (profile_mode == PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT || in yellow_carp_set_power_profile_mode() 594 profile_mode == PP_SMC_POWER_PROFILE_POWERSAVING) in yellow_carp_set_power_profile_mode() 600 profile_mode); in yellow_carp_set_power_profile_mode() 603 profile_mode); in yellow_carp_set_power_profile_mode() 616 smu->power_profile_mode = profile_mode; in yellow_carp_set_power_profile_mode()
|
| /Linux-v5.15/security/apparmor/include/ |
| D | policy.h | 61 enum profile_mode { enum 165 extern enum profile_mode aa_g_profile_mode;
|
| /Linux-v5.15/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
| D | renoir_ppt.c | 860 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-v5.15/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
| D | vangogh_ppt.c | 1052 uint32_t profile_mode = input[size]; in vangogh_set_power_profile_mode() local 1054 if (profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in vangogh_set_power_profile_mode() 1055 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in vangogh_set_power_profile_mode() 1059 if (profile_mode == PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT || in vangogh_set_power_profile_mode() 1060 profile_mode == PP_SMC_POWER_PROFILE_POWERSAVING) in vangogh_set_power_profile_mode() 1066 profile_mode); in vangogh_set_power_profile_mode() 1069 profile_mode); in vangogh_set_power_profile_mode() 1082 smu->power_profile_mode = profile_mode; in vangogh_set_power_profile_mode()
|
| D | arcturus_ppt.c | 1484 uint32_t profile_mode = input[size]; in arcturus_set_power_profile_mode() local 1488 if (profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in arcturus_set_power_profile_mode() 1489 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in arcturus_set_power_profile_mode() 1497 if ((profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) && in arcturus_set_power_profile_mode() 1551 profile_mode); in arcturus_set_power_profile_mode() 1553 dev_dbg(smu->adev->dev, "Unsupported power profile mode %d on arcturus\n", profile_mode); in arcturus_set_power_profile_mode() 1566 smu->power_profile_mode = profile_mode; in arcturus_set_power_profile_mode()
|
| /Linux-v5.15/drivers/gpu/drm/amd/pm/ |
| D | amdgpu_pm.c | 1496 long int profile_mode = 0; in amdgpu_set_pp_power_profile_mode() local 1506 ret = kstrtol(tmp, 0, &profile_mode); in amdgpu_set_pp_power_profile_mode() 1510 if (profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in amdgpu_set_pp_power_profile_mode() 1528 parameter[parameter_size] = profile_mode; in amdgpu_set_pp_power_profile_mode()
|
| /Linux-v5.15/security/apparmor/ |
| D | lsm.c | 1323 enum profile_mode aa_g_profile_mode = APPARMOR_ENFORCE;
|