Home
last modified time | relevance | path

Searched refs:mtd_dev (Results 1 – 4 of 4) sorted by relevance

/drivers/fwu-mdata/
A Draw_mtd.c131 struct udevice *mtd_dev; in get_fwu_mdata_dev() local
149 &mtd_dev); in get_fwu_mdata_dev()
158 if (mtd->dev == mtd_dev) { in get_fwu_mdata_dev()
175 ret = flash_partition_offset(mtd_dev, mtd_priv->pri_label, &offset); in get_fwu_mdata_dev()
185 ret = flash_partition_offset(mtd_dev, mtd_priv->sec_label, &offset); in get_fwu_mdata_dev()
198 struct udevice *mtd_dev = mtd_priv->mtd->dev; in fwu_mtd_image_info_populate() local
219 bank_size = flash_partition_offset(mtd_dev, bank_name, &offset); in fwu_mtd_image_info_populate()
/drivers/dfu/
A Ddfu_nand.c216 struct mtd_device *mtd_dev; in dfu_fill_entity_nand() local
234 ret = find_dev_and_part(mtd_id, &mtd_dev, &part_num, &pi); in dfu_fill_entity_nand()
A Ddfu_sf.c207 struct mtd_device *mtd_dev; in dfu_fill_entity_sf() local
226 ret = find_dev_and_part(mtd_id, &mtd_dev, &part_num, &pi); in dfu_fill_entity_sf()
/drivers/mtd/ubi/
A Dbuild.c1172 static struct mtd_info * __init open_mtd_by_chdev(const char *mtd_dev) in open_mtd_by_chdev() argument
1178 err = kern_path(mtd_dev, LOOKUP_FOLLOW, &path); in open_mtd_by_chdev()
1211 static struct mtd_info * __init open_mtd_device(const char *mtd_dev) in open_mtd_device() argument
1217 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device()
1218 if (*endp != '\0' || mtd_dev == endp) { in open_mtd_device()
1223 mtd = get_mtd_device_nm(mtd_dev); in open_mtd_device()
1227 mtd = open_mtd_by_chdev(mtd_dev); in open_mtd_device()

Completed in 16 milliseconds