Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/maps/
Dpcmciamtd.c39 char mtd_name[sizeof(struct cistpl_vers_1_t)]; member
420 dev->mtd_name[0] = '\0'; in card_settings()
423 strcat(dev->mtd_name, " "); in card_settings()
425 strcat(dev->mtd_name, p_dev->prod_id[i]); in card_settings()
427 pr_debug("Found name: %s\n", dev->mtd_name); in card_settings()
451 dev->pcmcia_map.name = dev->mtd_name; in card_settings()
452 if(!dev->mtd_name[0]) { in card_settings()
453 strcpy(dev->mtd_name, "PCMCIA Memory card"); in card_settings()
459 dev->pcmcia_map.bankwidth << 3, dev->mtd_name); in card_settings()
604 snprintf(dev->mtd_name, sizeof(dev->mtd_name), "%d%ciB %s", size, unit, "PCMCIA Memory card"); in pcmciamtd_config()
Dphysmap_of_core.c163 const char *mtd_name = NULL; in of_flash_probe() local
172 of_property_read_string(dp, "linux,mtd-name", &mtd_name); in of_flash_probe()
231 info->list[i].map.name = mtd_name ?: dev_name(&dev->dev); in of_flash_probe()