Searched refs:fake_props (Results 1 – 1 of 1) sorted by relevance
71 struct mpam_props fake_props = { }; in __prepare_percent_value_test() local78 mpam_set_feature(mpam_feat_mbw_max, &fake_props); in __prepare_percent_value_test()79 fake_props.bwa_wd = param->width; in __prepare_percent_value_test()83 res->value = percent_to_mbw_max(param->pc, &fake_props); in __prepare_percent_value_test()84 res->pc = mbw_max_to_percent(param->value << res->shift, &fake_props); in __prepare_percent_value_test()90 struct mpam_props fake_props = { }; in test_get_mba_granularity() local93 mpam_set_feature(mpam_feat_mbw_max, &fake_props); in test_get_mba_granularity()95 fake_props.bwa_wd = 0; in test_get_mba_granularity()96 KUNIT_EXPECT_FALSE(test, mba_class_use_mbw_max(&fake_props)); in test_get_mba_granularity()98 fake_props.bwa_wd = 1; in test_get_mba_granularity()[all …]