Searched refs:cmtd (Results 1 – 2 of 2) sorted by relevance
38 struct mtd_info *cmtd; member53 if (info->cmtd) { in of_flash_remove()54 mtd_device_unregister(info->cmtd); in of_flash_remove()55 if (info->cmtd != info->list[0].mtd) in of_flash_remove()56 mtd_concat_destroy(info->cmtd); in of_flash_remove()301 info->cmtd = NULL; in of_flash_probe()303 info->cmtd = info->list[0].mtd; in of_flash_probe()308 info->cmtd = mtd_concat_create(mtd_list, info->list_size, in of_flash_probe()311 if (info->cmtd == NULL) in of_flash_probe()317 info->cmtd->dev.parent = &dev->dev; in of_flash_probe()[all …]
28 struct mtd_info *cmtd; member46 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()174 info->cmtd = info->mtd[0]; in physmap_flash_probe()179 info->cmtd = mtd_concat_create(info->mtd, devices_found, dev_name(&dev->dev)); in physmap_flash_probe()180 if (info->cmtd == NULL) in physmap_flash_probe()190 mtd_device_parse_register(info->cmtd, part_types, NULL, in physmap_flash_probe()