Lines Matching refs:flash_info
59 struct flash_info { struct
69 static struct flash_info __initdata sst25l_flash_info[] = { argument
338 static struct flash_info *__devinit sst25l_match_device(struct spi_device *spi) in sst25l_match_device()
340 struct flash_info *flash_info = NULL; in sst25l_match_device() local
370 flash_info = &sst25l_flash_info[i]; in sst25l_match_device()
372 if (!flash_info) in sst25l_match_device()
375 return flash_info; in sst25l_match_device()
380 struct flash_info *flash_info; in sst25l_probe() local
385 flash_info = sst25l_match_device(spi); in sst25l_probe()
386 if (!flash_info) in sst25l_probe()
405 flash->mtd.erasesize = flash_info->erase_size; in sst25l_probe()
406 flash->mtd.writesize = flash_info->page_size; in sst25l_probe()
407 flash->mtd.size = flash_info->page_size * flash_info->nr_pages; in sst25l_probe()
412 dev_info(&spi->dev, "%s (%lld KiB)\n", flash_info->name, in sst25l_probe()