Home
last modified time | relevance | path

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

/openbmc/linux/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, info->part_types, NULL, in physmap_flash_probe()