Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.c912 uint64_t features_enabled; in vega12_enable_all_smu_features() local
921 if (vega12_get_enabled_smc_features(hwmgr, &features_enabled) == 0) { in vega12_enable_all_smu_features()
923 enabled = (features_enabled & data->smu_features[i].smu_feature_bitmap) ? true : false; in vega12_enable_all_smu_features()
938 uint64_t features_enabled; in vega12_disable_all_smu_features() local
947 if (vega12_get_enabled_smc_features(hwmgr, &features_enabled) == 0) { in vega12_disable_all_smu_features()
949 enabled = (features_enabled & data->smu_features[i].smu_feature_bitmap) ? true : false; in vega12_disable_all_smu_features()
2139 uint64_t features_enabled; in vega12_get_ppfeature_status() local
2146 ret = vega12_get_enabled_smc_features(hwmgr, &features_enabled); in vega12_get_ppfeature_status()
2151 size += sysfs_emit_at(buf, size, "Current ppfeatures: 0x%016llx\n", features_enabled); in vega12_get_ppfeature_status()
2160 (features_enabled & (1ULL << i)) ? "Y" : "N"); in vega12_get_ppfeature_status()
[all …]
Dvega20_hwmgr.c962 uint64_t features_enabled; in vega20_enable_all_smu_features() local
973 ret = vega20_get_enabled_smc_features(hwmgr, &features_enabled); in vega20_enable_all_smu_features()
979 enabled = (features_enabled & data->smu_features[i].smu_feature_bitmap) ? in vega20_enable_all_smu_features()
3236 uint64_t features_enabled; in vega20_get_ppfeature_status() local
3243 ret = vega20_get_enabled_smc_features(hwmgr, &features_enabled); in vega20_get_ppfeature_status()
3248 size += sysfs_emit_at(buf, size, "Current ppfeatures: 0x%016llx\n", features_enabled); in vega20_get_ppfeature_status()
3257 (features_enabled & (1ULL << i)) ? "Y" : "N"); in vega20_get_ppfeature_status()
3267 uint64_t features_enabled, features_to_enable, features_to_disable; in vega20_set_ppfeature_status() local
3274 ret = vega20_get_enabled_smc_features(hwmgr, &features_enabled); in vega20_set_ppfeature_status()
3279 features_enabled & ~new_ppfeature_masks; in vega20_set_ppfeature_status()
[all …]
Dvega10_hwmgr.c4546 uint64_t features_enabled; in vega10_get_ppfeature_status() local
4553 ret = vega10_get_enabled_smc_features(hwmgr, &features_enabled); in vega10_get_ppfeature_status()
4558 size += sysfs_emit_at(buf, size, "Current ppfeatures: 0x%016llx\n", features_enabled); in vega10_get_ppfeature_status()
4567 (features_enabled & (1ULL << i)) ? "Y" : "N"); in vega10_get_ppfeature_status()
4575 uint64_t features_enabled; in vega10_set_ppfeature_status() local
4583 ret = vega10_get_enabled_smc_features(hwmgr, &features_enabled); in vega10_set_ppfeature_status()
4588 features_enabled & ~new_ppfeature_masks; in vega10_set_ppfeature_status()
4590 ~features_enabled & new_ppfeature_masks; in vega10_set_ppfeature_status()
/linux-5.19.10/drivers/scsi/device_handler/
Dscsi_dh_rdac.c179 u8 features_enabled; member