Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/maps/
Dpmcmsp-flash.c58 char flash_name[] = "flash0"; in init_msp_flash() local
70 for (fcnt = 0; (env = prom_getenv(flash_name)); fcnt++) in init_msp_flash()
71 flash_name[5] = '0' + fcnt + 1; in init_msp_flash()
110 flash_name[5] = '0' + i; in init_msp_flash()
111 env = prom_getenv(flash_name); in init_msp_flash()
122 flash_name, size, addr); in init_msp_flash()
142 msp_maps[i].name = kstrndup(flash_name, 7, GFP_KERNEL); in init_msp_flash()
/Linux-v4.19/drivers/mtd/devices/
Dm25p80.c181 char *flash_name; in m25p_probe() local
231 flash_name = data->type; in m25p_probe()
233 flash_name = NULL; /* auto-detect */ in m25p_probe()
235 flash_name = spi->modalias; in m25p_probe()
237 ret = spi_nor_scan(nor, flash_name, &hwcaps); in m25p_probe()