Lines Matching refs:child
61 struct dtpm *child; in __get_power_uw() local
72 list_for_each_entry(child, &dtpm->children, sibling) { in __get_power_uw()
73 ret = __get_power_uw(child, &power); in __get_power_uw()
89 struct dtpm *child; in __dtpm_rebalance_weight() local
91 list_for_each_entry(child, &dtpm->children, sibling) { in __dtpm_rebalance_weight()
94 child->weight, child->zone.name); in __dtpm_rebalance_weight()
96 child->weight = DIV64_U64_ROUND_CLOSEST( in __dtpm_rebalance_weight()
97 child->power_max * 1024, dtpm->power_max); in __dtpm_rebalance_weight()
99 __dtpm_rebalance_weight(child); in __dtpm_rebalance_weight()
206 struct dtpm *child; in __set_power_limit_uw() local
231 list_for_each_entry(child, &dtpm->children, sibling) { in __set_power_limit_uw()
242 power = child->power_max; in __set_power_limit_uw()
244 power = child->power_min; in __set_power_limit_uw()
247 power_limit * child->weight, 1024); in __set_power_limit_uw()
251 child->zone.name, power); in __set_power_limit_uw()
253 ret = __set_power_limit_uw(child, cid, power); in __set_power_limit_uw()
255 ret = get_power_limit_uw(&child->zone, cid, &power); in __set_power_limit_uw()
620 struct dtpm *child, *aux; in __dtpm_destroy_hierarchy() local
622 list_for_each_entry_safe(child, aux, &dtpm->children, sibling) in __dtpm_destroy_hierarchy()
623 __dtpm_destroy_hierarchy(child); in __dtpm_destroy_hierarchy()