mbw_max_to_percent
return mbw_max_to_percent(cfg->mbw_max, cprops);
return mbw_max_to_percent(0, cprops);
KUNIT_EXPECT_EQ(test, mbw_max_to_percent(max_value, &fake_props),
KUNIT_EXPECT_EQ(test, mbw_max_to_percent(0, &fake_props),
KUNIT_EXPECT_EQ(test, mbw_max_to_percent(0, &fake_props), 0);
mbw_max_to_percent(0, &fake_props) == 0)
pc2 = mbw_max_to_percent(max, &fake_props);
pc = mbw_max_to_percent(max, &fake_props);
res->pc = mbw_max_to_percent(param->value << res->shift, &fake_props);