Home
last modified time | relevance | path

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

/linux/drivers/mtd/parsers/
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()
/linux/drivers/mtd/
H A Dmtdcore.c99 of_node_put(mtd_get_of_node(mtd)); in mtd_release()
609 struct device_node *node = mtd_get_of_node(mtd); in mtd_nvmem_add()
646 if (mtd_get_of_node(mtd)) in mtd_check_of_node()
652 parent_dn = of_node_get(mtd_get_of_node(mtd->parent)); in mtd_check_of_node()
705 struct device_node *np = mtd_get_of_node(mtd); in add_mtd_device()
809 of_node_get(mtd_get_of_node(mtd)); in add_mtd_device()
832 if (of_property_read_bool(mtd_get_of_node(mtd), "linux,rootfs")) { in add_mtd_device()
860 of_node_put(mtd_get_of_node(mtd)); in add_mtd_device()
1374 if (mtd_get_of_node(tmp) == np) { in of_get_mtd_device_by_node()
/linux/include/linux/mtd/
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.h1387 return mtd_get_of_node(nand_to_mtd(chip)); in nand_get_flash_node()
/linux/drivers/mtd/ubi/
H A Dbuild.c1234 struct device_node *np = mtd_get_of_node(mtd); in ubi_notify_add()