Home
last modified time | relevance | path

Searched refs:mtd_is_partition (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/mtd/
H A Dmtdpart.c48 u64 parent_size = mtd_is_partition(parent) ? in allocate_partition()
89 child->dev.parent = IS_ENABLED(CONFIG_MTD_PARTITIONED_MASTER) || mtd_is_partition(parent) ? in allocate_partition()
249 u64 parent_size = mtd_is_partition(parent) ? in mtd_add_partition()
590 if (!IS_ENABLED(CONFIG_MTD_PARTITIONED_MASTER) && !mtd_is_partition(master)) in mtd_part_of_parse()
594 if (mtd_is_partition(master)) in mtd_part_of_parse()
672 types = mtd_is_partition(master) ? default_subpartition_types : in parse_mtd_partitions()
H A Dmtdcore.c99 if (mtd_is_partition(mtd)) in mtd_release()
109 bool is_partition = mtd_is_partition(mtd); in mtd_device_release()
589 if (!mtd_is_partition(mtd)) in mtd_check_of_node()
596 if (mtd_is_partition(mtd->parent)) in mtd_check_of_node()
680 (!mtd_is_partition(mtd) || master->type != MTD_MLCNANDFLASH || in add_mtd_device()
H A Dmtdchar.c556 if (mtd_is_partition(mtd)) in mtdchar_blkpg_ioctl()
/openbmc/linux/drivers/mtd/parsers/
H A Dtplink_safeloader.c32 if (mtd_is_partition(mtd)) in mtd_parser_tplink_safeloader_read_table()
/openbmc/u-boot/cmd/
H A Dmtd.c207 if (!mtd_is_partition(mtd)) in do_mtd_list()
/openbmc/u-boot/include/linux/mtd/
H A Dmtd.h359 static inline bool mtd_is_partition(const struct mtd_info *mtd) in mtd_is_partition() function
/openbmc/linux/include/linux/mtd/
H A Dmtd.h421 static inline bool mtd_is_partition(const struct mtd_info *mtd) in mtd_is_partition() function
/openbmc/u-boot/drivers/mtd/
H A Dmtdpart.c992 if (mtd_is_partition(mtd)) in mtd_get_device_size()