Searched refs:cmtd (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/mtd/maps/ |
D | physmap.c | 28 struct mtd_info *cmtd; member 46 if (info->cmtd) { in physmap_flash_remove() 47 mtd_device_unregister(info->cmtd); in physmap_flash_remove() 48 if (info->cmtd != info->mtd[0]) in physmap_flash_remove() 49 mtd_concat_destroy(info->cmtd); in physmap_flash_remove() 175 info->cmtd = info->mtd[0]; in physmap_flash_probe() 180 info->cmtd = mtd_concat_create(info->mtd, devices_found, dev_name(&dev->dev)); in physmap_flash_probe() 181 if (info->cmtd == NULL) in physmap_flash_probe() 191 mtd_device_parse_register(info->cmtd, part_types, NULL, in physmap_flash_probe()
|
D | physmap_of.c | 35 struct mtd_info *cmtd; member 50 if (info->cmtd) { in of_flash_remove() 51 mtd_device_unregister(info->cmtd); in of_flash_remove() 52 if (info->cmtd != info->list[0].mtd) in of_flash_remove() 53 mtd_concat_destroy(info->cmtd); in of_flash_remove() 296 info->cmtd = NULL; in of_flash_probe() 298 info->cmtd = info->list[0].mtd; in of_flash_probe() 303 info->cmtd = mtd_concat_create(mtd_list, info->list_size, in of_flash_probe() 306 if (info->cmtd == NULL) in of_flash_probe() 314 mtd_device_parse_register(info->cmtd, part_probe_types, &ppdata, in of_flash_probe()
|