Searched refs:mpam_has_feature (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/resctrl/ |
| H A D | test_mpam_devices.c | 106 KUNIT_EXPECT_TRUE(test, mpam_has_feature(mpam_feat_cpor_part, &fake_class.props)); in test_mpam_enable_merge_features() 131 KUNIT_EXPECT_TRUE(test, mpam_has_feature(mpam_feat_cpor_part, &fake_class.props)); in test_mpam_enable_merge_features() 132 KUNIT_EXPECT_TRUE(test, mpam_has_feature(mpam_feat_cmax_cmin, &fake_class.props)); in test_mpam_enable_merge_features() 133 KUNIT_EXPECT_TRUE(test, mpam_has_feature(mpam_feat_cmax_cmin, &fake_vmsc1.props)); in test_mpam_enable_merge_features() 160 KUNIT_EXPECT_TRUE(test, mpam_has_feature(mpam_feat_cpor_part, &fake_class.props)); in test_mpam_enable_merge_features() 189 KUNIT_EXPECT_FALSE(test, mpam_has_feature(mpam_feat_cpor_part, &fake_class.props)); in test_mpam_enable_merge_features() 190 KUNIT_EXPECT_FALSE(test, mpam_has_feature(mpam_feat_cmax_cmin, &fake_class.props)); in test_mpam_enable_merge_features() 224 KUNIT_EXPECT_FALSE(test, mpam_has_feature(mpam_feat_cpor_part, &fake_class.props)); in test_mpam_enable_merge_features() 225 KUNIT_EXPECT_FALSE(test, mpam_has_feature(mpam_feat_mbw_part, &fake_class.props)); in test_mpam_enable_merge_features() 259 KUNIT_EXPECT_TRUE(test, mpam_has_feature(mpam_feat_mbw_min, &fake_class.props)); in test_mpam_enable_merge_features() [all …]
|
| H A D | mpam_devices.c | 1334 if (mpam_has_feature(mpam_feat_msmon_csu_xcl, &m->ris->props)) in gen_msmon_ctl_flt_vals() 1343 if (mpam_has_feature(mpam_feat_msmon_mbwu_rwbw, &m->ris->props)) in gen_msmon_ctl_flt_vals() 1652 if (mpam_has_feature(mpam_feat_msmon_mbwu_63counter, cprops)) in mpam_msmon_choose_counter() 1654 if (mpam_has_feature(mpam_feat_msmon_mbwu_44counter, cprops)) in mpam_msmon_choose_counter() 1674 if (!mpam_has_feature(type, cprops)) in mpam_msmon_read() 1721 if (!mpam_has_feature(mpam_feat_msmon_mbwu, &vmsc->props)) in mpam_msmon_reset_mbwu() 1727 if (!mpam_has_feature(mpam_feat_msmon_mbwu, &ris->props)) in mpam_msmon_reset_mbwu() 1829 if (mpam_has_feature(mpam_feat_mbw_max, cfg)) { in mpam_wa_t241_calc_min_from_max() 1856 if (mpam_has_feature(mpam_feat_partid_nrw, rprops)) { in mpam_reprogram_ris_partid() 1872 if (mpam_has_feature(mpam_feat_cpor_part, rprops)) { in mpam_reprogram_ris_partid() [all …]
|
| H A D | mpam_internal.h | 260 #define mpam_has_feature(_feat, x) test_bit(_feat, (x)->features) macro 469 if (!mpam_has_feature(mpam_feat_msmon_csu, cprops)) in mpam_alloc_csu_mon() 485 if (!mpam_has_feature(mpam_feat_msmon_mbwu, cprops)) in mpam_alloc_mbwu_mon()
|
| H A D | mpam_resctrl.c | 634 if (!mpam_has_feature(mpam_feat_msmon_csu, cprops)) in update_rmid_limits() 662 if (!mpam_has_feature(mpam_feat_cpor_part, cprops)) in cache_has_usable_cpor() 671 return (mpam_has_feature(mpam_feat_mbw_max, cprops) && in mba_class_use_mbw_max() 689 if (!mpam_has_feature(mpam_feat_msmon_csu, cprops)) in cache_has_usable_csu() 706 if (!mpam_has_feature(mpam_feat_msmon_mbwu, cprops)) in class_has_usable_mbwu() 1412 if (mpam_has_feature(mpam_feat_mbw_max, cprops)) { in resctrl_arch_get_config() 1422 !mpam_has_feature(configured_by, cfg)) in resctrl_arch_get_config() 1481 if (mpam_has_feature(mpam_feat_mbw_max, cprops)) { in resctrl_arch_update_one()
|