Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c868 uint32_t profile_mode = input[size]; in renoir_set_power_profile_mode() local
870 if (profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in renoir_set_power_profile_mode()
871 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in renoir_set_power_profile_mode()
875 if (profile_mode == PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT || in renoir_set_power_profile_mode()
876 profile_mode == PP_SMC_POWER_PROFILE_POWERSAVING) in renoir_set_power_profile_mode()
882 profile_mode); in renoir_set_power_profile_mode()
888 dev_dbg(smu->adev->dev, "Unsupported power profile mode %d on RENOIR\n", profile_mode); in renoir_set_power_profile_mode()
900 smu->power_profile_mode = profile_mode; in renoir_set_power_profile_mode()
/linux-6.12.1/security/apparmor/include/
Dpolicy.h68 enum profile_mode { enum
247 extern enum profile_mode aa_g_profile_mode;
/linux-6.12.1/drivers/gpu/drm/panfrost/
Dpanfrost_drv.c553 if (pfdev->profile_mode) { in panfrost_gpu_show_fdinfo()
697 return sysfs_emit(buf, "%d\n", pfdev->profile_mode); in profiling_show()
712 pfdev->profile_mode = value; in profiling_store()
Dpanfrost_device.h133 bool profile_mode; member
Dpanfrost_job.c246 if (pfdev->profile_mode) { in panfrost_job_hw_submit()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dvangogh_ppt.c1060 uint32_t profile_mode = input[size]; in vangogh_set_power_profile_mode() local
1062 if (profile_mode >= PP_SMC_POWER_PROFILE_COUNT) { in vangogh_set_power_profile_mode()
1063 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in vangogh_set_power_profile_mode()
1067 if (profile_mode == PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT || in vangogh_set_power_profile_mode()
1068 profile_mode == PP_SMC_POWER_PROFILE_POWERSAVING) in vangogh_set_power_profile_mode()
1074 profile_mode); in vangogh_set_power_profile_mode()
1077 profile_mode); in vangogh_set_power_profile_mode()
1090 smu->power_profile_mode = profile_mode; in vangogh_set_power_profile_mode()
Darcturus_ppt.c1450 uint32_t profile_mode = input[size]; in arcturus_set_power_profile_mode() local
1453 if (profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in arcturus_set_power_profile_mode()
1454 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in arcturus_set_power_profile_mode()
1459 if ((profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) && in arcturus_set_power_profile_mode()
1518 profile_mode); in arcturus_set_power_profile_mode()
1520 dev_dbg(smu->adev->dev, "Unsupported power profile mode %d on arcturus\n", profile_mode); in arcturus_set_power_profile_mode()
1533 smu->power_profile_mode = profile_mode; in arcturus_set_power_profile_mode()
/linux-6.12.1/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c1461 long int profile_mode = 0; in amdgpu_set_pp_power_profile_mode() local
1471 ret = kstrtol(tmp, 0, &profile_mode); in amdgpu_set_pp_power_profile_mode()
1475 if (profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in amdgpu_set_pp_power_profile_mode()
1493 parameter[parameter_size] = profile_mode; in amdgpu_set_pp_power_profile_mode()
/linux-6.12.1/security/apparmor/
Dlsm.c1580 enum profile_mode aa_g_profile_mode = APPARMOR_ENFORCE;