Home
last modified time | relevance | path

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

/linux-6.15/drivers/mtd/maps/
H A Dphysmap-core.c52 struct mtd_info **mtds; member
77 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()
471 info->mtds = devm_kzalloc(&dev->dev, in physmap_flash_probe()
474 if (!info->mtds) in physmap_flash_probe()
566 if (info->mtds[i]) in physmap_flash_probe()
571 if (!info->mtds[i]) { in physmap_flash_probe()
580 info->cmtd = info->mtds[0]; in physmap_flash_probe()
615 if (mtd_suspend(info->mtds[i]) == 0) in physmap_flash_shutdown()
[all …]
/linux-6.15/drivers/mtd/nand/raw/
H A Ds3c2410.c151 struct s3c2410_nand_mtd *mtds; member
720 if (info->mtds != NULL) { in s3c24xx_nand_remove()
721 struct s3c2410_nand_mtd *ptr = info->mtds; in s3c24xx_nand_remove()
1096 size = nr_sets * sizeof(*info->mtds); in s3c24xx_nand_probe()
1097 info->mtds = devm_kzalloc(&pdev->dev, size, GFP_KERNEL); in s3c24xx_nand_probe()
1098 if (info->mtds == NULL) { in s3c24xx_nand_probe()
1105 nmtd = info->mtds; in s3c24xx_nand_probe()
H A Dtxx9ndfmc.c68 struct mtd_info *mtds[MAX_TXX9NDFMC_DEV]; member
366 drvdata->mtds[i] = mtd; in txx9ndfmc_probe()
378 struct mtd_info *mtd = drvdata->mtds[i]; in txx9ndfmc_remove()