Lines Matching defs:child
61 struct dtpm *child;
72 list_for_each_entry(child, &dtpm->children, sibling) {
73 ret = __get_power_uw(child, &power);
89 struct dtpm *child;
91 list_for_each_entry(child, &dtpm->children, sibling) {
94 child->weight, child->zone.name);
96 child->weight = DIV64_U64_ROUND_CLOSEST(
97 child->power_max * 1024, dtpm->power_max);
99 __dtpm_rebalance_weight(child);
206 struct dtpm *child;
231 list_for_each_entry(child, &dtpm->children, sibling) {
237 * initial value, we force the child's min or
242 power = child->power_max;
244 power = child->power_min;
247 power_limit * child->weight, 1024);
251 child->zone.name, power);
253 ret = __set_power_limit_uw(child, cid, power);
255 ret = get_power_limit_uw(&child->zone, cid, &power);
466 * is no child for us as we are a leaf of the tree
620 struct dtpm *child, *aux;
622 list_for_each_entry_safe(child, aux, &dtpm->children, sibling)
623 __dtpm_destroy_hierarchy(child);