Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/mtd/maps/
Dphysmap-core.c51 struct mtd_info **mtds; member
76 if (info->cmtd != info->mtds[0]) in physmap_flash_remove()
81 if (info->mtds[i]) in physmap_flash_remove()
82 map_destroy(info->mtds[i]); in physmap_flash_remove()
476 info->mtds = devm_kzalloc(&dev->dev, in physmap_flash_probe()
477 sizeof(*info->mtds) * info->nmaps, in physmap_flash_probe()
479 if (!info->mtds) in physmap_flash_probe()
553 info->mtds[i] = do_map_probe(info->probe_type, in physmap_flash_probe()
559 info->mtds[i] = do_map_probe(rom_probe_types[j], in physmap_flash_probe()
561 if (info->mtds[i]) in physmap_flash_probe()
[all …]
/Linux-v6.1/drivers/mtd/nand/raw/
Ds3c2410.c154 struct s3c2410_nand_mtd *mtds; member
777 if (info->mtds != NULL) { in s3c24xx_nand_remove()
778 struct s3c2410_nand_mtd *ptr = info->mtds; in s3c24xx_nand_remove()
1155 size = nr_sets * sizeof(*info->mtds); in s3c24xx_nand_probe()
1156 info->mtds = devm_kzalloc(&pdev->dev, size, GFP_KERNEL); in s3c24xx_nand_probe()
1157 if (info->mtds == NULL) { in s3c24xx_nand_probe()
1164 nmtd = info->mtds; in s3c24xx_nand_probe()
Dtxx9ndfmc.c68 struct mtd_info *mtds[MAX_TXX9NDFMC_DEV]; member
366 drvdata->mtds[i] = mtd; in txx9ndfmc_probe()
380 struct mtd_info *mtd = drvdata->mtds[i]; in txx9ndfmc_remove()