Home
last modified time | relevance | path

Searched refs:feature_num (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.c466 WARN_ON(feature_id > feature->feature_num); in smu_cmn_feature_is_supported()
492 WARN_ON(feature_id > feature->feature_num); in smu_cmn_feature_is_enabled()
539 if (bitmap_empty(feature->enabled, feature->feature_num)) { in smu_cmn_get_enabled_mask()
552 feature->feature_num); in smu_cmn_get_enabled_mask()
570 if (bitmap_empty(feature->enabled, feature->feature_num)) { in smu_cmn_get_enabled_32_bits_mask()
588 feature->feature_num); in smu_cmn_get_enabled_32_bits_mask()
668 WARN_ON(feature_id > feature->feature_num); in smu_cmn_feature_set_enabled()
Damdgpu_smu.c566 feature->feature_num); in smu_get_driver_allowed_feature_mask()
1022 smu->smu_feature.feature_num = SMU_FEATURE_MAX; in smu_sw_init()
/drivers/fpga/
Ddfl.c704 int feature_num; member
761 pdata = kzalloc(struct_size(pdata, features, binfo->feature_num), GFP_KERNEL); in build_info_commit_dev()
766 pdata->num = binfo->feature_num; in build_info_commit_dev()
784 fdev->num_resources = binfo->feature_num; in build_info_commit_dev()
785 fdev->resource = kcalloc(binfo->feature_num, sizeof(*fdev->resource), in build_info_commit_dev()
877 binfo->feature_num = 0; in build_info_create_dev()
1055 binfo->feature_num++; in create_feature_instance()
/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dyellow_carp_ppt.c215 bitmap_zero(feature->enabled, feature->feature_num); in yellow_carp_system_features_control()
216 bitmap_zero(feature->supported, feature->feature_num); in yellow_carp_system_features_control()
226 feature->feature_num); in yellow_carp_system_features_control()
228 feature->feature_num); in yellow_carp_system_features_control()
Dsmu_v13_0.c721 if (bitmap_empty(feature->allowed, SMU_FEATURE_MAX) || feature->feature_num < 64) in smu_v13_0_set_allowed_mask()
774 bitmap_zero(feature->enabled, feature->feature_num); in smu_v13_0_system_features_control()
775 bitmap_zero(feature->supported, feature->feature_num); in smu_v13_0_system_features_control()
783 feature->feature_num); in smu_v13_0_system_features_control()
785 feature->feature_num); in smu_v13_0_system_features_control()
/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c770 if (bitmap_empty(feature->allowed, SMU_FEATURE_MAX) || feature->feature_num < 64) { in smu_v11_0_set_allowed_mask()
803 bitmap_zero(feature->enabled, feature->feature_num); in smu_v11_0_system_features_control()
804 bitmap_zero(feature->supported, feature->feature_num); in smu_v11_0_system_features_control()
812 feature->feature_num); in smu_v11_0_system_features_control()
814 feature->feature_num); in smu_v11_0_system_features_control()
Dvangogh_ppt.c1960 bitmap_zero(feature->enabled, feature->feature_num); in vangogh_system_features_control()
1961 bitmap_zero(feature->supported, feature->feature_num); in vangogh_system_features_control()
1971 feature->feature_num); in vangogh_system_features_control()
1973 feature->feature_num); in vangogh_system_features_control()
/drivers/gpu/drm/amd/pm/inc/
Damdgpu_smu.h396 uint32_t feature_num; member