Lines Matching full:want
44 int want = 0; in fdt_find_regions() local
64 include = want >= 2; in fdt_find_regions()
73 include = want >= 2; in fdt_find_regions()
88 stack[depth] = want; in fdt_find_regions()
89 if (want == 1) in fdt_find_regions()
92 want = 2; in fdt_find_regions()
93 else if (want) in fdt_find_regions()
94 want--; in fdt_find_regions()
97 include = want; in fdt_find_regions()
101 include = want; in fdt_find_regions()
102 want = stack[depth--]; in fdt_find_regions()
196 * fdt_add_alias_regions() - Add regions covering the aliases that we want
200 * aliases are special in that we generally want to include those which
203 * In fact we want to include only aliases for those nodes still included in
207 * This function scans the aliases and adds regions for those which we want
322 if (!info->stack[i].want) in fdt_include_supernodes()
323 info->stack[i].want = WANT_NODES_ONLY; in fdt_include_supernodes()
352 p->want = WANT_NOTHING; in fdt_first_region()
375 * marks the start of the region we want to include.
378 * scanning until we find something that we don't want included. This
383 * One complication here is that we want to merge regions. So when we
406 * We keep track of a variable called 'want' which tells us what we want
411 * included. In this case 'want' will be WANT_NODES_AND_PROPS. The
412 * FDT_REG_DIRECT_SUBNODES feature also makes use of 'want'. While we
413 * are inside the subnode, 'want' will be set to WANT_NODES_ONLY, so
419 * Using 'want' we work out 'include', which tells us whether this
462 * decision. 'want' is used to track what we want to include - it in fdt_next_region()
502 include = p.want >= WANT_NODES_AND_PROPS; in fdt_next_region()
513 !p.want) in fdt_next_region()
514 p.want = WANT_NODES_ONLY; in fdt_next_region()
521 include = p.want >= WANT_NODES_AND_PROPS; in fdt_next_region()
539 info->stack[p.depth].want = p.want; in fdt_next_region()
546 if (p.want == WANT_NODES_ONLY || in fdt_next_region()
550 p.want = WANT_NOTHING; in fdt_next_region()
557 p.want = (flags & FDT_REG_ALL_SUBNODES) ? in fdt_next_region()
562 /* If not requested, decay our 'p.want' value */ in fdt_next_region()
563 else if (p.want) { in fdt_next_region()
564 if (p.want != WANT_ALL_NODES_AND_PROPS) in fdt_next_region()
565 p.want--; in fdt_next_region()
576 include = p.want; in fdt_next_region()
581 include = p.want; in fdt_next_region()
586 * If we don't want this node, stop right away, unless in fdt_next_region()
589 if (!p.want && !(flags & FDT_REG_DIRECT_SUBNODES)) in fdt_next_region()
591 p.want = info->stack[p.depth].want; in fdt_next_region()