Searched refs:mtds (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/mtd/maps/
H A Dphysmap-core.c52 struct mtd_info **mtds; member in struct:physmap_flash_info
77 if (info->cmtd != info->mtds[0])
82 if (info->mtds[i])
83 map_destroy(info->mtds[i]);
471 info->mtds = devm_kzalloc(&dev->dev,
472 sizeof(*info->mtds) * info->nmaps,
474 if (!info->mtds)
547 info->mtds[i] = do_map_probe(info->probe_type,
551 if (!info->mtds[i] && IS_ENABLED(CONFIG_MTD_ROM) &&
557 info->mtds[
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Ds3c2410.c135 * @mtds: An array of MTD instances on this controller.
151 struct s3c2410_nand_mtd *mtds; member in struct:s3c2410_nand_info
716 /* Release all our mtds and their partitions, then go through
720 if (info->mtds != NULL) {
721 struct s3c2410_nand_mtd *ptr = info->mtds;
1096 size = nr_sets * sizeof(*info->mtds);
1097 info->mtds = devm_kzalloc(&pdev->dev, size, GFP_KERNEL);
1098 if (info->mtds == NULL) {
1105 nmtd = info->mtds;
H A Dtxx9ndfmc.c68 struct mtd_info *mtds[MAX_TXX9NDFMC_DEV]; member in struct:txx9ndfmc_drvdata
366 drvdata->mtds[i] = mtd;
378 struct mtd_info *mtd = drvdata->mtds[i];

Completed in 1703 milliseconds