Home
last modified time | relevance | path

Searched refs:mtd_get_of_node (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/drivers/mtd/parsers/
H A Dofpart_core.c56 mtd_node = mtd_get_of_node(master); in parse_fixed_partitions()
220 dp = mtd_get_of_node(master); in parse_ofoldpart_partitions()
H A Dparser_trx.c54 struct device_node *np = mtd_get_of_node(mtd); in parser_trx_parse()
H A Dtplink_safeloader.c31 np = mtd_get_of_node(mtd); in mtd_parser_tplink_safeloader_read_table()
H A Dscpart.c153 mtd_node = mtd_get_of_node(master); in scpart_parse()
H A Dredboot.c52 np = mtd_get_of_node(master); in parse_redboot_of()
/openbmc/linux/drivers/mtd/
H A Dmtdcore.c97 of_node_put(mtd_get_of_node(mtd)); in mtd_release()
548 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()
644 struct device_node *np = mtd_get_of_node(mtd); in add_mtd_device()
746 of_node_get(mtd_get_of_node(mtd)); in add_mtd_device()
771 if (of_property_read_bool(mtd_get_of_node(mtd), "linux,rootfs")) { in add_mtd_device()
791 of_node_put(mtd_get_of_node(mtd)); in add_mtd_device()
1282 if (mtd_get_of_node(tmp) == np) { in of_get_mtd_device_by_node()
H A Dmtdpart.c593 np = mtd_get_of_node(master); in mtd_part_of_parse()
/openbmc/u-boot/include/linux/mtd/
H A Dmtd.h341 static inline const struct device_node *mtd_get_of_node(struct mtd_info *mtd) in mtd_get_of_node() function
353 static inline const struct device_node *mtd_get_of_node(struct mtd_info *mtd) in mtd_get_of_node() function
H A Dspi-nor.h365 return mtd_get_of_node(&nor->mtd); in spi_nor_get_flash_node()
H A Dnand.h413 return mtd_get_of_node(nand->mtd); in nanddev_get_of_node()
/openbmc/linux/include/linux/mtd/
H A Dspi-nor.h433 return mtd_get_of_node(&nor->mtd); in spi_nor_get_flash_node()
H A Dnand.h733 return mtd_get_of_node(&nand->mtd); in nanddev_get_of_node()
H A Dmtd.h469 static inline struct device_node *mtd_get_of_node(struct mtd_info *mtd) in mtd_get_of_node() function
H A Drawnand.h1374 return mtd_get_of_node(nand_to_mtd(chip)); in nand_get_flash_node()