Lines Matching refs:pp
19 static bool node_has_compatible(struct device_node *pp) in node_has_compatible() argument
21 return of_get_property(pp, "compatible", NULL); in node_has_compatible()
32 struct device_node *pp; in parse_fixed_partitions() local
60 for_each_child_of_node(ofpart_node, pp) { in parse_fixed_partitions()
61 if (!dedicated && node_has_compatible(pp)) in parse_fixed_partitions()
75 for_each_child_of_node(ofpart_node, pp) { in parse_fixed_partitions()
80 if (!dedicated && node_has_compatible(pp)) in parse_fixed_partitions()
83 reg = of_get_property(pp, "reg", &len); in parse_fixed_partitions()
87 master->name, pp, in parse_fixed_partitions()
96 a_cells = of_n_addr_cells(pp); in parse_fixed_partitions()
97 s_cells = of_n_size_cells(pp); in parse_fixed_partitions()
100 master->name, pp, in parse_fixed_partitions()
107 parts[i].of_node = pp; in parse_fixed_partitions()
109 partname = of_get_property(pp, "label", &len); in parse_fixed_partitions()
111 partname = of_get_property(pp, "name", &len); in parse_fixed_partitions()
114 if (of_get_property(pp, "read-only", &len)) in parse_fixed_partitions()
117 if (of_get_property(pp, "lock", &len)) in parse_fixed_partitions()
120 if (of_property_read_bool(pp, "slc-mode")) in parse_fixed_partitions()
134 master->name, pp, mtd_node); in parse_fixed_partitions()
137 of_node_put(pp); in parse_fixed_partitions()