Searched refs:mtd_get_of_node (Results 1 – 12 of 12) sorted by relevance
56 mtd_node = mtd_get_of_node(master); in parse_fixed_partitions()220 dp = mtd_get_of_node(master); in parse_ofoldpart_partitions()
54 struct device_node *np = mtd_get_of_node(mtd); in parser_trx_parse()
31 np = mtd_get_of_node(mtd); in mtd_parser_tplink_safeloader_read_table()
153 mtd_node = mtd_get_of_node(master); in scpart_parse()
52 np = mtd_get_of_node(master); in parse_redboot_of()
98 of_node_put(mtd_get_of_node(mtd)); in mtd_release()549 struct device_node *node = mtd_get_of_node(mtd); in mtd_nvmem_add()586 if (mtd_get_of_node(mtd)) in mtd_check_of_node()592 parent_dn = of_node_get(mtd_get_of_node(mtd->parent)); in mtd_check_of_node()645 struct device_node *np = mtd_get_of_node(mtd); in add_mtd_device()747 of_node_get(mtd_get_of_node(mtd)); in add_mtd_device()772 if (of_property_read_bool(mtd_get_of_node(mtd), "linux,rootfs")) { in add_mtd_device()792 of_node_put(mtd_get_of_node(mtd)); in add_mtd_device()1286 if (mtd_get_of_node(tmp) == np) { in of_get_mtd_device_by_node()
597 np = mtd_get_of_node(master); in mtd_part_of_parse()
433 return mtd_get_of_node(&nor->mtd); in spi_nor_get_flash_node()
469 static inline struct device_node *mtd_get_of_node(struct mtd_info *mtd) in mtd_get_of_node() function
736 return mtd_get_of_node(&nand->mtd); in nanddev_get_of_node()
1387 return mtd_get_of_node(nand_to_mtd(chip)); in nand_get_flash_node()
1234 struct device_node *np = mtd_get_of_node(mtd); in ubi_notify_add()