Home
last modified time | relevance | path

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

/u-boot/drivers/mtd/
A Dmtd_uboot.c62 int dev_id_len, mtd_id_len; in mtd_search_alternate_name() local
80 mtd_id_len = comma - mtd_id; in mtd_search_alternate_name()
82 mtd_id_len = &mtdids[strlen(mtdids)] - mtd_id + 1; in mtd_search_alternate_name()
84 if (!dev_id_len || !mtd_id_len) in mtd_search_alternate_name()
91 if (!strncmp(mtdname, mtd_id, mtd_id_len)) { in mtd_search_alternate_name()
/u-boot/cmd/
A Dmtdparts.c849 unsigned int mtd_id_len; in device_parse() local
872 mtd_id_len = p - mtd_id + 1; in device_parse()
1018 mtd_id_len, mtd_id, mtd_id_len); in id_find_by_mtd_id()
1026 if (mtd_id_len != strlen(id->mtd_id)) in id_find_by_mtd_id()
1028 if (strncmp(id->mtd_id, mtd_id, mtd_id_len) == 0) in id_find_by_mtd_id()
1617 int mtd_id_len; local
1657 mtd_id_len = p - mtd_id + 1;
1660 mtd_id_len = strlen(mtd_id) + 1;
1662 if (mtd_id_len == 0) {
1692 strncpy(id->mtd_id, mtd_id, mtd_id_len - 1);
[all …]

Completed in 6 milliseconds