Searched refs:mtd_part (Results 1 – 5 of 5) sorted by relevance
175 struct mtd_part *part;181 struct mtd_part *parts; in get_mtd_part()183 parts = calloc(mtd_partitions_amount, sizeof(struct mtd_part)); in get_mtd_part()
118 struct mtd_part struct245 int aos_mtd_register(aos_mtd_t *master, const struct mtd_part *parts, int np);
221 struct mtd_part *part;227 struct mtd_part *parts; in get_mtd_part()229 parts = calloc(mtd_partitions_amount, sizeof(struct mtd_part)); in get_mtd_part()
29 static aos_mtd_t* mtd_part_alloc(aos_mtd_t *master, const struct mtd_part *part) in mtd_part_alloc()202 int aos_mtd_register(aos_mtd_t *master, const struct mtd_part *parts, int np) in aos_mtd_register()
672 const char *mtd_part[2] = {MTD_PART_NAME_LITTLEFS, MTD_PART_NAME_LITTLEFS2}; in _lfs_init() local725 g_lfs_manager[i]->config->context = aos_mtd_open(mtd_part[i]); in _lfs_init()
Completed in 8 milliseconds