Home
last modified time | relevance | path

Searched refs:policy_type (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/security/safesetid/
Dsecurityfs.c140 const char __user *ubuf, size_t len, enum setid_type policy_type) in handle_policy_update() argument
150 pol->type = policy_type; in handle_policy_update()
181 rule->type = policy_type; in handle_policy_update()
211 if (policy_type == UID) { in handle_policy_update()
216 } else if (policy_type == GID) { in handle_policy_update()
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dcoex.c2540 static void _fw_set_policy(struct rtw89_dev *rtwdev, u16 policy_type, in _fw_set_policy() argument
2550 _update_dm_step(rtwdev, policy_type | BTC_POLICY_EXT_BIT); in _fw_set_policy()
2553 btc->policy_type = policy_type; in _fw_set_policy()
2563 __func__, action, policy_type, btc->policy_len); in _fw_set_policy()
3356 static void _set_policy(struct rtw89_dev *rtwdev, u16 policy_type, in _set_policy() argument
3361 chip->ops->btc_set_policy(rtwdev, policy_type); in _set_policy()
3362 _fw_set_policy(rtwdev, policy_type, action); in _set_policy()
3366 void rtw89_btc_set_policy(struct rtw89_dev *rtwdev, u16 policy_type) in rtw89_btc_set_policy() argument
3388 type = (u8)((policy_type & BTC_CXP_MASK) >> 8); in rtw89_btc_set_policy()
3403 switch (policy_type) { in rtw89_btc_set_policy()
[all …]
Dcoex.h288 void rtw89_btc_set_policy(struct rtw89_dev *rtwdev, u16 policy_type);
289 void rtw89_btc_set_policy_v1(struct rtw89_dev *rtwdev, u16 policy_type);
Dcore.h3172 u16 policy_type; member
3675 void (*btc_set_policy)(struct rtw89_dev *rtwdev, u16 policy_type);
/linux-6.12.1/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h596 int amdgpu_dpm_set_pm_policy(struct amdgpu_device *adev, int policy_type,
/linux-6.12.1/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c390 int amdgpu_dpm_set_pm_policy(struct amdgpu_device *adev, int policy_type, in amdgpu_dpm_set_pm_policy() argument
398 ret = smu_set_pm_policy(smu, policy_type, policy_level); in amdgpu_dpm_set_pm_policy()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h375 enum pp_pm_policy policy_type; member
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_6_ppt.c463 policy->policy_type = PP_PM_POLICY_SOC_PSTATE; in smu_v13_0_6_allocate_dpm_context()
475 policy->policy_type = PP_PM_POLICY_XGMI_PLPD; in smu_v13_0_6_allocate_dpm_context()
Daldebaran_ppt.c308 policy->policy_type = PP_PM_POLICY_XGMI_PLPD; in aldebaran_allocate_dpm_context()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Darcturus_ppt.c323 policy->policy_type = PP_PM_POLICY_XGMI_PLPD; in arcturus_allocate_dpm_context()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c3596 if (policy_ctxt->policies[i].policy_type == p_type) in smu_get_pm_policy()