Lines Matching full:pp
36 static bool node_has_compatible(struct device_node *pp) in node_has_compatible() argument
38 return of_get_property(pp, "compatible", NULL); in node_has_compatible()
51 struct device_node *pp; in parse_fixed_partitions() local
87 for_each_child_of_node(ofpart_node, pp) { in parse_fixed_partitions()
88 if (!dedicated && node_has_compatible(pp)) in parse_fixed_partitions()
102 for_each_child_of_node(ofpart_node, pp) { in parse_fixed_partitions()
107 if (!dedicated && node_has_compatible(pp)) in parse_fixed_partitions()
110 reg = of_get_property(pp, "reg", &len); in parse_fixed_partitions()
114 master->name, pp, in parse_fixed_partitions()
123 a_cells = of_n_addr_cells(pp); in parse_fixed_partitions()
124 s_cells = of_n_size_cells(pp); in parse_fixed_partitions()
141 master->name, pp, mtd_node); in parse_fixed_partitions()
146 master->name, pp, in parse_fixed_partitions()
153 parts[i].of_node = pp; in parse_fixed_partitions()
155 partname = of_get_property(pp, "label", &len); in parse_fixed_partitions()
157 partname = of_get_property(pp, "name", &len); in parse_fixed_partitions()
160 if (of_property_read_bool(pp, "read-only")) in parse_fixed_partitions()
163 if (of_property_read_bool(pp, "lock")) in parse_fixed_partitions()
166 if (of_property_read_bool(pp, "slc-mode")) in parse_fixed_partitions()
183 master->name, pp, mtd_node); in parse_fixed_partitions()
186 of_node_put(pp); in parse_fixed_partitions()