Lines Matching refs:in_tree
8 def in_tree(response, name, uclass, drv, depth, last_child): function
32 assert in_tree(tree, 'bind-test', 'simple_bus', 'simple_bus', 0, True)
33 assert in_tree(tree, 'bind-test-child1', 'phy', 'phy_sandbox', 1, False)
34 assert in_tree(tree, 'bind-test-child2', 'simple_bus', 'simple_bus', 1, True)
40 assert in_tree(tree, 'bind-test', 'simple_bus', 'simple_bus', 0, True)
42 assert in_tree(tree, 'bind-test-child2', 'simple_bus', 'simple_bus', 1, True)
48 assert in_tree(tree, 'bind-test', 'simple_bus', 'simple_bus', 0, True)
49 assert in_tree(tree, 'bind-test-child1', 'phy', 'phy_sandbox', 1, True)
50 assert in_tree(tree, 'bind-test-child2', 'simple_bus', 'simple_bus', 1, False)
56 assert in_tree(tree, 'bind-test', 'simple_bus', 'simple_bus', 0, True)
57 assert in_tree(tree, 'bind-test-child1', 'phy', 'phy_sandbox', 1, True)
65 assert in_tree(tree, 'bind-test', 'simple_bus', 'simple_bus', 0, True)
66 assert in_tree(tree, 'bind-test-child1', 'phy', 'phy_sandbox', 1, False)
67 assert in_tree(tree, 'bind-test-child2', 'simple_bus', 'simple_bus', 1, True)
93 assert in_tree(tree, 'bind-test', 'simple_bus', 'simple_bus', 0, True)
94 assert in_tree(tree, 'bind-test-child1', 'phy', 'phy_sandbox', 1, False)
95 assert in_tree(tree, 'bind-test-child2', 'simple_bus', 'simple_bus', 1, True)
135 assert in_tree(tree, 'simple_bus', 'simple_bus', 'simple_bus', 2, True)
142 assert in_tree(tree, 'bind-test-child2', 'simple_bus', 'simple_bus', 1, True)
143 assert not in_tree(tree, 'simple_bus', 'simple_bus', 'simple_bus', 2, True)
157 assert in_tree(tree, 'simple_bus', 'simple_bus', 'simple_bus', 2, True)
165 assert in_tree(tree, 'bind-test-child2', 'simple_bus', 'simple_bus', 1, True)