Home
last modified time | relevance | path

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

/Linux-v6.6/arch/x86/kernel/
Dshstk.c31 static bool features_enabled(unsigned long features) in features_enabled() function
163 if (features_enabled(ARCH_SHSTK_SHSTK)) in shstk_setup()
204 if (!features_enabled(ARCH_SHSTK_SHSTK)) in shstk_alloc_thread_stack()
354 !features_enabled(ARCH_SHSTK_SHSTK)) in setup_signal_shadow_stack()
387 !features_enabled(ARCH_SHSTK_SHSTK)) in restore_signal_shadow_stack()
410 !features_enabled(ARCH_SHSTK_SHSTK)) in shstk_free()
455 if (!features_enabled(ARCH_SHSTK_SHSTK)) in wrss_control()
459 if (features_enabled(ARCH_SHSTK_WRSS) == enable) in wrss_control()
490 if (!features_enabled(ARCH_SHSTK_SHSTK)) in shstk_disable()
/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvega10_smumgr.c130 uint64_t *features_enabled) in vega10_get_enabled_smc_features() argument
134 if (features_enabled == NULL) in vega10_get_enabled_smc_features()
140 *features_enabled = enabled_features; in vega10_get_enabled_smc_features()
147 uint64_t features_enabled = 0; in vega10_is_dpm_running() local
149 vega10_get_enabled_smc_features(hwmgr, &features_enabled); in vega10_is_dpm_running()
151 if (features_enabled & SMC_DPM_FEATURES) in vega10_is_dpm_running()
Dvega12_smumgr.c157 uint64_t *features_enabled) in vega12_get_enabled_smc_features() argument
161 if (features_enabled == NULL) in vega12_get_enabled_smc_features()
176 …*features_enabled = ((((uint64_t)smc_features_low << SMU_FEATURES_LOW_SHIFT) & SMU_FEATURES_LOW_MA… in vega12_get_enabled_smc_features()
184 uint64_t features_enabled = 0; in vega12_is_dpm_running() local
186 vega12_get_enabled_smc_features(hwmgr, &features_enabled); in vega12_is_dpm_running()
188 if (features_enabled & SMC_DPM_FEATURES) in vega12_is_dpm_running()
Dvega20_smumgr.c350 uint64_t *features_enabled) in vega20_get_enabled_smc_features() argument
355 if (features_enabled == NULL) in vega20_get_enabled_smc_features()
369 …*features_enabled = ((((uint64_t)smc_features_low << SMU_FEATURES_LOW_SHIFT) & SMU_FEATURES_LOW_MA… in vega20_get_enabled_smc_features()
608 uint64_t features_enabled = 0; in vega20_is_dpm_running() local
610 vega20_get_enabled_smc_features(hwmgr, &features_enabled); in vega20_is_dpm_running()
612 if (features_enabled & SMC_DPM_FEATURES) in vega20_is_dpm_running()
Dvega10_smumgr.h48 uint64_t *features_enabled);
Dvega12_smumgr.h54 uint64_t *features_enabled);
Dvega20_smumgr.h53 uint64_t *features_enabled);
/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.c911 uint64_t features_enabled; in vega12_enable_all_smu_features() local
920 if (vega12_get_enabled_smc_features(hwmgr, &features_enabled) == 0) { in vega12_enable_all_smu_features()
922 enabled = (features_enabled & data->smu_features[i].smu_feature_bitmap) ? true : false; in vega12_enable_all_smu_features()
937 uint64_t features_enabled; in vega12_disable_all_smu_features() local
946 if (vega12_get_enabled_smc_features(hwmgr, &features_enabled) == 0) { in vega12_disable_all_smu_features()
948 enabled = (features_enabled & data->smu_features[i].smu_feature_bitmap) ? true : false; in vega12_disable_all_smu_features()
2160 uint64_t features_enabled; in vega12_get_ppfeature_status() local
2167 ret = vega12_get_enabled_smc_features(hwmgr, &features_enabled); in vega12_get_ppfeature_status()
2172 size += sysfs_emit_at(buf, size, "Current ppfeatures: 0x%016llx\n", features_enabled); in vega12_get_ppfeature_status()
2181 (features_enabled & (1ULL << i)) ? "Y" : "N"); in vega12_get_ppfeature_status()
[all …]
Dvega20_hwmgr.c961 uint64_t features_enabled; in vega20_enable_all_smu_features() local
972 ret = vega20_get_enabled_smc_features(hwmgr, &features_enabled); in vega20_enable_all_smu_features()
978 enabled = (features_enabled & data->smu_features[i].smu_feature_bitmap) ? in vega20_enable_all_smu_features()
3238 uint64_t features_enabled; in vega20_get_ppfeature_status() local
3245 ret = vega20_get_enabled_smc_features(hwmgr, &features_enabled); in vega20_get_ppfeature_status()
3250 size += sysfs_emit_at(buf, size, "Current ppfeatures: 0x%016llx\n", features_enabled); in vega20_get_ppfeature_status()
3259 (features_enabled & (1ULL << i)) ? "Y" : "N"); in vega20_get_ppfeature_status()
3269 uint64_t features_enabled, features_to_enable, features_to_disable; in vega20_set_ppfeature_status() local
3276 ret = vega20_get_enabled_smc_features(hwmgr, &features_enabled); in vega20_set_ppfeature_status()
3281 features_enabled & ~new_ppfeature_masks; in vega20_set_ppfeature_status()
[all …]
Dvega10_hwmgr.c4563 uint64_t features_enabled; in vega10_get_ppfeature_status() local
4570 ret = vega10_get_enabled_smc_features(hwmgr, &features_enabled); in vega10_get_ppfeature_status()
4575 size += sysfs_emit_at(buf, size, "Current ppfeatures: 0x%016llx\n", features_enabled); in vega10_get_ppfeature_status()
4584 (features_enabled & (1ULL << i)) ? "Y" : "N"); in vega10_get_ppfeature_status()
4592 uint64_t features_enabled; in vega10_set_ppfeature_status() local
4600 ret = vega10_get_enabled_smc_features(hwmgr, &features_enabled); in vega10_set_ppfeature_status()
4605 features_enabled & ~new_ppfeature_masks; in vega10_set_ppfeature_status()
4607 ~features_enabled & new_ppfeature_masks; in vega10_set_ppfeature_status()
/Linux-v6.6/drivers/scsi/device_handler/
Dscsi_dh_rdac.c179 u8 features_enabled; member