Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mtd/
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()
Dmtdcore.c99 if (mtd_is_partition(mtd)) in mtd_release()
109 bool is_partition = mtd_is_partition(mtd); in mtd_device_release()
588 if (!mtd_is_partition(mtd)) in mtd_check_of_node()
595 if (mtd_is_partition(mtd->parent)) in mtd_check_of_node()
679 (!mtd_is_partition(mtd) || master->type != MTD_MLCNANDFLASH || in add_mtd_device()
Dmtdchar.c556 if (mtd_is_partition(mtd)) in mtdchar_blkpg_ioctl()
/Linux-v6.6/drivers/mtd/parsers/
Dtplink_safeloader.c32 if (mtd_is_partition(mtd)) in mtd_parser_tplink_safeloader_read_table()
/Linux-v6.6/include/linux/mtd/
Dmtd.h421 static inline bool mtd_is_partition(const struct mtd_info *mtd) in mtd_is_partition() function