Lines Matching refs:sharpsl_nand_parts
331 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()
382 sharpsl_nand_parts[2].name = "home"; in sharpsl_parse_mtd_partitions()
383 sharpsl_nand_parts[2].offset = le32_to_cpu(buf[2].start); in sharpsl_parse_mtd_partitions()
384 sharpsl_nand_parts[2].size = le32_to_cpu(buf[2].end) - in sharpsl_parse_mtd_partitions()
387 *pparts = sharpsl_nand_parts; in sharpsl_parse_mtd_partitions()