Home
last modified time | relevance | path

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

/linux/drivers/mtd/parsers/
H A Dsharpslpart.c331 struct mtd_partition *sharpsl_nand_parts; in sharpsl_parse_mtd_partitions() local
365 sharpsl_nand_parts = kcalloc(SHARPSL_NAND_PARTS, in sharpsl_parse_mtd_partitions()
366 sizeof(*sharpsl_nand_parts), in sharpsl_parse_mtd_partitions()
368 if (!sharpsl_nand_parts) in sharpsl_parse_mtd_partitions()
372 sharpsl_nand_parts[0].name = "smf"; in sharpsl_parse_mtd_partitions()
373 sharpsl_nand_parts[0].offset = le32_to_cpu(buf[0].start); in sharpsl_parse_mtd_partitions()
374 sharpsl_nand_parts[0].size = le32_to_cpu(buf[0].end) - in sharpsl_parse_mtd_partitions()
377 sharpsl_nand_parts[1].name = "root"; in sharpsl_parse_mtd_partitions()
378 sharpsl_nand_parts[1].offset = le32_to_cpu(buf[1].start); in sharpsl_parse_mtd_partitions()
379 sharpsl_nand_parts[1].size = le32_to_cpu(buf[1].end) - in sharpsl_parse_mtd_partitions()
[all …]