Lines Matching refs:power_max
52 *max_power_uw = dtpm->power_max - dtpm->power_min; in get_max_power_range_uw()
103 child->power_max * 1024, dtpm->power_max); in __dtpm_rebalance_weight()
115 parent->power_max -= dtpm->power_max; in __dtpm_sub_power()
129 parent->power_max += dtpm->power_max; in __dtpm_add_power()
148 int dtpm_update_power(struct dtpm *dtpm, u64 power_min, u64 power_max) in dtpm_update_power() argument
154 if (power_min == dtpm->power_min && power_max == dtpm->power_max) in dtpm_update_power()
157 if (power_max < power_min) { in dtpm_update_power()
165 dtpm->power_max = power_max; in dtpm_update_power()
167 dtpm->power_limit = power_max; in dtpm_update_power()
253 if (power_limit == dtpm->power_max) { in __set_power_limit_uw()
280 if (power_limit == dtpm->power_max) { in __set_power_limit_uw()
281 power = child->power_max; in __set_power_limit_uw()
318 power_limit = clamp_val(power_limit, dtpm->power_min, dtpm->power_max); in set_power_limit_uw()
323 dtpm->zone.name, dtpm->power_limit, dtpm->power_max); in set_power_limit_uw()
340 *max_power = dtpm->power_max; in get_max_power_uw()
461 dtpm->zone.name, dtpm->power_min, dtpm->power_max); in dtpm_register()