Searched refs:mtds (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/mtd/maps/ |
H A D | physmap-core.c | 51 struct mtd_info **mtds; member 82 if (info->cmtd != info->mtds[0]) in physmap_flash_remove() 87 if (info->mtds[i]) in physmap_flash_remove() 88 map_destroy(info->mtds[i]); in physmap_flash_remove() 480 info->mtds = devm_kzalloc(&dev->dev, in physmap_flash_probe() 481 sizeof(*info->mtds) * info->nmaps, in physmap_flash_probe() 483 if (!info->mtds) in physmap_flash_probe() 557 info->mtds[i] = do_map_probe(info->probe_type, in physmap_flash_probe() 561 if (!info->mtds[i] && IS_ENABLED(CONFIG_MTD_ROM) && in physmap_flash_probe() 567 info->mtds[ in physmap_flash_probe() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/maps/ |
H A D | physmap-core.c | 51 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() 552 info->mtds[i] = do_map_probe(info->probe_type, in physmap_flash_probe() 556 if (!info->mtds[i] && IS_ENABLED(CONFIG_MTD_ROM) && in physmap_flash_probe() 562 info->mtds[ in physmap_flash_probe() [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | s3c2410.c | 137 * @mtds: An array of MTD instances on this controoler. 153 struct s3c2410_nand_mtd *mtds; member 772 /* Release all our mtds and their partitions, then go through in s3c24xx_nand_remove() 776 if (info->mtds != NULL) { in s3c24xx_nand_remove() 777 struct s3c2410_nand_mtd *ptr = info->mtds; in s3c24xx_nand_remove() 1154 size = nr_sets * sizeof(*info->mtds); in s3c24xx_nand_probe() 1155 info->mtds = devm_kzalloc(&pdev->dev, size, GFP_KERNEL); in s3c24xx_nand_probe() 1156 if (info->mtds == NULL) { in s3c24xx_nand_probe() 1163 nmtd = info->mtds; in s3c24xx_nand_probe()
|
H A D | txx9ndfmc.c | 69 struct mtd_info *mtds[MAX_TXX9NDFMC_DEV]; member 369 drvdata->mtds[i] = mtd; in txx9ndfmc_probe() 383 struct mtd_info *mtd = drvdata->mtds[i]; in txx9ndfmc_remove()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | s3c2410.c | 136 * @mtds: An array of MTD instances on this controller. 153 struct s3c2410_nand_mtd *mtds; member 718 /* Release all our mtds and their partitions, then go through in s3c24xx_nand_remove() 722 if (info->mtds != NULL) { in s3c24xx_nand_remove() 723 struct s3c2410_nand_mtd *ptr = info->mtds; in s3c24xx_nand_remove() 1098 size = nr_sets * sizeof(*info->mtds); in s3c24xx_nand_probe() 1099 info->mtds = devm_kzalloc(&pdev->dev, size, GFP_KERNEL); in s3c24xx_nand_probe() 1100 if (info->mtds == NULL) { in s3c24xx_nand_probe() 1107 nmtd = info->mtds; in s3c24xx_nand_probe()
|
H A D | txx9ndfmc.c | 68 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()
|
Completed in 7 milliseconds