Home
last modified time | relevance | path

Searched refs:ofpart_node (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/mtd/parsers/
Dofpart_core.c49 struct device_node *ofpart_node; in parse_fixed_partitions() local
61 ofpart_node = of_get_child_by_name(mtd_node, "partitions"); in parse_fixed_partitions()
62 if (!ofpart_node) { in parse_fixed_partitions()
70 ofpart_node = mtd_node; in parse_fixed_partitions()
74 ofpart_node = mtd_node; in parse_fixed_partitions()
77 of_id = of_match_node(parse_ofpart_match_table, ofpart_node); in parse_fixed_partitions()
87 for_each_child_of_node(ofpart_node, pp) { in parse_fixed_partitions()
102 for_each_child_of_node(ofpart_node, pp) { in parse_fixed_partitions()
Dscpart.c150 struct device_node *ofpart_node; in scpart_parse() local
159 ofpart_node = of_get_child_by_name(mtd_node, "partitions"); in scpart_parse()
160 if (!ofpart_node) { in scpart_parse()
174 parts = kcalloc(of_get_child_count(ofpart_node), sizeof(*parts), in scpart_parse()
181 for_each_child_of_node(ofpart_node, pp) { in scpart_parse()
222 of_node_put(ofpart_node); in scpart_parse()