Searched refs:feature_num (Results 1 – 8 of 8) sorted by relevance
/drivers/gpu/drm/amd/pm/swsmu/ |
D | smu_cmn.c | 466 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()
|
D | amdgpu_smu.c | 566 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/ |
D | dfl.c | 704 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/ |
D | yellow_carp_ppt.c | 215 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()
|
D | smu_v13_0.c | 721 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/ |
D | smu_v11_0.c | 770 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()
|
D | vangogh_ppt.c | 1960 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/ |
D | amdgpu_smu.h | 396 uint32_t feature_num; member
|