Searched refs:mtds (Results 1 – 3 of 3) sorted by relevance
48 struct mtd_info **mtds; member77 if (info->cmtd != info->mtds[0]) in physmap_flash_remove()82 if (info->mtds[i]) in physmap_flash_remove()83 map_destroy(info->mtds[i]); in physmap_flash_remove()464 info->mtds = devm_kzalloc(&dev->dev, in physmap_flash_probe()465 sizeof(*info->mtds) * info->nmaps, in physmap_flash_probe()467 if (!info->mtds) in physmap_flash_probe()534 info->mtds[i] = do_map_probe(info->probe_type, in physmap_flash_probe()540 info->mtds[i] = do_map_probe(rom_probe_types[j], in physmap_flash_probe()542 if (info->mtds[i]) in physmap_flash_probe()[all …]
153 struct s3c2410_nand_mtd *mtds; member776 if (info->mtds != NULL) { in s3c24xx_nand_remove()777 struct s3c2410_nand_mtd *ptr = info->mtds; in s3c24xx_nand_remove()1153 size = nr_sets * sizeof(*info->mtds); in s3c24xx_nand_probe()1154 info->mtds = devm_kzalloc(&pdev->dev, size, GFP_KERNEL); in s3c24xx_nand_probe()1155 if (info->mtds == NULL) { in s3c24xx_nand_probe()1162 nmtd = info->mtds; in s3c24xx_nand_probe()
69 struct mtd_info *mtds[MAX_TXX9NDFMC_DEV]; member365 drvdata->mtds[i] = mtd; in txx9ndfmc_probe()379 struct mtd_info *mtd = drvdata->mtds[i]; in txx9ndfmc_remove()