Searched refs:mtd_id_len (Results 1 – 1 of 1) sorted by relevance
157 static struct mtdids* id_find_by_mtd_id(const char *mtd_id, unsigned int mtd_id_len);843 unsigned int mtd_id_len; in device_parse() local866 mtd_id_len = p - mtd_id + 1; in device_parse()870 if ((id = id_find_by_mtd_id(mtd_id, mtd_id_len - 1)) == NULL) { in device_parse()871 printf("invalid mtd device '%.*s'\n", mtd_id_len - 1, mtd_id); in device_parse()1006 static struct mtdids* id_find_by_mtd_id(const char *mtd_id, unsigned int mtd_id_len) in id_find_by_mtd_id() argument1012 mtd_id_len, mtd_id, mtd_id_len); in id_find_by_mtd_id()1020 if (mtd_id_len != strlen(id->mtd_id)) in id_find_by_mtd_id()1022 if (strncmp(id->mtd_id, mtd_id, mtd_id_len) == 0) in id_find_by_mtd_id()1613 int mtd_id_len; local[all …]