Home
last modified time | relevance | path

Searched refs:cmtd (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/maps/
H A Dphysmap-core.c52 struct mtd_info *cmtd; member
77 if (info->cmtd) { in physmap_flash_remove()
78 err = mtd_device_unregister(info->cmtd); in physmap_flash_remove()
82 if (info->cmtd != info->mtds[0]) in physmap_flash_remove()
83 mtd_concat_destroy(info->cmtd); in physmap_flash_remove()
590 info->cmtd = info->mtds[0]; in physmap_flash_probe()
595 info->cmtd = mtd_concat_create(info->mtds, info->nmaps, in physmap_flash_probe()
597 if (!info->cmtd) in physmap_flash_probe()
605 mtd_set_of_node(info->cmtd, dev->dev.of_node); in physmap_flash_probe()
606 err = mtd_device_parse_register(info->cmtd, inf in physmap_flash_probe()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/maps/
H A Dphysmap-core.c52 struct mtd_info *cmtd; member
73 if (info->cmtd) { in physmap_flash_remove()
74 WARN_ON(mtd_device_unregister(info->cmtd)); in physmap_flash_remove()
76 if (info->cmtd != info->mtds[0]) in physmap_flash_remove()
77 mtd_concat_destroy(info->cmtd); in physmap_flash_remove()
585 info->cmtd = info->mtds[0]; in physmap_flash_probe()
590 info->cmtd = mtd_concat_create(info->mtds, info->nmaps, in physmap_flash_probe()
592 if (!info->cmtd) in physmap_flash_probe()
600 mtd_set_of_node(info->cmtd, dev->dev.of_node); in physmap_flash_probe()
601 err = mtd_device_parse_register(info->cmtd, inf in physmap_flash_probe()
[all...]

Completed in 2 milliseconds