Lines Matching refs:pp
23 static bool node_has_compatible(struct device_node *pp) in node_has_compatible() argument
25 return of_get_property(pp, "compatible", NULL); in node_has_compatible()
36 struct device_node *pp; in parse_fixed_partitions() local
64 for_each_child_of_node(ofpart_node, pp) { in parse_fixed_partitions()
65 if (!dedicated && node_has_compatible(pp)) in parse_fixed_partitions()
79 for_each_child_of_node(ofpart_node, pp) { in parse_fixed_partitions()
84 if (!dedicated && node_has_compatible(pp)) in parse_fixed_partitions()
87 reg = of_get_property(pp, "reg", &len); in parse_fixed_partitions()
91 master->name, pp, in parse_fixed_partitions()
100 a_cells = of_n_addr_cells(pp); in parse_fixed_partitions()
101 s_cells = of_n_size_cells(pp); in parse_fixed_partitions()
104 master->name, pp, in parse_fixed_partitions()
111 parts[i].of_node = pp; in parse_fixed_partitions()
113 partname = of_get_property(pp, "label", &len); in parse_fixed_partitions()
115 partname = of_get_property(pp, "name", &len); in parse_fixed_partitions()
118 if (of_get_property(pp, "read-only", &len)) in parse_fixed_partitions()
121 if (of_get_property(pp, "lock", &len)) in parse_fixed_partitions()
135 master->name, pp, mtd_node); in parse_fixed_partitions()
138 of_node_put(pp); in parse_fixed_partitions()