Searched refs:mtd_name (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/drivers/mtd/ |
H A D | mtd_uboot.c | 253 char mtd_name[MTD_NAME_MAX_LEN], *colon; in mtd_probe_devices() local 274 if (mtd_name_len + 1 > sizeof(mtd_name)) { in mtd_probe_devices() 279 strncpy(mtd_name, mtdparts, mtd_name_len); in mtd_probe_devices() 280 mtd_name[mtd_name_len] = '\0'; in mtd_probe_devices() 283 mtd = get_mtd_device_nm(mtd_name); in mtd_probe_devices() 292 debug("No device named %s\n", mtd_name); in mtd_probe_devices() 293 ret = mtd_search_alternate_name(mtd_name, linux_name, in mtd_probe_devices() 304 mtd_name); in mtd_probe_devices()
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | pcmciamtd.c | 39 char mtd_name[sizeof(struct cistpl_vers_1_t)]; member 419 dev->mtd_name[0] = '\0'; in card_settings() 422 strcat(dev->mtd_name, " "); in card_settings() 424 strcat(dev->mtd_name, p_dev->prod_id[i]); in card_settings() 426 pr_debug("Found name: %s\n", dev->mtd_name); in card_settings() 450 dev->pcmcia_map.name = dev->mtd_name; in card_settings() 451 if(!dev->mtd_name[0]) { in card_settings() 452 strcpy(dev->mtd_name, "PCMCIA Memory card"); in card_settings() 458 dev->pcmcia_map.bankwidth << 3, dev->mtd_name); in card_settings() 603 snprintf(dev->mtd_name, sizeof(dev->mtd_name), "%d%ciB %s", size, unit, "PCMCIA Memory card"); in pcmciamtd_config()
|
H A D | physmap-core.c | 337 const char *mtd_name = NULL; in physmap_flash_of_init() local 352 of_property_read_string(dp, "linux,mtd-name", &mtd_name); in physmap_flash_of_init() 368 info->maps[i].name = mtd_name; in physmap_flash_of_init()
|