Searched refs:g_mtd_info (Results 1 – 1 of 1) sorted by relevance
27 static struct mtd_info_ctx g_mtd_info = {0}; variable51 if (g_mtd_info.np > 0) { in aos_mtd_part_info_get()52 int np = g_mtd_info.np; in aos_mtd_part_info_get()123 while (index < g_mtd_info.np) { in aos_mtd_get_by_std_part()129 if (index >= g_mtd_info.np) return NULL; in aos_mtd_get_by_std_part()139 while (index < g_mtd_info.np) { in aos_mtd_get_by_vendor_part()145 if (index >= g_mtd_info.np) return NULL; in aos_mtd_get_by_vendor_part()221 if (!g_mtd_info.entries) return -1; in aos_mtd_register()222 g_mtd_info.np = np; in aos_mtd_register()237 g_mtd_info.entries[index].mtd = master; in aos_mtd_register()[all …]
Completed in 3 milliseconds